]> git.saurik.com Git - wxWidgets.git/blob - configure
Use wxDataViewSpinRenderer
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49200 2007-10-17 17:55:25Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 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 GUIDIST
1007 DISTDIR
1008 SAMPLES_SUBDIRS
1009 LDFLAGS_GL
1010 OPENGL_LIBS
1011 DMALLOC_LIBS
1012 WX_VERSION_TAG
1013 RESCOMP
1014 RESFLAGS
1015 RESPROGRAMOBJ
1016 WX_RESOURCES_MACOSX_ASCII
1017 WX_RESOURCES_MACOSX_DATA
1018 LIBWXMACRES
1019 POSTLINK_COMMAND
1020 MACSETFILE
1021 GCC
1022 DLLTOOL
1023 CPPUNIT_CONFIG
1024 LIBOBJS
1025 LTLIBOBJS'
1026 ac_subst_files=''
1027 ac_precious_vars='build_alias
1028 host_alias
1029 target_alias
1030 CC
1031 CFLAGS
1032 LDFLAGS
1033 LIBS
1034 CPPFLAGS
1035 CPP
1036 CXX
1037 CXXFLAGS
1038 CCC
1039 PKG_CONFIG
1040 DIRECTFB_CFLAGS
1041 DIRECTFB_LIBS
1042 XMKMF
1043 PANGOX_CFLAGS
1044 PANGOX_LIBS
1045 PANGOFT2_CFLAGS
1046 PANGOFT2_LIBS
1047 PANGOXFT_CFLAGS
1048 PANGOXFT_LIBS
1049 GTKPRINT_CFLAGS
1050 GTKPRINT_LIBS
1051 LIBGNOMEPRINTUI_CFLAGS
1052 LIBGNOMEPRINTUI_LIBS
1053 GNOMEVFS_CFLAGS
1054 GNOMEVFS_LIBS
1055 HILDON_CFLAGS
1056 HILDON_LIBS
1057 CAIRO_CFLAGS
1058 CAIRO_LIBS
1059 GST_CFLAGS
1060 GST_LIBS'
1061 ac_subdirs_all='src/tiff
1062 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
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-filectrl use wxFileCtrl class
1786 --enable-fontpicker use wxFontPickerCtrl class
1787 --enable-gauge use wxGauge class
1788 --enable-grid use wxGrid class
1789 --enable-dataviewctrl use wxDataViewCtrl class
1790 --enable-hyperlink use wxHyperlinkCtrl class
1791 --enable-imaglist use wxImageList class
1792 --enable-listbook use wxListbook class
1793 --enable-listbox use wxListBox class
1794 --enable-listctrl use wxListCtrl class
1795 --enable-notebook use wxNotebook class
1796 --enable-odcombobox use wxOwnerDrawnComboBox class
1797 --enable-radiobox use wxRadioBox class
1798 --enable-radiobtn use wxRadioButton class
1799 --enable-sash use wxSashWindow class
1800 --enable-scrollbar use wxScrollBar class and scrollable windows
1801 --enable-searchctrl use wxSearchCtrl class
1802 --enable-slider use wxSlider class
1803 --enable-spinbtn use wxSpinButton class
1804 --enable-spinctrl use wxSpinCtrl class
1805 --enable-splitter use wxSplitterWindow class
1806 --enable-statbmp use wxStaticBitmap class
1807 --enable-statbox use wxStaticBox class
1808 --enable-statline use wxStaticLine class
1809 --enable-stattext use wxStaticText class
1810 --enable-statusbar use wxStatusBar class
1811 --enable-tabdialog use wxTabControl class
1812 --enable-taskbaricon use wxTaskBarIcon class
1813 --enable-textctrl use wxTextCtrl class
1814 --enable-togglebtn use wxToggleButton class
1815 --enable-toolbar use wxToolBar class
1816 --enable-tbarnative use native wxToolBar class
1817 --enable-treebook use wxTreebook class
1818 --enable-toolbook use wxToolbook class
1819 --enable-treectrl use wxTreeCtrl class
1820 --enable-tipwindow use wxTipWindow class
1821 --enable-popupwin use wxPopUpWindow class
1822 --enable-commondlg use all common dialogs
1823 --enable-aboutdlg use wxAboutBox
1824 --enable-choicedlg use wxChoiceDialog
1825 --enable-coldlg use wxColourDialog
1826 --enable-filedlg use wxFileDialog
1827 --enable-finddlg use wxFindReplaceDialog
1828 --enable-fontdlg use wxFontDialog
1829 --enable-dirdlg use wxDirDialog
1830 --enable-msgdlg use wxMessageDialog
1831 --enable-numberdlg use wxNumberEntryDialog
1832 --enable-splash use wxSplashScreen
1833 --enable-textdlg use wxTextDialog
1834 --enable-tipdlg use startup tips
1835 --enable-progressdlg use wxProgressDialog
1836 --enable-wizarddlg use wxWizard
1837 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1838 --enable-miniframe use wxMiniFrame class
1839 --enable-tooltips use wxToolTip class
1840 --enable-splines use spline drawing code
1841 --enable-mousewheel use mousewheel
1842 --enable-validators use wxValidator and derived classes
1843 --enable-busyinfo use wxBusyInfo
1844 --enable-joystick use wxJoystick
1845 --enable-metafiles use wxMetaFile (Win32 only)
1846 --enable-dragimage use wxDragImage
1847 --enable-accessibility enable accessibility support
1848 --enable-palette use wxPalette class
1849 --enable-image use wxImage class
1850 --enable-gif use gif images (GIF file format)
1851 --enable-pcx use pcx images (PCX file format)
1852 --enable-tga use tga images (TGA file format)
1853 --enable-iff use iff images (IFF file format)
1854 --enable-pnm use pnm images (PNM file format)
1855 --enable-xpm use xpm images (XPM file format)
1856 --enable-icocur use Windows ICO and CUR formats
1857 --enable-dccache cache temporary wxDC objects (Win32 only)
1858 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1859 --enable-ownerdrawn use owner drawn controls (Win32 only)
1860 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1861 --enable-wxdib use wxDIB class (Win32 only)
1862 --disable-largefile omit support for large files
1863 --disable-gtktest do not try to compile and run a test GTK+ program
1864 --disable-gtktest Do not try to compile and run a test GTK program
1865 --disable-sdltest Do not try to compile and run a test SDL program
1866 --enable-omf use OMF object format (OS/2)
1867 --disable-dependency-tracking
1868 don't use dependency tracking even if the compiler
1869 can
1870 --disable-precomp-headers
1871 don't use precompiled headers even if compiler can
1872
1873 Optional Packages:
1874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1876 --without-subdirs don't generate makefiles for samples/demos/...
1877 --with-flavour=NAME specify a name to identify this build
1878 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1879 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1880 --with-motif use Motif/Lesstif
1881 --with-mac use Mac OS X
1882 --with-cocoa use Cocoa
1883 --with-wine use Wine
1884 --with-msw use MS-Windows
1885 --with-pm use OS/2 Presentation Manager
1886 --with-mgl use SciTech MGL
1887 --with-directfb use DirectFB
1888 --with-microwin use MicroWindows
1889 --with-x11 use X11
1890 --with-libpng use libpng (PNG image format)
1891 --with-libjpeg use libjpeg (JPEG file format)
1892 --with-libtiff use libtiff (TIFF file format)
1893 --with-libxpm use libxpm (XPM file format)
1894 --with-libmspack use libmspack (CHM help files loading)
1895 --without-gtkprint don't use GTK printing support
1896 --without-gnomeprint don't use GNOME printing libraries
1897 --with-gnomevfs use GNOME VFS for associating MIME types
1898 --with-hildon use Hildon framework for Nokia 770
1899 --with-opengl use OpenGL (or Mesa)
1900 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1901 --with-sdl use SDL for audio on Unix
1902 --with-regex enable support for wxRegEx class
1903 --with-zlib use zlib for LZW compression
1904 --with-odbc use the IODBC and wxODBC classes
1905 --with-expat enable XML support using expat parser
1906 --with-macosx-sdk=PATH use an OS X SDK at PATH
1907 --with-macosx-version-min=VER build binaries which require at least this OS X version
1908 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1909 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1910 --with-x use the X Window System
1911 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1912 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1913 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1914 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1915 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1916
1917 Some influential environment variables:
1918 CC C compiler command
1919 CFLAGS C compiler flags
1920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1921 nonstandard directory <lib dir>
1922 LIBS libraries to pass to the linker, e.g. -l<library>
1923 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1924 you have headers in a nonstandard directory <include dir>
1925 CPP C preprocessor
1926 CXX C++ compiler command
1927 CXXFLAGS C++ compiler flags
1928 PKG_CONFIG path to pkg-config utility
1929 DIRECTFB_CFLAGS
1930 C compiler flags for DIRECTFB, overriding pkg-config
1931 DIRECTFB_LIBS
1932 linker flags for DIRECTFB, overriding pkg-config
1933 XMKMF Path to xmkmf, Makefile generator for X Window System
1934 PANGOX_CFLAGS
1935 C compiler flags for PANGOX, overriding pkg-config
1936 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1937 PANGOFT2_CFLAGS
1938 C compiler flags for PANGOFT2, overriding pkg-config
1939 PANGOFT2_LIBS
1940 linker flags for PANGOFT2, overriding pkg-config
1941 PANGOXFT_CFLAGS
1942 C compiler flags for PANGOXFT, overriding pkg-config
1943 PANGOXFT_LIBS
1944 linker flags for PANGOXFT, overriding pkg-config
1945 GTKPRINT_CFLAGS
1946 C compiler flags for GTKPRINT, overriding pkg-config
1947 GTKPRINT_LIBS
1948 linker flags for GTKPRINT, overriding pkg-config
1949 LIBGNOMEPRINTUI_CFLAGS
1950 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 LIBGNOMEPRINTUI_LIBS
1952 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1953 GNOMEVFS_CFLAGS
1954 C compiler flags for GNOMEVFS, overriding pkg-config
1955 GNOMEVFS_LIBS
1956 linker flags for GNOMEVFS, overriding pkg-config
1957 HILDON_CFLAGS
1958 C compiler flags for HILDON, overriding pkg-config
1959 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1960 CAIRO_CFLAGS
1961 C compiler flags for CAIRO, overriding pkg-config
1962 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1963 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1964 GST_LIBS linker flags for GST, overriding pkg-config
1965
1966 Use these variables to override the choices made by `configure' or to help
1967 it to find libraries and programs with nonstandard names/locations.
1968
1969 Report bugs to <wx-dev@lists.wxwidgets.org>.
1970 _ACEOF
1971 ac_status=$?
1972 fi
1973
1974 if test "$ac_init_help" = "recursive"; then
1975 # If there are subdirs, report their specific --help.
1976 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1977 test -d "$ac_dir" || continue
1978 ac_builddir=.
1979
1980 case "$ac_dir" in
1981 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1982 *)
1983 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1984 # A ".." for each directory in $ac_dir_suffix.
1985 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1986 case $ac_top_builddir_sub in
1987 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1988 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1989 esac ;;
1990 esac
1991 ac_abs_top_builddir=$ac_pwd
1992 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1993 # for backward compatibility:
1994 ac_top_builddir=$ac_top_build_prefix
1995
1996 case $srcdir in
1997 .) # We are building in place.
1998 ac_srcdir=.
1999 ac_top_srcdir=$ac_top_builddir_sub
2000 ac_abs_top_srcdir=$ac_pwd ;;
2001 [\\/]* | ?:[\\/]* ) # Absolute name.
2002 ac_srcdir=$srcdir$ac_dir_suffix;
2003 ac_top_srcdir=$srcdir
2004 ac_abs_top_srcdir=$srcdir ;;
2005 *) # Relative name.
2006 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2007 ac_top_srcdir=$ac_top_build_prefix$srcdir
2008 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2009 esac
2010 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2011
2012 cd "$ac_dir" || { ac_status=$?; continue; }
2013 # Check for guested configure.
2014 if test -f "$ac_srcdir/configure.gnu"; then
2015 echo &&
2016 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2017 elif test -f "$ac_srcdir/configure"; then
2018 echo &&
2019 $SHELL "$ac_srcdir/configure" --help=recursive
2020 else
2021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2022 fi || ac_status=$?
2023 cd "$ac_pwd" || { ac_status=$?; break; }
2024 done
2025 fi
2026
2027 test -n "$ac_init_help" && exit $ac_status
2028 if $ac_init_version; then
2029 cat <<\_ACEOF
2030 wxWidgets configure 2.9.0
2031 generated by GNU Autoconf 2.61
2032
2033 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2034 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2035 This configure script is free software; the Free Software Foundation
2036 gives unlimited permission to copy, distribute and modify it.
2037 _ACEOF
2038 exit
2039 fi
2040 cat >config.log <<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2043
2044 It was created by wxWidgets $as_me 2.9.0, which was
2045 generated by GNU Autoconf 2.61. Invocation command line was
2046
2047 $ $0 $@
2048
2049 _ACEOF
2050 exec 5>>config.log
2051 {
2052 cat <<_ASUNAME
2053 ## --------- ##
2054 ## Platform. ##
2055 ## --------- ##
2056
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2065
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073
2074 _ASUNAME
2075
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 echo "PATH: $as_dir"
2082 done
2083 IFS=$as_save_IFS
2084
2085 } >&5
2086
2087 cat >&5 <<_ACEOF
2088
2089
2090 ## ----------- ##
2091 ## Core tests. ##
2092 ## ----------- ##
2093
2094 _ACEOF
2095
2096
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_configure_args=
2103 ac_configure_args0=
2104 ac_configure_args1=
2105 ac_must_keep_next=false
2106 for ac_pass in 1 2
2107 do
2108 for ac_arg
2109 do
2110 case $ac_arg in
2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113 | -silent | --silent | --silen | --sile | --sil)
2114 continue ;;
2115 *\'*)
2116 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2117 esac
2118 case $ac_pass in
2119 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2120 2)
2121 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2122 if test $ac_must_keep_next = true; then
2123 ac_must_keep_next=false # Got value, back to normal.
2124 else
2125 case $ac_arg in
2126 *=* | --config-cache | -C | -disable-* | --disable-* \
2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129 | -with-* | --with-* | -without-* | --without-* | --x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2132 esac
2133 ;;
2134 -* ) ac_must_keep_next=true ;;
2135 esac
2136 fi
2137 ac_configure_args="$ac_configure_args '$ac_arg'"
2138 ;;
2139 esac
2140 done
2141 done
2142 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2143 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2144
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2152 {
2153 echo
2154
2155 cat <<\_ASBOX
2156 ## ---------------- ##
2157 ## Cache variables. ##
2158 ## ---------------- ##
2159 _ASBOX
2160 echo
2161 # The following way of writing the cache mishandles newlines in values,
2162 (
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2165 case $ac_val in #(
2166 *${as_nl}*)
2167 case $ac_var in #(
2168 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2169 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2170 esac
2171 case $ac_var in #(
2172 _ | IFS | as_nl) ;; #(
2173 *) $as_unset $ac_var ;;
2174 esac ;;
2175 esac
2176 done
2177 (set) 2>&1 |
2178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2179 *${as_nl}ac_space=\ *)
2180 sed -n \
2181 "s/'\''/'\''\\\\'\'''\''/g;
2182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2183 ;; #(
2184 *)
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2186 ;;
2187 esac |
2188 sort
2189 )
2190 echo
2191
2192 cat <<\_ASBOX
2193 ## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##
2196 _ASBOX
2197 echo
2198 for ac_var in $ac_subst_vars
2199 do
2200 eval ac_val=\$$ac_var
2201 case $ac_val in
2202 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 esac
2204 echo "$ac_var='\''$ac_val'\''"
2205 done | sort
2206 echo
2207
2208 if test -n "$ac_subst_files"; then
2209 cat <<\_ASBOX
2210 ## ------------------- ##
2211 ## File substitutions. ##
2212 ## ------------------- ##
2213 _ASBOX
2214 echo
2215 for ac_var in $ac_subst_files
2216 do
2217 eval ac_val=\$$ac_var
2218 case $ac_val in
2219 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220 esac
2221 echo "$ac_var='\''$ac_val'\''"
2222 done | sort
2223 echo
2224 fi
2225
2226 if test -s confdefs.h; then
2227 cat <<\_ASBOX
2228 ## ----------- ##
2229 ## confdefs.h. ##
2230 ## ----------- ##
2231 _ASBOX
2232 echo
2233 cat confdefs.h
2234 echo
2235 fi
2236 test "$ac_signal" != 0 &&
2237 echo "$as_me: caught signal $ac_signal"
2238 echo "$as_me: exit $exit_status"
2239 } >&5
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2242 exit $exit_status
2243 ' 0
2244 for ac_signal in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2246 done
2247 ac_signal=0
2248
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest* confdefs.h
2251
2252 # Predefined preprocessor variables.
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 _ACEOF
2262
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 _ACEOF
2267
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_STRING "$PACKAGE_STRING"
2271 _ACEOF
2272
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 _ACEOF
2277
2278
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer explicitly selected file to automatically selected ones.
2281 if test -n "$CONFIG_SITE"; then
2282 set x "$CONFIG_SITE"
2283 elif test "x$prefix" != xNONE; then
2284 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2285 else
2286 set x "$ac_default_prefix/share/config.site" \
2287 "$ac_default_prefix/etc/config.site"
2288 fi
2289 shift
2290 for ac_site_file
2291 do
2292 if test -r "$ac_site_file"; then
2293 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2294 echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2296 . "$ac_site_file"
2297 fi
2298 done
2299
2300 if test -r "$cache_file"; then
2301 # Some versions of bash will fail to source /dev/null (special
2302 # files actually), so we avoid doing that.
2303 if test -f "$cache_file"; then
2304 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2305 echo "$as_me: loading cache $cache_file" >&6;}
2306 case $cache_file in
2307 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2308 *) . "./$cache_file";;
2309 esac
2310 fi
2311 else
2312 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2313 echo "$as_me: creating cache $cache_file" >&6;}
2314 >$cache_file
2315 fi
2316
2317 # Check that the precious variables saved in the cache have kept the same
2318 # value.
2319 ac_cache_corrupted=false
2320 for ac_var in $ac_precious_vars; do
2321 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2322 eval ac_new_set=\$ac_env_${ac_var}_set
2323 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2324 eval ac_new_val=\$ac_env_${ac_var}_value
2325 case $ac_old_set,$ac_new_set in
2326 set,)
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2329 ac_cache_corrupted=: ;;
2330 ,set)
2331 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2332 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2333 ac_cache_corrupted=: ;;
2334 ,);;
2335 *)
2336 if test "x$ac_old_val" != "x$ac_new_val"; then
2337 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2338 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2339 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2340 echo "$as_me: former value: $ac_old_val" >&2;}
2341 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2342 echo "$as_me: current value: $ac_new_val" >&2;}
2343 ac_cache_corrupted=:
2344 fi;;
2345 esac
2346 # Pass precious variables to config.status.
2347 if test "$ac_new_set" = set; then
2348 case $ac_new_val in
2349 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 *) ac_arg=$ac_var=$ac_new_val ;;
2351 esac
2352 case " $ac_configure_args " in
2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2354 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2355 esac
2356 fi
2357 done
2358 if $ac_cache_corrupted; then
2359 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2360 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2362 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2363 { (exit 1); exit 1; }; }
2364 fi
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
2390 ac_ext=c
2391 ac_cpp='$CPP $CPPFLAGS'
2392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395
2396
2397
2398
2399
2400 ac_aux_dir=
2401 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2402 if test -f "$ac_dir/install-sh"; then
2403 ac_aux_dir=$ac_dir
2404 ac_install_sh="$ac_aux_dir/install-sh -c"
2405 break
2406 elif test -f "$ac_dir/install.sh"; then
2407 ac_aux_dir=$ac_dir
2408 ac_install_sh="$ac_aux_dir/install.sh -c"
2409 break
2410 elif test -f "$ac_dir/shtool"; then
2411 ac_aux_dir=$ac_dir
2412 ac_install_sh="$ac_aux_dir/shtool install -c"
2413 break
2414 fi
2415 done
2416 if test -z "$ac_aux_dir"; then
2417 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2418 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2419 { (exit 1); exit 1; }; }
2420 fi
2421
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2429
2430
2431 # Make sure we can run config.sub.
2432 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2433 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2434 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2435 { (exit 1); exit 1; }; }
2436
2437 { echo "$as_me:$LINENO: checking build system type" >&5
2438 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2439 if test "${ac_cv_build+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 else
2442 ac_build_alias=$build_alias
2443 test "x$ac_build_alias" = x &&
2444 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2445 test "x$ac_build_alias" = x &&
2446 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2447 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2448 { (exit 1); exit 1; }; }
2449 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2453
2454 fi
2455 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2456 echo "${ECHO_T}$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2458 *-*-*) ;;
2459 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2460 echo "$as_me: error: invalid value of canonical build" >&2;}
2461 { (exit 1); exit 1; }; };;
2462 esac
2463 build=$ac_cv_build
2464 ac_save_IFS=$IFS; IFS='-'
2465 set x $ac_cv_build
2466 shift
2467 build_cpu=$1
2468 build_vendor=$2
2469 shift; shift
2470 # Remember, the first character of IFS is used to create $*,
2471 # except with old shells:
2472 build_os=$*
2473 IFS=$ac_save_IFS
2474 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2475
2476
2477 { echo "$as_me:$LINENO: checking host system type" >&5
2478 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2479 if test "${ac_cv_host+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 if test "x$host_alias" = x; then
2483 ac_cv_host=$ac_cv_build
2484 else
2485 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2486 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2487 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2488 { (exit 1); exit 1; }; }
2489 fi
2490
2491 fi
2492 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2493 echo "${ECHO_T}$ac_cv_host" >&6; }
2494 case $ac_cv_host in
2495 *-*-*) ;;
2496 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2497 echo "$as_me: error: invalid value of canonical host" >&2;}
2498 { (exit 1); exit 1; }; };;
2499 esac
2500 host=$ac_cv_host
2501 ac_save_IFS=$IFS; IFS='-'
2502 set x $ac_cv_host
2503 shift
2504 host_cpu=$1
2505 host_vendor=$2
2506 shift; shift
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2509 host_os=$*
2510 IFS=$ac_save_IFS
2511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2512
2513
2514 { echo "$as_me:$LINENO: checking target system type" >&5
2515 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_target+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519 if test "x$target_alias" = x; then
2520 ac_cv_target=$ac_cv_host
2521 else
2522 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2523 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2524 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2526 fi
2527
2528 fi
2529 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2530 echo "${ECHO_T}$ac_cv_target" >&6; }
2531 case $ac_cv_target in
2532 *-*-*) ;;
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2534 echo "$as_me: error: invalid value of canonical target" >&2;}
2535 { (exit 1); exit 1; }; };;
2536 esac
2537 target=$ac_cv_target
2538 ac_save_IFS=$IFS; IFS='-'
2539 set x $ac_cv_target
2540 shift
2541 target_cpu=$1
2542 target_vendor=$2
2543 shift; shift
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2546 target_os=$*
2547 IFS=$ac_save_IFS
2548 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2549
2550
2551 # The aliases save the names the user supplied, while $host etc.
2552 # will get canonicalized.
2553 test -n "$target_alias" &&
2554 test "$program_prefix$program_suffix$program_transform_name" = \
2555 NONENONEs,x,x, &&
2556 program_prefix=${target_alias}-
2557
2558
2559
2560 wx_major_version_number=2
2561 wx_minor_version_number=9
2562 wx_release_number=0
2563 wx_subrelease_number=0
2564
2565 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2566 WX_VERSION=$WX_RELEASE.$wx_release_number
2567 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2568
2569 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2570
2571
2572 wx_top_builddir="`pwd`"
2573
2574
2575
2576
2577 USE_UNIX=1
2578 USE_OS2=0
2579 USE_WIN32=0
2580 USE_DOS=0
2581 USE_BEOS=0
2582 USE_MAC=0
2583
2584 USE_AIX=
2585 USE_BSD= USE_DARWIN= USE_FREEBSD=
2586 USE_GNU= USE_HPUX=
2587 USE_LINUX=
2588 USE_NETBSD=
2589 USE_OPENBSD=
2590 USE_OSF= USE_SGI=
2591 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2592 USE_ULTRIX=
2593 USE_UNIXWARE=
2594
2595 USE_ALPHA=
2596
2597 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2598
2599 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2600
2601 DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_wxUSE_GTK=0
2603 DEFAULT_wxUSE_MAC=0
2604 DEFAULT_wxUSE_MGL=0
2605 DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_wxUSE_MSW=0
2608 DEFAULT_wxUSE_PM=0
2609 DEFAULT_wxUSE_X11=0
2610 DEFAULT_wxUSE_DFB=0
2611
2612 DEFAULT_DEFAULT_wxUSE_COCOA=0
2613 DEFAULT_DEFAULT_wxUSE_GTK=0
2614 DEFAULT_DEFAULT_wxUSE_MAC=0
2615 DEFAULT_DEFAULT_wxUSE_MGL=0
2616 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2618 DEFAULT_DEFAULT_wxUSE_MSW=0
2619 DEFAULT_DEFAULT_wxUSE_PM=0
2620 DEFAULT_DEFAULT_wxUSE_X11=0
2621 DEFAULT_DEFAULT_wxUSE_DFB=0
2622
2623 PROGRAM_EXT=
2624 SO_SUFFIX=so
2625 SAMPLES_RPATH_FLAG=
2626 SAMPLES_RPATH_POSTLINK=
2627
2628 DEFAULT_STD_FLAG=yes
2629
2630 case "${host}" in
2631 *-hp-hpux* )
2632 USE_HPUX=1
2633 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2634 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2635 SO_SUFFIX=sl
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __HPUX__ 1
2638 _ACEOF
2639
2640
2641 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2642 ;;
2643 *-*-linux* )
2644 USE_LINUX=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __LINUX__ 1
2647 _ACEOF
2648
2649 TMP=`uname -m`
2650 if test "x$TMP" = "xalpha"; then
2651 USE_ALPHA=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __ALPHA__ 1
2654 _ACEOF
2655
2656 fi
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2658 ;;
2659 *-*-gnu* | *-*-k*bsd*-gnu )
2660 USE_GNU=1
2661 TMP=`uname -m`
2662 if test "x$TMP" = "xalpha"; then
2663 USE_ALPHA=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __ALPHA__ 1
2666 _ACEOF
2667
2668 fi
2669 DEFAULT_DEFAULT_wxUSE_GTK=1
2670 ;;
2671 *-*-irix5* | *-*-irix6* )
2672 USE_SGI=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SGI__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SVR4__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2683 ;;
2684 *-*-solaris2* )
2685 USE_SUN=1
2686 USE_SOLARIS=1
2687 USE_SVR4=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SUN__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SOLARIS__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SVR4__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2702 ;;
2703 *-*-sunos4* )
2704 USE_SUN=1
2705 USE_SUNOS=1
2706 USE_BSD=1
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __SUN__ 1
2709 _ACEOF
2710
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __SUNOS__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 ;;
2721 *-*-freebsd*)
2722 USE_BSD=1
2723 USE_FREEBSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __FREEBSD__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __BSD__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 ;;
2734 *-*-openbsd*|*-*-mirbsd*)
2735 USE_BSD=1
2736 USE_OPENBSD=1
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OPENBSD__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 ;;
2747 *-*-netbsd*)
2748 USE_BSD=1
2749 USE_NETBSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __NETBSD__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760
2761 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2762 ;;
2763 *-*-osf* )
2764 USE_ALPHA=1
2765 USE_OSF=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __OSF__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2776 ;;
2777 *-*-dgux5* )
2778 USE_ALPHA=1
2779 USE_SVR4=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __ALPHA__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790 *-*-sysv5* )
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SYSV__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SVR4__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 ;;
2803 *-*-aix* )
2804 USE_AIX=1
2805 USE_SYSV=1
2806 USE_SVR4=1
2807 SO_SUFFIX=a
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __AIX__ 1
2810 _ACEOF
2811
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __SYSV__ 1
2814 _ACEOF
2815
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __SVR4__ 1
2818 _ACEOF
2819
2820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2821 ;;
2822
2823 *-*-*UnixWare*)
2824 USE_SYSV=1
2825 USE_SVR4=1
2826 USE_UNIXWARE=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __UNIXWARE__ 1
2829 _ACEOF
2830
2831 ;;
2832
2833 *-*-cygwin* | *-*-mingw32* )
2834 SO_SUFFIX=dll
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_MSW=1
2837 ;;
2838
2839 *-pc-msdosdjgpp )
2840 USE_UNIX=0
2841 USE_DOS=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __DOS__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_MGL=1
2848 ;;
2849
2850 *-pc-os2_emx | *-pc-os2-emx )
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __EMX__ 1
2853 _ACEOF
2854
2855 USE_OS2=1
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __OS2__ 1
2858 _ACEOF
2859
2860 PROGRAM_EXT=".exe"
2861 DEFAULT_DEFAULT_wxUSE_PM=1
2862 CXX=gcc
2863 LDFLAGS="$LDFLAGS -Zcrtdll"
2864 ac_executable_extensions=".exe"
2865 export ac_executable_extensions
2866 ac_save_IFS="$IFS"
2867 IFS='\\'
2868 ac_TEMP_PATH=
2869 for ac_dir in $PATH; do
2870 IFS=$ac_save_IFS
2871 if test -z "$ac_TEMP_PATH"; then
2872 ac_TEMP_PATH="$ac_dir"
2873 else
2874 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2875 fi
2876 done
2877 export PATH="$ac_TEMP_PATH"
2878 unset ac_TEMP_PATH
2879 DEFAULT_STD_FLAG=no
2880 ;;
2881
2882 *-*-darwin* )
2883 USE_BSD=1
2884 USE_DARWIN=1
2885 SO_SUFFIX=dylib
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BSD__ 1
2888 _ACEOF
2889
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __DARWIN__ 1
2892 _ACEOF
2893
2894 cat >>confdefs.h <<\_ACEOF
2895 #define TARGET_CARBON 1
2896 _ACEOF
2897
2898 DEFAULT_DEFAULT_wxUSE_MAC=1
2899 DEFAULT_STD_FLAG=no
2900 ;;
2901 powerpc-apple-macos* )
2902 USE_UNIX=0
2903 ac_cv_c_bigendian=yes
2904 SO_SUFFIX=shlib
2905 DEFAULT_DEFAULT_wxUSE_MAC=1
2906 DEFAULT_STD_FLAG=no
2907 ;;
2908
2909 *-*-beos* )
2910 USE_BEOS=1
2911 cat >>confdefs.h <<\_ACEOF
2912 #define __BEOS__ 1
2913 _ACEOF
2914
2915 ;;
2916
2917 *)
2918 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2919 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2920 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2921 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2922
2923 DEFAULT_DEFAULT_wxUSE_X11=1
2924 DEFAULT_wxUSE_SHARED=no
2925 esac
2926
2927
2928
2929
2930 wx_arg_cache_file="configarg.cache"
2931 echo "loading argument cache $wx_arg_cache_file"
2932 rm -f ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}
2935
2936
2937 DEFAULT_wxUSE_ALL_FEATURES=yes
2938
2939 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2940 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2941
2942 DEFAULT_wxUSE_DMALLOC=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS=no
2944 DEFAULT_wxUSE_LIBHILDON=no
2945 DEFAULT_wxUSE_LIBMSPACK=no
2946 DEFAULT_wxUSE_LIBSDL=no
2947 DEFAULT_wxUSE_ODBC=no
2948 DEFAULT_wxUSE_OPENGL=no
2949
2950 DEFAULT_wxUSE_ACCESSIBILITY=no
2951 DEFAULT_wxUSE_DATAVIEWCTRL=no
2952 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2953 DEFAULT_wxUSE_MEDIACTRL=no
2954 DEFAULT_wxUSE_TAB_DIALOG=no
2955
2956 DEFAULT_wxUSE_UNICODE_UTF8=auto
2957 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2958
2959 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2960
2961 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2962
2963 DEFAULT_wxUSE_GTK2=yes
2964
2965 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2966
2967
2968 for toolkit in `echo $ALL_TOOLKITS`; do
2969 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2970 if test "x$LINE" != "x" ; then
2971 has_toolkit_in_cache=1
2972 eval "DEFAULT_$LINE"
2973 eval "CACHE_$toolkit=1"
2974
2975 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2976 if test "x$LINE" != "x" ; then
2977 eval "DEFAULT_$LINE"
2978 fi
2979 fi
2980 done
2981
2982
2983
2984
2985
2986 enablestring=disable
2987 defaultval=
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2990 defaultval=yes
2991 else
2992 defaultval=no
2993 fi
2994 fi
2995
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui='wxUSE_GUI=yes'
3003 else
3004 wx_cv_use_gui='wxUSE_GUI=no'
3005 fi
3006 cache=yes
3007
3008 else
3009
3010 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 cache=yes
3014 else
3015 cache=no
3016 fi
3017
3018 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3019
3020 fi
3021
3022
3023 eval "$wx_cv_use_gui"
3024 if test "x$cache" = xyes; then
3025 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3026 fi
3027
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_GUI = yes; then
3030 result=no
3031 else
3032 result=yes
3033 fi
3034 else
3035 result=$wxUSE_GUI
3036 fi
3037
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3040
3041
3042 enablestring=
3043 defaultval=
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3046 defaultval=yes
3047 else
3048 defaultval=no
3049 fi
3050 fi
3051
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3054 # Check whether --enable-monolithic was given.
3055 if test "${enable_monolithic+set}" = set; then
3056 enableval=$enable_monolithic;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3059 else
3060 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3061 fi
3062 cache=yes
3063
3064 else
3065
3066 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3069 cache=yes
3070 else
3071 cache=no
3072 fi
3073
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3075
3076 fi
3077
3078
3079 eval "$wx_cv_use_monolithic"
3080 if test "x$cache" = xyes; then
3081 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_MONOLITHIC = yes; then
3086 result=no
3087 else
3088 result=yes
3089 fi
3090 else
3091 result=$wxUSE_MONOLITHIC
3092 fi
3093
3094 { echo "$as_me:$LINENO: result: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3096
3097
3098 enablestring=
3099 defaultval=
3100 if test -z "$defaultval"; then
3101 if test x"$enablestring" = xdisable; then
3102 defaultval=yes
3103 else
3104 defaultval=no
3105 fi
3106 fi
3107
3108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3109 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3110 # Check whether --enable-plugins was given.
3111 if test "${enable_plugins+set}" = set; then
3112 enableval=$enable_plugins;
3113 if test "$enableval" = yes; then
3114 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3115 else
3116 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3117 fi
3118 cache=yes
3119
3120 else
3121
3122 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x ; then
3124 eval "DEFAULT_$LINE"
3125 cache=yes
3126 else
3127 cache=no
3128 fi
3129
3130 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3131
3132 fi
3133
3134
3135 eval "$wx_cv_use_plugins"
3136 if test "x$cache" = xyes; then
3137 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3138 fi
3139
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_PLUGINS = yes; then
3142 result=no
3143 else
3144 result=yes
3145 fi
3146 else
3147 result=$wxUSE_PLUGINS
3148 fi
3149
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3152
3153
3154 withstring=without
3155 defaultval=$wxUSE_ALL_FEATURES
3156 if test -z "$defaultval"; then
3157 if test x"$withstring" = xwithout; then
3158 defaultval=yes
3159 else
3160 defaultval=no
3161 fi
3162 fi
3163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3165
3166 # Check whether --with-subdirs was given.
3167 if test "${with_subdirs+set}" = set; then
3168 withval=$with_subdirs;
3169 if test "$withval" = yes; then
3170 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3171 else
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3173 fi
3174 cache=yes
3175
3176 else
3177
3178 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3181 cache=yes
3182 else
3183 cache=no
3184 fi
3185
3186 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3187
3188 fi
3189
3190
3191 eval "$wx_cv_use_subdirs"
3192 if test "x$cache" = xyes; then
3193 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test x"$withstring" = xwithout; then
3197 if test $wxWITH_SUBDIRS = yes; then
3198 result=no
3199 else
3200 result=yes
3201 fi
3202 else
3203 result=$wxWITH_SUBDIRS
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209
3210 # Check whether --with-flavour was given.
3211 if test "${with_flavour+set}" = set; then
3212 withval=$with_flavour; WX_FLAVOUR="$withval"
3213 fi
3214
3215
3216 enablestring=
3217 defaultval=
3218 if test -z "$defaultval"; then
3219 if test x"$enablestring" = xdisable; then
3220 defaultval=yes
3221 else
3222 defaultval=no
3223 fi
3224 fi
3225
3226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3228 # Check whether --enable-official_build was given.
3229 if test "${enable_official_build+set}" = set; then
3230 enableval=$enable_official_build;
3231 if test "$enableval" = yes; then
3232 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3233 else
3234 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3235 fi
3236 cache=yes
3237
3238 else
3239
3240 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3243 cache=yes
3244 else
3245 cache=no
3246 fi
3247
3248 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3249
3250 fi
3251
3252
3253 eval "$wx_cv_use_official_build"
3254 if test "x$cache" = xyes; then
3255 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test x"$enablestring" = xdisable; then
3259 if test $wxUSE_OFFICIAL_BUILD = yes; then
3260 result=no
3261 else
3262 result=yes
3263 fi
3264 else
3265 result=$wxUSE_OFFICIAL_BUILD
3266 fi
3267
3268 { echo "$as_me:$LINENO: result: $result" >&5
3269 echo "${ECHO_T}$result" >&6; }
3270
3271 # Check whether --enable-vendor was given.
3272 if test "${enable_vendor+set}" = set; then
3273 enableval=$enable_vendor; VENDOR="$enableval"
3274 fi
3275
3276 if test "x$VENDOR" = "x"; then
3277 VENDOR="custom"
3278 fi
3279
3280
3281 enablestring=disable
3282 defaultval=
3283 if test -z "$defaultval"; then
3284 if test x"$enablestring" = xdisable; then
3285 defaultval=yes
3286 else
3287 defaultval=no
3288 fi
3289 fi
3290
3291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3292 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3293 # Check whether --enable-all-features was given.
3294 if test "${enable_all_features+set}" = set; then
3295 enableval=$enable_all_features;
3296 if test "$enableval" = yes; then
3297 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3298 else
3299 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3300 fi
3301 cache=yes
3302
3303 else
3304
3305 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 cache=yes
3309 else
3310 cache=no
3311 fi
3312
3313 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3314
3315 fi
3316
3317
3318 eval "$wx_cv_use_all_features"
3319 if test "x$cache" = xyes; then
3320 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test x"$enablestring" = xdisable; then
3324 if test $wxUSE_ALL_FEATURES = yes; then
3325 result=no
3326 else
3327 result=yes
3328 fi
3329 else
3330 result=$wxUSE_ALL_FEATURES
3331 fi
3332
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3335
3336
3337
3338 if test "$wxUSE_GUI" = "yes"; then
3339
3340
3341 enablestring=
3342 defaultval=
3343 if test -z "$defaultval"; then
3344 if test x"$enablestring" = xdisable; then
3345 defaultval=yes
3346 else
3347 defaultval=no
3348 fi
3349 fi
3350
3351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3353 # Check whether --enable-universal was given.
3354 if test "${enable_universal+set}" = set; then
3355 enableval=$enable_universal;
3356 if test "$enableval" = yes; then
3357 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3358 else
3359 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3360 fi
3361 cache=yes
3362
3363 else
3364
3365 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 cache=yes
3369 else
3370 cache=no
3371 fi
3372
3373 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3374
3375 fi
3376
3377
3378 eval "$wx_cv_use_universal"
3379 if test "x$cache" = xyes; then
3380 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = yes; then
3385 result=no
3386 else
3387 result=yes
3388 fi
3389 else
3390 result=$wxUSE_UNIVERSAL
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3401 fi
3402
3403 fi
3404
3405
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-mac was given.
3419 if test "${with_mac+set}" = set; then
3420 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-cocoa was given.
3425 if test "${with_cocoa+set}" = set; then
3426 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 # Check whether --with-wine was given.
3431 if test "${with_wine+set}" = set; then
3432 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3433 fi
3434
3435
3436 # Check whether --with-msw was given.
3437 if test "${with_msw+set}" = set; then
3438 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-pm was given.
3443 if test "${with_pm+set}" = set; then
3444 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-mgl was given.
3449 if test "${with_mgl+set}" = set; then
3450 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-directfb was given.
3455 if test "${with_directfb+set}" = set; then
3456 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-microwin was given.
3461 if test "${with_microwin+set}" = set; then
3462 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 # Check whether --with-x11 was given.
3467 if test "${with_x11+set}" = set; then
3468 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3469 fi
3470
3471
3472 enablestring=
3473 defaultval=
3474 if test -z "$defaultval"; then
3475 if test x"$enablestring" = xdisable; then
3476 defaultval=yes
3477 else
3478 defaultval=no
3479 fi
3480 fi
3481
3482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3484 # Check whether --enable-nanox was given.
3485 if test "${enable_nanox+set}" = set; then
3486 enableval=$enable_nanox;
3487 if test "$enableval" = yes; then
3488 wx_cv_use_nanox='wxUSE_NANOX=yes'
3489 else
3490 wx_cv_use_nanox='wxUSE_NANOX=no'
3491 fi
3492 cache=yes
3493
3494 else
3495
3496 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x ; then
3498 eval "DEFAULT_$LINE"
3499 cache=yes
3500 else
3501 cache=no
3502 fi
3503
3504 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3505
3506 fi
3507
3508
3509 eval "$wx_cv_use_nanox"
3510 if test "x$cache" = xyes; then
3511 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3512 fi
3513
3514 if test x"$enablestring" = xdisable; then
3515 if test $wxUSE_NANOX = yes; then
3516 result=no
3517 else
3518 result=yes
3519 fi
3520 else
3521 result=$wxUSE_NANOX
3522 fi
3523
3524 { echo "$as_me:$LINENO: result: $result" >&5
3525 echo "${ECHO_T}$result" >&6; }
3526
3527
3528 # Check whether --enable-gtk2 was given.
3529 if test "${enable_gtk2+set}" = set; then
3530 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3531 fi
3532
3533
3534 enablestring=
3535 defaultval=
3536 if test -z "$defaultval"; then
3537 if test x"$enablestring" = xdisable; then
3538 defaultval=yes
3539 else
3540 defaultval=no
3541 fi
3542 fi
3543
3544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3546 # Check whether --enable-gpe was given.
3547 if test "${enable_gpe+set}" = set; then
3548 enableval=$enable_gpe;
3549 if test "$enableval" = yes; then
3550 wx_cv_use_gpe='wxUSE_GPE=yes'
3551 else
3552 wx_cv_use_gpe='wxUSE_GPE=no'
3553 fi
3554 cache=yes
3555
3556 else
3557
3558 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x ; then
3560 eval "DEFAULT_$LINE"
3561 cache=yes
3562 else
3563 cache=no
3564 fi
3565
3566 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3567
3568 fi
3569
3570
3571 eval "$wx_cv_use_gpe"
3572 if test "x$cache" = xyes; then
3573 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3574 fi
3575
3576 if test x"$enablestring" = xdisable; then
3577 if test $wxUSE_GPE = yes; then
3578 result=no
3579 else
3580 result=yes
3581 fi
3582 else
3583 result=$wxUSE_GPE
3584 fi
3585
3586 { echo "$as_me:$LINENO: result: $result" >&5
3587 echo "${ECHO_T}$result" >&6; }
3588
3589
3590
3591
3592 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3593 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3594
3595 # Check whether --with-libpng was given.
3596 if test "${with_libpng+set}" = set; then
3597 withval=$with_libpng;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611 cache=yes
3612
3613 else
3614
3615 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x ; then
3617 eval "DEFAULT_$LINE"
3618 cache=yes
3619 else
3620 cache=no
3621 fi
3622
3623 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3624
3625 fi
3626
3627
3628 eval "$wx_cv_use_libpng"
3629 if test "x$cache" = xyes; then
3630 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_LIBPNG" = yes; then
3634 { echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6; }
3636 elif test "$wxUSE_LIBPNG" = no; then
3637 { echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6; }
3639 elif test "$wxUSE_LIBPNG" = sys; then
3640 { echo "$as_me:$LINENO: result: system version" >&5
3641 echo "${ECHO_T}system version" >&6; }
3642 elif test "$wxUSE_LIBPNG" = builtin; then
3643 { echo "$as_me:$LINENO: result: builtin version" >&5
3644 echo "${ECHO_T}builtin version" >&6; }
3645 else
3646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3647 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3649 fi
3650
3651
3652 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3653 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3654
3655 # Check whether --with-libjpeg was given.
3656 if test "${with_libjpeg+set}" = set; then
3657 withval=$with_libjpeg;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3666 else
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3670 fi
3671 cache=yes
3672
3673 else
3674
3675 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3678 cache=yes
3679 else
3680 cache=no
3681 fi
3682
3683 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3684
3685 fi
3686
3687
3688 eval "$wx_cv_use_libjpeg"
3689 if test "x$cache" = xyes; then
3690 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3691 fi
3692
3693 if test "$wxUSE_LIBJPEG" = yes; then
3694 { echo "$as_me:$LINENO: result: yes" >&5
3695 echo "${ECHO_T}yes" >&6; }
3696 elif test "$wxUSE_LIBJPEG" = no; then
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3699 elif test "$wxUSE_LIBJPEG" = sys; then
3700 { echo "$as_me:$LINENO: result: system version" >&5
3701 echo "${ECHO_T}system version" >&6; }
3702 elif test "$wxUSE_LIBJPEG" = builtin; then
3703 { echo "$as_me:$LINENO: result: builtin version" >&5
3704 echo "${ECHO_T}builtin version" >&6; }
3705 else
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3709 fi
3710
3711
3712 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3713 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3714
3715 # Check whether --with-libtiff was given.
3716 if test "${with_libtiff+set}" = set; then
3717 withval=$with_libtiff;
3718 if test "$withval" = yes; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3720 elif test "$withval" = no; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3722 elif test "$withval" = sys; then
3723 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3724 elif test "$withval" = builtin; then
3725 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3726 else
3727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3728 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3729 { (exit 1); exit 1; }; }
3730 fi
3731 cache=yes
3732
3733 else
3734
3735 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3738 cache=yes
3739 else
3740 cache=no
3741 fi
3742
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3744
3745 fi
3746
3747
3748 eval "$wx_cv_use_libtiff"
3749 if test "x$cache" = xyes; then
3750 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3751 fi
3752
3753 if test "$wxUSE_LIBTIFF" = yes; then
3754 { echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6; }
3756 elif test "$wxUSE_LIBTIFF" = no; then
3757 { echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6; }
3759 elif test "$wxUSE_LIBTIFF" = sys; then
3760 { echo "$as_me:$LINENO: result: system version" >&5
3761 echo "${ECHO_T}system version" >&6; }
3762 elif test "$wxUSE_LIBTIFF" = builtin; then
3763 { echo "$as_me:$LINENO: result: builtin version" >&5
3764 echo "${ECHO_T}builtin version" >&6; }
3765 else
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3769 fi
3770
3771
3772 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3773 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3774
3775 # Check whether --with-libxpm was given.
3776 if test "${with_libxpm+set}" = set; then
3777 withval=$with_libxpm;
3778 if test "$withval" = yes; then
3779 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3780 elif test "$withval" = no; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3782 elif test "$withval" = sys; then
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3784 elif test "$withval" = builtin; then
3785 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3786 else
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3790 fi
3791 cache=yes
3792
3793 else
3794
3795 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 cache=yes
3799 else
3800 cache=no
3801 fi
3802
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3804
3805 fi
3806
3807
3808 eval "$wx_cv_use_libxpm"
3809 if test "x$cache" = xyes; then
3810 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_LIBXPM" = yes; then
3814 { echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6; }
3816 elif test "$wxUSE_LIBXPM" = no; then
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3819 elif test "$wxUSE_LIBXPM" = sys; then
3820 { echo "$as_me:$LINENO: result: system version" >&5
3821 echo "${ECHO_T}system version" >&6; }
3822 elif test "$wxUSE_LIBXPM" = builtin; then
3823 { echo "$as_me:$LINENO: result: builtin version" >&5
3824 echo "${ECHO_T}builtin version" >&6; }
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831
3832 withstring=
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3836 defaultval=yes
3837 else
3838 defaultval=no
3839 fi
3840 fi
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3843
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 else
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3851 fi
3852 cache=yes
3853
3854 else
3855
3856 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3859 cache=yes
3860 else
3861 cache=no
3862 fi
3863
3864 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3865
3866 fi
3867
3868
3869 eval "$wx_cv_use_libmspack"
3870 if test "x$cache" = xyes; then
3871 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3872 fi
3873
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBMSPACK = yes; then
3876 result=no
3877 else
3878 result=yes
3879 fi
3880 else
3881 result=$wxUSE_LIBMSPACK
3882 fi
3883
3884 { echo "$as_me:$LINENO: result: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3886
3887
3888 withstring=without
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3892 defaultval=yes
3893 else
3894 defaultval=no
3895 fi
3896 fi
3897 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3898 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3899
3900 # Check whether --with-gtkprint was given.
3901 if test "${with_gtkprint+set}" = set; then
3902 withval=$with_gtkprint;
3903 if test "$withval" = yes; then
3904 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3905 else
3906 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3907 fi
3908 cache=yes
3909
3910 else
3911
3912 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3915 cache=yes
3916 else
3917 cache=no
3918 fi
3919
3920 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3921
3922 fi
3923
3924
3925 eval "$wx_cv_use_gtkprint"
3926 if test "x$cache" = xyes; then
3927 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_GTKPRINT = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_GTKPRINT
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=without
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3955
3956 # Check whether --with-gnomeprint was given.
3957 if test "${with_gnomeprint+set}" = set; then
3958 withval=$with_gnomeprint;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3961 else
3962 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3963 fi
3964 cache=yes
3965
3966 else
3967
3968 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 cache=yes
3972 else
3973 cache=no
3974 fi
3975
3976 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3977
3978 fi
3979
3980
3981 eval "$wx_cv_use_gnomeprint"
3982 if test "x$cache" = xyes; then
3983 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3984 fi
3985
3986 if test x"$withstring" = xwithout; then
3987 if test $wxUSE_LIBGNOMEPRINT = yes; then
3988 result=no
3989 else
3990 result=yes
3991 fi
3992 else
3993 result=$wxUSE_LIBGNOMEPRINT
3994 fi
3995
3996 { echo "$as_me:$LINENO: result: $result" >&5
3997 echo "${ECHO_T}$result" >&6; }
3998
3999
4000 withstring=
4001 defaultval=$wxUSE_ALL_FEATURES
4002 if test -z "$defaultval"; then
4003 if test x"$withstring" = xwithout; then
4004 defaultval=yes
4005 else
4006 defaultval=no
4007 fi
4008 fi
4009 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4010 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4011
4012 # Check whether --with-gnomevfs was given.
4013 if test "${with_gnomevfs+set}" = set; then
4014 withval=$with_gnomevfs;
4015 if test "$withval" = yes; then
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4017 else
4018 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4019 fi
4020 cache=yes
4021
4022 else
4023
4024 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 cache=yes
4028 else
4029 cache=no
4030 fi
4031
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4033
4034 fi
4035
4036
4037 eval "$wx_cv_use_gnomevfs"
4038 if test "x$cache" = xyes; then
4039 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4040 fi
4041
4042 if test x"$withstring" = xwithout; then
4043 if test $wxUSE_LIBGNOMEVFS = yes; then
4044 result=no
4045 else
4046 result=yes
4047 fi
4048 else
4049 result=$wxUSE_LIBGNOMEVFS
4050 fi
4051
4052 { echo "$as_me:$LINENO: result: $result" >&5
4053 echo "${ECHO_T}$result" >&6; }
4054
4055
4056 withstring=
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4060 defaultval=yes
4061 else
4062 defaultval=no
4063 fi
4064 fi
4065 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4066 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4067
4068 # Check whether --with-hildon was given.
4069 if test "${with_hildon+set}" = set; then
4070 withval=$with_hildon;
4071 if test "$withval" = yes; then
4072 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4073 else
4074 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4075 fi
4076 cache=yes
4077
4078 else
4079
4080 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 cache=yes
4084 else
4085 cache=no
4086 fi
4087
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4089
4090 fi
4091
4092
4093 eval "$wx_cv_use_hildon"
4094 if test "x$cache" = xyes; then
4095 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4096 fi
4097
4098 if test x"$withstring" = xwithout; then
4099 if test $wxUSE_LIBHILDON = yes; then
4100 result=no
4101 else
4102 result=yes
4103 fi
4104 else
4105 result=$wxUSE_LIBHILDON
4106 fi
4107
4108 { echo "$as_me:$LINENO: result: $result" >&5
4109 echo "${ECHO_T}$result" >&6; }
4110
4111
4112 withstring=
4113 defaultval=$wxUSE_ALL_FEATURES
4114 if test -z "$defaultval"; then
4115 if test x"$withstring" = xwithout; then
4116 defaultval=yes
4117 else
4118 defaultval=no
4119 fi
4120 fi
4121 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4122 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4123
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then
4126 withval=$with_opengl;
4127 if test "$withval" = yes; then
4128 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4129 else
4130 wx_cv_use_opengl='wxUSE_OPENGL=no'
4131 fi
4132 cache=yes
4133
4134 else
4135
4136 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4139 cache=yes
4140 else
4141 cache=no
4142 fi
4143
4144 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4145
4146 fi
4147
4148
4149 eval "$wx_cv_use_opengl"
4150 if test "x$cache" = xyes; then
4151 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4152 fi
4153
4154 if test x"$withstring" = xwithout; then
4155 if test $wxUSE_OPENGL = yes; then
4156 result=no
4157 else
4158 result=yes
4159 fi
4160 else
4161 result=$wxUSE_OPENGL
4162 fi
4163
4164 { echo "$as_me:$LINENO: result: $result" >&5
4165 echo "${ECHO_T}$result" >&6; }
4166
4167
4168 fi
4169
4170
4171 withstring=
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4182
4183 # Check whether --with-dmalloc was given.
4184 if test "${with_dmalloc+set}" = set; then
4185 withval=$with_dmalloc;
4186 if test "$withval" = yes; then
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4188 else
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4190 fi
4191 cache=yes
4192
4193 else
4194
4195 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 cache=yes
4199 else
4200 cache=no
4201 fi
4202
4203 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4204
4205 fi
4206
4207
4208 eval "$wx_cv_use_dmalloc"
4209 if test "x$cache" = xyes; then
4210 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4211 fi
4212
4213 if test x"$withstring" = xwithout; then
4214 if test $wxUSE_DMALLOC = yes; then
4215 result=no
4216 else
4217 result=yes
4218 fi
4219 else
4220 result=$wxUSE_DMALLOC
4221 fi
4222
4223 { echo "$as_me:$LINENO: result: $result" >&5
4224 echo "${ECHO_T}$result" >&6; }
4225
4226
4227 withstring=
4228 defaultval=$wxUSE_ALL_FEATURES
4229 if test -z "$defaultval"; then
4230 if test x"$withstring" = xwithout; then
4231 defaultval=yes
4232 else
4233 defaultval=no
4234 fi
4235 fi
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4238
4239 # Check whether --with-sdl was given.
4240 if test "${with_sdl+set}" = set; then
4241 withval=$with_sdl;
4242 if test "$withval" = yes; then
4243 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4244 else
4245 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4246 fi
4247 cache=yes
4248
4249 else
4250
4251 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 cache=yes
4255 else
4256 cache=no
4257 fi
4258
4259 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4260
4261 fi
4262
4263
4264 eval "$wx_cv_use_sdl"
4265 if test "x$cache" = xyes; then
4266 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test x"$withstring" = xwithout; then
4270 if test $wxUSE_LIBSDL = yes; then
4271 result=no
4272 else
4273 result=yes
4274 fi
4275 else
4276 result=$wxUSE_LIBSDL
4277 fi
4278
4279 { echo "$as_me:$LINENO: result: $result" >&5
4280 echo "${ECHO_T}$result" >&6; }
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4285
4286 # Check whether --with-regex was given.
4287 if test "${with_regex+set}" = set; then
4288 withval=$with_regex;
4289 if test "$withval" = yes; then
4290 wx_cv_use_regex='wxUSE_REGEX=yes'
4291 elif test "$withval" = no; then
4292 wx_cv_use_regex='wxUSE_REGEX=no'
4293 elif test "$withval" = sys; then
4294 wx_cv_use_regex='wxUSE_REGEX=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_regex='wxUSE_REGEX=builtin'
4297 else
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4301 fi
4302 cache=yes
4303
4304 else
4305
4306 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 cache=yes
4310 else
4311 cache=no
4312 fi
4313
4314 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4315
4316 fi
4317
4318
4319 eval "$wx_cv_use_regex"
4320 if test "x$cache" = xyes; then
4321 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4322 fi
4323
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4345
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4348 withval=$with_zlib;
4349 if test "$withval" = yes; then
4350 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4351 elif test "$withval" = no; then
4352 wx_cv_use_zlib='wxUSE_ZLIB=no'
4353 elif test "$withval" = sys; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4355 elif test "$withval" = builtin; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4357 else
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4361 fi
4362 cache=yes
4363
4364 else
4365
4366 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 cache=yes
4370 else
4371 cache=no
4372 fi
4373
4374 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4375
4376 fi
4377
4378
4379 eval "$wx_cv_use_zlib"
4380 if test "x$cache" = xyes; then
4381 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_ZLIB" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_ZLIB" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_ZLIB" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_ZLIB" = builtin; then
4394 { echo "$as_me:$LINENO: result: builtin version" >&5
4395 echo "${ECHO_T}builtin version" >&6; }
4396 else
4397 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4400 fi
4401
4402
4403 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4404 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4405
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4408 withval=$with_odbc;
4409 if test "$withval" = yes; then
4410 wx_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 wx_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 wx_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4417 else
4418 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4419 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4421 fi
4422 cache=yes
4423
4424 else
4425
4426 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x ; then
4428 eval "DEFAULT_$LINE"
4429 cache=yes
4430 else
4431 cache=no
4432 fi
4433
4434 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4435
4436 fi
4437
4438
4439 eval "$wx_cv_use_odbc"
4440 if test "x$cache" = xyes; then
4441 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 if test "$wxUSE_ODBC" = yes; then
4445 { echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6; }
4447 elif test "$wxUSE_ODBC" = no; then
4448 { echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6; }
4450 elif test "$wxUSE_ODBC" = sys; then
4451 { echo "$as_me:$LINENO: result: system version" >&5
4452 echo "${ECHO_T}system version" >&6; }
4453 elif test "$wxUSE_ODBC" = builtin; then
4454 { echo "$as_me:$LINENO: result: builtin version" >&5
4455 echo "${ECHO_T}builtin version" >&6; }
4456 else
4457 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4458 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4459 { (exit 1); exit 1; }; }
4460 fi
4461
4462
4463 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4464 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4465
4466 # Check whether --with-expat was given.
4467 if test "${with_expat+set}" = set; then
4468 withval=$with_expat;
4469 if test "$withval" = yes; then
4470 wx_cv_use_expat='wxUSE_EXPAT=yes'
4471 elif test "$withval" = no; then
4472 wx_cv_use_expat='wxUSE_EXPAT=no'
4473 elif test "$withval" = sys; then
4474 wx_cv_use_expat='wxUSE_EXPAT=sys'
4475 elif test "$withval" = builtin; then
4476 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4477 else
4478 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4479 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4480 { (exit 1); exit 1; }; }
4481 fi
4482 cache=yes
4483
4484 else
4485
4486 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 cache=yes
4490 else
4491 cache=no
4492 fi
4493
4494 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4495
4496 fi
4497
4498
4499 eval "$wx_cv_use_expat"
4500 if test "x$cache" = xyes; then
4501 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 if test "$wxUSE_EXPAT" = yes; then
4505 { echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6; }
4507 elif test "$wxUSE_EXPAT" = no; then
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4510 elif test "$wxUSE_EXPAT" = sys; then
4511 { echo "$as_me:$LINENO: result: system version" >&5
4512 echo "${ECHO_T}system version" >&6; }
4513 elif test "$wxUSE_EXPAT" = builtin; then
4514 { echo "$as_me:$LINENO: result: builtin version" >&5
4515 echo "${ECHO_T}builtin version" >&6; }
4516 else
4517 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4518 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4519 { (exit 1); exit 1; }; }
4520 fi
4521
4522
4523 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4524 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4525
4526 # Check whether --with-macosx-sdk was given.
4527 if test "${with_macosx_sdk+set}" = set; then
4528 withval=$with_macosx_sdk;
4529 wxUSE_MACOSX_SDK=$withval
4530 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4531 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4532
4533 else
4534
4535 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4536 # will override --enable-universal_binary's automatic SDK usage.
4537 wxUSE_MACOSX_SDK=
4538 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "$LINE"
4541 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 fi
4545
4546 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4547 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4548
4549 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4550 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4551
4552 # Check whether --with-macosx-version-min was given.
4553 if test "${with_macosx_version_min+set}" = set; then
4554 withval=$with_macosx_version_min;
4555 wxUSE_MACOSX_VERSION_MIN=$withval
4556 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4557 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4558
4559 else
4560
4561 # default "yes" because when not using an SDK it means the same as no
4562 # but when using an SDK it means to use the SDK version
4563 wxUSE_MACOSX_VERSION_MIN=yes
4564 # See if there is a value in the cache
4565 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x ; then
4567 eval "$LINE"
4568 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4574 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4575
4576
4577
4578 enablestring=disable
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4590 # Check whether --enable-shared was given.
4591 if test "${enable_shared+set}" = set; then
4592 enableval=$enable_shared;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_shared='wxUSE_SHARED=yes'
4595 else
4596 wx_cv_use_shared='wxUSE_SHARED=no'
4597 fi
4598 cache=yes
4599
4600 else
4601
4602 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 cache=yes
4606 else
4607 cache=no
4608 fi
4609
4610 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4611
4612 fi
4613
4614
4615 eval "$wx_cv_use_shared"
4616 if test "x$cache" = xyes; then
4617 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test x"$enablestring" = xdisable; then
4621 if test $wxUSE_SHARED = yes; then
4622 result=no
4623 else
4624 result=yes
4625 fi
4626 else
4627 result=$wxUSE_SHARED
4628 fi
4629
4630 { echo "$as_me:$LINENO: result: $result" >&5
4631 echo "${ECHO_T}$result" >&6; }
4632
4633
4634 enablestring=disable
4635 defaultval=
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4638 defaultval=yes
4639 else
4640 defaultval=no
4641 fi
4642 fi
4643
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4646 # Check whether --enable-optimise was given.
4647 if test "${enable_optimise+set}" = set; then
4648 enableval=$enable_optimise;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4651 else
4652 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4653 fi
4654 cache=yes
4655
4656 else
4657
4658 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4661 cache=yes
4662 else
4663 cache=no
4664 fi
4665
4666 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4667
4668 fi
4669
4670
4671 eval "$wx_cv_use_optimise"
4672 if test "x$cache" = xyes; then
4673 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_OPTIMISE = yes; then
4678 result=no
4679 else
4680 result=yes
4681 fi
4682 else
4683 result=$wxUSE_OPTIMISE
4684 fi
4685
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4702 # Check whether --enable-debug was given.
4703 if test "${enable_debug+set}" = set; then
4704 enableval=$enable_debug;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug='wxUSE_DEBUG=yes'
4707 else
4708 wx_cv_use_debug='wxUSE_DEBUG=no'
4709 fi
4710 cache=yes
4711
4712 else
4713
4714 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 cache=yes
4718 else
4719 cache=no
4720 fi
4721
4722 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4723
4724 fi
4725
4726
4727 eval "$wx_cv_use_debug"
4728 if test "x$cache" = xyes; then
4729 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test x"$enablestring" = xdisable; then
4733 if test $wxUSE_DEBUG = yes; then
4734 result=no
4735 else
4736 result=yes
4737 fi
4738 else
4739 result=$wxUSE_DEBUG
4740 fi
4741
4742 { echo "$as_me:$LINENO: result: $result" >&5
4743 echo "${ECHO_T}$result" >&6; }
4744
4745
4746 enablestring=
4747 defaultval=
4748 if test -z "$defaultval"; then
4749 if test x"$enablestring" = xdisable; then
4750 defaultval=yes
4751 else
4752 defaultval=no
4753 fi
4754 fi
4755
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4758 # Check whether --enable-stl was given.
4759 if test "${enable_stl+set}" = set; then
4760 enableval=$enable_stl;
4761 if test "$enableval" = yes; then
4762 wx_cv_use_stl='wxUSE_STL=yes'
4763 else
4764 wx_cv_use_stl='wxUSE_STL=no'
4765 fi
4766 cache=yes
4767
4768 else
4769
4770 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4773 cache=yes
4774 else
4775 cache=no
4776 fi
4777
4778 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4779
4780 fi
4781
4782
4783 eval "$wx_cv_use_stl"
4784 if test "x$cache" = xyes; then
4785 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4786 fi
4787
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_STL = yes; then
4790 result=no
4791 else
4792 result=yes
4793 fi
4794 else
4795 result=$wxUSE_STL
4796 fi
4797
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4800
4801
4802 enablestring=
4803 defaultval=
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4806 defaultval=yes
4807 else
4808 defaultval=no
4809 fi
4810 fi
4811
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4814 # Check whether --enable-std_iostreams was given.
4815 if test "${enable_std_iostreams+set}" = set; then
4816 enableval=$enable_std_iostreams;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4819 else
4820 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4821 fi
4822 cache=yes
4823
4824 else
4825
4826 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4829 cache=yes
4830 else
4831 cache=no
4832 fi
4833
4834 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4835
4836 fi
4837
4838
4839 eval "$wx_cv_use_std_iostreams"
4840 if test "x$cache" = xyes; then
4841 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_IOSTREAM = yes; then
4846 result=no
4847 else
4848 result=yes
4849 fi
4850 else
4851 result=$wxUSE_STD_IOSTREAM
4852 fi
4853
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4856
4857
4858 enablestring=
4859 defaultval=
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4862 defaultval=yes
4863 else
4864 defaultval=no
4865 fi
4866 fi
4867
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4870 # Check whether --enable-std_string was given.
4871 if test "${enable_std_string+set}" = set; then
4872 enableval=$enable_std_string;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4875 else
4876 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4877 fi
4878 cache=yes
4879
4880 else
4881
4882 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 cache=yes
4886 else
4887 cache=no
4888 fi
4889
4890 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4891
4892 fi
4893
4894
4895 eval "$wx_cv_use_std_string"
4896 if test "x$cache" = xyes; then
4897 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4898 fi
4899
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = yes; then
4902 result=no
4903 else
4904 result=yes
4905 fi
4906 else
4907 result=$wxUSE_STD_STRING
4908 fi
4909
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4912
4913
4914 enablestring=disable
4915 defaultval=
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4918 defaultval=yes
4919 else
4920 defaultval=no
4921 fi
4922 fi
4923
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4926 # Check whether --enable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval=$enable_unicode;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4931 else
4932 wx_cv_use_unicode='wxUSE_UNICODE=no'
4933 fi
4934 cache=yes
4935
4936 else
4937
4938 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 cache=yes
4942 else
4943 cache=no
4944 fi
4945
4946 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_unicode"
4952 if test "x$cache" = xyes; then
4953 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_UNICODE = yes; then
4958 result=no
4959 else
4960 result=yes
4961 fi
4962 else
4963 result=$wxUSE_UNICODE
4964 fi
4965
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4968
4969
4970 enablestring=
4971 defaultval=
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4974 defaultval=yes
4975 else
4976 defaultval=no
4977 fi
4978 fi
4979
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4982 # Check whether --enable-mslu was given.
4983 if test "${enable_mslu+set}" = set; then
4984 enableval=$enable_mslu;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4987 else
4988 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4989 fi
4990 cache=yes
4991
4992 else
4993
4994 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
4997 cache=yes
4998 else
4999 cache=no
5000 fi
5001
5002 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5003
5004 fi
5005
5006
5007 eval "$wx_cv_use_mslu"
5008 if test "x$cache" = xyes; then
5009 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test x"$enablestring" = xdisable; then
5013 if test $wxUSE_UNICODE_MSLU = yes; then
5014 result=no
5015 else
5016 result=yes
5017 fi
5018 else
5019 result=$wxUSE_UNICODE_MSLU
5020 fi
5021
5022 { echo "$as_me:$LINENO: result: $result" >&5
5023 echo "${ECHO_T}$result" >&6; }
5024
5025
5026 enablestring=
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5029 # Check whether --enable-utf8 was given.
5030 if test "${enable_utf8+set}" = set; then
5031 enableval=$enable_utf8;
5032 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5033 cache=yes
5034
5035 else
5036
5037 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 cache=yes
5041 else
5042 cache=no
5043 fi
5044
5045 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5046
5047 fi
5048
5049
5050 eval "$wx_cv_use_utf8"
5051 if test "x$cache" = xyes; then
5052 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5056 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5057
5058
5059 enablestring=
5060 defaultval=
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5063 defaultval=yes
5064 else
5065 defaultval=no
5066 fi
5067 fi
5068
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5071 # Check whether --enable-utf8only was given.
5072 if test "${enable_utf8only+set}" = set; then
5073 enableval=$enable_utf8only;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5076 else
5077 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5078 fi
5079 cache=yes
5080
5081 else
5082
5083 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 cache=yes
5087 else
5088 cache=no
5089 fi
5090
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5092
5093 fi
5094
5095
5096 eval "$wx_cv_use_utf8only"
5097 if test "x$cache" = xyes; then
5098 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test x"$enablestring" = xdisable; then
5102 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5103 result=no
5104 else
5105 result=yes
5106 fi
5107 else
5108 result=$wxUSE_UNICODE_UTF8_LOCALE
5109 fi
5110
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5113
5114
5115 enablestring=
5116 defaultval=
5117 if test -z "$defaultval"; then
5118 if test x"$enablestring" = xdisable; then
5119 defaultval=yes
5120 else
5121 defaultval=no
5122 fi
5123 fi
5124
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5127 # Check whether --enable-extended_rtti was given.
5128 if test "${enable_extended_rtti+set}" = set; then
5129 enableval=$enable_extended_rtti;
5130 if test "$enableval" = yes; then
5131 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5132 else
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5134 fi
5135 cache=yes
5136
5137 else
5138
5139 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 cache=yes
5143 else
5144 cache=no
5145 fi
5146
5147 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5148
5149 fi
5150
5151
5152 eval "$wx_cv_use_extended_rtti"
5153 if test "x$cache" = xyes; then
5154 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5155 fi
5156
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_EXTENDED_RTTI = yes; then
5159 result=no
5160 else
5161 result=yes
5162 fi
5163 else
5164 result=$wxUSE_EXTENDED_RTTI
5165 fi
5166
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5169
5170 if test "$USE_OS2" = "1"; then
5171 DEFAULT_wxUSE_OMF=no
5172
5173 enablestring=
5174 defaultval=
5175 if test -z "$defaultval"; then
5176 if test x"$enablestring" = xdisable; then
5177 defaultval=yes
5178 else
5179 defaultval=no
5180 fi
5181 fi
5182
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5185 # Check whether --enable-omf was given.
5186 if test "${enable_omf+set}" = set; then
5187 enableval=$enable_omf;
5188 if test "$enableval" = yes; then
5189 wx_cv_use_omf='wxUSE_OMF=yes'
5190 else
5191 wx_cv_use_omf='wxUSE_OMF=no'
5192 fi
5193 cache=yes
5194
5195 else
5196
5197 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5200 cache=yes
5201 else
5202 cache=no
5203 fi
5204
5205 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5206
5207 fi
5208
5209
5210 eval "$wx_cv_use_omf"
5211 if test "x$cache" = xyes; then
5212 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5213 fi
5214
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_OMF = yes; then
5217 result=no
5218 else
5219 result=yes
5220 fi
5221 else
5222 result=$wxUSE_OMF
5223 fi
5224
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5227
5228 fi
5229
5230 if test "$wxUSE_DEBUG" = "yes"; then
5231 DEFAULT_wxUSE_DEBUG_FLAG=yes
5232 DEFAULT_wxUSE_DEBUG_INFO=yes
5233 BUILD=debug
5234 elif test "$wxUSE_DEBUG" = "no"; then
5235 DEFAULT_wxUSE_DEBUG_FLAG=no
5236 DEFAULT_wxUSE_DEBUG_INFO=no
5237 BUILD=release
5238 fi
5239
5240
5241 enablestring=
5242 defaultval=
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5245 defaultval=yes
5246 else
5247 defaultval=no
5248 fi
5249 fi
5250
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5253 # Check whether --enable-debug_flag was given.
5254 if test "${enable_debug_flag+set}" = set; then
5255 enableval=$enable_debug_flag;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5258 else
5259 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5260 fi
5261 cache=yes
5262
5263 else
5264
5265 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 cache=yes
5269 else
5270 cache=no
5271 fi
5272
5273 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5274
5275 fi
5276
5277
5278 eval "$wx_cv_use_debug_flag"
5279 if test "x$cache" = xyes; then
5280 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_DEBUG_FLAG = yes; then
5285 result=no
5286 else
5287 result=yes
5288 fi
5289 else
5290 result=$wxUSE_DEBUG_FLAG
5291 fi
5292
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5295
5296
5297 enablestring=
5298 defaultval=
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5309 # Check whether --enable-debug_info was given.
5310 if test "${enable_debug_info+set}" = set; then
5311 enableval=$enable_debug_info;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5314 else
5315 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5316 fi
5317 cache=yes
5318
5319 else
5320
5321 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 cache=yes
5325 else
5326 cache=no
5327 fi
5328
5329 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5330
5331 fi
5332
5333
5334 eval "$wx_cv_use_debug_info"
5335 if test "x$cache" = xyes; then
5336 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5337 fi
5338
5339 if test x"$enablestring" = xdisable; then
5340 if test $wxUSE_DEBUG_INFO = yes; then
5341 result=no
5342 else
5343 result=yes
5344 fi
5345 else
5346 result=$wxUSE_DEBUG_INFO
5347 fi
5348
5349 { echo "$as_me:$LINENO: result: $result" >&5
5350 echo "${ECHO_T}$result" >&6; }
5351
5352
5353 enablestring=
5354 defaultval=
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5357 defaultval=yes
5358 else
5359 defaultval=no
5360 fi
5361 fi
5362
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5365 # Check whether --enable-debug_gdb was given.
5366 if test "${enable_debug_gdb+set}" = set; then
5367 enableval=$enable_debug_gdb;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5370 else
5371 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5372 fi
5373 cache=yes
5374
5375 else
5376
5377 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x ; then
5379 eval "DEFAULT_$LINE"
5380 cache=yes
5381 else
5382 cache=no
5383 fi
5384
5385 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5386
5387 fi
5388
5389
5390 eval "$wx_cv_use_debug_gdb"
5391 if test "x$cache" = xyes; then
5392 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test x"$enablestring" = xdisable; then
5396 if test $wxUSE_DEBUG_GDB = yes; then
5397 result=no
5398 else
5399 result=yes
5400 fi
5401 else
5402 result=$wxUSE_DEBUG_GDB
5403 fi
5404
5405 { echo "$as_me:$LINENO: result: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5407
5408
5409 enablestring=
5410 defaultval=
5411 if test -z "$defaultval"; then
5412 if test x"$enablestring" = xdisable; then
5413 defaultval=yes
5414 else
5415 defaultval=no
5416 fi
5417 fi
5418
5419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5421 # Check whether --enable-debug_cntxt was given.
5422 if test "${enable_debug_cntxt+set}" = set; then
5423 enableval=$enable_debug_cntxt;
5424 if test "$enableval" = yes; then
5425 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5426 else
5427 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5428 fi
5429 cache=yes
5430
5431 else
5432
5433 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5436 cache=yes
5437 else
5438 cache=no
5439 fi
5440
5441 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5442
5443 fi
5444
5445
5446 eval "$wx_cv_use_debug_cntxt"
5447 if test "x$cache" = xyes; then
5448 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_DEBUG_CONTEXT = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$wxUSE_DEBUG_CONTEXT
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465 enablestring=
5466 defaultval=
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5477 # Check whether --enable-mem_tracing was given.
5478 if test "${enable_mem_tracing+set}" = set; then
5479 enableval=$enable_mem_tracing;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5482 else
5483 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5484 fi
5485 cache=yes
5486
5487 else
5488
5489 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5492 cache=yes
5493 else
5494 cache=no
5495 fi
5496
5497 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5498
5499 fi
5500
5501
5502 eval "$wx_cv_use_mem_tracing"
5503 if test "x$cache" = xyes; then
5504 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_MEM_TRACING = yes; then
5509 result=no
5510 else
5511 result=yes
5512 fi
5513 else
5514 result=$wxUSE_MEM_TRACING
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521 enablestring=
5522 defaultval=
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5525 defaultval=yes
5526 else
5527 defaultval=no
5528 fi
5529 fi
5530
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5533 # Check whether --enable-profile was given.
5534 if test "${enable_profile+set}" = set; then
5535 enableval=$enable_profile;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_profile='wxUSE_PROFILE=yes'
5538 else
5539 wx_cv_use_profile='wxUSE_PROFILE=no'
5540 fi
5541 cache=yes
5542
5543 else
5544
5545 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x ; then
5547 eval "DEFAULT_$LINE"
5548 cache=yes
5549 else
5550 cache=no
5551 fi
5552
5553 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_profile"
5559 if test "x$cache" = xyes; then
5560 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5561 fi
5562
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_PROFILE = yes; then
5565 result=no
5566 else
5567 result=yes
5568 fi
5569 else
5570 result=$wxUSE_PROFILE
5571 fi
5572
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5575
5576
5577 enablestring=
5578 defaultval=
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5581 defaultval=yes
5582 else
5583 defaultval=no
5584 fi
5585 fi
5586
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5589 # Check whether --enable-no_rtti was given.
5590 if test "${enable_no_rtti+set}" = set; then
5591 enableval=$enable_no_rtti;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5594 else
5595 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5596 fi
5597 cache=yes
5598
5599 else
5600
5601 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5604 cache=yes
5605 else
5606 cache=no
5607 fi
5608
5609 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5610
5611 fi
5612
5613
5614 eval "$wx_cv_use_no_rtti"
5615 if test "x$cache" = xyes; then
5616 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5617 fi
5618
5619 if test x"$enablestring" = xdisable; then
5620 if test $wxUSE_NO_RTTI = yes; then
5621 result=no
5622 else
5623 result=yes
5624 fi
5625 else
5626 result=$wxUSE_NO_RTTI
5627 fi
5628
5629 { echo "$as_me:$LINENO: result: $result" >&5
5630 echo "${ECHO_T}$result" >&6; }
5631
5632
5633 enablestring=
5634 defaultval=
5635 if test -z "$defaultval"; then
5636 if test x"$enablestring" = xdisable; then
5637 defaultval=yes
5638 else
5639 defaultval=no
5640 fi
5641 fi
5642
5643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5645 # Check whether --enable-no_exceptions was given.
5646 if test "${enable_no_exceptions+set}" = set; then
5647 enableval=$enable_no_exceptions;
5648 if test "$enableval" = yes; then
5649 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5650 else
5651 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5652 fi
5653 cache=yes
5654
5655 else
5656
5657 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 cache=yes
5661 else
5662 cache=no
5663 fi
5664
5665 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_no_exceptions"
5671 if test "x$cache" = xyes; then
5672 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5673 fi
5674
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_NO_EXCEPTIONS = yes; then
5677 result=no
5678 else
5679 result=yes
5680 fi
5681 else
5682 result=$wxUSE_NO_EXCEPTIONS
5683 fi
5684
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5687
5688
5689 enablestring=
5690 defaultval=
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5693 defaultval=yes
5694 else
5695 defaultval=no
5696 fi
5697 fi
5698
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5701 # Check whether --enable-permissive was given.
5702 if test "${enable_permissive+set}" = set; then
5703 enableval=$enable_permissive;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5706 else
5707 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5708 fi
5709 cache=yes
5710
5711 else
5712
5713 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5716 cache=yes
5717 else
5718 cache=no
5719 fi
5720
5721 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_permissive"
5727 if test "x$cache" = xyes; then
5728 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5729 fi
5730
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PERMISSIVE = yes; then
5733 result=no
5734 else
5735 result=yes
5736 fi
5737 else
5738 result=$wxUSE_PERMISSIVE
5739 fi
5740
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5743
5744
5745 enablestring=
5746 defaultval=
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5749 defaultval=yes
5750 else
5751 defaultval=no
5752 fi
5753 fi
5754
5755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5757 # Check whether --enable-no_deps was given.
5758 if test "${enable_no_deps+set}" = set; then
5759 enableval=$enable_no_deps;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5762 else
5763 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5764 fi
5765 cache=yes
5766
5767 else
5768
5769 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5772 cache=yes
5773 else
5774 cache=no
5775 fi
5776
5777 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5778
5779 fi
5780
5781
5782 eval "$wx_cv_use_no_deps"
5783 if test "x$cache" = xyes; then
5784 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5785 fi
5786
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_NO_DEPS = yes; then
5789 result=no
5790 else
5791 result=yes
5792 fi
5793 else
5794 result=$wxUSE_NO_DEPS
5795 fi
5796
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5799
5800
5801 enablestring=disable
5802 defaultval=
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5805 defaultval=yes
5806 else
5807 defaultval=no
5808 fi
5809 fi
5810
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5813 # Check whether --enable-vararg_macros was given.
5814 if test "${enable_vararg_macros+set}" = set; then
5815 enableval=$enable_vararg_macros;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5818 else
5819 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5820 fi
5821 cache=yes
5822
5823 else
5824
5825 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 cache=yes
5829 else
5830 cache=no
5831 fi
5832
5833 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5834
5835 fi
5836
5837
5838 eval "$wx_cv_use_vararg_macros"
5839 if test "x$cache" = xyes; then
5840 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_VARARG_MACROS = yes; then
5845 result=no
5846 else
5847 result=yes
5848 fi
5849 else
5850 result=$wxUSE_VARARG_MACROS
5851 fi
5852
5853 { echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6; }
5855
5856
5857 enablestring=
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5860 # Check whether --enable-universal_binary was given.
5861 if test "${enable_universal_binary+set}" = set; then
5862 enableval=$enable_universal_binary;
5863 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5864 cache=yes
5865
5866 else
5867
5868 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 cache=yes
5872 else
5873 cache=no
5874 fi
5875
5876 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5877
5878 fi
5879
5880
5881 eval "$wx_cv_use_universal_binary"
5882 if test "x$cache" = xyes; then
5883 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5884 fi
5885
5886 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5887 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5888
5889
5890
5891 enablestring=
5892 defaultval=
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5895 defaultval=yes
5896 else
5897 defaultval=no
5898 fi
5899 fi
5900
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5903 # Check whether --enable-compat26 was given.
5904 if test "${enable_compat26+set}" = set; then
5905 enableval=$enable_compat26;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5908 else
5909 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5910 fi
5911 cache=yes
5912
5913 else
5914
5915 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 cache=yes
5919 else
5920 cache=no
5921 fi
5922
5923 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5924
5925 fi
5926
5927
5928 eval "$wx_cv_use_compat26"
5929 if test "x$cache" = xyes; then
5930 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5931 fi
5932
5933 if test x"$enablestring" = xdisable; then
5934 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5935 result=no
5936 else
5937 result=yes
5938 fi
5939 else
5940 result=$WXWIN_COMPATIBILITY_2_6
5941 fi
5942
5943 { echo "$as_me:$LINENO: result: $result" >&5
5944 echo "${ECHO_T}$result" >&6; }
5945
5946
5947 enablestring=disable
5948 defaultval=
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5951 defaultval=yes
5952 else
5953 defaultval=no
5954 fi
5955 fi
5956
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5959 # Check whether --enable-compat28 was given.
5960 if test "${enable_compat28+set}" = set; then
5961 enableval=$enable_compat28;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5964 else
5965 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5966 fi
5967 cache=yes
5968
5969 else
5970
5971 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5974 cache=yes
5975 else
5976 cache=no
5977 fi
5978
5979 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5980
5981 fi
5982
5983
5984 eval "$wx_cv_use_compat28"
5985 if test "x$cache" = xyes; then
5986 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test x"$enablestring" = xdisable; then
5990 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5991 result=no
5992 else
5993 result=yes
5994 fi
5995 else
5996 result=$WXWIN_COMPATIBILITY_2_8
5997 fi
5998
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6001
6002
6003
6004 enablestring=disable
6005 defaultval=
6006 if test -z "$defaultval"; then
6007 if test x"$enablestring" = xdisable; then
6008 defaultval=yes
6009 else
6010 defaultval=no
6011 fi
6012 fi
6013
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6016 # Check whether --enable-rpath was given.
6017 if test "${enable_rpath+set}" = set; then
6018 enableval=$enable_rpath;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_rpath='wxUSE_RPATH=yes'
6021 else
6022 wx_cv_use_rpath='wxUSE_RPATH=no'
6023 fi
6024 cache=yes
6025
6026 else
6027
6028 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6031 cache=yes
6032 else
6033 cache=no
6034 fi
6035
6036 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_rpath"
6042 if test "x$cache" = xyes; then
6043 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_RPATH = yes; then
6048 result=no
6049 else
6050 result=yes
6051 fi
6052 else
6053 result=$wxUSE_RPATH
6054 fi
6055
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6058
6059
6060
6061 enablestring=
6062 defaultval=
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6065 defaultval=yes
6066 else
6067 defaultval=no
6068 fi
6069 fi
6070
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6073 # Check whether --enable-objc_uniquifying was given.
6074 if test "${enable_objc_uniquifying+set}" = set; then
6075 enableval=$enable_objc_uniquifying;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6078 else
6079 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6080 fi
6081 cache=yes
6082
6083 else
6084
6085 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6088 cache=yes
6089 else
6090 cache=no
6091 fi
6092
6093 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6094
6095 fi
6096
6097
6098 eval "$wx_cv_use_objc_uniquifying"
6099 if test "x$cache" = xyes; then
6100 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test x"$enablestring" = xdisable; then
6104 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6105 result=no
6106 else
6107 result=yes
6108 fi
6109 else
6110 result=$wxUSE_OBJC_UNIQUIFYING
6111 fi
6112
6113 { echo "$as_me:$LINENO: result: $result" >&5
6114 echo "${ECHO_T}$result" >&6; }
6115
6116
6117
6118 enablestring=disable
6119 defaultval=
6120 if test -z "$defaultval"; then
6121 if test x"$enablestring" = xdisable; then
6122 defaultval=yes
6123 else
6124 defaultval=no
6125 fi
6126 fi
6127
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6130 # Check whether --enable-visibility was given.
6131 if test "${enable_visibility+set}" = set; then
6132 enableval=$enable_visibility;
6133 if test "$enableval" = yes; then
6134 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6135 else
6136 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6137 fi
6138 cache=yes
6139
6140 else
6141
6142 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 cache=yes
6146 else
6147 cache=no
6148 fi
6149
6150 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6151
6152 fi
6153
6154
6155 eval "$wx_cv_use_visibility"
6156 if test "x$cache" = xyes; then
6157 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6158 fi
6159
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_VISIBILITY = yes; then
6162 result=no
6163 else
6164 result=yes
6165 fi
6166 else
6167 result=$wxUSE_VISIBILITY
6168 fi
6169
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6172
6173
6174
6175
6176 enablestring=
6177 defaultval=$wxUSE_ALL_FEATURES
6178 if test -z "$defaultval"; then
6179 if test x"$enablestring" = xdisable; then
6180 defaultval=yes
6181 else
6182 defaultval=no
6183 fi
6184 fi
6185
6186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6188 # Check whether --enable-intl was given.
6189 if test "${enable_intl+set}" = set; then
6190 enableval=$enable_intl;
6191 if test "$enableval" = yes; then
6192 wx_cv_use_intl='wxUSE_INTL=yes'
6193 else
6194 wx_cv_use_intl='wxUSE_INTL=no'
6195 fi
6196 cache=yes
6197
6198 else
6199
6200 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 cache=yes
6204 else
6205 cache=no
6206 fi
6207
6208 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6209
6210 fi
6211
6212
6213 eval "$wx_cv_use_intl"
6214 if test "x$cache" = xyes; then
6215 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_INTL = yes; then
6220 result=no
6221 else
6222 result=yes
6223 fi
6224 else
6225 result=$wxUSE_INTL
6226 fi
6227
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6230
6231
6232 enablestring=
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6236 defaultval=yes
6237 else
6238 defaultval=no
6239 fi
6240 fi
6241
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6244 # Check whether --enable-config was given.
6245 if test "${enable_config+set}" = set; then
6246 enableval=$enable_config;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_config='wxUSE_CONFIG=yes'
6249 else
6250 wx_cv_use_config='wxUSE_CONFIG=no'
6251 fi
6252 cache=yes
6253
6254 else
6255
6256 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 cache=yes
6260 else
6261 cache=no
6262 fi
6263
6264 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6265
6266 fi
6267
6268
6269 eval "$wx_cv_use_config"
6270 if test "x$cache" = xyes; then
6271 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6272 fi
6273
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_CONFIG = yes; then
6276 result=no
6277 else
6278 result=yes
6279 fi
6280 else
6281 result=$wxUSE_CONFIG
6282 fi
6283
6284 { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6286
6287
6288
6289 enablestring=
6290 defaultval=$wxUSE_ALL_FEATURES
6291 if test -z "$defaultval"; then
6292 if test x"$enablestring" = xdisable; then
6293 defaultval=yes
6294 else
6295 defaultval=no
6296 fi
6297 fi
6298
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6301 # Check whether --enable-protocols was given.
6302 if test "${enable_protocols+set}" = set; then
6303 enableval=$enable_protocols;
6304 if test "$enableval" = yes; then
6305 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6306 else
6307 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6308 fi
6309 cache=yes
6310
6311 else
6312
6313 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 cache=yes
6317 else
6318 cache=no
6319 fi
6320
6321 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6322
6323 fi
6324
6325
6326 eval "$wx_cv_use_protocols"
6327 if test "x$cache" = xyes; then
6328 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test x"$enablestring" = xdisable; then
6332 if test $wxUSE_PROTOCOL = yes; then
6333 result=no
6334 else
6335 result=yes
6336 fi
6337 else
6338 result=$wxUSE_PROTOCOL
6339 fi
6340
6341 { echo "$as_me:$LINENO: result: $result" >&5
6342 echo "${ECHO_T}$result" >&6; }
6343
6344
6345 enablestring=
6346 defaultval=$wxUSE_ALL_FEATURES
6347 if test -z "$defaultval"; then
6348 if test x"$enablestring" = xdisable; then
6349 defaultval=yes
6350 else
6351 defaultval=no
6352 fi
6353 fi
6354
6355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6356 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6357 # Check whether --enable-ftp was given.
6358 if test "${enable_ftp+set}" = set; then
6359 enableval=$enable_ftp;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6362 else
6363 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6364 fi
6365 cache=yes
6366
6367 else
6368
6369 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6372 cache=yes
6373 else
6374 cache=no
6375 fi
6376
6377 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6378
6379 fi
6380
6381
6382 eval "$wx_cv_use_ftp"
6383 if test "x$cache" = xyes; then
6384 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6385 fi
6386
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_PROTOCOL_FTP = yes; then
6389 result=no
6390 else
6391 result=yes
6392 fi
6393 else
6394 result=$wxUSE_PROTOCOL_FTP
6395 fi
6396
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6399
6400
6401 enablestring=
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6405 defaultval=yes
6406 else
6407 defaultval=no
6408 fi
6409 fi
6410
6411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6413 # Check whether --enable-http was given.
6414 if test "${enable_http+set}" = set; then
6415 enableval=$enable_http;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6418 else
6419 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6420 fi
6421 cache=yes
6422
6423 else
6424
6425 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x ; then
6427 eval "DEFAULT_$LINE"
6428 cache=yes
6429 else
6430 cache=no
6431 fi
6432
6433 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6434
6435 fi
6436
6437
6438 eval "$wx_cv_use_http"
6439 if test "x$cache" = xyes; then
6440 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6441 fi
6442
6443 if test x"$enablestring" = xdisable; then
6444 if test $wxUSE_PROTOCOL_HTTP = yes; then
6445 result=no
6446 else
6447 result=yes
6448 fi
6449 else
6450 result=$wxUSE_PROTOCOL_HTTP
6451 fi
6452
6453 { echo "$as_me:$LINENO: result: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6455
6456
6457 enablestring=
6458 defaultval=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x"$enablestring" = xdisable; then
6461 defaultval=yes
6462 else
6463 defaultval=no
6464 fi
6465 fi
6466
6467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6469 # Check whether --enable-fileproto was given.
6470 if test "${enable_fileproto+set}" = set; then
6471 enableval=$enable_fileproto;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6474 else
6475 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6476 fi
6477 cache=yes
6478
6479 else
6480
6481 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 cache=yes
6485 else
6486 cache=no
6487 fi
6488
6489 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6490
6491 fi
6492
6493
6494 eval "$wx_cv_use_fileproto"
6495 if test "x$cache" = xyes; then
6496 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test x"$enablestring" = xdisable; then
6500 if test $wxUSE_PROTOCOL_FILE = yes; then
6501 result=no
6502 else
6503 result=yes
6504 fi
6505 else
6506 result=$wxUSE_PROTOCOL_FILE
6507 fi
6508
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6511
6512
6513 enablestring=
6514 defaultval=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x"$enablestring" = xdisable; then
6517 defaultval=yes
6518 else
6519 defaultval=no
6520 fi
6521 fi
6522
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6525 # Check whether --enable-sockets was given.
6526 if test "${enable_sockets+set}" = set; then
6527 enableval=$enable_sockets;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6530 else
6531 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6532 fi
6533 cache=yes
6534
6535 else
6536
6537 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 cache=yes
6541 else
6542 cache=no
6543 fi
6544
6545 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6546
6547 fi
6548
6549
6550 eval "$wx_cv_use_sockets"
6551 if test "x$cache" = xyes; then
6552 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6553 fi
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_SOCKETS = yes; then
6557 result=no
6558 else
6559 result=yes
6560 fi
6561 else
6562 result=$wxUSE_SOCKETS
6563 fi
6564
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6581 # Check whether --enable-ole was given.
6582 if test "${enable_ole+set}" = set; then
6583 enableval=$enable_ole;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ole='wxUSE_OLE=yes'
6586 else
6587 wx_cv_use_ole='wxUSE_OLE=no'
6588 fi
6589 cache=yes
6590
6591 else
6592
6593 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6596 cache=yes
6597 else
6598 cache=no
6599 fi
6600
6601 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6602
6603 fi
6604
6605
6606 eval "$wx_cv_use_ole"
6607 if test "x$cache" = xyes; then
6608 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test x"$enablestring" = xdisable; then
6612 if test $wxUSE_OLE = yes; then
6613 result=no
6614 else
6615 result=yes
6616 fi
6617 else
6618 result=$wxUSE_OLE
6619 fi
6620
6621 { echo "$as_me:$LINENO: result: $result" >&5
6622 echo "${ECHO_T}$result" >&6; }
6623
6624
6625 enablestring=
6626 defaultval=$wxUSE_ALL_FEATURES
6627 if test -z "$defaultval"; then
6628 if test x"$enablestring" = xdisable; then
6629 defaultval=yes
6630 else
6631 defaultval=no
6632 fi
6633 fi
6634
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6637 # Check whether --enable-dataobj was given.
6638 if test "${enable_dataobj+set}" = set; then
6639 enableval=$enable_dataobj;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6642 else
6643 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6644 fi
6645 cache=yes
6646
6647 else
6648
6649 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 cache=yes
6653 else
6654 cache=no
6655 fi
6656
6657 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_dataobj"
6663 if test "x$cache" = xyes; then
6664 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DATAOBJ = yes; then
6669 result=no
6670 else
6671 result=yes
6672 fi
6673 else
6674 result=$wxUSE_DATAOBJ
6675 fi
6676
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6679
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6694 # Check whether --enable-ipc was given.
6695 if test "${enable_ipc+set}" = set; then
6696 enableval=$enable_ipc;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_ipc='wxUSE_IPC=yes'
6699 else
6700 wx_cv_use_ipc='wxUSE_IPC=no'
6701 fi
6702 cache=yes
6703
6704 else
6705
6706 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6709 cache=yes
6710 else
6711 cache=no
6712 fi
6713
6714 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6715
6716 fi
6717
6718
6719 eval "$wx_cv_use_ipc"
6720 if test "x$cache" = xyes; then
6721 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test x"$enablestring" = xdisable; then
6725 if test $wxUSE_IPC = yes; then
6726 result=no
6727 else
6728 result=yes
6729 fi
6730 else
6731 result=$wxUSE_IPC
6732 fi
6733
6734 { echo "$as_me:$LINENO: result: $result" >&5
6735 echo "${ECHO_T}$result" >&6; }
6736
6737
6738
6739 enablestring=
6740 defaultval=$wxUSE_ALL_FEATURES
6741 if test -z "$defaultval"; then
6742 if test x"$enablestring" = xdisable; then
6743 defaultval=yes
6744 else
6745 defaultval=no
6746 fi
6747 fi
6748
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6751 # Check whether --enable-baseevtloop was given.
6752 if test "${enable_baseevtloop+set}" = set; then
6753 enableval=$enable_baseevtloop;
6754 if test "$enableval" = yes; then
6755 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6756 else
6757 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6758 fi
6759 cache=yes
6760
6761 else
6762
6763 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6766 cache=yes
6767 else
6768 cache=no
6769 fi
6770
6771 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6772
6773 fi
6774
6775
6776 eval "$wx_cv_use_baseevtloop"
6777 if test "x$cache" = xyes; then
6778 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6783 result=no
6784 else
6785 result=yes
6786 fi
6787 else
6788 result=$wxUSE_CONSOLE_EVENTLOOP
6789 fi
6790
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6793
6794
6795 enablestring=
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6799 defaultval=yes
6800 else
6801 defaultval=no
6802 fi
6803 fi
6804
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6807 # Check whether --enable-epollloop was given.
6808 if test "${enable_epollloop+set}" = set; then
6809 enableval=$enable_epollloop;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6812 else
6813 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6814 fi
6815 cache=yes
6816
6817 else
6818
6819 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 cache=yes
6823 else
6824 cache=no
6825 fi
6826
6827 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6828
6829 fi
6830
6831
6832 eval "$wx_cv_use_epollloop"
6833 if test "x$cache" = xyes; then
6834 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6835 fi
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6839 result=no
6840 else
6841 result=yes
6842 fi
6843 else
6844 result=$wxUSE_EPOLL_DISPATCHER
6845 fi
6846
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6849
6850
6851 enablestring=
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6863 # Check whether --enable-selectloop was given.
6864 if test "${enable_selectloop+set}" = set; then
6865 enableval=$enable_selectloop;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6868 else
6869 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6870 fi
6871 cache=yes
6872
6873 else
6874
6875 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x ; then
6877 eval "DEFAULT_$LINE"
6878 cache=yes
6879 else
6880 cache=no
6881 fi
6882
6883 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_selectloop"
6889 if test "x$cache" = xyes; then
6890 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_SELECT_DISPATCHER = yes; then
6895 result=no
6896 else
6897 result=yes
6898 fi
6899 else
6900 result=$wxUSE_SELECT_DISPATCHER
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907
6908 enablestring=
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6912 defaultval=yes
6913 else
6914 defaultval=no
6915 fi
6916 fi
6917
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6920 # Check whether --enable-apple_ieee was given.
6921 if test "${enable_apple_ieee+set}" = set; then
6922 enableval=$enable_apple_ieee;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6925 else
6926 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6927 fi
6928 cache=yes
6929
6930 else
6931
6932 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6935 cache=yes
6936 else
6937 cache=no
6938 fi
6939
6940 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6941
6942 fi
6943
6944
6945 eval "$wx_cv_use_apple_ieee"
6946 if test "x$cache" = xyes; then
6947 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_APPLE_IEEE = yes; then
6952 result=no
6953 else
6954 result=yes
6955 fi
6956 else
6957 result=$wxUSE_APPLE_IEEE
6958 fi
6959
6960 { echo "$as_me:$LINENO: result: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6962
6963
6964 enablestring=
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6968 defaultval=yes
6969 else
6970 defaultval=no
6971 fi
6972 fi
6973
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6976 # Check whether --enable-arcstream was given.
6977 if test "${enable_arcstream+set}" = set; then
6978 enableval=$enable_arcstream;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6981 else
6982 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6983 fi
6984 cache=yes
6985
6986 else
6987
6988 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6991 cache=yes
6992 else
6993 cache=no
6994 fi
6995
6996 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6997
6998 fi
6999
7000
7001 eval "$wx_cv_use_arcstream"
7002 if test "x$cache" = xyes; then
7003 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7004 fi
7005
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7008 result=no
7009 else
7010 result=yes
7011 fi
7012 else
7013 result=$wxUSE_ARCHIVE_STREAMS
7014 fi
7015
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7018
7019
7020 enablestring=
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7024 defaultval=yes
7025 else
7026 defaultval=no
7027 fi
7028 fi
7029
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7032 # Check whether --enable-base64 was given.
7033 if test "${enable_base64+set}" = set; then
7034 enableval=$enable_base64;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_base64='wxUSE_BASE64=yes'
7037 else
7038 wx_cv_use_base64='wxUSE_BASE64=no'
7039 fi
7040 cache=yes
7041
7042 else
7043
7044 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7047 cache=yes
7048 else
7049 cache=no
7050 fi
7051
7052 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7053
7054 fi
7055
7056
7057 eval "$wx_cv_use_base64"
7058 if test "x$cache" = xyes; then
7059 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7060 fi
7061
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_BASE64 = yes; then
7064 result=no
7065 else
7066 result=yes
7067 fi
7068 else
7069 result=$wxUSE_BASE64
7070 fi
7071
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7074
7075
7076 enablestring=
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7080 defaultval=yes
7081 else
7082 defaultval=no
7083 fi
7084 fi
7085
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7088 # Check whether --enable-backtrace was given.
7089 if test "${enable_backtrace+set}" = set; then
7090 enableval=$enable_backtrace;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7093 else
7094 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7095 fi
7096 cache=yes
7097
7098 else
7099
7100 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 cache=yes
7104 else
7105 cache=no
7106 fi
7107
7108 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7109
7110 fi
7111
7112
7113 eval "$wx_cv_use_backtrace"
7114 if test "x$cache" = xyes; then
7115 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7116 fi
7117
7118 if test x"$enablestring" = xdisable; then
7119 if test $wxUSE_STACKWALKER = yes; then
7120 result=no
7121 else
7122 result=yes
7123 fi
7124 else
7125 result=$wxUSE_STACKWALKER
7126 fi
7127
7128 { echo "$as_me:$LINENO: result: $result" >&5
7129 echo "${ECHO_T}$result" >&6; }
7130
7131
7132 enablestring=
7133 defaultval=$wxUSE_ALL_FEATURES
7134 if test -z "$defaultval"; then
7135 if test x"$enablestring" = xdisable; then
7136 defaultval=yes
7137 else
7138 defaultval=no
7139 fi
7140 fi
7141
7142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7144 # Check whether --enable-catch_segvs was given.
7145 if test "${enable_catch_segvs+set}" = set; then
7146 enableval=$enable_catch_segvs;
7147 if test "$enableval" = yes; then
7148 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7149 else
7150 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7151 fi
7152 cache=yes
7153
7154 else
7155
7156 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7159 cache=yes
7160 else
7161 cache=no
7162 fi
7163
7164 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_catch_segvs"
7170 if test "x$cache" = xyes; then
7171 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7172 fi
7173
7174 if test x"$enablestring" = xdisable; then
7175 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7176 result=no
7177 else
7178 result=yes
7179 fi
7180 else
7181 result=$wxUSE_ON_FATAL_EXCEPTION
7182 fi
7183
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7186
7187
7188 enablestring=
7189 defaultval=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x"$enablestring" = xdisable; then
7192 defaultval=yes
7193 else
7194 defaultval=no
7195 fi
7196 fi
7197
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7200 # Check whether --enable-cmdline was given.
7201 if test "${enable_cmdline+set}" = set; then
7202 enableval=$enable_cmdline;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7205 else
7206 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7207 fi
7208 cache=yes
7209
7210 else
7211
7212 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 cache=yes
7216 else
7217 cache=no
7218 fi
7219
7220 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7221
7222 fi
7223
7224
7225 eval "$wx_cv_use_cmdline"
7226 if test "x$cache" = xyes; then
7227 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7228 fi
7229
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_CMDLINE_PARSER = yes; then
7232 result=no
7233 else
7234 result=yes
7235 fi
7236 else
7237 result=$wxUSE_CMDLINE_PARSER
7238 fi
7239
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7242
7243
7244 enablestring=
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7248 defaultval=yes
7249 else
7250 defaultval=no
7251 fi
7252 fi
7253
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7256 # Check whether --enable-datetime was given.
7257 if test "${enable_datetime+set}" = set; then
7258 enableval=$enable_datetime;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7261 else
7262 wx_cv_use_datetime='wxUSE_DATETIME=no'
7263 fi
7264 cache=yes
7265
7266 else
7267
7268 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 cache=yes
7272 else
7273 cache=no
7274 fi
7275
7276 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$wx_cv_use_datetime"
7282 if test "x$cache" = xyes; then
7283 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_DATETIME = yes; then
7288 result=no
7289 else
7290 result=yes
7291 fi
7292 else
7293 result=$wxUSE_DATETIME
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7312 # Check whether --enable-debugreport was given.
7313 if test "${enable_debugreport+set}" = set; then
7314 enableval=$enable_debugreport;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7317 else
7318 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7319 fi
7320 cache=yes
7321
7322 else
7323
7324 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7327 cache=yes
7328 else
7329 cache=no
7330 fi
7331
7332 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7333
7334 fi
7335
7336
7337 eval "$wx_cv_use_debugreport"
7338 if test "x$cache" = xyes; then
7339 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7340 fi
7341
7342 if test x"$enablestring" = xdisable; then
7343 if test $wxUSE_DEBUGREPORT = yes; then
7344 result=no
7345 else
7346 result=yes
7347 fi
7348 else
7349 result=$wxUSE_DEBUGREPORT
7350 fi
7351
7352 { echo "$as_me:$LINENO: result: $result" >&5
7353 echo "${ECHO_T}$result" >&6; }
7354
7355
7356 enablestring=
7357 defaultval=$wxUSE_ALL_FEATURES
7358 if test -z "$defaultval"; then
7359 if test x"$enablestring" = xdisable; then
7360 defaultval=yes
7361 else
7362 defaultval=no
7363 fi
7364 fi
7365
7366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7367 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7368 # Check whether --enable-dialupman was given.
7369 if test "${enable_dialupman+set}" = set; then
7370 enableval=$enable_dialupman;
7371 if test "$enableval" = yes; then
7372 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7373 else
7374 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7375 fi
7376 cache=yes
7377
7378 else
7379
7380 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7383 cache=yes
7384 else
7385 cache=no
7386 fi
7387
7388 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$wx_cv_use_dialupman"
7394 if test "x$cache" = xyes; then
7395 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_DIALUP_MANAGER = yes; then
7400 result=no
7401 else
7402 result=yes
7403 fi
7404 else
7405 result=$wxUSE_DIALUP_MANAGER
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7424 # Check whether --enable-dynlib was given.
7425 if test "${enable_dynlib+set}" = set; then
7426 enableval=$enable_dynlib;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7429 else
7430 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7431 fi
7432 cache=yes
7433
7434 else
7435
7436 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 cache=yes
7440 else
7441 cache=no
7442 fi
7443
7444 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7445
7446 fi
7447
7448
7449 eval "$wx_cv_use_dynlib"
7450 if test "x$cache" = xyes; then
7451 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_DYNLIB_CLASS = yes; then
7456 result=no
7457 else
7458 result=yes
7459 fi
7460 else
7461 result=$wxUSE_DYNLIB_CLASS
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7480 # Check whether --enable-dynamicloader was given.
7481 if test "${enable_dynamicloader+set}" = set; then
7482 enableval=$enable_dynamicloader;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7485 else
7486 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7487 fi
7488 cache=yes
7489
7490 else
7491
7492 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 cache=yes
7496 else
7497 cache=no
7498 fi
7499
7500 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7501
7502 fi
7503
7504
7505 eval "$wx_cv_use_dynamicloader"
7506 if test "x$cache" = xyes; then
7507 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7508 fi
7509
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_DYNAMIC_LOADER = yes; then
7512 result=no
7513 else
7514 result=yes
7515 fi
7516 else
7517 result=$wxUSE_DYNAMIC_LOADER
7518 fi
7519
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7522
7523
7524 enablestring=
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7528 defaultval=yes
7529 else
7530 defaultval=no
7531 fi
7532 fi
7533
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7536 # Check whether --enable-exceptions was given.
7537 if test "${enable_exceptions+set}" = set; then
7538 enableval=$enable_exceptions;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7541 else
7542 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7543 fi
7544 cache=yes
7545
7546 else
7547
7548 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x ; then
7550 eval "DEFAULT_$LINE"
7551 cache=yes
7552 else
7553 cache=no
7554 fi
7555
7556 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7557
7558 fi
7559
7560
7561 eval "$wx_cv_use_exceptions"
7562 if test "x$cache" = xyes; then
7563 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7564 fi
7565
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_EXCEPTIONS = yes; then
7568 result=no
7569 else
7570 result=yes
7571 fi
7572 else
7573 result=$wxUSE_EXCEPTIONS
7574 fi
7575
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7578
7579
7580 enablestring=
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7584 defaultval=yes
7585 else
7586 defaultval=no
7587 fi
7588 fi
7589
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7592 # Check whether --enable-ffile was given.
7593 if test "${enable_ffile+set}" = set; then
7594 enableval=$enable_ffile;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_ffile='wxUSE_FFILE=yes'
7597 else
7598 wx_cv_use_ffile='wxUSE_FFILE=no'
7599 fi
7600 cache=yes
7601
7602 else
7603
7604 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 cache=yes
7608 else
7609 cache=no
7610 fi
7611
7612 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_ffile"
7618 if test "x$cache" = xyes; then
7619 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_FFILE = yes; then
7624 result=no
7625 else
7626 result=yes
7627 fi
7628 else
7629 result=$wxUSE_FFILE
7630 fi
7631
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7634
7635
7636 enablestring=
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7640 defaultval=yes
7641 else
7642 defaultval=no
7643 fi
7644 fi
7645
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7648 # Check whether --enable-file was given.
7649 if test "${enable_file+set}" = set; then
7650 enableval=$enable_file;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_file='wxUSE_FILE=yes'
7653 else
7654 wx_cv_use_file='wxUSE_FILE=no'
7655 fi
7656 cache=yes
7657
7658 else
7659
7660 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 cache=yes
7664 else
7665 cache=no
7666 fi
7667
7668 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7669
7670 fi
7671
7672
7673 eval "$wx_cv_use_file"
7674 if test "x$cache" = xyes; then
7675 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7676 fi
7677
7678 if test x"$enablestring" = xdisable; then
7679 if test $wxUSE_FILE = yes; then
7680 result=no
7681 else
7682 result=yes
7683 fi
7684 else
7685 result=$wxUSE_FILE
7686 fi
7687
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7690
7691
7692 enablestring=
7693 defaultval=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x"$enablestring" = xdisable; then
7696 defaultval=yes
7697 else
7698 defaultval=no
7699 fi
7700 fi
7701
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7704 # Check whether --enable-filesystem was given.
7705 if test "${enable_filesystem+set}" = set; then
7706 enableval=$enable_filesystem;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7709 else
7710 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7711 fi
7712 cache=yes
7713
7714 else
7715
7716 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 cache=yes
7720 else
7721 cache=no
7722 fi
7723
7724 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7725
7726 fi
7727
7728
7729 eval "$wx_cv_use_filesystem"
7730 if test "x$cache" = xyes; then
7731 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7732 fi
7733
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_FILESYSTEM = yes; then
7736 result=no
7737 else
7738 result=yes
7739 fi
7740 else
7741 result=$wxUSE_FILESYSTEM
7742 fi
7743
7744 { echo "$as_me:$LINENO: result: $result" >&5
7745 echo "${ECHO_T}$result" >&6; }
7746
7747
7748 enablestring=
7749 defaultval=$wxUSE_ALL_FEATURES
7750 if test -z "$defaultval"; then
7751 if test x"$enablestring" = xdisable; then
7752 defaultval=yes
7753 else
7754 defaultval=no
7755 fi
7756 fi
7757
7758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7760 # Check whether --enable-fontenum was given.
7761 if test "${enable_fontenum+set}" = set; then
7762 enableval=$enable_fontenum;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7765 else
7766 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7767 fi
7768 cache=yes
7769
7770 else
7771
7772 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 cache=yes
7776 else
7777 cache=no
7778 fi
7779
7780 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7781
7782 fi
7783
7784
7785 eval "$wx_cv_use_fontenum"
7786 if test "x$cache" = xyes; then
7787 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_FONTENUM = yes; then
7792 result=no
7793 else
7794 result=yes
7795 fi
7796 else
7797 result=$wxUSE_FONTENUM
7798 fi
7799
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7802
7803
7804 enablestring=
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7808 defaultval=yes
7809 else
7810 defaultval=no
7811 fi
7812 fi
7813
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7816 # Check whether --enable-fontmap was given.
7817 if test "${enable_fontmap+set}" = set; then
7818 enableval=$enable_fontmap;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7821 else
7822 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7823 fi
7824 cache=yes
7825
7826 else
7827
7828 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7831 cache=yes
7832 else
7833 cache=no
7834 fi
7835
7836 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7837
7838 fi
7839
7840
7841 eval "$wx_cv_use_fontmap"
7842 if test "x$cache" = xyes; then
7843 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7844 fi
7845
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_FONTMAP = yes; then
7848 result=no
7849 else
7850 result=yes
7851 fi
7852 else
7853 result=$wxUSE_FONTMAP
7854 fi
7855
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7858
7859
7860 enablestring=
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7864 defaultval=yes
7865 else
7866 defaultval=no
7867 fi
7868 fi
7869
7870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7872 # Check whether --enable-fs_archive was given.
7873 if test "${enable_fs_archive+set}" = set; then
7874 enableval=$enable_fs_archive;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7877 else
7878 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7879 fi
7880 cache=yes
7881
7882 else
7883
7884 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x ; then
7886 eval "DEFAULT_$LINE"
7887 cache=yes
7888 else
7889 cache=no
7890 fi
7891
7892 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7893
7894 fi
7895
7896
7897 eval "$wx_cv_use_fs_archive"
7898 if test "x$cache" = xyes; then
7899 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_FS_ARCHIVE = yes; then
7904 result=no
7905 else
7906 result=yes
7907 fi
7908 else
7909 result=$wxUSE_FS_ARCHIVE
7910 fi
7911
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7914
7915
7916 enablestring=
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7920 defaultval=yes
7921 else
7922 defaultval=no
7923 fi
7924 fi
7925
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7928 # Check whether --enable-fs_inet was given.
7929 if test "${enable_fs_inet+set}" = set; then
7930 enableval=$enable_fs_inet;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7933 else
7934 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7935 fi
7936 cache=yes
7937
7938 else
7939
7940 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7943 cache=yes
7944 else
7945 cache=no
7946 fi
7947
7948 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7949
7950 fi
7951
7952
7953 eval "$wx_cv_use_fs_inet"
7954 if test "x$cache" = xyes; then
7955 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7956 fi
7957
7958 if test x"$enablestring" = xdisable; then
7959 if test $wxUSE_FS_INET = yes; then
7960 result=no
7961 else
7962 result=yes
7963 fi
7964 else
7965 result=$wxUSE_FS_INET
7966 fi
7967
7968 { echo "$as_me:$LINENO: result: $result" >&5
7969 echo "${ECHO_T}$result" >&6; }
7970
7971
7972 enablestring=
7973 defaultval=$wxUSE_ALL_FEATURES
7974 if test -z "$defaultval"; then
7975 if test x"$enablestring" = xdisable; then
7976 defaultval=yes
7977 else
7978 defaultval=no
7979 fi
7980 fi
7981
7982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7983 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7984 # Check whether --enable-fs_zip was given.
7985 if test "${enable_fs_zip+set}" = set; then
7986 enableval=$enable_fs_zip;
7987 if test "$enableval" = yes; then
7988 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7989 else
7990 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7991 fi
7992 cache=yes
7993
7994 else
7995
7996 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7997 if test "x$LINE" != x ; then
7998 eval "DEFAULT_$LINE"
7999 cache=yes
8000 else
8001 cache=no
8002 fi
8003
8004 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8005
8006 fi
8007
8008
8009 eval "$wx_cv_use_fs_zip"
8010 if test "x$cache" = xyes; then
8011 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8012 fi
8013
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_FS_ZIP = yes; then
8016 result=no
8017 else
8018 result=yes
8019 fi
8020 else
8021 result=$wxUSE_FS_ZIP
8022 fi
8023
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8026
8027
8028 enablestring=
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8032 defaultval=yes
8033 else
8034 defaultval=no
8035 fi
8036 fi
8037
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8040 # Check whether --enable-geometry was given.
8041 if test "${enable_geometry+set}" = set; then
8042 enableval=$enable_geometry;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8045 else
8046 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8047 fi
8048 cache=yes
8049
8050 else
8051
8052 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 cache=yes
8056 else
8057 cache=no
8058 fi
8059
8060 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8061
8062 fi
8063
8064
8065 eval "$wx_cv_use_geometry"
8066 if test "x$cache" = xyes; then
8067 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8068 fi
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_GEOMETRY = yes; then
8072 result=no
8073 else
8074 result=yes
8075 fi
8076 else
8077 result=$wxUSE_GEOMETRY
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8096 # Check whether --enable-log was given.
8097 if test "${enable_log+set}" = set; then
8098 enableval=$enable_log;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_log='wxUSE_LOG=yes'
8101 else
8102 wx_cv_use_log='wxUSE_LOG=no'
8103 fi
8104 cache=yes
8105
8106 else
8107
8108 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 cache=yes
8112 else
8113 cache=no
8114 fi
8115
8116 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8117
8118 fi
8119
8120
8121 eval "$wx_cv_use_log"
8122 if test "x$cache" = xyes; then
8123 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_LOG = yes; then
8128 result=no
8129 else
8130 result=yes
8131 fi
8132 else
8133 result=$wxUSE_LOG
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140 enablestring=
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8144 defaultval=yes
8145 else
8146 defaultval=no
8147 fi
8148 fi
8149
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8152 # Check whether --enable-longlong was given.
8153 if test "${enable_longlong+set}" = set; then
8154 enableval=$enable_longlong;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8157 else
8158 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8159 fi
8160 cache=yes
8161
8162 else
8163
8164 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8167 cache=yes
8168 else
8169 cache=no
8170 fi
8171
8172 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8173
8174 fi
8175
8176
8177 eval "$wx_cv_use_longlong"
8178 if test "x$cache" = xyes; then
8179 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_LONGLONG = yes; then
8184 result=no
8185 else
8186 result=yes
8187 fi
8188 else
8189 result=$wxUSE_LONGLONG
8190 fi
8191
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8194
8195
8196 enablestring=
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8200 defaultval=yes
8201 else
8202 defaultval=no
8203 fi
8204 fi
8205
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8208 # Check whether --enable-mimetype was given.
8209 if test "${enable_mimetype+set}" = set; then
8210 enableval=$enable_mimetype;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8213 else
8214 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8215 fi
8216 cache=yes
8217
8218 else
8219
8220 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 cache=yes
8224 else
8225 cache=no
8226 fi
8227
8228 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8229
8230 fi
8231
8232
8233 eval "$wx_cv_use_mimetype"
8234 if test "x$cache" = xyes; then
8235 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8236 fi
8237
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_MIMETYPE = yes; then
8240 result=no
8241 else
8242 result=yes
8243 fi
8244 else
8245 result=$wxUSE_MIMETYPE
8246 fi
8247
8248 { echo "$as_me:$LINENO: result: $result" >&5
8249 echo "${ECHO_T}$result" >&6; }
8250
8251
8252 enablestring=
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8256 defaultval=yes
8257 else
8258 defaultval=no
8259 fi
8260 fi
8261
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8264 # Check whether --enable-snglinst was given.
8265 if test "${enable_snglinst+set}" = set; then
8266 enableval=$enable_snglinst;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8269 else
8270 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8271 fi
8272 cache=yes
8273
8274 else
8275
8276 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8279 cache=yes
8280 else
8281 cache=no
8282 fi
8283
8284 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_snglinst"
8290 if test "x$cache" = xyes; then
8291 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_SNGLINST_CHECKER = yes; then
8296 result=no
8297 else
8298 result=yes
8299 fi
8300 else
8301 result=$wxUSE_SNGLINST_CHECKER
8302 fi
8303
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8320 # Check whether --enable-stdpaths was given.
8321 if test "${enable_stdpaths+set}" = set; then
8322 enableval=$enable_stdpaths;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8325 else
8326 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8327 fi
8328 cache=yes
8329
8330 else
8331
8332 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 cache=yes
8336 else
8337 cache=no
8338 fi
8339
8340 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8341
8342 fi
8343
8344
8345 eval "$wx_cv_use_stdpaths"
8346 if test "x$cache" = xyes; then
8347 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8348 fi
8349
8350 if test x"$enablestring" = xdisable; then
8351 if test $wxUSE_STDPATHS = yes; then
8352 result=no
8353 else
8354 result=yes
8355 fi
8356 else
8357 result=$wxUSE_STDPATHS
8358 fi
8359
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8362
8363
8364 enablestring=
8365 defaultval=$wxUSE_ALL_FEATURES
8366 if test -z "$defaultval"; then
8367 if test x"$enablestring" = xdisable; then
8368 defaultval=yes
8369 else
8370 defaultval=no
8371 fi
8372 fi
8373
8374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8376 # Check whether --enable-stopwatch was given.
8377 if test "${enable_stopwatch+set}" = set; then
8378 enableval=$enable_stopwatch;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8381 else
8382 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8383 fi
8384 cache=yes
8385
8386 else
8387
8388 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 cache=yes
8392 else
8393 cache=no
8394 fi
8395
8396 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8397
8398 fi
8399
8400
8401 eval "$wx_cv_use_stopwatch"
8402 if test "x$cache" = xyes; then
8403 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8404 fi
8405
8406 if test x"$enablestring" = xdisable; then
8407 if test $wxUSE_STOPWATCH = yes; then
8408 result=no
8409 else
8410 result=yes
8411 fi
8412 else
8413 result=$wxUSE_STOPWATCH
8414 fi
8415
8416 { echo "$as_me:$LINENO: result: $result" >&5
8417 echo "${ECHO_T}$result" >&6; }
8418
8419
8420 enablestring=
8421 defaultval=$wxUSE_ALL_FEATURES
8422 if test -z "$defaultval"; then
8423 if test x"$enablestring" = xdisable; then
8424 defaultval=yes
8425 else
8426 defaultval=no
8427 fi
8428 fi
8429
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8432 # Check whether --enable-streams was given.
8433 if test "${enable_streams+set}" = set; then
8434 enableval=$enable_streams;
8435 if test "$enableval" = yes; then
8436 wx_cv_use_streams='wxUSE_STREAMS=yes'
8437 else
8438 wx_cv_use_streams='wxUSE_STREAMS=no'
8439 fi
8440 cache=yes
8441
8442 else
8443
8444 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8447 cache=yes
8448 else
8449 cache=no
8450 fi
8451
8452 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8453
8454 fi
8455
8456
8457 eval "$wx_cv_use_streams"
8458 if test "x$cache" = xyes; then
8459 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8460 fi
8461
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_STREAMS = yes; then
8464 result=no
8465 else
8466 result=yes
8467 fi
8468 else
8469 result=$wxUSE_STREAMS
8470 fi
8471
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8474
8475
8476 enablestring=
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8480 defaultval=yes
8481 else
8482 defaultval=no
8483 fi
8484 fi
8485
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8488 # Check whether --enable-system_options was given.
8489 if test "${enable_system_options+set}" = set; then
8490 enableval=$enable_system_options;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8493 else
8494 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8495 fi
8496 cache=yes
8497
8498 else
8499
8500 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 cache=yes
8504 else
8505 cache=no
8506 fi
8507
8508 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8509
8510 fi
8511
8512
8513 eval "$wx_cv_use_system_options"
8514 if test "x$cache" = xyes; then
8515 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8516 fi
8517
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8520 result=no
8521 else
8522 result=yes
8523 fi
8524 else
8525 result=$wxUSE_SYSTEM_OPTIONS
8526 fi
8527
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8530
8531
8532 enablestring=
8533 defaultval=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8536 defaultval=yes
8537 else
8538 defaultval=no
8539 fi
8540 fi
8541
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8544 # Check whether --enable-tarstream was given.
8545 if test "${enable_tarstream+set}" = set; then
8546 enableval=$enable_tarstream;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8549 else
8550 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8551 fi
8552 cache=yes
8553
8554 else
8555
8556 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8559 cache=yes
8560 else
8561 cache=no
8562 fi
8563
8564 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8565
8566 fi
8567
8568
8569 eval "$wx_cv_use_tarstream"
8570 if test "x$cache" = xyes; then
8571 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8572 fi
8573
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_TARSTREAM = yes; then
8576 result=no
8577 else
8578 result=yes
8579 fi
8580 else
8581 result=$wxUSE_TARSTREAM
8582 fi
8583
8584 { echo "$as_me:$LINENO: result: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8586
8587
8588 enablestring=
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8592 defaultval=yes
8593 else
8594 defaultval=no
8595 fi
8596 fi
8597
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8600 # Check whether --enable-textbuf was given.
8601 if test "${enable_textbuf+set}" = set; then
8602 enableval=$enable_textbuf;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8605 else
8606 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8607 fi
8608 cache=yes
8609
8610 else
8611
8612 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8615 cache=yes
8616 else
8617 cache=no
8618 fi
8619
8620 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8621
8622 fi
8623
8624
8625 eval "$wx_cv_use_textbuf"
8626 if test "x$cache" = xyes; then
8627 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8628 fi
8629
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_TEXTBUFFER = yes; then
8632 result=no
8633 else
8634 result=yes
8635 fi
8636 else
8637 result=$wxUSE_TEXTBUFFER
8638 fi
8639
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8642
8643
8644 enablestring=
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8648 defaultval=yes
8649 else
8650 defaultval=no
8651 fi
8652 fi
8653
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8656 # Check whether --enable-textfile was given.
8657 if test "${enable_textfile+set}" = set; then
8658 enableval=$enable_textfile;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8661 else
8662 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8663 fi
8664 cache=yes
8665
8666 else
8667
8668 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 cache=yes
8672 else
8673 cache=no
8674 fi
8675
8676 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8677
8678 fi
8679
8680
8681 eval "$wx_cv_use_textfile"
8682 if test "x$cache" = xyes; then
8683 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8684 fi
8685
8686 if test x"$enablestring" = xdisable; then
8687 if test $wxUSE_TEXTFILE = yes; then
8688 result=no
8689 else
8690 result=yes
8691 fi
8692 else
8693 result=$wxUSE_TEXTFILE
8694 fi
8695
8696 { echo "$as_me:$LINENO: result: $result" >&5
8697 echo "${ECHO_T}$result" >&6; }
8698
8699
8700 enablestring=
8701 defaultval=$wxUSE_ALL_FEATURES
8702 if test -z "$defaultval"; then
8703 if test x"$enablestring" = xdisable; then
8704 defaultval=yes
8705 else
8706 defaultval=no
8707 fi
8708 fi
8709
8710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8712 # Check whether --enable-timer was given.
8713 if test "${enable_timer+set}" = set; then
8714 enableval=$enable_timer;
8715 if test "$enableval" = yes; then
8716 wx_cv_use_timer='wxUSE_TIMER=yes'
8717 else
8718 wx_cv_use_timer='wxUSE_TIMER=no'
8719 fi
8720 cache=yes
8721
8722 else
8723
8724 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x ; then
8726 eval "DEFAULT_$LINE"
8727 cache=yes
8728 else
8729 cache=no
8730 fi
8731
8732 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_timer"
8738 if test "x$cache" = xyes; then
8739 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8740 fi
8741
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_TIMER = yes; then
8744 result=no
8745 else
8746 result=yes
8747 fi
8748 else
8749 result=$wxUSE_TIMER
8750 fi
8751
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8754
8755
8756 enablestring=
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8760 defaultval=yes
8761 else
8762 defaultval=no
8763 fi
8764 fi
8765
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8768 # Check whether --enable-sound was given.
8769 if test "${enable_sound+set}" = set; then
8770 enableval=$enable_sound;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_sound='wxUSE_SOUND=yes'
8773 else
8774 wx_cv_use_sound='wxUSE_SOUND=no'
8775 fi
8776 cache=yes
8777
8778 else
8779
8780 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8783 cache=yes
8784 else
8785 cache=no
8786 fi
8787
8788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8789
8790 fi
8791
8792
8793 eval "$wx_cv_use_sound"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_SOUND = yes; then
8800 result=no
8801 else
8802 result=yes
8803 fi
8804 else
8805 result=$wxUSE_SOUND
8806 fi
8807
8808 { echo "$as_me:$LINENO: result: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8810
8811
8812 enablestring=
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8816 defaultval=yes
8817 else
8818 defaultval=no
8819 fi
8820 fi
8821
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8824 # Check whether --enable-mediactrl was given.
8825 if test "${enable_mediactrl+set}" = set; then
8826 enableval=$enable_mediactrl;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8829 else
8830 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8831 fi
8832 cache=yes
8833
8834 else
8835
8836 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 cache=yes
8840 else
8841 cache=no
8842 fi
8843
8844 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8845
8846 fi
8847
8848
8849 eval "$wx_cv_use_mediactrl"
8850 if test "x$cache" = xyes; then
8851 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8852 fi
8853
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_MEDIACTRL = yes; then
8856 result=no
8857 else
8858 result=yes
8859 fi
8860 else
8861 result=$wxUSE_MEDIACTRL
8862 fi
8863
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8866
8867
8868 enablestring=
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8872 defaultval=yes
8873 else
8874 defaultval=no
8875 fi
8876 fi
8877
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8880 # Check whether --enable-gstreamer8 was given.
8881 if test "${enable_gstreamer8+set}" = set; then
8882 enableval=$enable_gstreamer8;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8885 else
8886 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8887 fi
8888 cache=yes
8889
8890 else
8891
8892 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x ; then
8894 eval "DEFAULT_$LINE"
8895 cache=yes
8896 else
8897 cache=no
8898 fi
8899
8900 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8901
8902 fi
8903
8904
8905 eval "$wx_cv_use_gstreamer8"
8906 if test "x$cache" = xyes; then
8907 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8908 fi
8909
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_GSTREAMER8 = yes; then
8912 result=no
8913 else
8914 result=yes
8915 fi
8916 else
8917 result=$wxUSE_GSTREAMER8
8918 fi
8919
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8922
8923
8924 enablestring=
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8928 defaultval=yes
8929 else
8930 defaultval=no
8931 fi
8932 fi
8933
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8936 # Check whether --enable-printfposparam was given.
8937 if test "${enable_printfposparam+set}" = set; then
8938 enableval=$enable_printfposparam;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8941 else
8942 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8943 fi
8944 cache=yes
8945
8946 else
8947
8948 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 cache=yes
8952 else
8953 cache=no
8954 fi
8955
8956 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8957
8958 fi
8959
8960
8961 eval "$wx_cv_use_printfposparam"
8962 if test "x$cache" = xyes; then
8963 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test x"$enablestring" = xdisable; then
8967 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8968 result=no
8969 else
8970 result=yes
8971 fi
8972 else
8973 result=$wxUSE_PRINTF_POS_PARAMS
8974 fi
8975
8976 { echo "$as_me:$LINENO: result: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8978
8979
8980 enablestring=
8981 defaultval=$wxUSE_ALL_FEATURES
8982 if test -z "$defaultval"; then
8983 if test x"$enablestring" = xdisable; then
8984 defaultval=yes
8985 else
8986 defaultval=no
8987 fi
8988 fi
8989
8990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8992 # Check whether --enable-zipstream was given.
8993 if test "${enable_zipstream+set}" = set; then
8994 enableval=$enable_zipstream;
8995 if test "$enableval" = yes; then
8996 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8997 else
8998 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8999 fi
9000 cache=yes
9001
9002 else
9003
9004 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9005 if test "x$LINE" != x ; then
9006 eval "DEFAULT_$LINE"
9007 cache=yes
9008 else
9009 cache=no
9010 fi
9011
9012 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9013
9014 fi
9015
9016
9017 eval "$wx_cv_use_zipstream"
9018 if test "x$cache" = xyes; then
9019 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9020 fi
9021
9022 if test x"$enablestring" = xdisable; then
9023 if test $wxUSE_ZIPSTREAM = yes; then
9024 result=no
9025 else
9026 result=yes
9027 fi
9028 else
9029 result=$wxUSE_ZIPSTREAM
9030 fi
9031
9032 { echo "$as_me:$LINENO: result: $result" >&5
9033 echo "${ECHO_T}$result" >&6; }
9034
9035
9036
9037 enablestring=
9038 defaultval=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x"$enablestring" = xdisable; then
9041 defaultval=yes
9042 else
9043 defaultval=no
9044 fi
9045 fi
9046
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9049 # Check whether --enable-url was given.
9050 if test "${enable_url+set}" = set; then
9051 enableval=$enable_url;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_url='wxUSE_URL=yes'
9054 else
9055 wx_cv_use_url='wxUSE_URL=no'
9056 fi
9057 cache=yes
9058
9059 else
9060
9061 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 cache=yes
9065 else
9066 cache=no
9067 fi
9068
9069 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9070
9071 fi
9072
9073
9074 eval "$wx_cv_use_url"
9075 if test "x$cache" = xyes; then
9076 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9077 fi
9078
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_URL = yes; then
9081 result=no
9082 else
9083 result=yes
9084 fi
9085 else
9086 result=$wxUSE_URL
9087 fi
9088
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9091
9092
9093 enablestring=
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9097 defaultval=yes
9098 else
9099 defaultval=no
9100 fi
9101 fi
9102
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9105 # Check whether --enable-variant was given.
9106 if test "${enable_variant+set}" = set; then
9107 enableval=$enable_variant;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_variant='wxUSE_VARIANT=yes'
9110 else
9111 wx_cv_use_variant='wxUSE_VARIANT=no'
9112 fi
9113 cache=yes
9114
9115 else
9116
9117 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9120 cache=yes
9121 else
9122 cache=no
9123 fi
9124
9125 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_variant"
9131 if test "x$cache" = xyes; then
9132 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_VARIANT = yes; then
9137 result=no
9138 else
9139 result=yes
9140 fi
9141 else
9142 result=$wxUSE_VARIANT
9143 fi
9144
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9161 # Check whether --enable-protocol was given.
9162 if test "${enable_protocol+set}" = set; then
9163 enableval=$enable_protocol;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9166 else
9167 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9168 fi
9169 cache=yes
9170
9171 else
9172
9173 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x ; then
9175 eval "DEFAULT_$LINE"
9176 cache=yes
9177 else
9178 cache=no
9179 fi
9180
9181 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_protocol"
9187 if test "x$cache" = xyes; then
9188 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9189 fi
9190
9191 if test x"$enablestring" = xdisable; then
9192 if test $wxUSE_PROTOCOL = yes; then
9193 result=no
9194 else
9195 result=yes
9196 fi
9197 else
9198 result=$wxUSE_PROTOCOL
9199 fi
9200
9201 { echo "$as_me:$LINENO: result: $result" >&5
9202 echo "${ECHO_T}$result" >&6; }
9203
9204
9205 enablestring=
9206 defaultval=$wxUSE_ALL_FEATURES
9207 if test -z "$defaultval"; then
9208 if test x"$enablestring" = xdisable; then
9209 defaultval=yes
9210 else
9211 defaultval=no
9212 fi
9213 fi
9214
9215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9217 # Check whether --enable-protocol_http was given.
9218 if test "${enable_protocol_http+set}" = set; then
9219 enableval=$enable_protocol_http;
9220 if test "$enableval" = yes; then
9221 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9222 else
9223 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9224 fi
9225 cache=yes
9226
9227 else
9228
9229 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9230 if test "x$LINE" != x ; then
9231 eval "DEFAULT_$LINE"
9232 cache=yes
9233 else
9234 cache=no
9235 fi
9236
9237 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9238
9239 fi
9240
9241
9242 eval "$wx_cv_use_protocol_http"
9243 if test "x$cache" = xyes; then
9244 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9245 fi
9246
9247 if test x"$enablestring" = xdisable; then
9248 if test $wxUSE_PROTOCOL_HTTP = yes; then
9249 result=no
9250 else
9251 result=yes
9252 fi
9253 else
9254 result=$wxUSE_PROTOCOL_HTTP
9255 fi
9256
9257 { echo "$as_me:$LINENO: result: $result" >&5
9258 echo "${ECHO_T}$result" >&6; }
9259
9260
9261 enablestring=
9262 defaultval=$wxUSE_ALL_FEATURES
9263 if test -z "$defaultval"; then
9264 if test x"$enablestring" = xdisable; then
9265 defaultval=yes
9266 else
9267 defaultval=no
9268 fi
9269 fi
9270
9271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9273 # Check whether --enable-protocol_ftp was given.
9274 if test "${enable_protocol_ftp+set}" = set; then
9275 enableval=$enable_protocol_ftp;
9276 if test "$enableval" = yes; then
9277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9278 else
9279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9280 fi
9281 cache=yes
9282
9283 else
9284
9285 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 cache=yes
9289 else
9290 cache=no
9291 fi
9292
9293 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9294
9295 fi
9296
9297
9298 eval "$wx_cv_use_protocol_ftp"
9299 if test "x$cache" = xyes; then
9300 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9301 fi
9302
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_PROTOCOL_FTP = yes; then
9305 result=no
9306 else
9307 result=yes
9308 fi
9309 else
9310 result=$wxUSE_PROTOCOL_FTP
9311 fi
9312
9313 { echo "$as_me:$LINENO: result: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9315
9316
9317 enablestring=
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9321 defaultval=yes
9322 else
9323 defaultval=no
9324 fi
9325 fi
9326
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9329 # Check whether --enable-protocol_file was given.
9330 if test "${enable_protocol_file+set}" = set; then
9331 enableval=$enable_protocol_file;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9334 else
9335 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9336 fi
9337 cache=yes
9338
9339 else
9340
9341 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9344 cache=yes
9345 else
9346 cache=no
9347 fi
9348
9349 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9350
9351 fi
9352
9353
9354 eval "$wx_cv_use_protocol_file"
9355 if test "x$cache" = xyes; then
9356 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9357 fi
9358
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_PROTOCOL_FILE = yes; then
9361 result=no
9362 else
9363 result=yes
9364 fi
9365 else
9366 result=$wxUSE_PROTOCOL_FILE
9367 fi
9368
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9371
9372
9373
9374 enablestring=
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9386 # Check whether --enable-threads was given.
9387 if test "${enable_threads+set}" = set; then
9388 enableval=$enable_threads;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_threads='wxUSE_THREADS=yes'
9391 else
9392 wx_cv_use_threads='wxUSE_THREADS=no'
9393 fi
9394 cache=yes
9395
9396 else
9397
9398 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 cache=yes
9402 else
9403 cache=no
9404 fi
9405
9406 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9407
9408 fi
9409
9410
9411 eval "$wx_cv_use_threads"
9412 if test "x$cache" = xyes; then
9413 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9414 fi
9415
9416 if test x"$enablestring" = xdisable; then
9417 if test $wxUSE_THREADS = yes; then
9418 result=no
9419 else
9420 result=yes
9421 fi
9422 else
9423 result=$wxUSE_THREADS
9424 fi
9425
9426 { echo "$as_me:$LINENO: result: $result" >&5
9427 echo "${ECHO_T}$result" >&6; }
9428
9429
9430
9431 enablestring=
9432 defaultval=
9433 if test -z "$defaultval"; then
9434 if test x"$enablestring" = xdisable; then
9435 defaultval=yes
9436 else
9437 defaultval=no
9438 fi
9439 fi
9440
9441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9443 # Check whether --enable-iniconf was given.
9444 if test "${enable_iniconf+set}" = set; then
9445 enableval=$enable_iniconf;
9446 if test "$enableval" = yes; then
9447 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9448 else
9449 wx_cv_use_iniconf='wxUSE_INICONF=no'
9450 fi
9451 cache=yes
9452
9453 else
9454
9455 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9458 cache=yes
9459 else
9460 cache=no
9461 fi
9462
9463 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9464
9465 fi
9466
9467
9468 eval "$wx_cv_use_iniconf"
9469 if test "x$cache" = xyes; then
9470 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9471 fi
9472
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_INICONF = yes; then
9475 result=no
9476 else
9477 result=yes
9478 fi
9479 else
9480 result=$wxUSE_INICONF
9481 fi
9482
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9485
9486
9487 enablestring=
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9491 defaultval=yes
9492 else
9493 defaultval=no
9494 fi
9495 fi
9496
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9499 # Check whether --enable-regkey was given.
9500 if test "${enable_regkey+set}" = set; then
9501 enableval=$enable_regkey;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9504 else
9505 wx_cv_use_regkey='wxUSE_REGKEY=no'
9506 fi
9507 cache=yes
9508
9509 else
9510
9511 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9514 cache=yes
9515 else
9516 cache=no
9517 fi
9518
9519 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9520
9521 fi
9522
9523
9524 eval "$wx_cv_use_regkey"
9525 if test "x$cache" = xyes; then
9526 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_REGKEY = yes; then
9531 result=no
9532 else
9533 result=yes
9534 fi
9535 else
9536 result=$wxUSE_REGKEY
9537 fi
9538
9539 { echo "$as_me:$LINENO: result: $result" >&5
9540 echo "${ECHO_T}$result" >&6; }
9541
9542
9543 if test "$wxUSE_GUI" = "yes"; then
9544
9545
9546
9547 enablestring=
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9551 defaultval=yes
9552 else
9553 defaultval=no
9554 fi
9555 fi
9556
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9559 # Check whether --enable-docview was given.
9560 if test "${enable_docview+set}" = set; then
9561 enableval=$enable_docview;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9564 else
9565 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9566 fi
9567 cache=yes
9568
9569 else
9570
9571 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9574 cache=yes
9575 else
9576 cache=no
9577 fi
9578
9579 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9580
9581 fi
9582
9583
9584 eval "$wx_cv_use_docview"
9585 if test "x$cache" = xyes; then
9586 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9587 fi
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9591 result=no
9592 else
9593 result=yes
9594 fi
9595 else
9596 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 enablestring=
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9607 defaultval=yes
9608 else
9609 defaultval=no
9610 fi
9611 fi
9612
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9615 # Check whether --enable-help was given.
9616 if test "${enable_help+set}" = set; then
9617 enableval=$enable_help;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_help='wxUSE_HELP=yes'
9620 else
9621 wx_cv_use_help='wxUSE_HELP=no'
9622 fi
9623 cache=yes
9624
9625 else
9626
9627 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 cache=yes
9631 else
9632 cache=no
9633 fi
9634
9635 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9636
9637 fi
9638
9639
9640 eval "$wx_cv_use_help"
9641 if test "x$cache" = xyes; then
9642 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_HELP = yes; then
9647 result=no
9648 else
9649 result=yes
9650 fi
9651 else
9652 result=$wxUSE_HELP
9653 fi
9654
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9657
9658
9659 enablestring=
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9663 defaultval=yes
9664 else
9665 defaultval=no
9666 fi
9667 fi
9668
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9671 # Check whether --enable-mshtmlhelp was given.
9672 if test "${enable_mshtmlhelp+set}" = set; then
9673 enableval=$enable_mshtmlhelp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9676 else
9677 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9678 fi
9679 cache=yes
9680
9681 else
9682
9683 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9684 if test "x$LINE" != x ; then
9685 eval "DEFAULT_$LINE"
9686 cache=yes
9687 else
9688 cache=no
9689 fi
9690
9691 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9692
9693 fi
9694
9695
9696 eval "$wx_cv_use_mshtmlhelp"
9697 if test "x$cache" = xyes; then
9698 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test x"$enablestring" = xdisable; then
9702 if test $wxUSE_MS_HTML_HELP = yes; then
9703 result=no
9704 else
9705 result=yes
9706 fi
9707 else
9708 result=$wxUSE_MS_HTML_HELP
9709 fi
9710
9711 { echo "$as_me:$LINENO: result: $result" >&5
9712 echo "${ECHO_T}$result" >&6; }
9713
9714
9715 enablestring=
9716 defaultval=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x"$enablestring" = xdisable; then
9719 defaultval=yes
9720 else
9721 defaultval=no
9722 fi
9723 fi
9724
9725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9727 # Check whether --enable-html was given.
9728 if test "${enable_html+set}" = set; then
9729 enableval=$enable_html;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_html='wxUSE_HTML=yes'
9732 else
9733 wx_cv_use_html='wxUSE_HTML=no'
9734 fi
9735 cache=yes
9736
9737 else
9738
9739 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 cache=yes
9743 else
9744 cache=no
9745 fi
9746
9747 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_html"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9755 fi
9756
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_HTML = yes; then
9759 result=no
9760 else
9761 result=yes
9762 fi
9763 else
9764 result=$wxUSE_HTML
9765 fi
9766
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9769
9770
9771 enablestring=
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9775 defaultval=yes
9776 else
9777 defaultval=no
9778 fi
9779 fi
9780
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9783 # Check whether --enable-htmlhelp was given.
9784 if test "${enable_htmlhelp+set}" = set; then
9785 enableval=$enable_htmlhelp;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9788 else
9789 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9790 fi
9791 cache=yes
9792
9793 else
9794
9795 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9798 cache=yes
9799 else
9800 cache=no
9801 fi
9802
9803 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9804
9805 fi
9806
9807
9808 eval "$wx_cv_use_htmlhelp"
9809 if test "x$cache" = xyes; then
9810 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_WXHTML_HELP = yes; then
9815 result=no
9816 else
9817 result=yes
9818 fi
9819 else
9820 result=$wxUSE_WXHTML_HELP
9821 fi
9822
9823 { echo "$as_me:$LINENO: result: $result" >&5
9824 echo "${ECHO_T}$result" >&6; }
9825
9826
9827 enablestring=
9828 defaultval=$wxUSE_ALL_FEATURES
9829 if test -z "$defaultval"; then
9830 if test x"$enablestring" = xdisable; then
9831 defaultval=yes
9832 else
9833 defaultval=no
9834 fi
9835 fi
9836
9837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9839 # Check whether --enable-xrc was given.
9840 if test "${enable_xrc+set}" = set; then
9841 enableval=$enable_xrc;
9842 if test "$enableval" = yes; then
9843 wx_cv_use_xrc='wxUSE_XRC=yes'
9844 else
9845 wx_cv_use_xrc='wxUSE_XRC=no'
9846 fi
9847 cache=yes
9848
9849 else
9850
9851 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x ; then
9853 eval "DEFAULT_$LINE"
9854 cache=yes
9855 else
9856 cache=no
9857 fi
9858
9859 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9860
9861 fi
9862
9863
9864 eval "$wx_cv_use_xrc"
9865 if test "x$cache" = xyes; then
9866 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9867 fi
9868
9869 if test x"$enablestring" = xdisable; then
9870 if test $wxUSE_XRC = yes; then
9871 result=no
9872 else
9873 result=yes
9874 fi
9875 else
9876 result=$wxUSE_XRC
9877 fi
9878
9879 { echo "$as_me:$LINENO: result: $result" >&5
9880 echo "${ECHO_T}$result" >&6; }
9881
9882
9883 enablestring=
9884 defaultval=$wxUSE_ALL_FEATURES
9885 if test -z "$defaultval"; then
9886 if test x"$enablestring" = xdisable; then
9887 defaultval=yes
9888 else
9889 defaultval=no
9890 fi
9891 fi
9892
9893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9895 # Check whether --enable-aui was given.
9896 if test "${enable_aui+set}" = set; then
9897 enableval=$enable_aui;
9898 if test "$enableval" = yes; then
9899 wx_cv_use_aui='wxUSE_AUI=yes'
9900 else
9901 wx_cv_use_aui='wxUSE_AUI=no'
9902 fi
9903 cache=yes
9904
9905 else
9906
9907 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9908 if test "x$LINE" != x ; then
9909 eval "DEFAULT_$LINE"
9910 cache=yes
9911 else
9912 cache=no
9913 fi
9914
9915 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9916
9917 fi
9918
9919
9920 eval "$wx_cv_use_aui"
9921 if test "x$cache" = xyes; then
9922 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9923 fi
9924
9925 if test x"$enablestring" = xdisable; then
9926 if test $wxUSE_AUI = yes; then
9927 result=no
9928 else
9929 result=yes
9930 fi
9931 else
9932 result=$wxUSE_AUI
9933 fi
9934
9935 { echo "$as_me:$LINENO: result: $result" >&5
9936 echo "${ECHO_T}$result" >&6; }
9937
9938
9939 enablestring=
9940 defaultval=$wxUSE_ALL_FEATURES
9941 if test -z "$defaultval"; then
9942 if test x"$enablestring" = xdisable; then
9943 defaultval=yes
9944 else
9945 defaultval=no
9946 fi
9947 fi
9948
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9951 # Check whether --enable-stc was given.
9952 if test "${enable_stc+set}" = set; then
9953 enableval=$enable_stc;
9954 if test "$enableval" = yes; then
9955 wx_cv_use_stc='wxUSE_STC=yes'
9956 else
9957 wx_cv_use_stc='wxUSE_STC=no'
9958 fi
9959 cache=yes
9960
9961 else
9962
9963 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 cache=yes
9967 else
9968 cache=no
9969 fi
9970
9971 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_stc"
9977 if test "x$cache" = xyes; then
9978 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9979 fi
9980
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_STC = yes; then
9983 result=no
9984 else
9985 result=yes
9986 fi
9987 else
9988 result=$wxUSE_STC
9989 fi
9990
9991 { echo "$as_me:$LINENO: result: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9993
9994
9995 enablestring=
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
9999 defaultval=yes
10000 else
10001 defaultval=no
10002 fi
10003 fi
10004
10005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10007 # Check whether --enable-constraints was given.
10008 if test "${enable_constraints+set}" = set; then
10009 enableval=$enable_constraints;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10012 else
10013 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10014 fi
10015 cache=yes
10016
10017 else
10018
10019 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10020 if test "x$LINE" != x ; then
10021 eval "DEFAULT_$LINE"
10022 cache=yes
10023 else
10024 cache=no
10025 fi
10026
10027 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10028
10029 fi
10030
10031
10032 eval "$wx_cv_use_constraints"
10033 if test "x$cache" = xyes; then
10034 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10035 fi
10036
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CONSTRAINTS = yes; then
10039 result=no
10040 else
10041 result=yes
10042 fi
10043 else
10044 result=$wxUSE_CONSTRAINTS
10045 fi
10046
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10049
10050
10051 enablestring=
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10055 defaultval=yes
10056 else
10057 defaultval=no
10058 fi
10059 fi
10060
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10063 # Check whether --enable-printarch was given.
10064 if test "${enable_printarch+set}" = set; then
10065 enableval=$enable_printarch;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10068 else
10069 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10070 fi
10071 cache=yes
10072
10073 else
10074
10075 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x ; then
10077 eval "DEFAULT_$LINE"
10078 cache=yes
10079 else
10080 cache=no
10081 fi
10082
10083 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10084
10085 fi
10086
10087
10088 eval "$wx_cv_use_printarch"
10089 if test "x$cache" = xyes; then
10090 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10091 fi
10092
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10095 result=no
10096 else
10097 result=yes
10098 fi
10099 else
10100 result=$wxUSE_PRINTING_ARCHITECTURE
10101 fi
10102
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10105
10106
10107 enablestring=
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10111 defaultval=yes
10112 else
10113 defaultval=no
10114 fi
10115 fi
10116
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10119 # Check whether --enable-mdi was given.
10120 if test "${enable_mdi+set}" = set; then
10121 enableval=$enable_mdi;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_mdi='wxUSE_MDI=yes'
10124 else
10125 wx_cv_use_mdi='wxUSE_MDI=no'
10126 fi
10127 cache=yes
10128
10129 else
10130
10131 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10132 if test "x$LINE" != x ; then
10133 eval "DEFAULT_$LINE"
10134 cache=yes
10135 else
10136 cache=no
10137 fi
10138
10139 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10140
10141 fi
10142
10143
10144 eval "$wx_cv_use_mdi"
10145 if test "x$cache" = xyes; then
10146 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10147 fi
10148
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_MDI = yes; then
10151 result=no
10152 else
10153 result=yes
10154 fi
10155 else
10156 result=$wxUSE_MDI
10157 fi
10158
10159 { echo "$as_me:$LINENO: result: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10161
10162
10163 enablestring=
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10167 defaultval=yes
10168 else
10169 defaultval=no
10170 fi
10171 fi
10172
10173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10175 # Check whether --enable-mdidoc was given.
10176 if test "${enable_mdidoc+set}" = set; then
10177 enableval=$enable_mdidoc;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10180 else
10181 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10182 fi
10183 cache=yes
10184
10185 else
10186
10187 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10188 if test "x$LINE" != x ; then
10189 eval "DEFAULT_$LINE"
10190 cache=yes
10191 else
10192 cache=no
10193 fi
10194
10195 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10196
10197 fi
10198
10199
10200 eval "$wx_cv_use_mdidoc"
10201 if test "x$cache" = xyes; then
10202 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10203 fi
10204
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10207 result=no
10208 else
10209 result=yes
10210 fi
10211 else
10212 result=$wxUSE_MDI_ARCHITECTURE
10213 fi
10214
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10217
10218
10219 enablestring=
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10223 defaultval=yes
10224 else
10225 defaultval=no
10226 fi
10227 fi
10228
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10231 # Check whether --enable-loggui was given.
10232 if test "${enable_loggui+set}" = set; then
10233 enableval=$enable_loggui;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10236 else
10237 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10238 fi
10239 cache=yes
10240
10241 else
10242
10243 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10246 cache=yes
10247 else
10248 cache=no
10249 fi
10250
10251 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10252
10253 fi
10254
10255
10256 eval "$wx_cv_use_loggui"
10257 if test "x$cache" = xyes; then
10258 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10259 fi
10260
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_LOGGUI = yes; then
10263 result=no
10264 else
10265 result=yes
10266 fi
10267 else
10268 result=$wxUSE_LOGGUI
10269 fi
10270
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275 enablestring=
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10279 defaultval=yes
10280 else
10281 defaultval=no
10282 fi
10283 fi
10284
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10287 # Check whether --enable-logwin was given.
10288 if test "${enable_logwin+set}" = set; then
10289 enableval=$enable_logwin;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10292 else
10293 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10294 fi
10295 cache=yes
10296
10297 else
10298
10299 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10302 cache=yes
10303 else
10304 cache=no
10305 fi
10306
10307 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10308
10309 fi
10310
10311
10312 eval "$wx_cv_use_logwin"
10313 if test "x$cache" = xyes; then
10314 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10315 fi
10316
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGWINDOW = yes; then
10319 result=no
10320 else
10321 result=yes
10322 fi
10323 else
10324 result=$wxUSE_LOGWINDOW
10325 fi
10326
10327 { echo "$as_me:$LINENO: result: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10329
10330
10331 enablestring=
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10335 defaultval=yes
10336 else
10337 defaultval=no
10338 fi
10339 fi
10340
10341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10343 # Check whether --enable-logdialog was given.
10344 if test "${enable_logdialog+set}" = set; then
10345 enableval=$enable_logdialog;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10348 else
10349 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10350 fi
10351 cache=yes
10352
10353 else
10354
10355 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 cache=yes
10359 else
10360 cache=no
10361 fi
10362
10363 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10364
10365 fi
10366
10367
10368 eval "$wx_cv_use_logdialog"
10369 if test "x$cache" = xyes; then
10370 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10371 fi
10372
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_LOGDIALOG = yes; then
10375 result=no
10376 else
10377 result=yes
10378 fi
10379 else
10380 result=$wxUSE_LOGDIALOG
10381 fi
10382
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10385
10386
10387 enablestring=
10388 defaultval=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x"$enablestring" = xdisable; then
10391 defaultval=yes
10392 else
10393 defaultval=no
10394 fi
10395 fi
10396
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10399 # Check whether --enable-webkit was given.
10400 if test "${enable_webkit+set}" = set; then
10401 enableval=$enable_webkit;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10404 else
10405 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10406 fi
10407 cache=yes
10408
10409 else
10410
10411 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 cache=yes
10415 else
10416 cache=no
10417 fi
10418
10419 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10420
10421 fi
10422
10423
10424 eval "$wx_cv_use_webkit"
10425 if test "x$cache" = xyes; then
10426 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10427 fi
10428
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_WEBKIT = yes; then
10431 result=no
10432 else
10433 result=yes
10434 fi
10435 else
10436 result=$wxUSE_WEBKIT
10437 fi
10438
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10441
10442
10443 enablestring=
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10447 defaultval=yes
10448 else
10449 defaultval=no
10450 fi
10451 fi
10452
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10455 # Check whether --enable-richtext was given.
10456 if test "${enable_richtext+set}" = set; then
10457 enableval=$enable_richtext;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10460 else
10461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10462 fi
10463 cache=yes
10464
10465 else
10466
10467 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10468 if test "x$LINE" != x ; then
10469 eval "DEFAULT_$LINE"
10470 cache=yes
10471 else
10472 cache=no
10473 fi
10474
10475 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$wx_cv_use_richtext"
10481 if test "x$cache" = xyes; then
10482 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_RICHTEXT = yes; then
10487 result=no
10488 else
10489 result=yes
10490 fi
10491 else
10492 result=$wxUSE_RICHTEXT
10493 fi
10494
10495 { echo "$as_me:$LINENO: result: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10497
10498
10499 enablestring=
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10503 defaultval=yes
10504 else
10505 defaultval=no
10506 fi
10507 fi
10508
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10511 # Check whether --enable-graphics_ctx was given.
10512 if test "${enable_graphics_ctx+set}" = set; then
10513 enableval=$enable_graphics_ctx;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10516 else
10517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10518 fi
10519 cache=yes
10520
10521 else
10522
10523 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10526 cache=yes
10527 else
10528 cache=no
10529 fi
10530
10531 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10532
10533 fi
10534
10535
10536 eval "$wx_cv_use_graphics_ctx"
10537 if test "x$cache" = xyes; then
10538 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10539 fi
10540
10541 if test x"$enablestring" = xdisable; then
10542 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10543 result=no
10544 else
10545 result=yes
10546 fi
10547 else
10548 result=$wxUSE_GRAPHICS_CONTEXT
10549 fi
10550
10551 { echo "$as_me:$LINENO: result: $result" >&5
10552 echo "${ECHO_T}$result" >&6; }
10553
10554
10555 enablestring=
10556 defaultval=$wxUSE_ALL_FEATURES
10557 if test -z "$defaultval"; then
10558 if test x"$enablestring" = xdisable; then
10559 defaultval=yes
10560 else
10561 defaultval=no
10562 fi
10563 fi
10564
10565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10567 # Check whether --enable-postscript was given.
10568 if test "${enable_postscript+set}" = set; then
10569 enableval=$enable_postscript;
10570 if test "$enableval" = yes; then
10571 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10572 else
10573 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10574 fi
10575 cache=yes
10576
10577 else
10578
10579 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x ; then
10581 eval "DEFAULT_$LINE"
10582 cache=yes
10583 else
10584 cache=no
10585 fi
10586
10587 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_postscript"
10593 if test "x$cache" = xyes; then
10594 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10595 fi
10596
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_POSTSCRIPT = yes; then
10599 result=no
10600 else
10601 result=yes
10602 fi
10603 else
10604 result=$wxUSE_POSTSCRIPT
10605 fi
10606
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10609
10610
10611 enablestring=
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10615 defaultval=yes
10616 else
10617 defaultval=no
10618 fi
10619 fi
10620
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10623 # Check whether --enable-svg was given.
10624 if test "${enable_svg+set}" = set; then
10625 enableval=$enable_svg;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_svg='wxUSE_SVG=yes'
10628 else
10629 wx_cv_use_svg='wxUSE_SVG=no'
10630 fi
10631 cache=yes
10632
10633 else
10634
10635 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x ; then
10637 eval "DEFAULT_$LINE"
10638 cache=yes
10639 else
10640 cache=no
10641 fi
10642
10643 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_svg"
10649 if test "x$cache" = xyes; then
10650 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_SVG = yes; then
10655 result=no
10656 else
10657 result=yes
10658 fi
10659 else
10660 result=$wxUSE_SVG
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10681 # Check whether --enable-clipboard was given.
10682 if test "${enable_clipboard+set}" = set; then
10683 enableval=$enable_clipboard;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10686 else
10687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10688 fi
10689 cache=yes
10690
10691 else
10692
10693 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10694 if test "x$LINE" != x ; then
10695 eval "DEFAULT_$LINE"
10696 cache=yes
10697 else
10698 cache=no
10699 fi
10700
10701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_clipboard"
10707 if test "x$cache" = xyes; then
10708 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10709 fi
10710
10711 if test x"$enablestring" = xdisable; then
10712 if test $wxUSE_CLIPBOARD = yes; then
10713 result=no
10714 else
10715 result=yes
10716 fi
10717 else
10718 result=$wxUSE_CLIPBOARD
10719 fi
10720
10721 { echo "$as_me:$LINENO: result: $result" >&5
10722 echo "${ECHO_T}$result" >&6; }
10723
10724
10725 enablestring=
10726 defaultval=$wxUSE_ALL_FEATURES
10727 if test -z "$defaultval"; then
10728 if test x"$enablestring" = xdisable; then
10729 defaultval=yes
10730 else
10731 defaultval=no
10732 fi
10733 fi
10734
10735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10737 # Check whether --enable-dnd was given.
10738 if test "${enable_dnd+set}" = set; then
10739 enableval=$enable_dnd;
10740 if test "$enableval" = yes; then
10741 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10742 else
10743 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10744 fi
10745 cache=yes
10746
10747 else
10748
10749 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10750 if test "x$LINE" != x ; then
10751 eval "DEFAULT_$LINE"
10752 cache=yes
10753 else
10754 cache=no
10755 fi
10756
10757 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10758
10759 fi
10760
10761
10762 eval "$wx_cv_use_dnd"
10763 if test "x$cache" = xyes; then
10764 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10765 fi
10766
10767 if test x"$enablestring" = xdisable; then
10768 if test $wxUSE_DRAG_AND_DROP = yes; then
10769 result=no
10770 else
10771 result=yes
10772 fi
10773 else
10774 result=$wxUSE_DRAG_AND_DROP
10775 fi
10776
10777 { echo "$as_me:$LINENO: result: $result" >&5
10778 echo "${ECHO_T}$result" >&6; }
10779
10780
10781 enablestring=
10782 defaultval=$wxUSE_ALL_FEATURES
10783 if test -z "$defaultval"; then
10784 if test x"$enablestring" = xdisable; then
10785 defaultval=yes
10786 else
10787 defaultval=no
10788 fi
10789 fi
10790
10791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10793 # Check whether --enable-metafile was given.
10794 if test "${enable_metafile+set}" = set; then
10795 enableval=$enable_metafile;
10796 if test "$enableval" = yes; then
10797 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10798 else
10799 wx_cv_use_metafile='wxUSE_METAFILE=no'
10800 fi
10801 cache=yes
10802
10803 else
10804
10805 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10806 if test "x$LINE" != x ; then
10807 eval "DEFAULT_$LINE"
10808 cache=yes
10809 else
10810 cache=no
10811 fi
10812
10813 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10814
10815 fi
10816
10817
10818 eval "$wx_cv_use_metafile"
10819 if test "x$cache" = xyes; then
10820 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10821 fi
10822
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_METAFILE = yes; then
10825 result=no
10826 else
10827 result=yes
10828 fi
10829 else
10830 result=$wxUSE_METAFILE
10831 fi
10832
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10835
10836
10837
10838 DEFAULT_wxUSE_CONTROLS=none
10839
10840 enablestring=disable
10841 defaultval=
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10844 defaultval=yes
10845 else
10846 defaultval=no
10847 fi
10848 fi
10849
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10852 # Check whether --enable-controls was given.
10853 if test "${enable_controls+set}" = set; then
10854 enableval=$enable_controls;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10857 else
10858 wx_cv_use_controls='wxUSE_CONTROLS=no'
10859 fi
10860 cache=yes
10861
10862 else
10863
10864 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10867 cache=yes
10868 else
10869 cache=no
10870 fi
10871
10872 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_controls"
10878 if test "x$cache" = xyes; then
10879 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_CONTROLS = yes; then
10884 result=no
10885 else
10886 result=yes
10887 fi
10888 else
10889 result=$wxUSE_CONTROLS
10890 fi
10891
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10894
10895
10896 if test "$wxUSE_CONTROLS" = "yes"; then
10897 DEFAULT_wxUSE_ACCEL=yes
10898 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10899 DEFAULT_wxUSE_BMPBUTTON=yes
10900 DEFAULT_wxUSE_BUTTON=yes
10901 DEFAULT_wxUSE_CALCTRL=yes
10902 DEFAULT_wxUSE_CARET=yes
10903 DEFAULT_wxUSE_COMBOBOX=yes
10904 DEFAULT_wxUSE_CHECKBOX=yes
10905 DEFAULT_wxUSE_CHECKLISTBOX=yes
10906 DEFAULT_wxUSE_CHOICE=yes
10907 DEFAULT_wxUSE_CHOICEBOOK=yes
10908 DEFAULT_wxUSE_COLLPANE=yes
10909 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10910 DEFAULT_wxUSE_COMBOBOX=yes
10911 DEFAULT_wxUSE_DATEPICKCTRL=yes
10912 DEFAULT_wxUSE_DISPLAY=yes
10913 DEFAULT_wxUSE_DETECT_SM=yes
10914 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10915 DEFAULT_wxUSE_FILECTRL=yes
10916 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10917 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10918 DEFAULT_wxUSE_GAUGE=yes
10919 DEFAULT_wxUSE_GRID=yes
10920 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10921 DEFAULT_wxUSE_DATAVIEWCTRL=no
10922 DEFAULT_wxUSE_IMAGLIST=yes
10923 DEFAULT_wxUSE_LISTBOOK=yes
10924 DEFAULT_wxUSE_LISTBOX=yes
10925 DEFAULT_wxUSE_LISTCTRL=yes
10926 DEFAULT_wxUSE_NOTEBOOK=yes
10927 DEFAULT_wxUSE_RADIOBOX=yes
10928 DEFAULT_wxUSE_RADIOBTN=yes
10929 DEFAULT_wxUSE_SASH=yes
10930 DEFAULT_wxUSE_SCROLLBAR=yes
10931 DEFAULT_wxUSE_SEARCHCTRL=yes
10932 DEFAULT_wxUSE_SLIDER=yes
10933 DEFAULT_wxUSE_SPINBTN=yes
10934 DEFAULT_wxUSE_SPINCTRL=yes
10935 DEFAULT_wxUSE_SPLITTER=yes
10936 DEFAULT_wxUSE_STATBMP=yes
10937 DEFAULT_wxUSE_STATBOX=yes
10938 DEFAULT_wxUSE_STATLINE=yes
10939 DEFAULT_wxUSE_STATUSBAR=yes
10940 DEFAULT_wxUSE_TAB_DIALOG=yes
10941 DEFAULT_wxUSE_TOGGLEBTN=yes
10942 DEFAULT_wxUSE_TOOLBAR=yes
10943 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10944 DEFAULT_wxUSE_TOOLTIPS=yes
10945 DEFAULT_wxUSE_TREEBOOK=yes
10946 DEFAULT_wxUSE_TOOLBOOK=yes
10947 DEFAULT_wxUSE_TREECTRL=yes
10948 DEFAULT_wxUSE_POPUPWIN=yes
10949 DEFAULT_wxUSE_TIPWINDOW=yes
10950 elif test "$wxUSE_CONTROLS" = "no"; then
10951 DEFAULT_wxUSE_ACCEL=no
10952 DEFAULT_wxUSE_ANIMATIONCTRL=no
10953 DEFAULT_wxUSE_BMPBUTTON=no
10954 DEFAULT_wxUSE_BUTTON=no
10955 DEFAULT_wxUSE_CALCTRL=no
10956 DEFAULT_wxUSE_CARET=no
10957 DEFAULT_wxUSE_COLLPANE=no
10958 DEFAULT_wxUSE_COMBOBOX=no
10959 DEFAULT_wxUSE_CHECKBOX=no
10960 DEFAULT_wxUSE_CHECKLISTBOX=no
10961 DEFAULT_wxUSE_CHOICE=no
10962 DEFAULT_wxUSE_CHOICEBOOK=no
10963 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10964 DEFAULT_wxUSE_COMBOBOX=no
10965 DEFAULT_wxUSE_DATEPICKCTRL=no
10966 DEFAULT_wxUSE_DISPLAY=no
10967 DEFAULT_wxUSE_DETECT_SM=no
10968 DEFAULT_wxUSE_DIRPICKERCTRL=no
10969 DEFAULT_wxUSE_FILECTRL=no
10970 DEFAULT_wxUSE_FILEPICKERCTRL=no
10971 DEFAULT_wxUSE_FONTPICKERCTRL=no
10972 DEFAULT_wxUSE_GAUGE=no
10973 DEFAULT_wxUSE_GRID=no
10974 DEFAULT_wxUSE_HYPERLINKCTRL=no
10975 DEFAULT_wxUSE_DATAVIEWCTRL=no
10976 DEFAULT_wxUSE_IMAGLIST=no
10977 DEFAULT_wxUSE_LISTBOOK=no
10978 DEFAULT_wxUSE_LISTBOX=no
10979 DEFAULT_wxUSE_LISTCTRL=no
10980 DEFAULT_wxUSE_NOTEBOOK=no
10981 DEFAULT_wxUSE_RADIOBOX=no
10982 DEFAULT_wxUSE_RADIOBTN=no
10983 DEFAULT_wxUSE_SASH=no
10984 DEFAULT_wxUSE_SCROLLBAR=no
10985 DEFAULT_wxUSE_SEARCHCTRL=no
10986 DEFAULT_wxUSE_SLIDER=no
10987 DEFAULT_wxUSE_SPINBTN=no
10988 DEFAULT_wxUSE_SPINCTRL=no
10989 DEFAULT_wxUSE_SPLITTER=no
10990 DEFAULT_wxUSE_STATBMP=no
10991 DEFAULT_wxUSE_STATBOX=no
10992 DEFAULT_wxUSE_STATLINE=no
10993 DEFAULT_wxUSE_STATUSBAR=no
10994 DEFAULT_wxUSE_TAB_DIALOG=no
10995 DEFAULT_wxUSE_TOGGLEBTN=no
10996 DEFAULT_wxUSE_TOOLBAR=no
10997 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10998 DEFAULT_wxUSE_TOOLTIPS=no
10999 DEFAULT_wxUSE_TREEBOOK=no
11000 DEFAULT_wxUSE_TOOLBOOK=no
11001 DEFAULT_wxUSE_TREECTRL=no
11002 DEFAULT_wxUSE_POPUPWIN=no
11003 DEFAULT_wxUSE_TIPWINDOW=no
11004 fi
11005
11006
11007 enablestring=
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11011 defaultval=yes
11012 else
11013 defaultval=no
11014 fi
11015 fi
11016
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11019 # Check whether --enable-accel was given.
11020 if test "${enable_accel+set}" = set; then
11021 enableval=$enable_accel;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_accel='wxUSE_ACCEL=yes'
11024 else
11025 wx_cv_use_accel='wxUSE_ACCEL=no'
11026 fi
11027 cache=yes
11028
11029 else
11030
11031 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11032 if test "x$LINE" != x ; then
11033 eval "DEFAULT_$LINE"
11034 cache=yes
11035 else
11036 cache=no
11037 fi
11038
11039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11040
11041 fi
11042
11043
11044 eval "$wx_cv_use_accel"
11045 if test "x$cache" = xyes; then
11046 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11047 fi
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_ACCEL = yes; then
11051 result=no
11052 else
11053 result=yes
11054 fi
11055 else
11056 result=$wxUSE_ACCEL
11057 fi
11058
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11075 # Check whether --enable-animatectrl was given.
11076 if test "${enable_animatectrl+set}" = set; then
11077 enableval=$enable_animatectrl;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11080 else
11081 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11082 fi
11083 cache=yes
11084
11085 else
11086
11087 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11088 if test "x$LINE" != x ; then
11089 eval "DEFAULT_$LINE"
11090 cache=yes
11091 else
11092 cache=no
11093 fi
11094
11095 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11096
11097 fi
11098
11099
11100 eval "$wx_cv_use_animatectrl"
11101 if test "x$cache" = xyes; then
11102 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11103 fi
11104
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = yes; then
11107 result=no
11108 else
11109 result=yes
11110 fi
11111 else
11112 result=$wxUSE_ANIMATIONCTRL
11113 fi
11114
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11117
11118
11119 enablestring=
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11123 defaultval=yes
11124 else
11125 defaultval=no
11126 fi
11127 fi
11128
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11131 # Check whether --enable-button was given.
11132 if test "${enable_button+set}" = set; then
11133 enableval=$enable_button;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_button='wxUSE_BUTTON=yes'
11136 else
11137 wx_cv_use_button='wxUSE_BUTTON=no'
11138 fi
11139 cache=yes
11140
11141 else
11142
11143 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11144 if test "x$LINE" != x ; then
11145 eval "DEFAULT_$LINE"
11146 cache=yes
11147 else
11148 cache=no
11149 fi
11150
11151 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11152
11153 fi
11154
11155
11156 eval "$wx_cv_use_button"
11157 if test "x$cache" = xyes; then
11158 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11159 fi
11160
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_BUTTON = yes; then
11163 result=no
11164 else
11165 result=yes
11166 fi
11167 else
11168 result=$wxUSE_BUTTON
11169 fi
11170
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11173
11174
11175 enablestring=
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11179 defaultval=yes
11180 else
11181 defaultval=no
11182 fi
11183 fi
11184
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11187 # Check whether --enable-bmpbutton was given.
11188 if test "${enable_bmpbutton+set}" = set; then
11189 enableval=$enable_bmpbutton;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11192 else
11193 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11194 fi
11195 cache=yes
11196
11197 else
11198
11199 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11202 cache=yes
11203 else
11204 cache=no
11205 fi
11206
11207 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11208
11209 fi
11210
11211
11212 eval "$wx_cv_use_bmpbutton"
11213 if test "x$cache" = xyes; then
11214 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11215 fi
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_BMPBUTTON = yes; then
11219 result=no
11220 else
11221 result=yes
11222 fi
11223 else
11224 result=$wxUSE_BMPBUTTON
11225 fi
11226
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11243 # Check whether --enable-bmpcombobox was given.
11244 if test "${enable_bmpcombobox+set}" = set; then
11245 enableval=$enable_bmpcombobox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11248 else
11249 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11250 fi
11251 cache=yes
11252
11253 else
11254
11255 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11258 cache=yes
11259 else
11260 cache=no
11261 fi
11262
11263 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11264
11265 fi
11266
11267
11268 eval "$wx_cv_use_bmpcombobox"
11269 if test "x$cache" = xyes; then
11270 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11275 result=no
11276 else
11277 result=yes
11278 fi
11279 else
11280 result=$wxUSE_BITMAPCOMBOBOX
11281 fi
11282
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11299 # Check whether --enable-calendar was given.
11300 if test "${enable_calendar+set}" = set; then
11301 enableval=$enable_calendar;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11304 else
11305 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11306 fi
11307 cache=yes
11308
11309 else
11310
11311 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11314 cache=yes
11315 else
11316 cache=no
11317 fi
11318
11319 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11320
11321 fi
11322
11323
11324 eval "$wx_cv_use_calendar"
11325 if test "x$cache" = xyes; then
11326 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11327 fi
11328
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_CALCTRL = yes; then
11331 result=no
11332 else
11333 result=yes
11334 fi
11335 else
11336 result=$wxUSE_CALCTRL
11337 fi
11338
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11341
11342
11343 enablestring=
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11347 defaultval=yes
11348 else
11349 defaultval=no
11350 fi
11351 fi
11352
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11355 # Check whether --enable-caret was given.
11356 if test "${enable_caret+set}" = set; then
11357 enableval=$enable_caret;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_caret='wxUSE_CARET=yes'
11360 else
11361 wx_cv_use_caret='wxUSE_CARET=no'
11362 fi
11363 cache=yes
11364
11365 else
11366
11367 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11368 if test "x$LINE" != x ; then
11369 eval "DEFAULT_$LINE"
11370 cache=yes
11371 else
11372 cache=no
11373 fi
11374
11375 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11376
11377 fi
11378
11379
11380 eval "$wx_cv_use_caret"
11381 if test "x$cache" = xyes; then
11382 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11383 fi
11384
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_CARET = yes; then
11387 result=no
11388 else
11389 result=yes
11390 fi
11391 else
11392 result=$wxUSE_CARET
11393 fi
11394
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11397
11398
11399 enablestring=
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11403 defaultval=yes
11404 else
11405 defaultval=no
11406 fi
11407 fi
11408
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11411 # Check whether --enable-checkbox was given.
11412 if test "${enable_checkbox+set}" = set; then
11413 enableval=$enable_checkbox;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11416 else
11417 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11418 fi
11419 cache=yes
11420
11421 else
11422
11423 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11426 cache=yes
11427 else
11428 cache=no
11429 fi
11430
11431 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11432
11433 fi
11434
11435
11436 eval "$wx_cv_use_checkbox"
11437 if test "x$cache" = xyes; then
11438 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11439 fi
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_CHECKBOX = yes; then
11443 result=no
11444 else
11445 result=yes
11446 fi
11447 else
11448 result=$wxUSE_CHECKBOX
11449 fi
11450
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11467 # Check whether --enable-checklst was given.
11468 if test "${enable_checklst+set}" = set; then
11469 enableval=$enable_checklst;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11472 else
11473 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11474 fi
11475 cache=yes
11476
11477 else
11478
11479 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 cache=yes
11483 else
11484 cache=no
11485 fi
11486
11487 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11488
11489 fi
11490
11491
11492 eval "$wx_cv_use_checklst"
11493 if test "x$cache" = xyes; then
11494 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11495 fi
11496
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_CHECKLST = yes; then
11499 result=no
11500 else
11501 result=yes
11502 fi
11503 else
11504 result=$wxUSE_CHECKLST
11505 fi
11506
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11509
11510
11511 enablestring=
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11515 defaultval=yes
11516 else
11517 defaultval=no
11518 fi
11519 fi
11520
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11523 # Check whether --enable-choice was given.
11524 if test "${enable_choice+set}" = set; then
11525 enableval=$enable_choice;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_choice='wxUSE_CHOICE=yes'
11528 else
11529 wx_cv_use_choice='wxUSE_CHOICE=no'
11530 fi
11531 cache=yes
11532
11533 else
11534
11535 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11536 if test "x$LINE" != x ; then
11537 eval "DEFAULT_$LINE"
11538 cache=yes
11539 else
11540 cache=no
11541 fi
11542
11543 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11544
11545 fi
11546
11547
11548 eval "$wx_cv_use_choice"
11549 if test "x$cache" = xyes; then
11550 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11551 fi
11552
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_CHOICE = yes; then
11555 result=no
11556 else
11557 result=yes
11558 fi
11559 else
11560 result=$wxUSE_CHOICE
11561 fi
11562
11563 { echo "$as_me:$LINENO: result: $result" >&5
11564 echo "${ECHO_T}$result" >&6; }
11565
11566
11567 enablestring=
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11571 defaultval=yes
11572 else
11573 defaultval=no
11574 fi
11575 fi
11576
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11579 # Check whether --enable-choicebook was given.
11580 if test "${enable_choicebook+set}" = set; then
11581 enableval=$enable_choicebook;
11582 if test "$enableval" = yes; then
11583 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11584 else
11585 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11586 fi
11587 cache=yes
11588
11589 else
11590
11591 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11594 cache=yes
11595 else
11596 cache=no
11597 fi
11598
11599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_choicebook"
11605 if test "x$cache" = xyes; then
11606 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11607 fi
11608
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_CHOICEBOOK = yes; then
11611 result=no
11612 else
11613 result=yes
11614 fi
11615 else
11616 result=$wxUSE_CHOICEBOOK
11617 fi
11618
11619 { echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11621
11622
11623 enablestring=
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11627 defaultval=yes
11628 else
11629 defaultval=no
11630 fi
11631 fi
11632
11633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11635 # Check whether --enable-collpane was given.
11636 if test "${enable_collpane+set}" = set; then
11637 enableval=$enable_collpane;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11640 else
11641 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11642 fi
11643 cache=yes
11644
11645 else
11646
11647 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11648 if test "x$LINE" != x ; then
11649 eval "DEFAULT_$LINE"
11650 cache=yes
11651 else
11652 cache=no
11653 fi
11654
11655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_collpane"
11661 if test "x$cache" = xyes; then
11662 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11663 fi
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_COLLPANE = yes; then
11667 result=no
11668 else
11669 result=yes
11670 fi
11671 else
11672 result=$wxUSE_COLLPANE
11673 fi
11674
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11691 # Check whether --enable-colourpicker was given.
11692 if test "${enable_colourpicker+set}" = set; then
11693 enableval=$enable_colourpicker;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11696 else
11697 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11698 fi
11699 cache=yes
11700
11701 else
11702
11703 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 cache=yes
11707 else
11708 cache=no
11709 fi
11710
11711 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11712
11713 fi
11714
11715
11716 eval "$wx_cv_use_colourpicker"
11717 if test "x$cache" = xyes; then
11718 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11719 fi
11720
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = yes; then
11723 result=no
11724 else
11725 result=yes
11726 fi
11727 else
11728 result=$wxUSE_COLOURPICKERCTRL
11729 fi
11730
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11733
11734
11735 enablestring=
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11739 defaultval=yes
11740 else
11741 defaultval=no
11742 fi
11743 fi
11744
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11752 else
11753 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11754 fi
11755 cache=yes
11756
11757 else
11758
11759 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11760 if test "x$LINE" != x ; then
11761 eval "DEFAULT_$LINE"
11762 cache=yes
11763 else
11764 cache=no
11765 fi
11766
11767 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11768
11769 fi
11770
11771
11772 eval "$wx_cv_use_combobox"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11775 fi
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = yes; then
11779 result=no
11780 else
11781 result=yes
11782 fi
11783 else
11784 result=$wxUSE_COMBOBOX
11785 fi
11786
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11808 else
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11810 fi
11811 cache=yes
11812
11813 else
11814
11815 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11816 if test "x$LINE" != x ; then
11817 eval "DEFAULT_$LINE"
11818 cache=yes
11819 else
11820 cache=no
11821 fi
11822
11823 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11824
11825 fi
11826
11827
11828 eval "$wx_cv_use_comboctrl"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11831 fi
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_COMBOCTRL = yes; then
11835 result=no
11836 else
11837 result=yes
11838 fi
11839 else
11840 result=$wxUSE_COMBOCTRL
11841 fi
11842
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11859 # Check whether --enable-datepick was given.
11860 if test "${enable_datepick+set}" = set; then
11861 enableval=$enable_datepick;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11864 else
11865 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11866 fi
11867 cache=yes
11868
11869 else
11870
11871 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11872 if test "x$LINE" != x ; then
11873 eval "DEFAULT_$LINE"
11874 cache=yes
11875 else
11876 cache=no
11877 fi
11878
11879 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11880
11881 fi
11882
11883
11884 eval "$wx_cv_use_datepick"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11887 fi
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_DATEPICKCTRL = yes; then
11891 result=no
11892 else
11893 result=yes
11894 fi
11895 else
11896 result=$wxUSE_DATEPICKCTRL
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11915 # Check whether --enable-dirpicker was given.
11916 if test "${enable_dirpicker+set}" = set; then
11917 enableval=$enable_dirpicker;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11920 else
11921 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11922 fi
11923 cache=yes
11924
11925 else
11926
11927 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11930 cache=yes
11931 else
11932 cache=no
11933 fi
11934
11935 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11936
11937 fi
11938
11939
11940 eval "$wx_cv_use_dirpicker"
11941 if test "x$cache" = xyes; then
11942 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_DIRPICKERCTRL = yes; then
11947 result=no
11948 else
11949 result=yes
11950 fi
11951 else
11952 result=$wxUSE_DIRPICKERCTRL
11953 fi
11954
11955 { echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11957
11958
11959 enablestring=
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11963 defaultval=yes
11964 else
11965 defaultval=no
11966 fi
11967 fi
11968
11969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11971 # Check whether --enable-display was given.
11972 if test "${enable_display+set}" = set; then
11973 enableval=$enable_display;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_display='wxUSE_DISPLAY=yes'
11976 else
11977 wx_cv_use_display='wxUSE_DISPLAY=no'
11978 fi
11979 cache=yes
11980
11981 else
11982
11983 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11984 if test "x$LINE" != x ; then
11985 eval "DEFAULT_$LINE"
11986 cache=yes
11987 else
11988 cache=no
11989 fi
11990
11991 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11992
11993 fi
11994
11995
11996 eval "$wx_cv_use_display"
11997 if test "x$cache" = xyes; then
11998 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11999 fi
12000
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_DISPLAY = yes; then
12003 result=no
12004 else
12005 result=yes
12006 fi
12007 else
12008 result=$wxUSE_DISPLAY
12009 fi
12010
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12013
12014
12015 enablestring=
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12019 defaultval=yes
12020 else
12021 defaultval=no
12022 fi
12023 fi
12024
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12027 # Check whether --enable-detect_sm was given.
12028 if test "${enable_detect_sm+set}" = set; then
12029 enableval=$enable_detect_sm;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12032 else
12033 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12034 fi
12035 cache=yes
12036
12037 else
12038
12039 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12040 if test "x$LINE" != x ; then
12041 eval "DEFAULT_$LINE"
12042 cache=yes
12043 else
12044 cache=no
12045 fi
12046
12047 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12048
12049 fi
12050
12051
12052 eval "$wx_cv_use_detect_sm"
12053 if test "x$cache" = xyes; then
12054 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12055 fi
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_DETECT_SM = yes; then
12059 result=no
12060 else
12061 result=yes
12062 fi
12063 else
12064 result=$wxUSE_DETECT_SM
12065 fi
12066
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12083 # Check whether --enable-editablebox was given.
12084 if test "${enable_editablebox+set}" = set; then
12085 enableval=$enable_editablebox;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12088 else
12089 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12090 fi
12091 cache=yes
12092
12093 else
12094
12095 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12096 if test "x$LINE" != x ; then
12097 eval "DEFAULT_$LINE"
12098 cache=yes
12099 else
12100 cache=no
12101 fi
12102
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12104
12105 fi
12106
12107
12108 eval "$wx_cv_use_editablebox"
12109 if test "x$cache" = xyes; then
12110 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_EDITABLELISTBOX = yes; then
12115 result=no
12116 else
12117 result=yes
12118 fi
12119 else
12120 result=$wxUSE_EDITABLELISTBOX
12121 fi
12122
12123 { echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12139 # Check whether --enable-filepicker was given.
12140 if test "${enable_filepicker+set}" = set; then
12141 enableval=$enable_filepicker;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12144 else
12145 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12146 fi
12147 cache=yes
12148
12149 else
12150
12151 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12152 if test "x$LINE" != x ; then
12153 eval "DEFAULT_$LINE"
12154 cache=yes
12155 else
12156 cache=no
12157 fi
12158
12159 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12160
12161 fi
12162
12163
12164 eval "$wx_cv_use_filepicker"
12165 if test "x$cache" = xyes; then
12166 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12167 fi
12168
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_FILEPICKERCTRL = yes; then
12171 result=no
12172 else
12173 result=yes
12174 fi
12175 else
12176 result=$wxUSE_FILEPICKERCTRL
12177 fi
12178
12179 { echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6; }
12181
12182
12183 enablestring=
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12187 defaultval=yes
12188 else
12189 defaultval=no
12190 fi
12191 fi
12192
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12195 # Check whether --enable-filectrl was given.
12196 if test "${enable_filectrl+set}" = set; then
12197 enableval=$enable_filectrl;
12198 if test "$enableval" = yes; then
12199 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12200 else
12201 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12202 fi
12203 cache=yes
12204
12205 else
12206
12207 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x ; then
12209 eval "DEFAULT_$LINE"
12210 cache=yes
12211 else
12212 cache=no
12213 fi
12214
12215 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12216
12217 fi
12218
12219
12220 eval "$wx_cv_use_filectrl"
12221 if test "x$cache" = xyes; then
12222 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12223 fi
12224
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_FILECTRL = yes; then
12227 result=no
12228 else
12229 result=yes
12230 fi
12231 else
12232 result=$wxUSE_FILECTRL
12233 fi
12234
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12237
12238
12239 enablestring=
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12243 defaultval=yes
12244 else
12245 defaultval=no
12246 fi
12247 fi
12248
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12251 # Check whether --enable-fontpicker was given.
12252 if test "${enable_fontpicker+set}" = set; then
12253 enableval=$enable_fontpicker;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12256 else
12257 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12258 fi
12259 cache=yes
12260
12261 else
12262
12263 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12266 cache=yes
12267 else
12268 cache=no
12269 fi
12270
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_fontpicker"
12277 if test "x$cache" = xyes; then
12278 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12279 fi
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTPICKERCTRL = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_FONTPICKERCTRL
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12307 # Check whether --enable-gauge was given.
12308 if test "${enable_gauge+set}" = set; then
12309 enableval=$enable_gauge;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12312 else
12313 wx_cv_use_gauge='wxUSE_GAUGE=no'
12314 fi
12315 cache=yes
12316
12317 else
12318
12319 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12322 cache=yes
12323 else
12324 cache=no
12325 fi
12326
12327 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_gauge"
12333 if test "x$cache" = xyes; then
12334 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12335 fi
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_GAUGE = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_GAUGE
12345 fi
12346
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12363 # Check whether --enable-grid was given.
12364 if test "${enable_grid+set}" = set; then
12365 enableval=$enable_grid;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_grid='wxUSE_GRID=yes'
12368 else
12369 wx_cv_use_grid='wxUSE_GRID=no'
12370 fi
12371 cache=yes
12372
12373 else
12374
12375 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12376 if test "x$LINE" != x ; then
12377 eval "DEFAULT_$LINE"
12378 cache=yes
12379 else
12380 cache=no
12381 fi
12382
12383 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12384
12385 fi
12386
12387
12388 eval "$wx_cv_use_grid"
12389 if test "x$cache" = xyes; then
12390 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12391 fi
12392
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_GRID = yes; then
12395 result=no
12396 else
12397 result=yes
12398 fi
12399 else
12400 result=$wxUSE_GRID
12401 fi
12402
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12405
12406
12407 enablestring=
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12411 defaultval=yes
12412 else
12413 defaultval=no
12414 fi
12415 fi
12416
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12419 # Check whether --enable-dataviewctrl was given.
12420 if test "${enable_dataviewctrl+set}" = set; then
12421 enableval=$enable_dataviewctrl;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12424 else
12425 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12426 fi
12427 cache=yes
12428
12429 else
12430
12431 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12434 cache=yes
12435 else
12436 cache=no
12437 fi
12438
12439 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12440
12441 fi
12442
12443
12444 eval "$wx_cv_use_dataviewctrl"
12445 if test "x$cache" = xyes; then
12446 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DATAVIEWCTRL = yes; then
12451 result=no
12452 else
12453 result=yes
12454 fi
12455 else
12456 result=$wxUSE_DATAVIEWCTRL
12457 fi
12458
12459 { echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6; }
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12475 # Check whether --enable-hyperlink was given.
12476 if test "${enable_hyperlink+set}" = set; then
12477 enableval=$enable_hyperlink;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12480 else
12481 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12482 fi
12483 cache=yes
12484
12485 else
12486
12487 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12488 if test "x$LINE" != x ; then
12489 eval "DEFAULT_$LINE"
12490 cache=yes
12491 else
12492 cache=no
12493 fi
12494
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12496
12497 fi
12498
12499
12500 eval "$wx_cv_use_hyperlink"
12501 if test "x$cache" = xyes; then
12502 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12503 fi
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_HYPERLINKCTRL = yes; then
12507 result=no
12508 else
12509 result=yes
12510 fi
12511 else
12512 result=$wxUSE_HYPERLINKCTRL
12513 fi
12514
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12531 # Check whether --enable-imaglist was given.
12532 if test "${enable_imaglist+set}" = set; then
12533 enableval=$enable_imaglist;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12536 else
12537 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12538 fi
12539 cache=yes
12540
12541 else
12542
12543 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12544 if test "x$LINE" != x ; then
12545 eval "DEFAULT_$LINE"
12546 cache=yes
12547 else
12548 cache=no
12549 fi
12550
12551 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12552
12553 fi
12554
12555
12556 eval "$wx_cv_use_imaglist"
12557 if test "x$cache" = xyes; then
12558 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12559 fi
12560
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_IMAGLIST = yes; then
12563 result=no
12564 else
12565 result=yes
12566 fi
12567 else
12568 result=$wxUSE_IMAGLIST
12569 fi
12570
12571 { echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6; }
12573
12574
12575 enablestring=
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12579 defaultval=yes
12580 else
12581 defaultval=no
12582 fi
12583 fi
12584
12585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12587 # Check whether --enable-listbook was given.
12588 if test "${enable_listbook+set}" = set; then
12589 enableval=$enable_listbook;
12590 if test "$enableval" = yes; then
12591 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12592 else
12593 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12594 fi
12595 cache=yes
12596
12597 else
12598
12599 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12600 if test "x$LINE" != x ; then
12601 eval "DEFAULT_$LINE"
12602 cache=yes
12603 else
12604 cache=no
12605 fi
12606
12607 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12608
12609 fi
12610
12611
12612 eval "$wx_cv_use_listbook"
12613 if test "x$cache" = xyes; then
12614 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12615 fi
12616
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_LISTBOOK = yes; then
12619 result=no
12620 else
12621 result=yes
12622 fi
12623 else
12624 result=$wxUSE_LISTBOOK
12625 fi
12626
12627 { echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12629
12630
12631 enablestring=
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12635 defaultval=yes
12636 else
12637 defaultval=no
12638 fi
12639 fi
12640
12641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12643 # Check whether --enable-listbox was given.
12644 if test "${enable_listbox+set}" = set; then
12645 enableval=$enable_listbox;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12648 else
12649 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12650 fi
12651 cache=yes
12652
12653 else
12654
12655 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12656 if test "x$LINE" != x ; then
12657 eval "DEFAULT_$LINE"
12658 cache=yes
12659 else
12660 cache=no
12661 fi
12662
12663 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12664
12665 fi
12666
12667
12668 eval "$wx_cv_use_listbox"
12669 if test "x$cache" = xyes; then
12670 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12671 fi
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_LISTBOX = yes; then
12675 result=no
12676 else
12677 result=yes
12678 fi
12679 else
12680 result=$wxUSE_LISTBOX
12681 fi
12682
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12699 # Check whether --enable-listctrl was given.
12700 if test "${enable_listctrl+set}" = set; then
12701 enableval=$enable_listctrl;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12704 else
12705 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12706 fi
12707 cache=yes
12708
12709 else
12710
12711 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12712 if test "x$LINE" != x ; then
12713 eval "DEFAULT_$LINE"
12714 cache=yes
12715 else
12716 cache=no
12717 fi
12718
12719 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_listctrl"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12727 fi
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_LISTCTRL
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12760 else
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12762 fi
12763 cache=yes
12764
12765 else
12766
12767 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12768 if test "x$LINE" != x ; then
12769 eval "DEFAULT_$LINE"
12770 cache=yes
12771 else
12772 cache=no
12773 fi
12774
12775 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12776
12777 fi
12778
12779
12780 eval "$wx_cv_use_notebook"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12783 fi
12784
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_NOTEBOOK = yes; then
12787 result=no
12788 else
12789 result=yes
12790 fi
12791 else
12792 result=$wxUSE_NOTEBOOK
12793 fi
12794
12795 { echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12797
12798
12799 enablestring=
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12803 defaultval=yes
12804 else
12805 defaultval=no
12806 fi
12807 fi
12808
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12811 # Check whether --enable-odcombobox was given.
12812 if test "${enable_odcombobox+set}" = set; then
12813 enableval=$enable_odcombobox;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12816 else
12817 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12818 fi
12819 cache=yes
12820
12821 else
12822
12823 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12826 cache=yes
12827 else
12828 cache=no
12829 fi
12830
12831 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12832
12833 fi
12834
12835
12836 eval "$wx_cv_use_odcombobox"
12837 if test "x$cache" = xyes; then
12838 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12839 fi
12840
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_ODCOMBOBOX = yes; then
12843 result=no
12844 else
12845 result=yes
12846 fi
12847 else
12848 result=$wxUSE_ODCOMBOBOX
12849 fi
12850
12851 { echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6; }
12853
12854
12855 enablestring=
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12859 defaultval=yes
12860 else
12861 defaultval=no
12862 fi
12863 fi
12864
12865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12867 # Check whether --enable-radiobox was given.
12868 if test "${enable_radiobox+set}" = set; then
12869 enableval=$enable_radiobox;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12872 else
12873 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12874 fi
12875 cache=yes
12876
12877 else
12878
12879 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12880 if test "x$LINE" != x ; then
12881 eval "DEFAULT_$LINE"
12882 cache=yes
12883 else
12884 cache=no
12885 fi
12886
12887 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12888
12889 fi
12890
12891
12892 eval "$wx_cv_use_radiobox"
12893 if test "x$cache" = xyes; then
12894 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12895 fi
12896
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_RADIOBOX = yes; then
12899 result=no
12900 else
12901 result=yes
12902 fi
12903 else
12904 result=$wxUSE_RADIOBOX
12905 fi
12906
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12909
12910
12911 enablestring=
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12915 defaultval=yes
12916 else
12917 defaultval=no
12918 fi
12919 fi
12920
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12923 # Check whether --enable-radiobtn was given.
12924 if test "${enable_radiobtn+set}" = set; then
12925 enableval=$enable_radiobtn;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12928 else
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12930 fi
12931 cache=yes
12932
12933 else
12934
12935 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12936 if test "x$LINE" != x ; then
12937 eval "DEFAULT_$LINE"
12938 cache=yes
12939 else
12940 cache=no
12941 fi
12942
12943 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12944
12945 fi
12946
12947
12948 eval "$wx_cv_use_radiobtn"
12949 if test "x$cache" = xyes; then
12950 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12951 fi
12952
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RADIOBTN = yes; then
12955 result=no
12956 else
12957 result=yes
12958 fi
12959 else
12960 result=$wxUSE_RADIOBTN
12961 fi
12962
12963 { echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12965
12966
12967 enablestring=
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12971 defaultval=yes
12972 else
12973 defaultval=no
12974 fi
12975 fi
12976
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12979 # Check whether --enable-sash was given.
12980 if test "${enable_sash+set}" = set; then
12981 enableval=$enable_sash;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_sash='wxUSE_SASH=yes'
12984 else
12985 wx_cv_use_sash='wxUSE_SASH=no'
12986 fi
12987 cache=yes
12988
12989 else
12990
12991 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12992 if test "x$LINE" != x ; then
12993 eval "DEFAULT_$LINE"
12994 cache=yes
12995 else
12996 cache=no
12997 fi
12998
12999 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13000
13001 fi
13002
13003
13004 eval "$wx_cv_use_sash"
13005 if test "x$cache" = xyes; then
13006 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13007 fi
13008
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_SASH = yes; then
13011 result=no
13012 else
13013 result=yes
13014 fi
13015 else
13016 result=$wxUSE_SASH
13017 fi
13018
13019 { echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6; }
13021
13022
13023 enablestring=
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13027 defaultval=yes
13028 else
13029 defaultval=no
13030 fi
13031 fi
13032
13033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13035 # Check whether --enable-scrollbar was given.
13036 if test "${enable_scrollbar+set}" = set; then
13037 enableval=$enable_scrollbar;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13040 else
13041 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13042 fi
13043 cache=yes
13044
13045 else
13046
13047 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13048 if test "x$LINE" != x ; then
13049 eval "DEFAULT_$LINE"
13050 cache=yes
13051 else
13052 cache=no
13053 fi
13054
13055 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13056
13057 fi
13058
13059
13060 eval "$wx_cv_use_scrollbar"
13061 if test "x$cache" = xyes; then
13062 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13063 fi
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_SCROLLBAR = yes; then
13067 result=no
13068 else
13069 result=yes
13070 fi
13071 else
13072 result=$wxUSE_SCROLLBAR
13073 fi
13074
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13091 # Check whether --enable-searchctrl was given.
13092 if test "${enable_searchctrl+set}" = set; then
13093 enableval=$enable_searchctrl;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13096 else
13097 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13098 fi
13099 cache=yes
13100
13101 else
13102
13103 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13104 if test "x$LINE" != x ; then
13105 eval "DEFAULT_$LINE"
13106 cache=yes
13107 else
13108 cache=no
13109 fi
13110
13111 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13112
13113 fi
13114
13115
13116 eval "$wx_cv_use_searchctrl"
13117 if test "x$cache" = xyes; then
13118 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13119 fi
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_SEARCHCTRL = yes; then
13123 result=no
13124 else
13125 result=yes
13126 fi
13127 else
13128 result=$wxUSE_SEARCHCTRL
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13147 # Check whether --enable-slider was given.
13148 if test "${enable_slider+set}" = set; then
13149 enableval=$enable_slider;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_slider='wxUSE_SLIDER=yes'
13152 else
13153 wx_cv_use_slider='wxUSE_SLIDER=no'
13154 fi
13155 cache=yes
13156
13157 else
13158
13159 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13160 if test "x$LINE" != x ; then
13161 eval "DEFAULT_$LINE"
13162 cache=yes
13163 else
13164 cache=no
13165 fi
13166
13167 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13168
13169 fi
13170
13171
13172 eval "$wx_cv_use_slider"
13173 if test "x$cache" = xyes; then
13174 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13175 fi
13176
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_SLIDER = yes; then
13179 result=no
13180 else
13181 result=yes
13182 fi
13183 else
13184 result=$wxUSE_SLIDER
13185 fi
13186
13187 { echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13189
13190
13191 enablestring=
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13195 defaultval=yes
13196 else
13197 defaultval=no
13198 fi
13199 fi
13200
13201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13203 # Check whether --enable-spinbtn was given.
13204 if test "${enable_spinbtn+set}" = set; then
13205 enableval=$enable_spinbtn;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13208 else
13209 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13210 fi
13211 cache=yes
13212
13213 else
13214
13215 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13216 if test "x$LINE" != x ; then
13217 eval "DEFAULT_$LINE"
13218 cache=yes
13219 else
13220 cache=no
13221 fi
13222
13223 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13224
13225 fi
13226
13227
13228 eval "$wx_cv_use_spinbtn"
13229 if test "x$cache" = xyes; then
13230 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13231 fi
13232
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_SPINBTN = yes; then
13235 result=no
13236 else
13237 result=yes
13238 fi
13239 else
13240 result=$wxUSE_SPINBTN
13241 fi
13242
13243 { echo "$as_me:$LINENO: result: $result" >&5
13244 echo "${ECHO_T}$result" >&6; }
13245
13246
13247 enablestring=
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13251 defaultval=yes
13252 else
13253 defaultval=no
13254 fi
13255 fi
13256
13257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13259 # Check whether --enable-spinctrl was given.
13260 if test "${enable_spinctrl+set}" = set; then
13261 enableval=$enable_spinctrl;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13264 else
13265 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13266 fi
13267 cache=yes
13268
13269 else
13270
13271 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13272 if test "x$LINE" != x ; then
13273 eval "DEFAULT_$LINE"
13274 cache=yes
13275 else
13276 cache=no
13277 fi
13278
13279 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13280
13281 fi
13282
13283
13284 eval "$wx_cv_use_spinctrl"
13285 if test "x$cache" = xyes; then
13286 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13287 fi
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_SPINCTRL = yes; then
13291 result=no
13292 else
13293 result=yes
13294 fi
13295 else
13296 result=$wxUSE_SPINCTRL
13297 fi
13298
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13315 # Check whether --enable-splitter was given.
13316 if test "${enable_splitter+set}" = set; then
13317 enableval=$enable_splitter;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13320 else
13321 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13322 fi
13323 cache=yes
13324
13325 else
13326
13327 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13328 if test "x$LINE" != x ; then
13329 eval "DEFAULT_$LINE"
13330 cache=yes
13331 else
13332 cache=no
13333 fi
13334
13335 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13336
13337 fi
13338
13339
13340 eval "$wx_cv_use_splitter"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13343 fi
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_SPLITTER = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_SPLITTER
13353 fi
13354
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13371 # Check whether --enable-statbmp was given.
13372 if test "${enable_statbmp+set}" = set; then
13373 enableval=$enable_statbmp;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13376 else
13377 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13378 fi
13379 cache=yes
13380
13381 else
13382
13383 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13384 if test "x$LINE" != x ; then
13385 eval "DEFAULT_$LINE"
13386 cache=yes
13387 else
13388 cache=no
13389 fi
13390
13391 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13392
13393 fi
13394
13395
13396 eval "$wx_cv_use_statbmp"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13399 fi
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_STATBMP = yes; then
13403 result=no
13404 else
13405 result=yes
13406 fi
13407 else
13408 result=$wxUSE_STATBMP
13409 fi
13410
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13427 # Check whether --enable-statbox was given.
13428 if test "${enable_statbox+set}" = set; then
13429 enableval=$enable_statbox;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13432 else
13433 wx_cv_use_statbox='wxUSE_STATBOX=no'
13434 fi
13435 cache=yes
13436
13437 else
13438
13439 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13440 if test "x$LINE" != x ; then
13441 eval "DEFAULT_$LINE"
13442 cache=yes
13443 else
13444 cache=no
13445 fi
13446
13447 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13448
13449 fi
13450
13451
13452 eval "$wx_cv_use_statbox"
13453 if test "x$cache" = xyes; then
13454 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13455 fi
13456
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_STATBOX = yes; then
13459 result=no
13460 else
13461 result=yes
13462 fi
13463 else
13464 result=$wxUSE_STATBOX
13465 fi
13466
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13469
13470
13471 enablestring=
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13475 defaultval=yes
13476 else
13477 defaultval=no
13478 fi
13479 fi
13480
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13483 # Check whether --enable-statline was given.
13484 if test "${enable_statline+set}" = set; then
13485 enableval=$enable_statline;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_statline='wxUSE_STATLINE=yes'
13488 else
13489 wx_cv_use_statline='wxUSE_STATLINE=no'
13490 fi
13491 cache=yes
13492
13493 else
13494
13495 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13496 if test "x$LINE" != x ; then
13497 eval "DEFAULT_$LINE"
13498 cache=yes
13499 else
13500 cache=no
13501 fi
13502
13503 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13504
13505 fi
13506
13507
13508 eval "$wx_cv_use_statline"
13509 if test "x$cache" = xyes; then
13510 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13511 fi
13512
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_STATLINE = yes; then
13515 result=no
13516 else
13517 result=yes
13518 fi
13519 else
13520 result=$wxUSE_STATLINE
13521 fi
13522
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13525
13526
13527 enablestring=
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13531 defaultval=yes
13532 else
13533 defaultval=no
13534 fi
13535 fi
13536
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13539 # Check whether --enable-stattext was given.
13540 if test "${enable_stattext+set}" = set; then
13541 enableval=$enable_stattext;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13544 else
13545 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13546 fi
13547 cache=yes
13548
13549 else
13550
13551 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13552 if test "x$LINE" != x ; then
13553 eval "DEFAULT_$LINE"
13554 cache=yes
13555 else
13556 cache=no
13557 fi
13558
13559 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$wx_cv_use_stattext"
13565 if test "x$cache" = xyes; then
13566 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13567 fi
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATTEXT = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_STATTEXT
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13595 # Check whether --enable-statusbar was given.
13596 if test "${enable_statusbar+set}" = set; then
13597 enableval=$enable_statusbar;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13600 else
13601 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13602 fi
13603 cache=yes
13604
13605 else
13606
13607 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13608 if test "x$LINE" != x ; then
13609 eval "DEFAULT_$LINE"
13610 cache=yes
13611 else
13612 cache=no
13613 fi
13614
13615 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13616
13617 fi
13618
13619
13620 eval "$wx_cv_use_statusbar"
13621 if test "x$cache" = xyes; then
13622 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13623 fi
13624
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_STATUSBAR = yes; then
13627 result=no
13628 else
13629 result=yes
13630 fi
13631 else
13632 result=$wxUSE_STATUSBAR
13633 fi
13634
13635 { echo "$as_me:$LINENO: result: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13637
13638
13639 enablestring=
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13643 defaultval=yes
13644 else
13645 defaultval=no
13646 fi
13647 fi
13648
13649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13650 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13651 # Check whether --enable-tabdialog was given.
13652 if test "${enable_tabdialog+set}" = set; then
13653 enableval=$enable_tabdialog;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13656 else
13657 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13658 fi
13659 cache=yes
13660
13661 else
13662
13663 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13664 if test "x$LINE" != x ; then
13665 eval "DEFAULT_$LINE"
13666 cache=yes
13667 else
13668 cache=no
13669 fi
13670
13671 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13672
13673 fi
13674
13675
13676 eval "$wx_cv_use_tabdialog"
13677 if test "x$cache" = xyes; then
13678 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13679 fi
13680
13681 if test x"$enablestring" = xdisable; then
13682 if test $wxUSE_TAB_DIALOG = yes; then
13683 result=no
13684 else
13685 result=yes
13686 fi
13687 else
13688 result=$wxUSE_TAB_DIALOG
13689 fi
13690
13691 { echo "$as_me:$LINENO: result: $result" >&5
13692 echo "${ECHO_T}$result" >&6; }
13693
13694
13695 enablestring=
13696 defaultval=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x"$enablestring" = xdisable; then
13699 defaultval=yes
13700 else
13701 defaultval=no
13702 fi
13703 fi
13704
13705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13706 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then
13709 enableval=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13712 else
13713 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13714 fi
13715 cache=yes
13716
13717 else
13718
13719 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13720 if test "x$LINE" != x ; then
13721 eval "DEFAULT_$LINE"
13722 cache=yes
13723 else
13724 cache=no
13725 fi
13726
13727 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13728
13729 fi
13730
13731
13732 eval "$wx_cv_use_taskbaricon"
13733 if test "x$cache" = xyes; then
13734 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13735 fi
13736
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_TASKBARICON = yes; then
13739 result=no
13740 else
13741 result=yes
13742 fi
13743 else
13744 result=$wxUSE_TASKBARICON
13745 fi
13746
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13749
13750
13751 enablestring=
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13755 defaultval=yes
13756 else
13757 defaultval=no
13758 fi
13759 fi
13760
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13763 # Check whether --enable-textctrl was given.
13764 if test "${enable_textctrl+set}" = set; then
13765 enableval=$enable_textctrl;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13768 else
13769 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13770 fi
13771 cache=yes
13772
13773 else
13774
13775 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13776 if test "x$LINE" != x ; then
13777 eval "DEFAULT_$LINE"
13778 cache=yes
13779 else
13780 cache=no
13781 fi
13782
13783 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13784
13785 fi
13786
13787
13788 eval "$wx_cv_use_textctrl"
13789 if test "x$cache" = xyes; then
13790 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13791 fi
13792
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_TEXTCTRL = yes; then
13795 result=no
13796 else
13797 result=yes
13798 fi
13799 else
13800 result=$wxUSE_TEXTCTRL
13801 fi
13802
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13805
13806
13807 enablestring=
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13811 defaultval=yes
13812 else
13813 defaultval=no
13814 fi
13815 fi
13816
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13819 # Check whether --enable-togglebtn was given.
13820 if test "${enable_togglebtn+set}" = set; then
13821 enableval=$enable_togglebtn;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13824 else
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13826 fi
13827 cache=yes
13828
13829 else
13830
13831 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13832 if test "x$LINE" != x ; then
13833 eval "DEFAULT_$LINE"
13834 cache=yes
13835 else
13836 cache=no
13837 fi
13838
13839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13840
13841 fi
13842
13843
13844 eval "$wx_cv_use_togglebtn"
13845 if test "x$cache" = xyes; then
13846 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13847 fi
13848
13849 if test x"$enablestring" = xdisable; then
13850 if test $wxUSE_TOGGLEBTN = yes; then
13851 result=no
13852 else
13853 result=yes
13854 fi
13855 else
13856 result=$wxUSE_TOGGLEBTN
13857 fi
13858
13859 { echo "$as_me:$LINENO: result: $result" >&5
13860 echo "${ECHO_T}$result" >&6; }
13861
13862
13863 enablestring=
13864 defaultval=$wxUSE_ALL_FEATURES
13865 if test -z "$defaultval"; then
13866 if test x"$enablestring" = xdisable; then
13867 defaultval=yes
13868 else
13869 defaultval=no
13870 fi
13871 fi
13872
13873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13874 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13875 # Check whether --enable-toolbar was given.
13876 if test "${enable_toolbar+set}" = set; then
13877 enableval=$enable_toolbar;
13878 if test "$enableval" = yes; then
13879 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13880 else
13881 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13882 fi
13883 cache=yes
13884
13885 else
13886
13887 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13888 if test "x$LINE" != x ; then
13889 eval "DEFAULT_$LINE"
13890 cache=yes
13891 else
13892 cache=no
13893 fi
13894
13895 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13896
13897 fi
13898
13899
13900 eval "$wx_cv_use_toolbar"
13901 if test "x$cache" = xyes; then
13902 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13903 fi
13904
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TOOLBAR = yes; then
13907 result=no
13908 else
13909 result=yes
13910 fi
13911 else
13912 result=$wxUSE_TOOLBAR
13913 fi
13914
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13917
13918
13919 enablestring=
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13923 defaultval=yes
13924 else
13925 defaultval=no
13926 fi
13927 fi
13928
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13931 # Check whether --enable-tbarnative was given.
13932 if test "${enable_tbarnative+set}" = set; then
13933 enableval=$enable_tbarnative;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13936 else
13937 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13938 fi
13939 cache=yes
13940
13941 else
13942
13943 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13944 if test "x$LINE" != x ; then
13945 eval "DEFAULT_$LINE"
13946 cache=yes
13947 else
13948 cache=no
13949 fi
13950
13951 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13952
13953 fi
13954
13955
13956 eval "$wx_cv_use_tbarnative"
13957 if test "x$cache" = xyes; then
13958 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13959 fi
13960
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13963 result=no
13964 else
13965 result=yes
13966 fi
13967 else
13968 result=$wxUSE_TOOLBAR_NATIVE
13969 fi
13970
13971 { echo "$as_me:$LINENO: result: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13973
13974
13975 enablestring=
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13979 defaultval=yes
13980 else
13981 defaultval=no
13982 fi
13983 fi
13984
13985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13986 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13987 # Check whether --enable-treebook was given.
13988 if test "${enable_treebook+set}" = set; then
13989 enableval=$enable_treebook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13992 else
13993 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13994 fi
13995 cache=yes
13996
13997 else
13998
13999 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
14000 if test "x$LINE" != x ; then
14001 eval "DEFAULT_$LINE"
14002 cache=yes
14003 else
14004 cache=no
14005 fi
14006
14007 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14008
14009 fi
14010
14011
14012 eval "$wx_cv_use_treebook"
14013 if test "x$cache" = xyes; then
14014 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14015 fi
14016
14017 if test x"$enablestring" = xdisable; then
14018 if test $wxUSE_TREEBOOK = yes; then
14019 result=no
14020 else
14021 result=yes
14022 fi
14023 else
14024 result=$wxUSE_TREEBOOK
14025 fi
14026
14027 { echo "$as_me:$LINENO: result: $result" >&5
14028 echo "${ECHO_T}$result" >&6; }
14029
14030
14031 enablestring=
14032 defaultval=$wxUSE_ALL_FEATURES
14033 if test -z "$defaultval"; then
14034 if test x"$enablestring" = xdisable; then
14035 defaultval=yes
14036 else
14037 defaultval=no
14038 fi
14039 fi
14040
14041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14042 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14043 # Check whether --enable-toolbook was given.
14044 if test "${enable_toolbook+set}" = set; then
14045 enableval=$enable_toolbook;
14046 if test "$enableval" = yes; then
14047 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14048 else
14049 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14050 fi
14051 cache=yes
14052
14053 else
14054
14055 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14056 if test "x$LINE" != x ; then
14057 eval "DEFAULT_$LINE"
14058 cache=yes
14059 else
14060 cache=no
14061 fi
14062
14063 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14064
14065 fi
14066
14067
14068 eval "$wx_cv_use_toolbook"
14069 if test "x$cache" = xyes; then
14070 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14071 fi
14072
14073 if test x"$enablestring" = xdisable; then
14074 if test $wxUSE_TOOLBOOK = yes; then
14075 result=no
14076 else
14077 result=yes
14078 fi
14079 else
14080 result=$wxUSE_TOOLBOOK
14081 fi
14082
14083 { echo "$as_me:$LINENO: result: $result" >&5
14084 echo "${ECHO_T}$result" >&6; }
14085
14086
14087 enablestring=
14088 defaultval=$wxUSE_ALL_FEATURES
14089 if test -z "$defaultval"; then
14090 if test x"$enablestring" = xdisable; then
14091 defaultval=yes
14092 else
14093 defaultval=no
14094 fi
14095 fi
14096
14097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14099 # Check whether --enable-treectrl was given.
14100 if test "${enable_treectrl+set}" = set; then
14101 enableval=$enable_treectrl;
14102 if test "$enableval" = yes; then
14103 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14104 else
14105 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14106 fi
14107 cache=yes
14108
14109 else
14110
14111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14112 if test "x$LINE" != x ; then
14113 eval "DEFAULT_$LINE"
14114 cache=yes
14115 else
14116 cache=no
14117 fi
14118
14119 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14120
14121 fi
14122
14123
14124 eval "$wx_cv_use_treectrl"
14125 if test "x$cache" = xyes; then
14126 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14127 fi
14128
14129 if test x"$enablestring" = xdisable; then
14130 if test $wxUSE_TREECTRL = yes; then
14131 result=no
14132 else
14133 result=yes
14134 fi
14135 else
14136 result=$wxUSE_TREECTRL
14137 fi
14138
14139 { echo "$as_me:$LINENO: result: $result" >&5
14140 echo "${ECHO_T}$result" >&6; }
14141
14142
14143 enablestring=
14144 defaultval=$wxUSE_ALL_FEATURES
14145 if test -z "$defaultval"; then
14146 if test x"$enablestring" = xdisable; then
14147 defaultval=yes
14148 else
14149 defaultval=no
14150 fi
14151 fi
14152
14153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14154 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14155 # Check whether --enable-tipwindow was given.
14156 if test "${enable_tipwindow+set}" = set; then
14157 enableval=$enable_tipwindow;
14158 if test "$enableval" = yes; then
14159 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14160 else
14161 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14162 fi
14163 cache=yes
14164
14165 else
14166
14167 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14168 if test "x$LINE" != x ; then
14169 eval "DEFAULT_$LINE"
14170 cache=yes
14171 else
14172 cache=no
14173 fi
14174
14175 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14176
14177 fi
14178
14179
14180 eval "$wx_cv_use_tipwindow"
14181 if test "x$cache" = xyes; then
14182 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14183 fi
14184
14185 if test x"$enablestring" = xdisable; then
14186 if test $wxUSE_TIPWINDOW = yes; then
14187 result=no
14188 else
14189 result=yes
14190 fi
14191 else
14192 result=$wxUSE_TIPWINDOW
14193 fi
14194
14195 { echo "$as_me:$LINENO: result: $result" >&5
14196 echo "${ECHO_T}$result" >&6; }
14197
14198
14199 enablestring=
14200 defaultval=$wxUSE_ALL_FEATURES
14201 if test -z "$defaultval"; then
14202 if test x"$enablestring" = xdisable; then
14203 defaultval=yes
14204 else
14205 defaultval=no
14206 fi
14207 fi
14208
14209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14211 # Check whether --enable-popupwin was given.
14212 if test "${enable_popupwin+set}" = set; then
14213 enableval=$enable_popupwin;
14214 if test "$enableval" = yes; then
14215 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14216 else
14217 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14218 fi
14219 cache=yes
14220
14221 else
14222
14223 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14224 if test "x$LINE" != x ; then
14225 eval "DEFAULT_$LINE"
14226 cache=yes
14227 else
14228 cache=no
14229 fi
14230
14231 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14232
14233 fi
14234
14235
14236 eval "$wx_cv_use_popupwin"
14237 if test "x$cache" = xyes; then
14238 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14239 fi
14240
14241 if test x"$enablestring" = xdisable; then
14242 if test $wxUSE_POPUPWIN = yes; then
14243 result=no
14244 else
14245 result=yes
14246 fi
14247 else
14248 result=$wxUSE_POPUPWIN
14249 fi
14250
14251 { echo "$as_me:$LINENO: result: $result" >&5
14252 echo "${ECHO_T}$result" >&6; }
14253
14254
14255
14256
14257 enablestring=
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14261 defaultval=yes
14262 else
14263 defaultval=no
14264 fi
14265 fi
14266
14267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14269 # Check whether --enable-commondlg was given.
14270 if test "${enable_commondlg+set}" = set; then
14271 enableval=$enable_commondlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14274 else
14275 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14276 fi
14277 cache=yes
14278
14279 else
14280
14281 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14282 if test "x$LINE" != x ; then
14283 eval "DEFAULT_$LINE"
14284 cache=yes
14285 else
14286 cache=no
14287 fi
14288
14289 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14290
14291 fi
14292
14293
14294 eval "$wx_cv_use_commondlg"
14295 if test "x$cache" = xyes; then
14296 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14297 fi
14298
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_COMMONDLGS = yes; then
14301 result=no
14302 else
14303 result=yes
14304 fi
14305 else
14306 result=$wxUSE_COMMONDLGS
14307 fi
14308
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14311
14312
14313 enablestring=
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14317 defaultval=yes
14318 else
14319 defaultval=no
14320 fi
14321 fi
14322
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14325 # Check whether --enable-aboutdlg was given.
14326 if test "${enable_aboutdlg+set}" = set; then
14327 enableval=$enable_aboutdlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14330 else
14331 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14332 fi
14333 cache=yes
14334
14335 else
14336
14337 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14340 cache=yes
14341 else
14342 cache=no
14343 fi
14344
14345 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14346
14347 fi
14348
14349
14350 eval "$wx_cv_use_aboutdlg"
14351 if test "x$cache" = xyes; then
14352 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14353 fi
14354
14355 if test x"$enablestring" = xdisable; then
14356 if test $wxUSE_ABOUTDLG = yes; then
14357 result=no
14358 else
14359 result=yes
14360 fi
14361 else
14362 result=$wxUSE_ABOUTDLG
14363 fi
14364
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14367
14368
14369 enablestring=
14370 defaultval=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x"$enablestring" = xdisable; then
14373 defaultval=yes
14374 else
14375 defaultval=no
14376 fi
14377 fi
14378
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14381 # Check whether --enable-choicedlg was given.
14382 if test "${enable_choicedlg+set}" = set; then
14383 enableval=$enable_choicedlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14386 else
14387 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14388 fi
14389 cache=yes
14390
14391 else
14392
14393 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14394 if test "x$LINE" != x ; then
14395 eval "DEFAULT_$LINE"
14396 cache=yes
14397 else
14398 cache=no
14399 fi
14400
14401 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14402
14403 fi
14404
14405
14406 eval "$wx_cv_use_choicedlg"
14407 if test "x$cache" = xyes; then
14408 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14409 fi
14410
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_CHOICEDLG = yes; then
14413 result=no
14414 else
14415 result=yes
14416 fi
14417 else
14418 result=$wxUSE_CHOICEDLG
14419 fi
14420
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14423
14424
14425 enablestring=
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14429 defaultval=yes
14430 else
14431 defaultval=no
14432 fi
14433 fi
14434
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14437 # Check whether --enable-coldlg was given.
14438 if test "${enable_coldlg+set}" = set; then
14439 enableval=$enable_coldlg;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14442 else
14443 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14444 fi
14445 cache=yes
14446
14447 else
14448
14449 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14450 if test "x$LINE" != x ; then
14451 eval "DEFAULT_$LINE"
14452 cache=yes
14453 else
14454 cache=no
14455 fi
14456
14457 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14458
14459 fi
14460
14461
14462 eval "$wx_cv_use_coldlg"
14463 if test "x$cache" = xyes; then
14464 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14465 fi
14466
14467 if test x"$enablestring" = xdisable; then
14468 if test $wxUSE_COLOURDLG = yes; then
14469 result=no
14470 else
14471 result=yes
14472 fi
14473 else
14474 result=$wxUSE_COLOURDLG
14475 fi
14476
14477 { echo "$as_me:$LINENO: result: $result" >&5
14478 echo "${ECHO_T}$result" >&6; }
14479
14480
14481 enablestring=
14482 defaultval=$wxUSE_ALL_FEATURES
14483 if test -z "$defaultval"; then
14484 if test x"$enablestring" = xdisable; then
14485 defaultval=yes
14486 else
14487 defaultval=no
14488 fi
14489 fi
14490
14491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14492 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14493 # Check whether --enable-filedlg was given.
14494 if test "${enable_filedlg+set}" = set; then
14495 enableval=$enable_filedlg;
14496 if test "$enableval" = yes; then
14497 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14498 else
14499 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14500 fi
14501 cache=yes
14502
14503 else
14504
14505 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14506 if test "x$LINE" != x ; then
14507 eval "DEFAULT_$LINE"
14508 cache=yes
14509 else
14510 cache=no
14511 fi
14512
14513 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14514
14515 fi
14516
14517
14518 eval "$wx_cv_use_filedlg"
14519 if test "x$cache" = xyes; then
14520 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14521 fi
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_FILEDLG = yes; then
14525 result=no
14526 else
14527 result=yes
14528 fi
14529 else
14530 result=$wxUSE_FILEDLG
14531 fi
14532
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14549 # Check whether --enable-finddlg was given.
14550 if test "${enable_finddlg+set}" = set; then
14551 enableval=$enable_finddlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14554 else
14555 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14556 fi
14557 cache=yes
14558
14559 else
14560
14561 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14562 if test "x$LINE" != x ; then
14563 eval "DEFAULT_$LINE"
14564 cache=yes
14565 else
14566 cache=no
14567 fi
14568
14569 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14570
14571 fi
14572
14573
14574 eval "$wx_cv_use_finddlg"
14575 if test "x$cache" = xyes; then
14576 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14577 fi
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_FINDREPLDLG = yes; then
14581 result=no
14582 else
14583 result=yes
14584 fi
14585 else
14586 result=$wxUSE_FINDREPLDLG
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14605 # Check whether --enable-fontdlg was given.
14606 if test "${enable_fontdlg+set}" = set; then
14607 enableval=$enable_fontdlg;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14610 else
14611 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14612 fi
14613 cache=yes
14614
14615 else
14616
14617 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14618 if test "x$LINE" != x ; then
14619 eval "DEFAULT_$LINE"
14620 cache=yes
14621 else
14622 cache=no
14623 fi
14624
14625 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14626
14627 fi
14628
14629
14630 eval "$wx_cv_use_fontdlg"
14631 if test "x$cache" = xyes; then
14632 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14633 fi
14634
14635 if test x"$enablestring" = xdisable; then
14636 if test $wxUSE_FONTDLG = yes; then
14637 result=no
14638 else
14639 result=yes
14640 fi
14641 else
14642 result=$wxUSE_FONTDLG
14643 fi
14644
14645 { echo "$as_me:$LINENO: result: $result" >&5
14646 echo "${ECHO_T}$result" >&6; }
14647
14648
14649 enablestring=
14650 defaultval=$wxUSE_ALL_FEATURES
14651 if test -z "$defaultval"; then
14652 if test x"$enablestring" = xdisable; then
14653 defaultval=yes
14654 else
14655 defaultval=no
14656 fi
14657 fi
14658
14659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14660 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14661 # Check whether --enable-dirdlg was given.
14662 if test "${enable_dirdlg+set}" = set; then
14663 enableval=$enable_dirdlg;
14664 if test "$enableval" = yes; then
14665 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14666 else
14667 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14668 fi
14669 cache=yes
14670
14671 else
14672
14673 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14674 if test "x$LINE" != x ; then
14675 eval "DEFAULT_$LINE"
14676 cache=yes
14677 else
14678 cache=no
14679 fi
14680
14681 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14682
14683 fi
14684
14685
14686 eval "$wx_cv_use_dirdlg"
14687 if test "x$cache" = xyes; then
14688 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14689 fi
14690
14691 if test x"$enablestring" = xdisable; then
14692 if test $wxUSE_DIRDLG = yes; then
14693 result=no
14694 else
14695 result=yes
14696 fi
14697 else
14698 result=$wxUSE_DIRDLG
14699 fi
14700
14701 { echo "$as_me:$LINENO: result: $result" >&5
14702 echo "${ECHO_T}$result" >&6; }
14703
14704
14705 enablestring=
14706 defaultval=$wxUSE_ALL_FEATURES
14707 if test -z "$defaultval"; then
14708 if test x"$enablestring" = xdisable; then
14709 defaultval=yes
14710 else
14711 defaultval=no
14712 fi
14713 fi
14714
14715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14716 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14717 # Check whether --enable-msgdlg was given.
14718 if test "${enable_msgdlg+set}" = set; then
14719 enableval=$enable_msgdlg;
14720 if test "$enableval" = yes; then
14721 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14722 else
14723 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14724 fi
14725 cache=yes
14726
14727 else
14728
14729 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14730 if test "x$LINE" != x ; then
14731 eval "DEFAULT_$LINE"
14732 cache=yes
14733 else
14734 cache=no
14735 fi
14736
14737 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14738
14739 fi
14740
14741
14742 eval "$wx_cv_use_msgdlg"
14743 if test "x$cache" = xyes; then
14744 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14745 fi
14746
14747 if test x"$enablestring" = xdisable; then
14748 if test $wxUSE_MSGDLG = yes; then
14749 result=no
14750 else
14751 result=yes
14752 fi
14753 else
14754 result=$wxUSE_MSGDLG
14755 fi
14756
14757 { echo "$as_me:$LINENO: result: $result" >&5
14758 echo "${ECHO_T}$result" >&6; }
14759
14760
14761 enablestring=
14762 defaultval=$wxUSE_ALL_FEATURES
14763 if test -z "$defaultval"; then
14764 if test x"$enablestring" = xdisable; then
14765 defaultval=yes
14766 else
14767 defaultval=no
14768 fi
14769 fi
14770
14771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14772 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14773 # Check whether --enable-numberdlg was given.
14774 if test "${enable_numberdlg+set}" = set; then
14775 enableval=$enable_numberdlg;
14776 if test "$enableval" = yes; then
14777 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14778 else
14779 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14780 fi
14781 cache=yes
14782
14783 else
14784
14785 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14786 if test "x$LINE" != x ; then
14787 eval "DEFAULT_$LINE"
14788 cache=yes
14789 else
14790 cache=no
14791 fi
14792
14793 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14794
14795 fi
14796
14797
14798 eval "$wx_cv_use_numberdlg"
14799 if test "x$cache" = xyes; then
14800 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14801 fi
14802
14803 if test x"$enablestring" = xdisable; then
14804 if test $wxUSE_NUMBERDLG = yes; then
14805 result=no
14806 else
14807 result=yes
14808 fi
14809 else
14810 result=$wxUSE_NUMBERDLG
14811 fi
14812
14813 { echo "$as_me:$LINENO: result: $result" >&5
14814 echo "${ECHO_T}$result" >&6; }
14815
14816
14817 enablestring=
14818 defaultval=$wxUSE_ALL_FEATURES
14819 if test -z "$defaultval"; then
14820 if test x"$enablestring" = xdisable; then
14821 defaultval=yes
14822 else
14823 defaultval=no
14824 fi
14825 fi
14826
14827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14828 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14829 # Check whether --enable-splash was given.
14830 if test "${enable_splash+set}" = set; then
14831 enableval=$enable_splash;
14832 if test "$enableval" = yes; then
14833 wx_cv_use_splash='wxUSE_SPLASH=yes'
14834 else
14835 wx_cv_use_splash='wxUSE_SPLASH=no'
14836 fi
14837 cache=yes
14838
14839 else
14840
14841 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14842 if test "x$LINE" != x ; then
14843 eval "DEFAULT_$LINE"
14844 cache=yes
14845 else
14846 cache=no
14847 fi
14848
14849 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14850
14851 fi
14852
14853
14854 eval "$wx_cv_use_splash"
14855 if test "x$cache" = xyes; then
14856 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14857 fi
14858
14859 if test x"$enablestring" = xdisable; then
14860 if test $wxUSE_SPLASH = yes; then
14861 result=no
14862 else
14863 result=yes
14864 fi
14865 else
14866 result=$wxUSE_SPLASH
14867 fi
14868
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14871
14872
14873 enablestring=
14874 defaultval=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x"$enablestring" = xdisable; then
14877 defaultval=yes
14878 else
14879 defaultval=no
14880 fi
14881 fi
14882
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14885 # Check whether --enable-textdlg was given.
14886 if test "${enable_textdlg+set}" = set; then
14887 enableval=$enable_textdlg;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14890 else
14891 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14892 fi
14893 cache=yes
14894
14895 else
14896
14897 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x ; then
14899 eval "DEFAULT_$LINE"
14900 cache=yes
14901 else
14902 cache=no
14903 fi
14904
14905 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14906
14907 fi
14908
14909
14910 eval "$wx_cv_use_textdlg"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14913 fi
14914
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_TEXTDLG = yes; then
14917 result=no
14918 else
14919 result=yes
14920 fi
14921 else
14922 result=$wxUSE_TEXTDLG
14923 fi
14924
14925 { echo "$as_me:$LINENO: result: $result" >&5
14926 echo "${ECHO_T}$result" >&6; }
14927
14928
14929 enablestring=
14930 defaultval=$wxUSE_ALL_FEATURES
14931 if test -z "$defaultval"; then
14932 if test x"$enablestring" = xdisable; then
14933 defaultval=yes
14934 else
14935 defaultval=no
14936 fi
14937 fi
14938
14939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14941 # Check whether --enable-tipdlg was given.
14942 if test "${enable_tipdlg+set}" = set; then
14943 enableval=$enable_tipdlg;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14946 else
14947 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14948 fi
14949 cache=yes
14950
14951 else
14952
14953 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14954 if test "x$LINE" != x ; then
14955 eval "DEFAULT_$LINE"
14956 cache=yes
14957 else
14958 cache=no
14959 fi
14960
14961 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14962
14963 fi
14964
14965
14966 eval "$wx_cv_use_tipdlg"
14967 if test "x$cache" = xyes; then
14968 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14969 fi
14970
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_STARTUP_TIPS = yes; then
14973 result=no
14974 else
14975 result=yes
14976 fi
14977 else
14978 result=$wxUSE_STARTUP_TIPS
14979 fi
14980
14981 { echo "$as_me:$LINENO: result: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14983
14984
14985 enablestring=
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14989 defaultval=yes
14990 else
14991 defaultval=no
14992 fi
14993 fi
14994
14995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14996 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14997 # Check whether --enable-progressdlg was given.
14998 if test "${enable_progressdlg+set}" = set; then
14999 enableval=$enable_progressdlg;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15002 else
15003 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15004 fi
15005 cache=yes
15006
15007 else
15008
15009 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
15010 if test "x$LINE" != x ; then
15011 eval "DEFAULT_$LINE"
15012 cache=yes
15013 else
15014 cache=no
15015 fi
15016
15017 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15018
15019 fi
15020
15021
15022 eval "$wx_cv_use_progressdlg"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15025 fi
15026
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_PROGRESSDLG = yes; then
15029 result=no
15030 else
15031 result=yes
15032 fi
15033 else
15034 result=$wxUSE_PROGRESSDLG
15035 fi
15036
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15039
15040
15041 enablestring=
15042 defaultval=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x"$enablestring" = xdisable; then
15045 defaultval=yes
15046 else
15047 defaultval=no
15048 fi
15049 fi
15050
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15053 # Check whether --enable-wizarddlg was given.
15054 if test "${enable_wizarddlg+set}" = set; then
15055 enableval=$enable_wizarddlg;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15058 else
15059 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15060 fi
15061 cache=yes
15062
15063 else
15064
15065 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15066 if test "x$LINE" != x ; then
15067 eval "DEFAULT_$LINE"
15068 cache=yes
15069 else
15070 cache=no
15071 fi
15072
15073 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15074
15075 fi
15076
15077
15078 eval "$wx_cv_use_wizarddlg"
15079 if test "x$cache" = xyes; then
15080 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15081 fi
15082
15083 if test x"$enablestring" = xdisable; then
15084 if test $wxUSE_WIZARDDLG = yes; then
15085 result=no
15086 else
15087 result=yes
15088 fi
15089 else
15090 result=$wxUSE_WIZARDDLG
15091 fi
15092
15093 { echo "$as_me:$LINENO: result: $result" >&5
15094 echo "${ECHO_T}$result" >&6; }
15095
15096
15097
15098
15099 enablestring=
15100 defaultval=$wxUSE_ALL_FEATURES
15101 if test -z "$defaultval"; then
15102 if test x"$enablestring" = xdisable; then
15103 defaultval=yes
15104 else
15105 defaultval=no
15106 fi
15107 fi
15108
15109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15110 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15111 # Check whether --enable-menus was given.
15112 if test "${enable_menus+set}" = set; then
15113 enableval=$enable_menus;
15114 if test "$enableval" = yes; then
15115 wx_cv_use_menus='wxUSE_MENUS=yes'
15116 else
15117 wx_cv_use_menus='wxUSE_MENUS=no'
15118 fi
15119 cache=yes
15120
15121 else
15122
15123 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15124 if test "x$LINE" != x ; then
15125 eval "DEFAULT_$LINE"
15126 cache=yes
15127 else
15128 cache=no
15129 fi
15130
15131 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15132
15133 fi
15134
15135
15136 eval "$wx_cv_use_menus"
15137 if test "x$cache" = xyes; then
15138 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15139 fi
15140
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_MENUS = yes; then
15143 result=no
15144 else
15145 result=yes
15146 fi
15147 else
15148 result=$wxUSE_MENUS
15149 fi
15150
15151 { echo "$as_me:$LINENO: result: $result" >&5
15152 echo "${ECHO_T}$result" >&6; }
15153
15154
15155 enablestring=
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15159 defaultval=yes
15160 else
15161 defaultval=no
15162 fi
15163 fi
15164
15165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15166 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15167 # Check whether --enable-miniframe was given.
15168 if test "${enable_miniframe+set}" = set; then
15169 enableval=$enable_miniframe;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15172 else
15173 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15174 fi
15175 cache=yes
15176
15177 else
15178
15179 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15180 if test "x$LINE" != x ; then
15181 eval "DEFAULT_$LINE"
15182 cache=yes
15183 else
15184 cache=no
15185 fi
15186
15187 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15188
15189 fi
15190
15191
15192 eval "$wx_cv_use_miniframe"
15193 if test "x$cache" = xyes; then
15194 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15195 fi
15196
15197 if test x"$enablestring" = xdisable; then
15198 if test $wxUSE_MINIFRAME = yes; then
15199 result=no
15200 else
15201 result=yes
15202 fi
15203 else
15204 result=$wxUSE_MINIFRAME
15205 fi
15206
15207 { echo "$as_me:$LINENO: result: $result" >&5
15208 echo "${ECHO_T}$result" >&6; }
15209
15210
15211 enablestring=
15212 defaultval=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x"$enablestring" = xdisable; then
15215 defaultval=yes
15216 else
15217 defaultval=no
15218 fi
15219 fi
15220
15221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15222 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15223 # Check whether --enable-tooltips was given.
15224 if test "${enable_tooltips+set}" = set; then
15225 enableval=$enable_tooltips;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15228 else
15229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15230 fi
15231 cache=yes
15232
15233 else
15234
15235 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15236 if test "x$LINE" != x ; then
15237 eval "DEFAULT_$LINE"
15238 cache=yes
15239 else
15240 cache=no
15241 fi
15242
15243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15244
15245 fi
15246
15247
15248 eval "$wx_cv_use_tooltips"
15249 if test "x$cache" = xyes; then
15250 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15251 fi
15252
15253 if test x"$enablestring" = xdisable; then
15254 if test $wxUSE_TOOLTIPS = yes; then
15255 result=no
15256 else
15257 result=yes
15258 fi
15259 else
15260 result=$wxUSE_TOOLTIPS
15261 fi
15262
15263 { echo "$as_me:$LINENO: result: $result" >&5
15264 echo "${ECHO_T}$result" >&6; }
15265
15266
15267 enablestring=
15268 defaultval=$wxUSE_ALL_FEATURES
15269 if test -z "$defaultval"; then
15270 if test x"$enablestring" = xdisable; then
15271 defaultval=yes
15272 else
15273 defaultval=no
15274 fi
15275 fi
15276
15277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15278 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15279 # Check whether --enable-splines was given.
15280 if test "${enable_splines+set}" = set; then
15281 enableval=$enable_splines;
15282 if test "$enableval" = yes; then
15283 wx_cv_use_splines='wxUSE_SPLINES=yes'
15284 else
15285 wx_cv_use_splines='wxUSE_SPLINES=no'
15286 fi
15287 cache=yes
15288
15289 else
15290
15291 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15292 if test "x$LINE" != x ; then
15293 eval "DEFAULT_$LINE"
15294 cache=yes
15295 else
15296 cache=no
15297 fi
15298
15299 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15300
15301 fi
15302
15303
15304 eval "$wx_cv_use_splines"
15305 if test "x$cache" = xyes; then
15306 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15307 fi
15308
15309 if test x"$enablestring" = xdisable; then
15310 if test $wxUSE_SPLINES = yes; then
15311 result=no
15312 else
15313 result=yes
15314 fi
15315 else
15316 result=$wxUSE_SPLINES
15317 fi
15318
15319 { echo "$as_me:$LINENO: result: $result" >&5
15320 echo "${ECHO_T}$result" >&6; }
15321
15322
15323 enablestring=
15324 defaultval=$wxUSE_ALL_FEATURES
15325 if test -z "$defaultval"; then
15326 if test x"$enablestring" = xdisable; then
15327 defaultval=yes
15328 else
15329 defaultval=no
15330 fi
15331 fi
15332
15333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15334 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15335 # Check whether --enable-mousewheel was given.
15336 if test "${enable_mousewheel+set}" = set; then
15337 enableval=$enable_mousewheel;
15338 if test "$enableval" = yes; then
15339 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15340 else
15341 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15342 fi
15343 cache=yes
15344
15345 else
15346
15347 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15348 if test "x$LINE" != x ; then
15349 eval "DEFAULT_$LINE"
15350 cache=yes
15351 else
15352 cache=no
15353 fi
15354
15355 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15356
15357 fi
15358
15359
15360 eval "$wx_cv_use_mousewheel"
15361 if test "x$cache" = xyes; then
15362 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15363 fi
15364
15365 if test x"$enablestring" = xdisable; then
15366 if test $wxUSE_MOUSEWHEEL = yes; then
15367 result=no
15368 else
15369 result=yes
15370 fi
15371 else
15372 result=$wxUSE_MOUSEWHEEL
15373 fi
15374
15375 { echo "$as_me:$LINENO: result: $result" >&5
15376 echo "${ECHO_T}$result" >&6; }
15377
15378
15379 enablestring=
15380 defaultval=$wxUSE_ALL_FEATURES
15381 if test -z "$defaultval"; then
15382 if test x"$enablestring" = xdisable; then
15383 defaultval=yes
15384 else
15385 defaultval=no
15386 fi
15387 fi
15388
15389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15390 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15391 # Check whether --enable-validators was given.
15392 if test "${enable_validators+set}" = set; then
15393 enableval=$enable_validators;
15394 if test "$enableval" = yes; then
15395 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15396 else
15397 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15398 fi
15399 cache=yes
15400
15401 else
15402
15403 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15404 if test "x$LINE" != x ; then
15405 eval "DEFAULT_$LINE"
15406 cache=yes
15407 else
15408 cache=no
15409 fi
15410
15411 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15412
15413 fi
15414
15415
15416 eval "$wx_cv_use_validators"
15417 if test "x$cache" = xyes; then
15418 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15419 fi
15420
15421 if test x"$enablestring" = xdisable; then
15422 if test $wxUSE_VALIDATORS = yes; then
15423 result=no
15424 else
15425 result=yes
15426 fi
15427 else
15428 result=$wxUSE_VALIDATORS
15429 fi
15430
15431 { echo "$as_me:$LINENO: result: $result" >&5
15432 echo "${ECHO_T}$result" >&6; }
15433
15434
15435 enablestring=
15436 defaultval=$wxUSE_ALL_FEATURES
15437 if test -z "$defaultval"; then
15438 if test x"$enablestring" = xdisable; then
15439 defaultval=yes
15440 else
15441 defaultval=no
15442 fi
15443 fi
15444
15445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15446 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15447 # Check whether --enable-busyinfo was given.
15448 if test "${enable_busyinfo+set}" = set; then
15449 enableval=$enable_busyinfo;
15450 if test "$enableval" = yes; then
15451 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15452 else
15453 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15454 fi
15455 cache=yes
15456
15457 else
15458
15459 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15460 if test "x$LINE" != x ; then
15461 eval "DEFAULT_$LINE"
15462 cache=yes
15463 else
15464 cache=no
15465 fi
15466
15467 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15468
15469 fi
15470
15471
15472 eval "$wx_cv_use_busyinfo"
15473 if test "x$cache" = xyes; then
15474 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15475 fi
15476
15477 if test x"$enablestring" = xdisable; then
15478 if test $wxUSE_BUSYINFO = yes; then
15479 result=no
15480 else
15481 result=yes
15482 fi
15483 else
15484 result=$wxUSE_BUSYINFO
15485 fi
15486
15487 { echo "$as_me:$LINENO: result: $result" >&5
15488 echo "${ECHO_T}$result" >&6; }
15489
15490
15491 enablestring=
15492 defaultval=$wxUSE_ALL_FEATURES
15493 if test -z "$defaultval"; then
15494 if test x"$enablestring" = xdisable; then
15495 defaultval=yes
15496 else
15497 defaultval=no
15498 fi
15499 fi
15500
15501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15502 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15503 # Check whether --enable-joystick was given.
15504 if test "${enable_joystick+set}" = set; then
15505 enableval=$enable_joystick;
15506 if test "$enableval" = yes; then
15507 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15508 else
15509 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15510 fi
15511 cache=yes
15512
15513 else
15514
15515 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15516 if test "x$LINE" != x ; then
15517 eval "DEFAULT_$LINE"
15518 cache=yes
15519 else
15520 cache=no
15521 fi
15522
15523 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15524
15525 fi
15526
15527
15528 eval "$wx_cv_use_joystick"
15529 if test "x$cache" = xyes; then
15530 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15531 fi
15532
15533 if test x"$enablestring" = xdisable; then
15534 if test $wxUSE_JOYSTICK = yes; then
15535 result=no
15536 else
15537 result=yes
15538 fi
15539 else
15540 result=$wxUSE_JOYSTICK
15541 fi
15542
15543 { echo "$as_me:$LINENO: result: $result" >&5
15544 echo "${ECHO_T}$result" >&6; }
15545
15546
15547 enablestring=
15548 defaultval=$wxUSE_ALL_FEATURES
15549 if test -z "$defaultval"; then
15550 if test x"$enablestring" = xdisable; then
15551 defaultval=yes
15552 else
15553 defaultval=no
15554 fi
15555 fi
15556
15557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15558 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15559 # Check whether --enable-metafile was given.
15560 if test "${enable_metafile+set}" = set; then
15561 enableval=$enable_metafile;
15562 if test "$enableval" = yes; then
15563 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15564 else
15565 wx_cv_use_metafile='wxUSE_METAFILE=no'
15566 fi
15567 cache=yes
15568
15569 else
15570
15571 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15572 if test "x$LINE" != x ; then
15573 eval "DEFAULT_$LINE"
15574 cache=yes
15575 else
15576 cache=no
15577 fi
15578
15579 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15580
15581 fi
15582
15583
15584 eval "$wx_cv_use_metafile"
15585 if test "x$cache" = xyes; then
15586 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15587 fi
15588
15589 if test x"$enablestring" = xdisable; then
15590 if test $wxUSE_METAFILE = yes; then
15591 result=no
15592 else
15593 result=yes
15594 fi
15595 else
15596 result=$wxUSE_METAFILE
15597 fi
15598
15599 { echo "$as_me:$LINENO: result: $result" >&5
15600 echo "${ECHO_T}$result" >&6; }
15601
15602
15603 enablestring=
15604 defaultval=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x"$enablestring" = xdisable; then
15607 defaultval=yes
15608 else
15609 defaultval=no
15610 fi
15611 fi
15612
15613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15614 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15615 # Check whether --enable-dragimage was given.
15616 if test "${enable_dragimage+set}" = set; then
15617 enableval=$enable_dragimage;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15620 else
15621 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15622 fi
15623 cache=yes
15624
15625 else
15626
15627 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15628 if test "x$LINE" != x ; then
15629 eval "DEFAULT_$LINE"
15630 cache=yes
15631 else
15632 cache=no
15633 fi
15634
15635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15636
15637 fi
15638
15639
15640 eval "$wx_cv_use_dragimage"
15641 if test "x$cache" = xyes; then
15642 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15643 fi
15644
15645 if test x"$enablestring" = xdisable; then
15646 if test $wxUSE_DRAGIMAGE = yes; then
15647 result=no
15648 else
15649 result=yes
15650 fi
15651 else
15652 result=$wxUSE_DRAGIMAGE
15653 fi
15654
15655 { echo "$as_me:$LINENO: result: $result" >&5
15656 echo "${ECHO_T}$result" >&6; }
15657
15658
15659 enablestring=
15660 defaultval=$wxUSE_ALL_FEATURES
15661 if test -z "$defaultval"; then
15662 if test x"$enablestring" = xdisable; then
15663 defaultval=yes
15664 else
15665 defaultval=no
15666 fi
15667 fi
15668
15669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15670 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15671 # Check whether --enable-accessibility was given.
15672 if test "${enable_accessibility+set}" = set; then
15673 enableval=$enable_accessibility;
15674 if test "$enableval" = yes; then
15675 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15676 else
15677 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15678 fi
15679 cache=yes
15680
15681 else
15682
15683 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15684 if test "x$LINE" != x ; then
15685 eval "DEFAULT_$LINE"
15686 cache=yes
15687 else
15688 cache=no
15689 fi
15690
15691 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15692
15693 fi
15694
15695
15696 eval "$wx_cv_use_accessibility"
15697 if test "x$cache" = xyes; then
15698 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15699 fi
15700
15701 if test x"$enablestring" = xdisable; then
15702 if test $wxUSE_ACCESSIBILITY = yes; then
15703 result=no
15704 else
15705 result=yes
15706 fi
15707 else
15708 result=$wxUSE_ACCESSIBILITY
15709 fi
15710
15711 { echo "$as_me:$LINENO: result: $result" >&5
15712 echo "${ECHO_T}$result" >&6; }
15713
15714
15715
15716
15717 enablestring=
15718 defaultval=$wxUSE_ALL_FEATURES
15719 if test -z "$defaultval"; then
15720 if test x"$enablestring" = xdisable; then
15721 defaultval=yes
15722 else
15723 defaultval=no
15724 fi
15725 fi
15726
15727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15728 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15729 # Check whether --enable-palette was given.
15730 if test "${enable_palette+set}" = set; then
15731 enableval=$enable_palette;
15732 if test "$enableval" = yes; then
15733 wx_cv_use_palette='wxUSE_PALETTE=yes'
15734 else
15735 wx_cv_use_palette='wxUSE_PALETTE=no'
15736 fi
15737 cache=yes
15738
15739 else
15740
15741 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15742 if test "x$LINE" != x ; then
15743 eval "DEFAULT_$LINE"
15744 cache=yes
15745 else
15746 cache=no
15747 fi
15748
15749 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15750
15751 fi
15752
15753
15754 eval "$wx_cv_use_palette"
15755 if test "x$cache" = xyes; then
15756 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15757 fi
15758
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_PALETTE = yes; then
15761 result=no
15762 else
15763 result=yes
15764 fi
15765 else
15766 result=$wxUSE_PALETTE
15767 fi
15768
15769 { echo "$as_me:$LINENO: result: $result" >&5
15770 echo "${ECHO_T}$result" >&6; }
15771
15772
15773 enablestring=
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15777 defaultval=yes
15778 else
15779 defaultval=no
15780 fi
15781 fi
15782
15783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15784 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15785 # Check whether --enable-image was given.
15786 if test "${enable_image+set}" = set; then
15787 enableval=$enable_image;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_image='wxUSE_IMAGE=yes'
15790 else
15791 wx_cv_use_image='wxUSE_IMAGE=no'
15792 fi
15793 cache=yes
15794
15795 else
15796
15797 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15798 if test "x$LINE" != x ; then
15799 eval "DEFAULT_$LINE"
15800 cache=yes
15801 else
15802 cache=no
15803 fi
15804
15805 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15806
15807 fi
15808
15809
15810 eval "$wx_cv_use_image"
15811 if test "x$cache" = xyes; then
15812 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15813 fi
15814
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_IMAGE = yes; then
15817 result=no
15818 else
15819 result=yes
15820 fi
15821 else
15822 result=$wxUSE_IMAGE
15823 fi
15824
15825 { echo "$as_me:$LINENO: result: $result" >&5
15826 echo "${ECHO_T}$result" >&6; }
15827
15828
15829 enablestring=
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15833 defaultval=yes
15834 else
15835 defaultval=no
15836 fi
15837 fi
15838
15839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15840 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15841 # Check whether --enable-gif was given.
15842 if test "${enable_gif+set}" = set; then
15843 enableval=$enable_gif;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_gif='wxUSE_GIF=yes'
15846 else
15847 wx_cv_use_gif='wxUSE_GIF=no'
15848 fi
15849 cache=yes
15850
15851 else
15852
15853 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15854 if test "x$LINE" != x ; then
15855 eval "DEFAULT_$LINE"
15856 cache=yes
15857 else
15858 cache=no
15859 fi
15860
15861 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15862
15863 fi
15864
15865
15866 eval "$wx_cv_use_gif"
15867 if test "x$cache" = xyes; then
15868 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15869 fi
15870
15871 if test x"$enablestring" = xdisable; then
15872 if test $wxUSE_GIF = yes; then
15873 result=no
15874 else
15875 result=yes
15876 fi
15877 else
15878 result=$wxUSE_GIF
15879 fi
15880
15881 { echo "$as_me:$LINENO: result: $result" >&5
15882 echo "${ECHO_T}$result" >&6; }
15883
15884
15885 enablestring=
15886 defaultval=$wxUSE_ALL_FEATURES
15887 if test -z "$defaultval"; then
15888 if test x"$enablestring" = xdisable; then
15889 defaultval=yes
15890 else
15891 defaultval=no
15892 fi
15893 fi
15894
15895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15897 # Check whether --enable-pcx was given.
15898 if test "${enable_pcx+set}" = set; then
15899 enableval=$enable_pcx;
15900 if test "$enableval" = yes; then
15901 wx_cv_use_pcx='wxUSE_PCX=yes'
15902 else
15903 wx_cv_use_pcx='wxUSE_PCX=no'
15904 fi
15905 cache=yes
15906
15907 else
15908
15909 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15910 if test "x$LINE" != x ; then
15911 eval "DEFAULT_$LINE"
15912 cache=yes
15913 else
15914 cache=no
15915 fi
15916
15917 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15918
15919 fi
15920
15921
15922 eval "$wx_cv_use_pcx"
15923 if test "x$cache" = xyes; then
15924 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15925 fi
15926
15927 if test x"$enablestring" = xdisable; then
15928 if test $wxUSE_PCX = yes; then
15929 result=no
15930 else
15931 result=yes
15932 fi
15933 else
15934 result=$wxUSE_PCX
15935 fi
15936
15937 { echo "$as_me:$LINENO: result: $result" >&5
15938 echo "${ECHO_T}$result" >&6; }
15939
15940
15941 enablestring=
15942 defaultval=$wxUSE_ALL_FEATURES
15943 if test -z "$defaultval"; then
15944 if test x"$enablestring" = xdisable; then
15945 defaultval=yes
15946 else
15947 defaultval=no
15948 fi
15949 fi
15950
15951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15952 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15953 # Check whether --enable-tga was given.
15954 if test "${enable_tga+set}" = set; then
15955 enableval=$enable_tga;
15956 if test "$enableval" = yes; then
15957 wx_cv_use_tga='wxUSE_TGA=yes'
15958 else
15959 wx_cv_use_tga='wxUSE_TGA=no'
15960 fi
15961 cache=yes
15962
15963 else
15964
15965 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15966 if test "x$LINE" != x ; then
15967 eval "DEFAULT_$LINE"
15968 cache=yes
15969 else
15970 cache=no
15971 fi
15972
15973 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15974
15975 fi
15976
15977
15978 eval "$wx_cv_use_tga"
15979 if test "x$cache" = xyes; then
15980 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15981 fi
15982
15983 if test x"$enablestring" = xdisable; then
15984 if test $wxUSE_TGA = yes; then
15985 result=no
15986 else
15987 result=yes
15988 fi
15989 else
15990 result=$wxUSE_TGA
15991 fi
15992
15993 { echo "$as_me:$LINENO: result: $result" >&5
15994 echo "${ECHO_T}$result" >&6; }
15995
15996
15997 enablestring=
15998 defaultval=$wxUSE_ALL_FEATURES
15999 if test -z "$defaultval"; then
16000 if test x"$enablestring" = xdisable; then
16001 defaultval=yes
16002 else
16003 defaultval=no
16004 fi
16005 fi
16006
16007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
16008 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
16009 # Check whether --enable-iff was given.
16010 if test "${enable_iff+set}" = set; then
16011 enableval=$enable_iff;
16012 if test "$enableval" = yes; then
16013 wx_cv_use_iff='wxUSE_IFF=yes'
16014 else
16015 wx_cv_use_iff='wxUSE_IFF=no'
16016 fi
16017 cache=yes
16018
16019 else
16020
16021 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16022 if test "x$LINE" != x ; then
16023 eval "DEFAULT_$LINE"
16024 cache=yes
16025 else
16026 cache=no
16027 fi
16028
16029 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16030
16031 fi
16032
16033
16034 eval "$wx_cv_use_iff"
16035 if test "x$cache" = xyes; then
16036 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16037 fi
16038
16039 if test x"$enablestring" = xdisable; then
16040 if test $wxUSE_IFF = yes; then
16041 result=no
16042 else
16043 result=yes
16044 fi
16045 else
16046 result=$wxUSE_IFF
16047 fi
16048
16049 { echo "$as_me:$LINENO: result: $result" >&5
16050 echo "${ECHO_T}$result" >&6; }
16051
16052
16053 enablestring=
16054 defaultval=$wxUSE_ALL_FEATURES
16055 if test -z "$defaultval"; then
16056 if test x"$enablestring" = xdisable; then
16057 defaultval=yes
16058 else
16059 defaultval=no
16060 fi
16061 fi
16062
16063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16064 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16065 # Check whether --enable-pnm was given.
16066 if test "${enable_pnm+set}" = set; then
16067 enableval=$enable_pnm;
16068 if test "$enableval" = yes; then
16069 wx_cv_use_pnm='wxUSE_PNM=yes'
16070 else
16071 wx_cv_use_pnm='wxUSE_PNM=no'
16072 fi
16073 cache=yes
16074
16075 else
16076
16077 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16078 if test "x$LINE" != x ; then
16079 eval "DEFAULT_$LINE"
16080 cache=yes
16081 else
16082 cache=no
16083 fi
16084
16085 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16086
16087 fi
16088
16089
16090 eval "$wx_cv_use_pnm"
16091 if test "x$cache" = xyes; then
16092 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16093 fi
16094
16095 if test x"$enablestring" = xdisable; then
16096 if test $wxUSE_PNM = yes; then
16097 result=no
16098 else
16099 result=yes
16100 fi
16101 else
16102 result=$wxUSE_PNM
16103 fi
16104
16105 { echo "$as_me:$LINENO: result: $result" >&5
16106 echo "${ECHO_T}$result" >&6; }
16107
16108
16109 enablestring=
16110 defaultval=$wxUSE_ALL_FEATURES
16111 if test -z "$defaultval"; then
16112 if test x"$enablestring" = xdisable; then
16113 defaultval=yes
16114 else
16115 defaultval=no
16116 fi
16117 fi
16118
16119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16120 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16121 # Check whether --enable-xpm was given.
16122 if test "${enable_xpm+set}" = set; then
16123 enableval=$enable_xpm;
16124 if test "$enableval" = yes; then
16125 wx_cv_use_xpm='wxUSE_XPM=yes'
16126 else
16127 wx_cv_use_xpm='wxUSE_XPM=no'
16128 fi
16129 cache=yes
16130
16131 else
16132
16133 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16134 if test "x$LINE" != x ; then
16135 eval "DEFAULT_$LINE"
16136 cache=yes
16137 else
16138 cache=no
16139 fi
16140
16141 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16142
16143 fi
16144
16145
16146 eval "$wx_cv_use_xpm"
16147 if test "x$cache" = xyes; then
16148 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16149 fi
16150
16151 if test x"$enablestring" = xdisable; then
16152 if test $wxUSE_XPM = yes; then
16153 result=no
16154 else
16155 result=yes
16156 fi
16157 else
16158 result=$wxUSE_XPM
16159 fi
16160
16161 { echo "$as_me:$LINENO: result: $result" >&5
16162 echo "${ECHO_T}$result" >&6; }
16163
16164
16165 enablestring=
16166 defaultval=$wxUSE_ALL_FEATURES
16167 if test -z "$defaultval"; then
16168 if test x"$enablestring" = xdisable; then
16169 defaultval=yes
16170 else
16171 defaultval=no
16172 fi
16173 fi
16174
16175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16176 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16177 # Check whether --enable-ico_cur was given.
16178 if test "${enable_ico_cur+set}" = set; then
16179 enableval=$enable_ico_cur;
16180 if test "$enableval" = yes; then
16181 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16182 else
16183 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16184 fi
16185 cache=yes
16186
16187 else
16188
16189 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16190 if test "x$LINE" != x ; then
16191 eval "DEFAULT_$LINE"
16192 cache=yes
16193 else
16194 cache=no
16195 fi
16196
16197 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16198
16199 fi
16200
16201
16202 eval "$wx_cv_use_ico_cur"
16203 if test "x$cache" = xyes; then
16204 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16205 fi
16206
16207 if test x"$enablestring" = xdisable; then
16208 if test $wxUSE_ICO_CUR = yes; then
16209 result=no
16210 else
16211 result=yes
16212 fi
16213 else
16214 result=$wxUSE_ICO_CUR
16215 fi
16216
16217 { echo "$as_me:$LINENO: result: $result" >&5
16218 echo "${ECHO_T}$result" >&6; }
16219
16220
16221
16222
16223 enablestring=
16224 defaultval=$wxUSE_ALL_FEATURES
16225 if test -z "$defaultval"; then
16226 if test x"$enablestring" = xdisable; then
16227 defaultval=yes
16228 else
16229 defaultval=no
16230 fi
16231 fi
16232
16233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16234 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16235 # Check whether --enable-dccache was given.
16236 if test "${enable_dccache+set}" = set; then
16237 enableval=$enable_dccache;
16238 if test "$enableval" = yes; then
16239 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16240 else
16241 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16242 fi
16243 cache=yes
16244
16245 else
16246
16247 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16248 if test "x$LINE" != x ; then
16249 eval "DEFAULT_$LINE"
16250 cache=yes
16251 else
16252 cache=no
16253 fi
16254
16255 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16256
16257 fi
16258
16259
16260 eval "$wx_cv_use_dccache"
16261 if test "x$cache" = xyes; then
16262 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16263 fi
16264
16265 if test x"$enablestring" = xdisable; then
16266 if test $wxUSE_DC_CACHEING = yes; then
16267 result=no
16268 else
16269 result=yes
16270 fi
16271 else
16272 result=$wxUSE_DC_CACHEING
16273 fi
16274
16275 { echo "$as_me:$LINENO: result: $result" >&5
16276 echo "${ECHO_T}$result" >&6; }
16277
16278
16279 enablestring=
16280 defaultval=$wxUSE_ALL_FEATURES
16281 if test -z "$defaultval"; then
16282 if test x"$enablestring" = xdisable; then
16283 defaultval=yes
16284 else
16285 defaultval=no
16286 fi
16287 fi
16288
16289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16290 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16291 # Check whether --enable-ps-in-msw was given.
16292 if test "${enable_ps_in_msw+set}" = set; then
16293 enableval=$enable_ps_in_msw;
16294 if test "$enableval" = yes; then
16295 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16296 else
16297 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16298 fi
16299 cache=yes
16300
16301 else
16302
16303 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16304 if test "x$LINE" != x ; then
16305 eval "DEFAULT_$LINE"
16306 cache=yes
16307 else
16308 cache=no
16309 fi
16310
16311 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16312
16313 fi
16314
16315
16316 eval "$wx_cv_use_ps_in_msw"
16317 if test "x$cache" = xyes; then
16318 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16319 fi
16320
16321 if test x"$enablestring" = xdisable; then
16322 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16323 result=no
16324 else
16325 result=yes
16326 fi
16327 else
16328 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16329 fi
16330
16331 { echo "$as_me:$LINENO: result: $result" >&5
16332 echo "${ECHO_T}$result" >&6; }
16333
16334
16335 enablestring=
16336 defaultval=$wxUSE_ALL_FEATURES
16337 if test -z "$defaultval"; then
16338 if test x"$enablestring" = xdisable; then
16339 defaultval=yes
16340 else
16341 defaultval=no
16342 fi
16343 fi
16344
16345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16346 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16347 # Check whether --enable-ownerdrawn was given.
16348 if test "${enable_ownerdrawn+set}" = set; then
16349 enableval=$enable_ownerdrawn;
16350 if test "$enableval" = yes; then
16351 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16352 else
16353 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16354 fi
16355 cache=yes
16356
16357 else
16358
16359 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16360 if test "x$LINE" != x ; then
16361 eval "DEFAULT_$LINE"
16362 cache=yes
16363 else
16364 cache=no
16365 fi
16366
16367 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16368
16369 fi
16370
16371
16372 eval "$wx_cv_use_ownerdrawn"
16373 if test "x$cache" = xyes; then
16374 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16375 fi
16376
16377 if test x"$enablestring" = xdisable; then
16378 if test $wxUSE_OWNER_DRAWN = yes; then
16379 result=no
16380 else
16381 result=yes
16382 fi
16383 else
16384 result=$wxUSE_OWNER_DRAWN
16385 fi
16386
16387 { echo "$as_me:$LINENO: result: $result" >&5
16388 echo "${ECHO_T}$result" >&6; }
16389
16390
16391 enablestring=
16392 defaultval=$wxUSE_ALL_FEATURES
16393 if test -z "$defaultval"; then
16394 if test x"$enablestring" = xdisable; then
16395 defaultval=yes
16396 else
16397 defaultval=no
16398 fi
16399 fi
16400
16401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16402 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16403 # Check whether --enable-uxtheme was given.
16404 if test "${enable_uxtheme+set}" = set; then
16405 enableval=$enable_uxtheme;
16406 if test "$enableval" = yes; then
16407 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16408 else
16409 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16410 fi
16411 cache=yes
16412
16413 else
16414
16415 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16416 if test "x$LINE" != x ; then
16417 eval "DEFAULT_$LINE"
16418 cache=yes
16419 else
16420 cache=no
16421 fi
16422
16423 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16424
16425 fi
16426
16427
16428 eval "$wx_cv_use_uxtheme"
16429 if test "x$cache" = xyes; then
16430 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16431 fi
16432
16433 if test x"$enablestring" = xdisable; then
16434 if test $wxUSE_UXTHEME = yes; then
16435 result=no
16436 else
16437 result=yes
16438 fi
16439 else
16440 result=$wxUSE_UXTHEME
16441 fi
16442
16443 { echo "$as_me:$LINENO: result: $result" >&5
16444 echo "${ECHO_T}$result" >&6; }
16445
16446
16447 enablestring=
16448 defaultval=$wxUSE_ALL_FEATURES
16449 if test -z "$defaultval"; then
16450 if test x"$enablestring" = xdisable; then
16451 defaultval=yes
16452 else
16453 defaultval=no
16454 fi
16455 fi
16456
16457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16458 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16459 # Check whether --enable-wxdib was given.
16460 if test "${enable_wxdib+set}" = set; then
16461 enableval=$enable_wxdib;
16462 if test "$enableval" = yes; then
16463 wx_cv_use_wxdib='wxUSE_DIB=yes'
16464 else
16465 wx_cv_use_wxdib='wxUSE_DIB=no'
16466 fi
16467 cache=yes
16468
16469 else
16470
16471 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16472 if test "x$LINE" != x ; then
16473 eval "DEFAULT_$LINE"
16474 cache=yes
16475 else
16476 cache=no
16477 fi
16478
16479 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16480
16481 fi
16482
16483
16484 eval "$wx_cv_use_wxdib"
16485 if test "x$cache" = xyes; then
16486 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16487 fi
16488
16489 if test x"$enablestring" = xdisable; then
16490 if test $wxUSE_DIB = yes; then
16491 result=no
16492 else
16493 result=yes
16494 fi
16495 else
16496 result=$wxUSE_DIB
16497 fi
16498
16499 { echo "$as_me:$LINENO: result: $result" >&5
16500 echo "${ECHO_T}$result" >&6; }
16501
16502
16503 fi
16504
16505
16506 echo "saving argument cache $wx_arg_cache_file"
16507 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16508
16509
16510
16511 { echo "$as_me:$LINENO: checking for toolkit" >&5
16512 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16513
16514 # In Wine, we need to default to MSW, not GTK or MOTIF
16515 if test "$wxUSE_WINE" = "yes"; then
16516 DEFAULT_DEFAULT_wxUSE_GTK=0
16517 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16518 DEFAULT_DEFAULT_wxUSE_MSW=1
16519 wxUSE_SHARED=no
16520 CC=${CC:-winegcc}
16521 CXX=${CXX:-wineg++}
16522 fi
16523
16524
16525 if test "$wxUSE_GUI" = "yes"; then
16526
16527 if test "$USE_BEOS" = 1; then
16528 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16529 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16530 { (exit 1); exit 1; }; }
16531 fi
16532
16533 if test "$TOOLKIT_GIVEN" = 1; then
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16535 var=wxUSE_$toolkit
16536 eval "value=\$${var}"
16537 if test "x$value" = "xno"; then
16538 eval "$var=0"
16539 elif test "x$value" != "x"; then
16540 eval "$var=1"
16541 fi
16542
16543 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16544 eval "wx${toolkit}_VERSION=$value"
16545 fi
16546 done
16547 else
16548 for toolkit in `echo $ALL_TOOLKITS`; do
16549 if test "$has_toolkit_in_cache" != 1; then
16550 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16551 else
16552 var=DEFAULT_wxUSE_$toolkit
16553
16554 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16555 if test "x$version" != "x"; then
16556 eval "wx${toolkit}_VERSION=$version"
16557 fi
16558 fi
16559 eval "wxUSE_$toolkit=\$${var}"
16560 done
16561 fi
16562
16563 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16564 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16566
16567 case "${host}" in
16568 *-pc-os2_emx | *-pc-os2-emx )
16569 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16570 esac
16571
16572 case "$NUM_TOOLKITS" in
16573 1)
16574 ;;
16575 0)
16576 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16577 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16578 { (exit 1); exit 1; }; }
16579 ;;
16580 *)
16581 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16582 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16583 { (exit 1); exit 1; }; }
16584 esac
16585
16586 # to be removed when --disable-gtk2 isn't needed
16587 if test "x$wxUSE_GTK2" = "xyes"; then
16588 wxGTK_VERSION=2
16589 elif test "x$wxUSE_GTK2" = "xno"; then
16590 wxGTK_VERSION=1
16591 fi
16592
16593 for toolkit in `echo $ALL_TOOLKITS`; do
16594 var=wxUSE_$toolkit
16595 eval "value=\$${var}"
16596 if test "x$value" != x; then
16597 cache_var=CACHE_$toolkit
16598 eval "cache=\$${cache_var}"
16599 if test "$cache" = 1; then
16600 echo "$var=$value" >> ${wx_arg_cache_file}
16601 eval "version=\$wx${toolkit}_VERSION"
16602 if test "x$version" != "x"; then
16603 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16604 fi
16605 fi
16606 if test "$value" = 1; then
16607 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16608 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16609 echo "${ECHO_T}$toolkit_echo" >&6; }
16610 fi
16611 fi
16612 done
16613 else
16614 if test "x$host_alias" != "x"; then
16615 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16616 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16617 else
16618 { echo "$as_me:$LINENO: result: base only" >&5
16619 echo "${ECHO_T}base only" >&6; }
16620 fi
16621 fi
16622
16623
16624 cat >confcache <<\_ACEOF
16625 # This file is a shell script that caches the results of configure
16626 # tests run on this system so they can be shared between configure
16627 # scripts and configure runs, see configure's option --config-cache.
16628 # It is not useful on other systems. If it contains results you don't
16629 # want to keep, you may remove or edit it.
16630 #
16631 # config.status only pays attention to the cache file if you give it
16632 # the --recheck option to rerun configure.
16633 #
16634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16636 # following values.
16637
16638 _ACEOF
16639
16640 # The following way of writing the cache mishandles newlines in values,
16641 # but we know of no workaround that is simple, portable, and efficient.
16642 # So, we kill variables containing newlines.
16643 # Ultrix sh set writes to stderr and can't be redirected directly,
16644 # and sets the high bit in the cache file unless we assign to the vars.
16645 (
16646 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16647 eval ac_val=\$$ac_var
16648 case $ac_val in #(
16649 *${as_nl}*)
16650 case $ac_var in #(
16651 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16652 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16653 esac
16654 case $ac_var in #(
16655 _ | IFS | as_nl) ;; #(
16656 *) $as_unset $ac_var ;;
16657 esac ;;
16658 esac
16659 done
16660
16661 (set) 2>&1 |
16662 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16663 *${as_nl}ac_space=\ *)
16664 # `set' does not quote correctly, so add quotes (double-quote
16665 # substitution turns \\\\ into \\, and sed turns \\ into \).
16666 sed -n \
16667 "s/'/'\\\\''/g;
16668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16669 ;; #(
16670 *)
16671 # `set' quotes correctly as required by POSIX, so do not add quotes.
16672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16673 ;;
16674 esac |
16675 sort
16676 ) |
16677 sed '
16678 /^ac_cv_env_/b end
16679 t clear
16680 :clear
16681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16682 t end
16683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16684 :end' >>confcache
16685 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16686 if test -w "$cache_file"; then
16687 test "x$cache_file" != "x/dev/null" &&
16688 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16689 echo "$as_me: updating cache $cache_file" >&6;}
16690 cat confcache >$cache_file
16691 else
16692 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16693 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16694 fi
16695 fi
16696 rm -f confcache
16697
16698 CFLAGS=${CFLAGS:=}
16699
16700
16701
16702 ac_ext=c
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 if test -n "$ac_tool_prefix"; then
16708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16712 if test "${ac_cv_prog_CC+set}" = set; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 else
16715 if test -n "$CC"; then
16716 ac_cv_prog_CC="$CC" # Let the user override the test.
16717 else
16718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16719 for as_dir in $PATH
16720 do
16721 IFS=$as_save_IFS
16722 test -z "$as_dir" && as_dir=.
16723 for ac_exec_ext in '' $ac_executable_extensions; do
16724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16727 break 2
16728 fi
16729 done
16730 done
16731 IFS=$as_save_IFS
16732
16733 fi
16734 fi
16735 CC=$ac_cv_prog_CC
16736 if test -n "$CC"; then
16737 { echo "$as_me:$LINENO: result: $CC" >&5
16738 echo "${ECHO_T}$CC" >&6; }
16739 else
16740 { echo "$as_me:$LINENO: result: no" >&5
16741 echo "${ECHO_T}no" >&6; }
16742 fi
16743
16744
16745 fi
16746 if test -z "$ac_cv_prog_CC"; then
16747 ac_ct_CC=$CC
16748 # Extract the first word of "gcc", so it can be a program name with args.
16749 set dummy gcc; ac_word=$2
16750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755 if test -n "$ac_ct_CC"; then
16756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16757 else
16758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16759 for as_dir in $PATH
16760 do
16761 IFS=$as_save_IFS
16762 test -z "$as_dir" && as_dir=.
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_ac_ct_CC="gcc"
16766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16767 break 2
16768 fi
16769 done
16770 done
16771 IFS=$as_save_IFS
16772
16773 fi
16774 fi
16775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16776 if test -n "$ac_ct_CC"; then
16777 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16778 echo "${ECHO_T}$ac_ct_CC" >&6; }
16779 else
16780 { echo "$as_me:$LINENO: result: no" >&5
16781 echo "${ECHO_T}no" >&6; }
16782 fi
16783
16784 if test "x$ac_ct_CC" = x; then
16785 CC=""
16786 else
16787 case $cross_compiling:$ac_tool_warned in
16788 yes:)
16789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16790 whose name does not start with the host triplet. If you think this
16791 configuration is useful to you, please write to autoconf@gnu.org." >&5
16792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16793 whose name does not start with the host triplet. If you think this
16794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16795 ac_tool_warned=yes ;;
16796 esac
16797 CC=$ac_ct_CC
16798 fi
16799 else
16800 CC="$ac_cv_prog_CC"
16801 fi
16802
16803 if test -z "$CC"; then
16804 if test -n "$ac_tool_prefix"; then
16805 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16806 set dummy ${ac_tool_prefix}cc; ac_word=$2
16807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16809 if test "${ac_cv_prog_CC+set}" = set; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 else
16812 if test -n "$CC"; then
16813 ac_cv_prog_CC="$CC" # Let the user override the test.
16814 else
16815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16816 for as_dir in $PATH
16817 do
16818 IFS=$as_save_IFS
16819 test -z "$as_dir" && as_dir=.
16820 for ac_exec_ext in '' $ac_executable_extensions; do
16821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16822 ac_cv_prog_CC="${ac_tool_prefix}cc"
16823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16824 break 2
16825 fi
16826 done
16827 done
16828 IFS=$as_save_IFS
16829
16830 fi
16831 fi
16832 CC=$ac_cv_prog_CC
16833 if test -n "$CC"; then
16834 { echo "$as_me:$LINENO: result: $CC" >&5
16835 echo "${ECHO_T}$CC" >&6; }
16836 else
16837 { echo "$as_me:$LINENO: result: no" >&5
16838 echo "${ECHO_T}no" >&6; }
16839 fi
16840
16841
16842 fi
16843 fi
16844 if test -z "$CC"; then
16845 # Extract the first word of "cc", so it can be a program name with args.
16846 set dummy cc; 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 ac_prog_rejected=no
16856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16857 for as_dir in $PATH
16858 do
16859 IFS=$as_save_IFS
16860 test -z "$as_dir" && as_dir=.
16861 for ac_exec_ext in '' $ac_executable_extensions; do
16862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16863 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16864 ac_prog_rejected=yes
16865 continue
16866 fi
16867 ac_cv_prog_CC="cc"
16868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16869 break 2
16870 fi
16871 done
16872 done
16873 IFS=$as_save_IFS
16874
16875 if test $ac_prog_rejected = yes; then
16876 # We found a bogon in the path, so make sure we never use it.
16877 set dummy $ac_cv_prog_CC
16878 shift
16879 if test $# != 0; then
16880 # We chose a different compiler from the bogus one.
16881 # However, it has the same basename, so the bogon will be chosen
16882 # first if we set CC to just the basename; use the full file name.
16883 shift
16884 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16885 fi
16886 fi
16887 fi
16888 fi
16889 CC=$ac_cv_prog_CC
16890 if test -n "$CC"; then
16891 { echo "$as_me:$LINENO: result: $CC" >&5
16892 echo "${ECHO_T}$CC" >&6; }
16893 else
16894 { echo "$as_me:$LINENO: result: no" >&5
16895 echo "${ECHO_T}no" >&6; }
16896 fi
16897
16898
16899 fi
16900 if test -z "$CC"; then
16901 if test -n "$ac_tool_prefix"; then
16902 for ac_prog in cl.exe
16903 do
16904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16908 if test "${ac_cv_prog_CC+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 else
16911 if test -n "$CC"; then
16912 ac_cv_prog_CC="$CC" # Let the user override the test.
16913 else
16914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16915 for as_dir in $PATH
16916 do
16917 IFS=$as_save_IFS
16918 test -z "$as_dir" && as_dir=.
16919 for ac_exec_ext in '' $ac_executable_extensions; do
16920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16921 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16923 break 2
16924 fi
16925 done
16926 done
16927 IFS=$as_save_IFS
16928
16929 fi
16930 fi
16931 CC=$ac_cv_prog_CC
16932 if test -n "$CC"; then
16933 { echo "$as_me:$LINENO: result: $CC" >&5
16934 echo "${ECHO_T}$CC" >&6; }
16935 else
16936 { echo "$as_me:$LINENO: result: no" >&5
16937 echo "${ECHO_T}no" >&6; }
16938 fi
16939
16940
16941 test -n "$CC" && break
16942 done
16943 fi
16944 if test -z "$CC"; then
16945 ac_ct_CC=$CC
16946 for ac_prog in cl.exe
16947 do
16948 # Extract the first word of "$ac_prog", so it can be a program name with args.
16949 set dummy $ac_prog; ac_word=$2
16950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 else
16955 if test -n "$ac_ct_CC"; then
16956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16957 else
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16960 do
16961 IFS=$as_save_IFS
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16965 ac_cv_prog_ac_ct_CC="$ac_prog"
16966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16967 break 2
16968 fi
16969 done
16970 done
16971 IFS=$as_save_IFS
16972
16973 fi
16974 fi
16975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16976 if test -n "$ac_ct_CC"; then
16977 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16978 echo "${ECHO_T}$ac_ct_CC" >&6; }
16979 else
16980 { echo "$as_me:$LINENO: result: no" >&5
16981 echo "${ECHO_T}no" >&6; }
16982 fi
16983
16984
16985 test -n "$ac_ct_CC" && break
16986 done
16987
16988 if test "x$ac_ct_CC" = x; then
16989 CC=""
16990 else
16991 case $cross_compiling:$ac_tool_warned in
16992 yes:)
16993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16994 whose name does not start with the host triplet. If you think this
16995 configuration is useful to you, please write to autoconf@gnu.org." >&5
16996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16997 whose name does not start with the host triplet. If you think this
16998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16999 ac_tool_warned=yes ;;
17000 esac
17001 CC=$ac_ct_CC
17002 fi
17003 fi
17004
17005 fi
17006
17007
17008 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17009 See \`config.log' for more details." >&5
17010 echo "$as_me: error: no acceptable C compiler found in \$PATH
17011 See \`config.log' for more details." >&2;}
17012 { (exit 1); exit 1; }; }
17013
17014 # Provide some information about the compiler.
17015 echo "$as_me:$LINENO: checking for C compiler version" >&5
17016 ac_compiler=`set X $ac_compile; echo $2`
17017 { (ac_try="$ac_compiler --version >&5"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17021 esac
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_compiler --version >&5") 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }
17027 { (ac_try="$ac_compiler -v >&5"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17031 esac
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compiler -v >&5") 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }
17037 { (ac_try="$ac_compiler -V >&5"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17041 esac
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compiler -V >&5") 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }
17047
17048 cat >conftest.$ac_ext <<_ACEOF
17049 /* confdefs.h. */
17050 _ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054
17055 int
17056 main ()
17057 {
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 ac_clean_files_save=$ac_clean_files
17064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17065 # Try to create an executable without -o first, disregard a.out.
17066 # It will help us diagnose broken compilers, and finding out an intuition
17067 # of exeext.
17068 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17070 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17071 #
17072 # List of possible output files, starting from the most likely.
17073 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17074 # only as a last resort. b.out is created by i960 compilers.
17075 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17076 #
17077 # The IRIX 6 linker writes into existing files which may not be
17078 # executable, retaining their permissions. Remove them first so a
17079 # subsequent execution test works.
17080 ac_rmfiles=
17081 for ac_file in $ac_files
17082 do
17083 case $ac_file in
17084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17086 esac
17087 done
17088 rm -f $ac_rmfiles
17089
17090 if { (ac_try="$ac_link_default"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_link_default") 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; then
17100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17103 # so that the user can short-circuit this test for compilers unknown to
17104 # Autoconf.
17105 for ac_file in $ac_files ''
17106 do
17107 test -f "$ac_file" || continue
17108 case $ac_file in
17109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17110 ;;
17111 [ab].out )
17112 # We found the default executable, but exeext='' is most
17113 # certainly right.
17114 break;;
17115 *.* )
17116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17117 then :; else
17118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17119 fi
17120 # We set ac_cv_exeext here because the later test for it is not
17121 # safe: cross compilers may not add the suffix if given an `-o'
17122 # argument, so we may need to know it at that point already.
17123 # Even if this section looks crufty: it has the advantage of
17124 # actually working.
17125 break;;
17126 * )
17127 break;;
17128 esac
17129 done
17130 test "$ac_cv_exeext" = no && ac_cv_exeext=
17131
17132 else
17133 ac_file=''
17134 fi
17135
17136 { echo "$as_me:$LINENO: result: $ac_file" >&5
17137 echo "${ECHO_T}$ac_file" >&6; }
17138 if test -z "$ac_file"; then
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: C compiler cannot create executables
17145 See \`config.log' for more details." >&2;}
17146 { (exit 77); exit 77; }; }
17147 fi
17148
17149 ac_exeext=$ac_cv_exeext
17150
17151 # Check that the compiler produces executables we can run. If not, either
17152 # the compiler is broken, or we cross compile.
17153 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17154 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17155 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17156 # If not cross compiling, check that we can run a simple program.
17157 if test "$cross_compiling" != yes; then
17158 if { ac_try='./$ac_file'
17159 { (case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17162 esac
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_try") 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 cross_compiling=no
17169 else
17170 if test "$cross_compiling" = maybe; then
17171 cross_compiling=yes
17172 else
17173 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17174 If you meant to cross compile, use \`--host'.
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot run C compiled programs.
17177 If you meant to cross compile, use \`--host'.
17178 See \`config.log' for more details." >&2;}
17179 { (exit 1); exit 1; }; }
17180 fi
17181 fi
17182 fi
17183 { echo "$as_me:$LINENO: result: yes" >&5
17184 echo "${ECHO_T}yes" >&6; }
17185
17186 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17187 ac_clean_files=$ac_clean_files_save
17188 # Check that the compiler produces executables we can run. If not, either
17189 # the compiler is broken, or we cross compile.
17190 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17192 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17193 echo "${ECHO_T}$cross_compiling" >&6; }
17194
17195 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17197 if { (ac_try="$ac_link"
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_link") 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17209 # work properly (i.e., refer to `conftest.exe'), while it won't with
17210 # `rm'.
17211 for ac_file in conftest.exe conftest conftest.*; do
17212 test -f "$ac_file" || continue
17213 case $ac_file in
17214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17216 break;;
17217 * ) break;;
17218 esac
17219 done
17220 else
17221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17222 See \`config.log' for more details." >&5
17223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17224 See \`config.log' for more details." >&2;}
17225 { (exit 1); exit 1; }; }
17226 fi
17227
17228 rm -f conftest$ac_cv_exeext
17229 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17230 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17231
17232 rm -f conftest.$ac_ext
17233 EXEEXT=$ac_cv_exeext
17234 ac_exeext=$EXEEXT
17235 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17237 if test "${ac_cv_objext+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246
17247 int
17248 main ()
17249 {
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.o conftest.obj
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>&5
17263 ac_status=$?
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; then
17266 for ac_file in conftest.o conftest.obj conftest.*; do
17267 test -f "$ac_file" || continue;
17268 case $ac_file in
17269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17271 break;;
17272 esac
17273 done
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17279 See \`config.log' for more details." >&5
17280 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17281 See \`config.log' for more details." >&2;}
17282 { (exit 1); exit 1; }; }
17283 fi
17284
17285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17286 fi
17287 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17288 echo "${ECHO_T}$ac_cv_objext" >&6; }
17289 OBJEXT=$ac_cv_objext
17290 ac_objext=$OBJEXT
17291 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17292 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17293 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296 cat >conftest.$ac_ext <<_ACEOF
17297 /* confdefs.h. */
17298 _ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302
17303 int
17304 main ()
17305 {
17306 #ifndef __GNUC__
17307 choke me
17308 #endif
17309
17310 ;
17311 return 0;
17312 }
17313 _ACEOF
17314 rm -f conftest.$ac_objext
17315 if { (ac_try="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17319 esac
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17322 ac_status=$?
17323 grep -v '^ *+' conftest.er1 >conftest.err
17324 rm -f conftest.er1
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_compiler_gnu=yes
17332 else
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17335
17336 ac_compiler_gnu=no
17337 fi
17338
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17341
17342 fi
17343 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17345 GCC=`test $ac_compiler_gnu = yes && echo yes`
17346 ac_test_CFLAGS=${CFLAGS+set}
17347 ac_save_CFLAGS=$CFLAGS
17348 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17349 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17350 if test "${ac_cv_prog_cc_g+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 else
17353 ac_save_c_werror_flag=$ac_c_werror_flag
17354 ac_c_werror_flag=yes
17355 ac_cv_prog_cc_g=no
17356 CFLAGS="-g"
17357 cat >conftest.$ac_ext <<_ACEOF
17358 /* confdefs.h. */
17359 _ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363
17364 int
17365 main ()
17366 {
17367
17368 ;
17369 return 0;
17370 }
17371 _ACEOF
17372 rm -f conftest.$ac_objext
17373 if { (ac_try="$ac_compile"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_compile") 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest.$ac_objext; then
17389 ac_cv_prog_cc_g=yes
17390 else
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17393
17394 CFLAGS=""
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401
17402 int
17403 main ()
17404 {
17405
17406 ;
17407 return 0;
17408 }
17409 _ACEOF
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17415 esac
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_c_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17427 :
17428 else
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17431
17432 ac_c_werror_flag=$ac_save_c_werror_flag
17433 CFLAGS="-g"
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440
17441 int
17442 main ()
17443 {
17444
17445 ;
17446 return 0;
17447 }
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (ac_try="$ac_compile"
17451 case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17454 esac
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_compile") 2>conftest.er1
17457 ac_status=$?
17458 grep -v '^ *+' conftest.er1 >conftest.err
17459 rm -f conftest.er1
17460 cat conftest.err >&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } && {
17463 test -z "$ac_c_werror_flag" ||
17464 test ! -s conftest.err
17465 } && test -s conftest.$ac_objext; then
17466 ac_cv_prog_cc_g=yes
17467 else
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17470
17471
17472 fi
17473
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 fi
17476
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 fi
17479
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_c_werror_flag=$ac_save_c_werror_flag
17482 fi
17483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17485 if test "$ac_test_CFLAGS" = set; then
17486 CFLAGS=$ac_save_CFLAGS
17487 elif test $ac_cv_prog_cc_g = yes; then
17488 if test "$GCC" = yes; then
17489 CFLAGS="-g -O2"
17490 else
17491 CFLAGS="-g"
17492 fi
17493 else
17494 if test "$GCC" = yes; then
17495 CFLAGS="-O2"
17496 else
17497 CFLAGS=
17498 fi
17499 fi
17500 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17501 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17502 if test "${ac_cv_prog_cc_c89+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 ac_cv_prog_cc_c89=no
17506 ac_save_CC=$CC
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <stdarg.h>
17514 #include <stdio.h>
17515 #include <sys/types.h>
17516 #include <sys/stat.h>
17517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17518 struct buf { int x; };
17519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17520 static char *e (p, i)
17521 char **p;
17522 int i;
17523 {
17524 return p[i];
17525 }
17526 static char *f (char * (*g) (char **, int), char **p, ...)
17527 {
17528 char *s;
17529 va_list v;
17530 va_start (v,p);
17531 s = g (p, va_arg (v,int));
17532 va_end (v);
17533 return s;
17534 }
17535
17536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17537 function prototypes and stuff, but not '\xHH' hex character constants.
17538 These don't provoke an error unfortunately, instead are silently treated
17539 as 'x'. The following induces an error, until -std is added to get
17540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17541 array size at least. It's necessary to write '\x00'==0 to get something
17542 that's true only with -std. */
17543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17544
17545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17546 inside strings and character constants. */
17547 #define FOO(x) 'x'
17548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17549
17550 int test (int i, double x);
17551 struct s1 {int (*f) (int a);};
17552 struct s2 {int (*f) (double a);};
17553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17554 int argc;
17555 char **argv;
17556 int
17557 main ()
17558 {
17559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17566 do
17567 CC="$ac_save_CC $ac_arg"
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_c89=$ac_arg
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17589
17590
17591 fi
17592
17593 rm -f core conftest.err conftest.$ac_objext
17594 test "x$ac_cv_prog_cc_c89" != "xno" && break
17595 done
17596 rm -f conftest.$ac_ext
17597 CC=$ac_save_CC
17598
17599 fi
17600 # AC_CACHE_VAL
17601 case "x$ac_cv_prog_cc_c89" in
17602 x)
17603 { echo "$as_me:$LINENO: result: none needed" >&5
17604 echo "${ECHO_T}none needed" >&6; } ;;
17605 xno)
17606 { echo "$as_me:$LINENO: result: unsupported" >&5
17607 echo "${ECHO_T}unsupported" >&6; } ;;
17608 *)
17609 CC="$CC $ac_cv_prog_cc_c89"
17610 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17611 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17612 esac
17613
17614
17615 ac_ext=c
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17620
17621
17622
17623
17624 ac_ext=c
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17629
17630 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17631 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17632 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641
17642 int
17643 main ()
17644 {
17645
17646 #ifndef __INTEL_COMPILER
17647 choke me
17648 #endif
17649
17650 ;
17651 return 0;
17652 }
17653 _ACEOF
17654 rm -f conftest.$ac_objext
17655 if { (ac_try="$ac_compile"
17656 case "(($ac_try" in
17657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17658 *) ac_try_echo=$ac_try;;
17659 esac
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_compile") 2>conftest.er1
17662 ac_status=$?
17663 grep -v '^ *+' conftest.er1 >conftest.err
17664 rm -f conftest.er1
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } && {
17668 test -z "$ac_c_werror_flag" ||
17669 test ! -s conftest.err
17670 } && test -s conftest.$ac_objext; then
17671 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17675
17676 bakefile_cv_c_compiler___INTEL_COMPILER=no
17677
17678 fi
17679
17680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681
17682
17683 fi
17684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17685 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17686 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17687 :; INTELCC=yes
17688 else
17689 :;
17690 fi
17691 ac_ext=c
17692 ac_cpp='$CPP $CPPFLAGS'
17693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17696
17697
17698
17699
17700 if test "x$GCC" != "xyes"; then
17701 if test "xCC" = "xC"; then
17702 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17703 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_exto+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713
17714 int
17715 main ()
17716 {
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext conftest.$ac_ext.o
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; then
17728 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17729 case $ac_file in
17730 conftest.$ac_ext.o)
17731 bakefile_cv_c_exto="-ext o"
17732 ;;
17733 *)
17734 ;;
17735 esac
17736 done
17737 else
17738 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17739 See \`config.log' for more details." >&5
17740 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17741 See \`config.log' for more details." >&2;}
17742 { (exit 1); exit 1; }; }
17743
17744 fi
17745
17746 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17747
17748 fi
17749 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17750 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17751 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17752 if test "c" = "c"; then
17753 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17754 fi
17755 if test "c" = "cxx"; then
17756 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17757 fi
17758 fi
17759
17760 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17761 unset ac_cv_prog_cc_g
17762 ac_test_CFLAGS=${CFLAGS+set}
17763 ac_save_CFLAGS=$CFLAGS
17764 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17766 if test "${ac_cv_prog_cc_g+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 else
17769 ac_save_c_werror_flag=$ac_c_werror_flag
17770 ac_c_werror_flag=yes
17771 ac_cv_prog_cc_g=no
17772 CFLAGS="-g"
17773 cat >conftest.$ac_ext <<_ACEOF
17774 /* confdefs.h. */
17775 _ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779
17780 int
17781 main ()
17782 {
17783
17784 ;
17785 return 0;
17786 }
17787 _ACEOF
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17793 esac
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17796 ac_status=$?
17797 grep -v '^ *+' conftest.er1 >conftest.err
17798 rm -f conftest.er1
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.$ac_objext; then
17805 ac_cv_prog_cc_g=yes
17806 else
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.$ac_ext >&5
17809
17810 CFLAGS=""
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817
17818 int
17819 main ()
17820 {
17821
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_c_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17843 :
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 ac_c_werror_flag=$ac_save_c_werror_flag
17849 CFLAGS="-g"
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856
17857 int
17858 main ()
17859 {
17860
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17870 esac
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17873 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.$ac_objext; then
17882 ac_cv_prog_cc_g=yes
17883 else
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17886
17887
17888 fi
17889
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 fi
17892
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17894 fi
17895
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897 ac_c_werror_flag=$ac_save_c_werror_flag
17898 fi
17899 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17900 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17901 if test "$ac_test_CFLAGS" = set; then
17902 CFLAGS=$ac_save_CFLAGS
17903 elif test $ac_cv_prog_cc_g = yes; then
17904 if test "$GCC" = yes; then
17905 CFLAGS="-g -O2"
17906 else
17907 CFLAGS="-g"
17908 fi
17909 else
17910 if test "$GCC" = yes; then
17911 CFLAGS="-O2"
17912 else
17913 CFLAGS=
17914 fi
17915 fi
17916 fi
17917 fi
17918
17919 case `uname -s` in
17920 AIX*)
17921
17922
17923 ac_ext=c
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928
17929 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17930 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940
17941 int
17942 main ()
17943 {
17944
17945 #ifndef __xlC__
17946 choke me
17947 #endif
17948
17949 ;
17950 return 0;
17951 }
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_c_compiler___xlC__=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 bakefile_cv_c_compiler___xlC__=no
17976
17977 fi
17978
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981
17982 fi
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17984 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17985 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17986 :; XLCC=yes
17987 else
17988 :;
17989 fi
17990 ac_ext=c
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995
17996
17997
17998 ;;
17999
18000 Darwin)
18001
18002
18003 ac_ext=c
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008
18009 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 else
18014 cat >conftest.$ac_ext <<_ACEOF
18015 /* confdefs.h. */
18016 _ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020
18021 int
18022 main ()
18023 {
18024
18025 #ifndef __MWERKS__
18026 choke me
18027 #endif
18028
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18038 esac
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18041 ac_status=$?
18042 grep -v '^ *+' conftest.er1 >conftest.err
18043 rm -f conftest.er1
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_c_compiler___MWERKS__=yes
18051 else
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18054
18055 bakefile_cv_c_compiler___MWERKS__=no
18056
18057 fi
18058
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060
18061
18062 fi
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18066 :; MWCC=yes
18067 else
18068 :;
18069 fi
18070 ac_ext=c
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18075
18076
18077
18078
18079
18080 ac_ext=c
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18085
18086 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097
18098 int
18099 main ()
18100 {
18101
18102 #ifndef __xlC__
18103 choke me
18104 #endif
18105
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18115 esac
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18118 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_c_compiler___xlC__=yes
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 bakefile_cv_c_compiler___xlC__=no
18133
18134 fi
18135
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137
18138
18139 fi
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18141 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18142 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18143 :; XLCC=yes
18144 else
18145 :;
18146 fi
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152
18153
18154
18155 ;;
18156
18157 IRIX*)
18158
18159
18160 ac_ext=c
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165
18166 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18167 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18168 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h. */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177
18178 int
18179 main ()
18180 {
18181
18182 #ifndef _SGI_COMPILER_VERSION
18183 choke me
18184 #endif
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18195 esac
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18213
18214 fi
18215
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217
18218
18219 fi
18220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18221 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18222 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18223 :; SGICC=yes
18224 else
18225 :;
18226 fi
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18232
18233
18234
18235 ;;
18236
18237 Linux*)
18238
18239
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18247 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18248 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18251 cat >conftest.$ac_ext <<_ACEOF
18252 /* confdefs.h. */
18253 _ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257
18258 int
18259 main ()
18260 {
18261
18262 #ifndef __SUNPRO_C
18263 choke me
18264 #endif
18265
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext
18271 if { (ac_try="$ac_compile"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18275 esac
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_compile") 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest.$ac_objext; then
18287 bakefile_cv_c_compiler___SUNPRO_C=yes
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18291
18292 bakefile_cv_c_compiler___SUNPRO_C=no
18293
18294 fi
18295
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297
18298
18299 fi
18300 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18301 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18302 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18303 :; SUNCC=yes
18304 else
18305 :;
18306 fi
18307 ac_ext=c
18308 ac_cpp='$CPP $CPPFLAGS'
18309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18312
18313
18314
18315 ;;
18316
18317 HP-UX*)
18318
18319
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18327 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18328 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337
18338 int
18339 main ()
18340 {
18341
18342 #ifndef __HP_cc
18343 choke me
18344 #endif
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 bakefile_cv_c_compiler___HP_cc=yes
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18371
18372 bakefile_cv_c_compiler___HP_cc=no
18373
18374 fi
18375
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
18378
18379 fi
18380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18381 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18382 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18383 :; HPCC=yes
18384 else
18385 :;
18386 fi
18387 ac_ext=c
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18392
18393
18394
18395 ;;
18396
18397 OSF1)
18398
18399
18400 ac_ext=c
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405
18406 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18407 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18408 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 else
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417
18418 int
18419 main ()
18420 {
18421
18422 #ifndef __DECC
18423 choke me
18424 #endif
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 bakefile_cv_c_compiler___DECC=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 bakefile_cv_c_compiler___DECC=no
18453
18454 fi
18455
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457
18458
18459 fi
18460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18461 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18462 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18463 :; COMPAQCC=yes
18464 else
18465 :;
18466 fi
18467 ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472
18473
18474
18475 ;;
18476
18477 SunOS)
18478
18479
18480 ac_ext=c
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485
18486 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18487 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18488 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 cat >conftest.$ac_ext <<_ACEOF
18492 /* confdefs.h. */
18493 _ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497
18498 int
18499 main ()
18500 {
18501
18502 #ifndef __SUNPRO_C
18503 choke me
18504 #endif
18505
18506 ;
18507 return 0;
18508 }
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 bakefile_cv_c_compiler___SUNPRO_C=yes
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 bakefile_cv_c_compiler___SUNPRO_C=no
18533
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537
18538
18539 fi
18540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18541 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18542 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18543 :; SUNCC=yes
18544 else
18545 :;
18546 fi
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552
18553
18554
18555 ;;
18556 esac
18557 fi
18558
18559
18560
18561 ac_ext=c
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18567 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18568 # On Suns, sometimes $CPP names a directory.
18569 if test -n "$CPP" && test -d "$CPP"; then
18570 CPP=
18571 fi
18572 if test -z "$CPP"; then
18573 if test "${ac_cv_prog_CPP+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576 # Double quotes because CPP needs to be expanded
18577 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18578 do
18579 ac_preproc_ok=false
18580 for ac_c_preproc_warn_flag in '' yes
18581 do
18582 # Use a header file that comes with gcc, so configuring glibc
18583 # with a fresh cross-compiler works.
18584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18585 # <limits.h> exists even on freestanding compilers.
18586 # On the NeXT, cc -E runs the code through the compiler's parser,
18587 # not just through cpp. "Syntax error" is here to catch this case.
18588 cat >conftest.$ac_ext <<_ACEOF
18589 /* confdefs.h. */
18590 _ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 #ifdef __STDC__
18595 # include <limits.h>
18596 #else
18597 # include <assert.h>
18598 #endif
18599 Syntax error
18600 _ACEOF
18601 if { (ac_try="$ac_cpp conftest.$ac_ext"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18605 esac
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } >/dev/null && {
18614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 }; then
18617 :
18618 else
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18621
18622 # Broken: fails on valid input.
18623 continue
18624 fi
18625
18626 rm -f conftest.err conftest.$ac_ext
18627
18628 # OK, works on sane cases. Now check whether nonexistent headers
18629 # can be detected and how.
18630 cat >conftest.$ac_ext <<_ACEOF
18631 /* confdefs.h. */
18632 _ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 #include <ac_nonexistent.h>
18637 _ACEOF
18638 if { (ac_try="$ac_cpp conftest.$ac_ext"
18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18641 *) ac_try_echo=$ac_try;;
18642 esac
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18645 ac_status=$?
18646 grep -v '^ *+' conftest.er1 >conftest.err
18647 rm -f conftest.er1
18648 cat conftest.err >&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } >/dev/null && {
18651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18653 }; then
18654 # Broken: success on invalid input.
18655 continue
18656 else
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.$ac_ext >&5
18659
18660 # Passes both tests.
18661 ac_preproc_ok=:
18662 break
18663 fi
18664
18665 rm -f conftest.err conftest.$ac_ext
18666
18667 done
18668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18669 rm -f conftest.err conftest.$ac_ext
18670 if $ac_preproc_ok; then
18671 break
18672 fi
18673
18674 done
18675 ac_cv_prog_CPP=$CPP
18676
18677 fi
18678 CPP=$ac_cv_prog_CPP
18679 else
18680 ac_cv_prog_CPP=$CPP
18681 fi
18682 { echo "$as_me:$LINENO: result: $CPP" >&5
18683 echo "${ECHO_T}$CPP" >&6; }
18684 ac_preproc_ok=false
18685 for ac_c_preproc_warn_flag in '' yes
18686 do
18687 # Use a header file that comes with gcc, so configuring glibc
18688 # with a fresh cross-compiler works.
18689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18690 # <limits.h> exists even on freestanding compilers.
18691 # On the NeXT, cc -E runs the code through the compiler's parser,
18692 # not just through cpp. "Syntax error" is here to catch this case.
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #ifdef __STDC__
18700 # include <limits.h>
18701 #else
18702 # include <assert.h>
18703 #endif
18704 Syntax error
18705 _ACEOF
18706 if { (ac_try="$ac_cpp conftest.$ac_ext"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18713 ac_status=$?
18714 grep -v '^ *+' conftest.er1 >conftest.err
18715 rm -f conftest.er1
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } >/dev/null && {
18719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 }; then
18722 :
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 # Broken: fails on valid input.
18728 continue
18729 fi
18730
18731 rm -f conftest.err conftest.$ac_ext
18732
18733 # OK, works on sane cases. Now check whether nonexistent headers
18734 # can be detected and how.
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <ac_nonexistent.h>
18742 _ACEOF
18743 if { (ac_try="$ac_cpp conftest.$ac_ext"
18744 case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747 esac
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18750 ac_status=$?
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev/null && {
18756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18758 }; then
18759 # Broken: success on invalid input.
18760 continue
18761 else
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18764
18765 # Passes both tests.
18766 ac_preproc_ok=:
18767 break
18768 fi
18769
18770 rm -f conftest.err conftest.$ac_ext
18771
18772 done
18773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18774 rm -f conftest.err conftest.$ac_ext
18775 if $ac_preproc_ok; then
18776 :
18777 else
18778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18779 See \`config.log' for more details." >&5
18780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18781 See \`config.log' for more details." >&2;}
18782 { (exit 1); exit 1; }; }
18783 fi
18784
18785 ac_ext=c
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790
18791
18792 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18793 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18794 if test "${ac_cv_path_GREP+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 else
18797 # Extract the first word of "grep ggrep" to use in msg output
18798 if test -z "$GREP"; then
18799 set dummy grep ggrep; ac_prog_name=$2
18800 if test "${ac_cv_path_GREP+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 ac_path_GREP_found=false
18804 # Loop through the user's path and test for each of PROGNAME-LIST
18805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18807 do
18808 IFS=$as_save_IFS
18809 test -z "$as_dir" && as_dir=.
18810 for ac_prog in grep ggrep; do
18811 for ac_exec_ext in '' $ac_executable_extensions; do
18812 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18813 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18814 # Check for GNU ac_path_GREP and select it if it is found.
18815 # Check for GNU $ac_path_GREP
18816 case `"$ac_path_GREP" --version 2>&1` in
18817 *GNU*)
18818 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18819 *)
18820 ac_count=0
18821 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18822 while :
18823 do
18824 cat "conftest.in" "conftest.in" >"conftest.tmp"
18825 mv "conftest.tmp" "conftest.in"
18826 cp "conftest.in" "conftest.nl"
18827 echo 'GREP' >> "conftest.nl"
18828 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18830 ac_count=`expr $ac_count + 1`
18831 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18832 # Best one so far, save it but keep looking for a better one
18833 ac_cv_path_GREP="$ac_path_GREP"
18834 ac_path_GREP_max=$ac_count
18835 fi
18836 # 10*(2^10) chars as input seems more than enough
18837 test $ac_count -gt 10 && break
18838 done
18839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18840 esac
18841
18842
18843 $ac_path_GREP_found && break 3
18844 done
18845 done
18846
18847 done
18848 IFS=$as_save_IFS
18849
18850
18851 fi
18852
18853 GREP="$ac_cv_path_GREP"
18854 if test -z "$GREP"; then
18855 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18856 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18857 { (exit 1); exit 1; }; }
18858 fi
18859
18860 else
18861 ac_cv_path_GREP=$GREP
18862 fi
18863
18864
18865 fi
18866 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18867 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18868 GREP="$ac_cv_path_GREP"
18869
18870
18871 { echo "$as_me:$LINENO: checking for egrep" >&5
18872 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18873 if test "${ac_cv_path_EGREP+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18877 then ac_cv_path_EGREP="$GREP -E"
18878 else
18879 # Extract the first word of "egrep" to use in msg output
18880 if test -z "$EGREP"; then
18881 set dummy egrep; ac_prog_name=$2
18882 if test "${ac_cv_path_EGREP+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 else
18885 ac_path_EGREP_found=false
18886 # Loop through the user's path and test for each of PROGNAME-LIST
18887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18889 do
18890 IFS=$as_save_IFS
18891 test -z "$as_dir" && as_dir=.
18892 for ac_prog in egrep; do
18893 for ac_exec_ext in '' $ac_executable_extensions; do
18894 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18895 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18896 # Check for GNU ac_path_EGREP and select it if it is found.
18897 # Check for GNU $ac_path_EGREP
18898 case `"$ac_path_EGREP" --version 2>&1` in
18899 *GNU*)
18900 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18901 *)
18902 ac_count=0
18903 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18904 while :
18905 do
18906 cat "conftest.in" "conftest.in" >"conftest.tmp"
18907 mv "conftest.tmp" "conftest.in"
18908 cp "conftest.in" "conftest.nl"
18909 echo 'EGREP' >> "conftest.nl"
18910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18912 ac_count=`expr $ac_count + 1`
18913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18914 # Best one so far, save it but keep looking for a better one
18915 ac_cv_path_EGREP="$ac_path_EGREP"
18916 ac_path_EGREP_max=$ac_count
18917 fi
18918 # 10*(2^10) chars as input seems more than enough
18919 test $ac_count -gt 10 && break
18920 done
18921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18922 esac
18923
18924
18925 $ac_path_EGREP_found && break 3
18926 done
18927 done
18928
18929 done
18930 IFS=$as_save_IFS
18931
18932
18933 fi
18934
18935 EGREP="$ac_cv_path_EGREP"
18936 if test -z "$EGREP"; then
18937 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18938 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18939 { (exit 1); exit 1; }; }
18940 fi
18941
18942 else
18943 ac_cv_path_EGREP=$EGREP
18944 fi
18945
18946
18947 fi
18948 fi
18949 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18950 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18951 EGREP="$ac_cv_path_EGREP"
18952
18953
18954 if test $ac_cv_c_compiler_gnu = yes; then
18955 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18956 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18957 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 else
18960 ac_pattern="Autoconf.*'x'"
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 #include <sgtty.h>
18968 Autoconf TIOCGETP
18969 _ACEOF
18970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18971 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18972 ac_cv_prog_gcc_traditional=yes
18973 else
18974 ac_cv_prog_gcc_traditional=no
18975 fi
18976 rm -f conftest*
18977
18978
18979 if test $ac_cv_prog_gcc_traditional = no; then
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <termio.h>
18987 Autoconf TCGETA
18988 _ACEOF
18989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18990 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18991 ac_cv_prog_gcc_traditional=yes
18992 fi
18993 rm -f conftest*
18994
18995 fi
18996 fi
18997 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18998 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18999 if test $ac_cv_prog_gcc_traditional = yes; then
19000 CC="$CC -traditional"
19001 fi
19002 fi
19003
19004
19005 CXXFLAGS=${CXXFLAGS:=}
19006
19007
19008
19009 ac_ext=cpp
19010 ac_cpp='$CXXCPP $CPPFLAGS'
19011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19014 if test -z "$CXX"; then
19015 if test -n "$CCC"; then
19016 CXX=$CCC
19017 else
19018 if test -n "$ac_tool_prefix"; then
19019 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19020 do
19021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19025 if test "${ac_cv_prog_CXX+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19028 if test -n "$CXX"; then
19029 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19030 else
19031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19032 for as_dir in $PATH
19033 do
19034 IFS=$as_save_IFS
19035 test -z "$as_dir" && as_dir=.
19036 for ac_exec_ext in '' $ac_executable_extensions; do
19037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19038 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19040 break 2
19041 fi
19042 done
19043 done
19044 IFS=$as_save_IFS
19045
19046 fi
19047 fi
19048 CXX=$ac_cv_prog_CXX
19049 if test -n "$CXX"; then
19050 { echo "$as_me:$LINENO: result: $CXX" >&5
19051 echo "${ECHO_T}$CXX" >&6; }
19052 else
19053 { echo "$as_me:$LINENO: result: no" >&5
19054 echo "${ECHO_T}no" >&6; }
19055 fi
19056
19057
19058 test -n "$CXX" && break
19059 done
19060 fi
19061 if test -z "$CXX"; then
19062 ac_ct_CXX=$CXX
19063 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19064 do
19065 # Extract the first word of "$ac_prog", so it can be a program name with args.
19066 set dummy $ac_prog; ac_word=$2
19067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 else
19072 if test -n "$ac_ct_CXX"; then
19073 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19074 else
19075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19076 for as_dir in $PATH
19077 do
19078 IFS=$as_save_IFS
19079 test -z "$as_dir" && as_dir=.
19080 for ac_exec_ext in '' $ac_executable_extensions; do
19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19082 ac_cv_prog_ac_ct_CXX="$ac_prog"
19083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19084 break 2
19085 fi
19086 done
19087 done
19088 IFS=$as_save_IFS
19089
19090 fi
19091 fi
19092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19093 if test -n "$ac_ct_CXX"; then
19094 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19095 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19096 else
19097 { echo "$as_me:$LINENO: result: no" >&5
19098 echo "${ECHO_T}no" >&6; }
19099 fi
19100
19101
19102 test -n "$ac_ct_CXX" && break
19103 done
19104
19105 if test "x$ac_ct_CXX" = x; then
19106 CXX="g++"
19107 else
19108 case $cross_compiling:$ac_tool_warned in
19109 yes:)
19110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19111 whose name does not start with the host triplet. If you think this
19112 configuration is useful to you, please write to autoconf@gnu.org." >&5
19113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19114 whose name does not start with the host triplet. If you think this
19115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19116 ac_tool_warned=yes ;;
19117 esac
19118 CXX=$ac_ct_CXX
19119 fi
19120 fi
19121
19122 fi
19123 fi
19124 # Provide some information about the compiler.
19125 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19126 ac_compiler=`set X $ac_compile; echo $2`
19127 { (ac_try="$ac_compiler --version >&5"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19131 esac
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compiler --version >&5") 2>&5
19134 ac_status=$?
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }
19137 { (ac_try="$ac_compiler -v >&5"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compiler -v >&5") 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }
19147 { (ac_try="$ac_compiler -V >&5"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compiler -V >&5") 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }
19157
19158 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19159 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19160 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 else
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169
19170 int
19171 main ()
19172 {
19173 #ifndef __GNUC__
19174 choke me
19175 #endif
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19186 esac
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_cxx_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_compiler_gnu=yes
19199 else
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 ac_compiler_gnu=no
19204 fi
19205
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19207 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19208
19209 fi
19210 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19211 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19212 GXX=`test $ac_compiler_gnu = yes && echo yes`
19213 ac_test_CXXFLAGS=${CXXFLAGS+set}
19214 ac_save_CXXFLAGS=$CXXFLAGS
19215 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19216 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19217 if test "${ac_cv_prog_cxx_g+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19221 ac_cxx_werror_flag=yes
19222 ac_cv_prog_cxx_g=no
19223 CXXFLAGS="-g"
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230
19231 int
19232 main ()
19233 {
19234
19235 ;
19236 return 0;
19237 }
19238 _ACEOF
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19244 esac
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_cxx_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_prog_cxx_g=yes
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 CXXFLAGS=""
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268
19269 int
19270 main ()
19271 {
19272
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 rm -f conftest.$ac_objext
19278 if { (ac_try="$ac_compile"
19279 case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19282 esac
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_compile") 2>conftest.er1
19285 ac_status=$?
19286 grep -v '^ *+' conftest.er1 >conftest.err
19287 rm -f conftest.er1
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } && {
19291 test -z "$ac_cxx_werror_flag" ||
19292 test ! -s conftest.err
19293 } && test -s conftest.$ac_objext; then
19294 :
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19300 CXXFLAGS="-g"
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307
19308 int
19309 main ()
19310 {
19311
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_cxx_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 ac_cv_prog_cxx_g=yes
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338
19339 fi
19340
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 fi
19343
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 fi
19346
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19349 fi
19350 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19351 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19352 if test "$ac_test_CXXFLAGS" = set; then
19353 CXXFLAGS=$ac_save_CXXFLAGS
19354 elif test $ac_cv_prog_cxx_g = yes; then
19355 if test "$GXX" = yes; then
19356 CXXFLAGS="-g -O2"
19357 else
19358 CXXFLAGS="-g"
19359 fi
19360 else
19361 if test "$GXX" = yes; then
19362 CXXFLAGS="-O2"
19363 else
19364 CXXFLAGS=
19365 fi
19366 fi
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19372
19373
19374
19375
19376 ac_ext=cpp
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19381
19382 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19383 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19384 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 else
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393
19394 int
19395 main ()
19396 {
19397
19398 #ifndef __INTEL_COMPILER
19399 choke me
19400 #endif
19401
19402 ;
19403 return 0;
19404 }
19405 _ACEOF
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19411 esac
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19414 ac_status=$?
19415 grep -v '^ *+' conftest.er1 >conftest.err
19416 rm -f conftest.er1
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_cxx_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19427
19428 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19429
19430 fi
19431
19432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433
19434
19435 fi
19436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19438 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19439 :; INTELCXX=yes
19440 else
19441 :;
19442 fi
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448
19449
19450
19451
19452 if test "x$GCXX" != "xyes"; then
19453 if test "xCXX" = "xC"; then
19454 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19455 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_c_exto+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459 cat >conftest.$ac_ext <<_ACEOF
19460 /* confdefs.h. */
19461 _ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465
19466 int
19467 main ()
19468 {
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext conftest.$ac_ext.o
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; then
19480 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19481 case $ac_file in
19482 conftest.$ac_ext.o)
19483 bakefile_cv_c_exto="-ext o"
19484 ;;
19485 *)
19486 ;;
19487 esac
19488 done
19489 else
19490 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19491 See \`config.log' for more details." >&5
19492 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19493 See \`config.log' for more details." >&2;}
19494 { (exit 1); exit 1; }; }
19495
19496 fi
19497
19498 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19499
19500 fi
19501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19502 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19503 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19504 if test "c" = "c"; then
19505 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19506 fi
19507 if test "c" = "cxx"; then
19508 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19509 fi
19510 fi
19511
19512 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19513 unset ac_cv_prog_cc_g
19514 ac_test_CFLAGS=${CFLAGS+set}
19515 ac_save_CFLAGS=$CFLAGS
19516 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19517 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19518 if test "${ac_cv_prog_cc_g+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 else
19521 ac_save_c_werror_flag=$ac_c_werror_flag
19522 ac_c_werror_flag=yes
19523 ac_cv_prog_cc_g=no
19524 CFLAGS="-g"
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531
19532 int
19533 main ()
19534 {
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19545 esac
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19548 ac_status=$?
19549 grep -v '^ *+' conftest.er1 >conftest.err
19550 rm -f conftest.er1
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_cv_prog_cc_g=yes
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 CFLAGS=""
19563 cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h. */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569
19570 int
19571 main ()
19572 {
19573
19574 ;
19575 return 0;
19576 }
19577 _ACEOF
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19583 esac
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19586 ac_status=$?
19587 grep -v '^ *+' conftest.er1 >conftest.err
19588 rm -f conftest.er1
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.$ac_objext; then
19595 :
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19599
19600 ac_c_werror_flag=$ac_save_c_werror_flag
19601 CFLAGS="-g"
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608
19609 int
19610 main ()
19611 {
19612
19613 ;
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19622 esac
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_cv_prog_cc_g=yes
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639
19640 fi
19641
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 fi
19644
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 fi
19647
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ac_c_werror_flag=$ac_save_c_werror_flag
19650 fi
19651 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19653 if test "$ac_test_CFLAGS" = set; then
19654 CFLAGS=$ac_save_CFLAGS
19655 elif test $ac_cv_prog_cc_g = yes; then
19656 if test "$GCC" = yes; then
19657 CFLAGS="-g -O2"
19658 else
19659 CFLAGS="-g"
19660 fi
19661 else
19662 if test "$GCC" = yes; then
19663 CFLAGS="-O2"
19664 else
19665 CFLAGS=
19666 fi
19667 fi
19668 fi
19669 fi
19670
19671 case `uname -s` in
19672 AIX*)
19673
19674
19675 ac_ext=cpp
19676 ac_cpp='$CXXCPP $CPPFLAGS'
19677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19680
19681 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19682 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19683 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 else
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692
19693 int
19694 main ()
19695 {
19696
19697 #ifndef __xlC__
19698 choke me
19699 #endif
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_cxx_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 bakefile_cv_cxx_compiler___xlC__=yes
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19726
19727 bakefile_cv_cxx_compiler___xlC__=no
19728
19729 fi
19730
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732
19733
19734 fi
19735 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19736 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19737 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19738 :; XLCXX=yes
19739 else
19740 :;
19741 fi
19742 ac_ext=c
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747
19748
19749
19750 ;;
19751
19752 Darwin)
19753
19754
19755 ac_ext=cpp
19756 ac_cpp='$CXXCPP $CPPFLAGS'
19757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19760
19761 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 else
19766 cat >conftest.$ac_ext <<_ACEOF
19767 /* confdefs.h. */
19768 _ACEOF
19769 cat confdefs.h >>conftest.$ac_ext
19770 cat >>conftest.$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19772
19773 int
19774 main ()
19775 {
19776
19777 #ifndef __MWERKS__
19778 choke me
19779 #endif
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 bakefile_cv_cxx_compiler___MWERKS__=yes
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 bakefile_cv_cxx_compiler___MWERKS__=no
19808
19809 fi
19810
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812
19813
19814 fi
19815 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19818 :; MWCXX=yes
19819 else
19820 :;
19821 fi
19822 ac_ext=c
19823 ac_cpp='$CPP $CPPFLAGS'
19824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19827
19828
19829
19830
19831
19832 ac_ext=cpp
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19837
19838 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19839 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19840 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 else
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849
19850 int
19851 main ()
19852 {
19853
19854 #ifndef __xlC__
19855 choke me
19856 #endif
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19867 esac
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_cxx_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 bakefile_cv_cxx_compiler___xlC__=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 bakefile_cv_cxx_compiler___xlC__=no
19885
19886 fi
19887
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889
19890
19891 fi
19892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19893 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19894 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19895 :; XLCXX=yes
19896 else
19897 :;
19898 fi
19899 ac_ext=c
19900 ac_cpp='$CPP $CPPFLAGS'
19901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19904
19905
19906
19907 ;;
19908
19909 IRIX*)
19910
19911
19912 ac_ext=cpp
19913 ac_cpp='$CXXCPP $CPPFLAGS'
19914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19917
19918 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19919 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19920 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929
19930 int
19931 main ()
19932 {
19933
19934 #ifndef _SGI_COMPILER_VERSION
19935 choke me
19936 #endif
19937
19938 ;
19939 return 0;
19940 }
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_cxx_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19965
19966 fi
19967
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969
19970
19971 fi
19972 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19973 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19974 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19975 :; SGICXX=yes
19976 else
19977 :;
19978 fi
19979 ac_ext=c
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19984
19985
19986
19987 ;;
19988
19989 Linux*)
19990
19991
19992 ac_ext=cpp
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997
19998 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19999 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20000 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009
20010 int
20011 main ()
20012 {
20013
20014 #ifndef __SUNPRO_CC
20015 choke me
20016 #endif
20017
20018 ;
20019 return 0;
20020 }
20021 _ACEOF
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20027 esac
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_cxx_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20040 else
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20043
20044 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20045
20046 fi
20047
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049
20050
20051 fi
20052 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20053 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20054 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20055 :; SUNCXX=yes
20056 else
20057 :;
20058 fi
20059 ac_ext=c
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20064
20065
20066
20067 ;;
20068
20069 HP-UX*)
20070
20071
20072 ac_ext=cpp
20073 ac_cpp='$CXXCPP $CPPFLAGS'
20074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077
20078 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20079 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20080 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089
20090 int
20091 main ()
20092 {
20093
20094 #ifndef __HP_aCC
20095 choke me
20096 #endif
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_cxx_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 bakefile_cv_cxx_compiler___HP_aCC=yes
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 bakefile_cv_cxx_compiler___HP_aCC=no
20125
20126 fi
20127
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129
20130
20131 fi
20132 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20133 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20134 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20135 :; HPCXX=yes
20136 else
20137 :;
20138 fi
20139 ac_ext=c
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20144
20145
20146
20147 ;;
20148
20149 OSF1)
20150
20151
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20159 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20160 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169
20170 int
20171 main ()
20172 {
20173
20174 #ifndef __DECCXX
20175 choke me
20176 #endif
20177
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_cxx_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 bakefile_cv_cxx_compiler___DECCXX=yes
20200 else
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20203
20204 bakefile_cv_cxx_compiler___DECCXX=no
20205
20206 fi
20207
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209
20210
20211 fi
20212 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20213 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20214 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20215 :; COMPAQCXX=yes
20216 else
20217 :;
20218 fi
20219 ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224
20225
20226
20227 ;;
20228
20229 SunOS)
20230
20231
20232 ac_ext=cpp
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20237
20238 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20239 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20240 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249
20250 int
20251 main ()
20252 {
20253
20254 #ifndef __SUNPRO_CC
20255 choke me
20256 #endif
20257
20258 ;
20259 return 0;
20260 }
20261 _ACEOF
20262 rm -f conftest.$ac_objext
20263 if { (ac_try="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20267 esac
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20270 ac_status=$?
20271 grep -v '^ *+' conftest.er1 >conftest.err
20272 rm -f conftest.er1
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_cxx_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20285
20286 fi
20287
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289
20290
20291 fi
20292 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20293 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20294 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20295 :; SUNCXX=yes
20296 else
20297 :;
20298 fi
20299 ac_ext=c
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20304
20305
20306
20307 ;;
20308 esac
20309 fi
20310
20311
20312
20313 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20314 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20315 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20316 { (exit 1); exit 1; }; }
20317 fi
20318
20319 if test "x$SUNCXX" != xyes; then
20320 if test -n "$ac_tool_prefix"; then
20321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20322 set dummy ${ac_tool_prefix}ar; ac_word=$2
20323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20325 if test "${ac_cv_prog_AR+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 else
20328 if test -n "$AR"; then
20329 ac_cv_prog_AR="$AR" # Let the user override the test.
20330 else
20331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20332 for as_dir in $PATH
20333 do
20334 IFS=$as_save_IFS
20335 test -z "$as_dir" && as_dir=.
20336 for ac_exec_ext in '' $ac_executable_extensions; do
20337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20338 ac_cv_prog_AR="${ac_tool_prefix}ar"
20339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20340 break 2
20341 fi
20342 done
20343 done
20344 IFS=$as_save_IFS
20345
20346 fi
20347 fi
20348 AR=$ac_cv_prog_AR
20349 if test -n "$AR"; then
20350 { echo "$as_me:$LINENO: result: $AR" >&5
20351 echo "${ECHO_T}$AR" >&6; }
20352 else
20353 { echo "$as_me:$LINENO: result: no" >&5
20354 echo "${ECHO_T}no" >&6; }
20355 fi
20356
20357
20358 fi
20359 if test -z "$ac_cv_prog_AR"; then
20360 ac_ct_AR=$AR
20361 # Extract the first word of "ar", so it can be a program name with args.
20362 set dummy ar; ac_word=$2
20363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 else
20368 if test -n "$ac_ct_AR"; then
20369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20370 else
20371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20372 for as_dir in $PATH
20373 do
20374 IFS=$as_save_IFS
20375 test -z "$as_dir" && as_dir=.
20376 for ac_exec_ext in '' $ac_executable_extensions; do
20377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20378 ac_cv_prog_ac_ct_AR="ar"
20379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20380 break 2
20381 fi
20382 done
20383 done
20384 IFS=$as_save_IFS
20385
20386 fi
20387 fi
20388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20389 if test -n "$ac_ct_AR"; then
20390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20391 echo "${ECHO_T}$ac_ct_AR" >&6; }
20392 else
20393 { echo "$as_me:$LINENO: result: no" >&5
20394 echo "${ECHO_T}no" >&6; }
20395 fi
20396
20397 if test "x$ac_ct_AR" = x; then
20398 AR=""
20399 else
20400 case $cross_compiling:$ac_tool_warned in
20401 yes:)
20402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20403 whose name does not start with the host triplet. If you think this
20404 configuration is useful to you, please write to autoconf@gnu.org." >&5
20405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20406 whose name does not start with the host triplet. If you think this
20407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20408 ac_tool_warned=yes ;;
20409 esac
20410 AR=$ac_ct_AR
20411 fi
20412 else
20413 AR="$ac_cv_prog_AR"
20414 fi
20415
20416 if test "x$AR" = "x" ; then
20417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20419 { (exit 1); exit 1; }; }
20420 fi
20421 fi
20422
20423 retest_macosx_linking=no
20424
20425 #if test "$wxUSE_MAC" = 1; then
20426 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20428 # Implicitly turn on the new --with-macosx-sdk using the default
20429 # SDK which provides the behavior this option has always had.
20430 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20431 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20432 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20433 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20434 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20435 wxUSE_MACOSX_SDK=yes
20436 fi
20437 else
20438 # Complain to user if he specified an argument to --enable-universal_binary
20439 # and also 1) specified --with-macosx-sdk using the default (yes) or
20440 # 2) specified --with-macosx-sdk using a path or 3) specified
20441 # --without-macosx-sdk (no).
20442 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20443 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20444 See \`config.log' for more details." >&5
20445 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20446 See \`config.log' for more details." >&2;}
20447 { (exit 1); exit 1; }; }
20448 else
20449 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20450 # special-case the empty string because the below test simply
20451 # converts "no" to the empty string anyway.
20452 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20453 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20454 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20455 fi
20456 fi
20457 OSX_UNIV_OPTS="-arch ppc -arch i386"
20458 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20459 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20460 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20461 retest_macosx_linking=yes
20462
20463 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20464 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20465 bk_use_pch=no
20466 fi
20467 #fi
20468
20469 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20470 wxUSE_MACOSX_SDK=
20471 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20472 # TODO: Search for most recent SDK and use it.
20473 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20474 fi
20475
20476
20477 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20478 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20479 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20480 if ! test -d "$wxUSE_MACOSX_SDK"; then
20481 { { echo "$as_me:$LINENO: error: not found
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: not found
20484 See \`config.log' for more details." >&2;}
20485 { (exit 1); exit 1; }; }
20486 else
20487 { echo "$as_me:$LINENO: result: exists" >&5
20488 echo "${ECHO_T}exists" >&6; }
20489 fi
20490 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20491 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20492 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20493 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20494 retest_macosx_linking=yes
20495 fi
20496
20497 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20498 wxUSE_MACOSX_VERSION_MIN=
20499 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20500 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20501 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20502 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20503
20504 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/'`
20505
20506 # If that failed, try again with the new key
20507 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20508
20509 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/'`
20510
20511 fi
20512
20513 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20514 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20515 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20516 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20517 else
20518 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20519 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20520 wxUSE_MACOSX_VERSION_MIN=
20521 fi
20522 else
20523 wxUSE_MACOSX_VERSION_MIN=
20524 fi
20525 fi
20526
20527 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20528 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20529 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20530 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20531 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20532 retest_macosx_linking=yes
20533 fi
20534
20535 if test "x$retest_macosx_linking" = "xyes"; then
20536 ac_ext=c
20537 ac_cpp='$CPP $CPPFLAGS'
20538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20541
20542 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20543 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550
20551 int
20552 main ()
20553 {
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest$ac_exeext &&
20576 $as_test_x conftest$ac_exeext; then
20577 { echo "$as_me:$LINENO: result: yes" >&5
20578 echo "${ECHO_T}yes" >&6; }
20579 else
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20584 See \`config.log' for more details." >&5
20585 echo "$as_me: error: no. Try a different SDK
20586 See \`config.log' for more details." >&2;}
20587 { (exit 1); exit 1; }; }; exit 1
20588 fi
20589
20590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20591 conftest$ac_exeext conftest.$ac_ext
20592 ac_ext=c
20593 ac_cpp='$CPP $CPPFLAGS'
20594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20597
20598
20599 ac_ext=cpp
20600 ac_cpp='$CXXCPP $CPPFLAGS'
20601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20604
20605 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20606 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h. */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613
20614 int
20615 main ()
20616 {
20617
20618 ;
20619 return 0;
20620 }
20621 _ACEOF
20622 rm -f conftest.$ac_objext conftest$ac_exeext
20623 if { (ac_try="$ac_link"
20624 case "(($ac_try" in
20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20626 *) ac_try_echo=$ac_try;;
20627 esac
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_link") 2>conftest.er1
20630 ac_status=$?
20631 grep -v '^ *+' conftest.er1 >conftest.err
20632 rm -f conftest.er1
20633 cat conftest.err >&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && {
20636 test -z "$ac_cxx_werror_flag" ||
20637 test ! -s conftest.err
20638 } && test -s conftest$ac_exeext &&
20639 $as_test_x conftest$ac_exeext; then
20640 { echo "$as_me:$LINENO: result: yes" >&5
20641 echo "${ECHO_T}yes" >&6; }
20642 else
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20645
20646 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20647 See \`config.log' for more details." >&5
20648 echo "$as_me: error: no. Try a different SDK
20649 See \`config.log' for more details." >&2;}
20650 { (exit 1); exit 1; }; }; exit 1
20651 fi
20652
20653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20654 conftest$ac_exeext conftest.$ac_ext
20655 ac_ext=c
20656 ac_cpp='$CPP $CPPFLAGS'
20657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20660
20661 fi
20662
20663
20664 case "${host}" in
20665
20666 *-*-darwin* )
20667 INSTALL_PROGRAM="cp -fp"
20668 INSTALL_DATA="cp -fp"
20669 ;;
20670 *)
20671 ;;
20672 esac
20673
20674
20675 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20676 CXXFLAGS="-qunique $CXXFLAGS"
20677 fi
20678
20679 case "${host}" in
20680 powerpc-*-darwin* )
20681 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20682 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689
20690 int
20691 main ()
20692 {
20693 #ifndef __POWERPC__
20694 choke me for lack of PowerPC
20695 #endif
20696
20697 ;
20698 return 0;
20699 }
20700 _ACEOF
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20706 esac
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20709 ac_status=$?
20710 grep -v '^ *+' conftest.er1 >conftest.err
20711 rm -f conftest.er1
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 { echo "$as_me:$LINENO: result: yes" >&5
20719 echo "${ECHO_T}yes" >&6; }
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 { echo "$as_me:$LINENO: result: no" >&5
20725 echo "${ECHO_T}no" >&6; }
20726 cat >>confdefs.h <<\_ACEOF
20727 #define __POWERPC__ 1
20728 _ACEOF
20729
20730
20731 fi
20732
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 ;;
20735 esac
20736
20737 case "${host}" in
20738 *-*-darwin* )
20739 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20740 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 #include <CoreFoundation/CFBase.h>
20748
20749 int
20750 main ()
20751 {
20752
20753 ;
20754 return 0;
20755 }
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20762 esac
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 { echo "$as_me:$LINENO: result: yes" >&5
20775 echo "${ECHO_T}yes" >&6; }
20776 else
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20779
20780 { echo "$as_me:$LINENO: result: no" >&5
20781 echo "${ECHO_T}no" >&6; }
20782 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20783 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20784 cat >conftest.$ac_ext <<_ACEOF
20785 /* confdefs.h. */
20786 _ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 #define __CF_USE_FRAMEWORK_INCLUDES__
20791 #include <CoreFoundation/CFBase.h>
20792
20793 int
20794 main ()
20795 {
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20806 esac
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 { echo "$as_me:$LINENO: result: yes" >&5
20819 echo "${ECHO_T}yes" >&6; }
20820 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20821 else
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20824
20825 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20826 See \`config.log' for more details." >&5
20827 echo "$as_me: error: no. CoreFoundation not available.
20828 See \`config.log' for more details." >&2;}
20829 { (exit 1); exit 1; }; }
20830
20831 fi
20832
20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20834
20835
20836 fi
20837
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 ;;
20840 esac
20841
20842 wants_win32=0
20843 doesnt_want_win32=0
20844 case "${host}" in
20845 *-*-cygwin*)
20846 if test "$wxUSE_MSW" = 1 ; then
20847 wants_win32=1
20848 else
20849 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20850 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20851 if test "${wx_cv_nocygwin+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 else
20854
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861
20862 int
20863 main ()
20864 {
20865
20866 #ifdef __MINGW32__
20867 choke me
20868 #endif
20869
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20879 esac
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20882 ac_status=$?
20883 grep -v '^ *+' conftest.er1 >conftest.err
20884 rm -f conftest.er1
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20891 wx_cv_nocygwin=no
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 wx_cv_nocygwin=yes
20897
20898 fi
20899
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901
20902
20903 fi
20904 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20905 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20906
20907 if test "$wx_cv_nocygwin" = "yes"; then
20908 wants_win32=1
20909 else
20910 doesnt_want_win32=1
20911 fi
20912 fi
20913 if test "$wants_win32" = 1 ; then
20914 BAKEFILE_FORCE_PLATFORM=win32
20915 fi
20916 ;;
20917 *-*-mingw*)
20918 wants_win32=1
20919 ;;
20920 esac
20921
20922 if test "$wxUSE_WINE" = "yes"; then
20923 wants_win32=1
20924 LDFLAGS_GUI="-mwindows"
20925 fi
20926
20927 if test "$wants_win32" = 1 ; then
20928 USE_UNIX=0
20929 USE_WIN32=1
20930 cat >>confdefs.h <<\_ACEOF
20931 #define __WIN32__ 1
20932 _ACEOF
20933
20934 cat >>confdefs.h <<\_ACEOF
20935 #define __WIN95__ 1
20936 _ACEOF
20937
20938 cat >>confdefs.h <<\_ACEOF
20939 #define __WINDOWS__ 1
20940 _ACEOF
20941
20942 cat >>confdefs.h <<\_ACEOF
20943 #define __GNUWIN32__ 1
20944 _ACEOF
20945
20946 cat >>confdefs.h <<\_ACEOF
20947 #define STRICT 1
20948 _ACEOF
20949
20950 fi
20951 if test "$doesnt_want_win32" = 1 ; then
20952 USE_UNIX=1
20953 USE_WIN32=0
20954 fi
20955
20956 if test "$USE_UNIX" = 1 ; then
20957 wxUSE_UNIX=yes
20958 cat >>confdefs.h <<\_ACEOF
20959 #define __UNIX__ 1
20960 _ACEOF
20961
20962 fi
20963
20964 case "${host}" in
20965 *-pc-os2_emx | *-pc-os2-emx )
20966 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20967 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20968 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20969 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 else
20972 ac_check_lib_save_LIBS=$LIBS
20973 LIBS="-lcExt $LIBS"
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980
20981 /* Override any GCC internal prototype to avoid an error.
20982 Use char because int might match the return type of a GCC
20983 builtin and then its argument prototype would still apply. */
20984 #ifdef __cplusplus
20985 extern "C"
20986 #endif
20987 char drand48 ();
20988 int
20989 main ()
20990 {
20991 return drand48 ();
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 rm -f conftest.$ac_objext conftest$ac_exeext
20997 if { (ac_try="$ac_link"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_link") 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest$ac_exeext &&
21013 $as_test_x conftest$ac_exeext; then
21014 ac_cv_lib_cExt_drand48=yes
21015 else
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21018
21019 ac_cv_lib_cExt_drand48=no
21020 fi
21021
21022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21023 conftest$ac_exeext conftest.$ac_ext
21024 LIBS=$ac_check_lib_save_LIBS
21025 fi
21026 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21027 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21028 if test $ac_cv_lib_cExt_drand48 = yes; then
21029 LIBS="$LIBS -lcExt"
21030 fi
21031
21032 else
21033 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21034 fi
21035 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21036 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21037 if test "${wx_cv_gccversion+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040
21041 if test "$cross_compiling" = yes; then
21042 wx_cv_gccversion="EMX2"
21043
21044 else
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h. */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051
21052 #include <stdio.h>
21053
21054 int main()
21055 {
21056 FILE *f=fopen("conftestval", "w");
21057 if (!f) exit(1);
21058 fprintf(f,
21059 #if (__GNUC__ < 3)
21060 "EMX2"
21061 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21062 "EMX3"
21063 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21064 "Innotek5"
21065 #else
21066 "Innotek6"
21067 #endif
21068 );
21069 exit(0);
21070 }
21071
21072 _ACEOF
21073 rm -f conftest$ac_exeext
21074 if { (ac_try="$ac_link"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_link") 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21084 { (case "(($ac_try" in
21085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21086 *) ac_try_echo=$ac_try;;
21087 esac
21088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21089 (eval "$ac_try") 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 wx_cv_gccversion=`cat conftestval`
21094 else
21095 echo "$as_me: program exited with status $ac_status" >&5
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21098
21099 ( exit $ac_status )
21100 wx_cv_gccversion="EMX2"
21101 fi
21102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21103 fi
21104
21105
21106
21107 fi
21108 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21109 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21110 if test "$wx_cv_gccversion" = "EMX2"; then
21111 LIBS="$LIBS -lstdcpp"
21112 LDFLAGS="$LDFLAGS -Zsysv-signals"
21113 else
21114 if test "$wx_cv_gccversion" = "EMX3"; then
21115 LIBS="$LIBS -lstdcxx -lgcc"
21116 LDFLAGS="$LDFLAGS -Zsysv-signals"
21117 else
21118 LIBS="$LIBS -lstdc++"
21119 fi
21120 fi
21121 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21122 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21123 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21124 wxUSE_OMF=yes
21125 enable_omf=yes
21126 fi
21127 ;;
21128 *)
21129
21130 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21131 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21132 if test "${ac_cv_string_strcasecmp+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 else
21135
21136 cat >conftest.$ac_ext <<_ACEOF
21137 /* confdefs.h. */
21138 _ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142
21143 #include <string.h>
21144
21145 int
21146 main ()
21147 {
21148
21149 strcasecmp("foo", "bar");
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext conftest$ac_exeext
21156 if { (ac_try="$ac_link"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_link") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest$ac_exeext &&
21172 $as_test_x conftest$ac_exeext; then
21173 ac_cv_string_strcasecmp=yes
21174 else
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 ac_cv_string_strcasecmp=no
21179
21180 fi
21181
21182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21183 conftest$ac_exeext conftest.$ac_ext
21184
21185 fi
21186 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21187 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21188
21189 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21190 cat >>confdefs.h <<\_ACEOF
21191 #define HAVE_STRCASECMP_IN_STRING_H 1
21192 _ACEOF
21193
21194 else
21195 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21196 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21197 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207
21208 #include <strings.h>
21209
21210 int
21211 main ()
21212 {
21213
21214 strcasecmp("foo", "bar");
21215
21216 ;
21217 return 0;
21218 }
21219 _ACEOF
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (ac_try="$ac_link"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21225 esac
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_link") 2>conftest.er1
21228 ac_status=$?
21229 grep -v '^ *+' conftest.er1 >conftest.err
21230 rm -f conftest.er1
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest$ac_exeext &&
21237 $as_test_x conftest$ac_exeext; then
21238 ac_cv_strings_strcasecmp=yes
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 ac_cv_strings_strcasecmp=no
21244
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21248 conftest$ac_exeext conftest.$ac_ext
21249
21250 fi
21251 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21252 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21253
21254 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21255 cat >>confdefs.h <<\_ACEOF
21256 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21257 _ACEOF
21258
21259 else
21260 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21261 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21262 { (exit 1); exit 1; }; }
21263 fi
21264 fi
21265
21266 ;;
21267 esac
21268
21269
21270 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21271 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21272 if test "${ac_cv_header_stdc+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 else
21275 cat >conftest.$ac_ext <<_ACEOF
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <stdlib.h>
21282 #include <stdarg.h>
21283 #include <string.h>
21284 #include <float.h>
21285
21286 int
21287 main ()
21288 {
21289
21290 ;
21291 return 0;
21292 }
21293 _ACEOF
21294 rm -f conftest.$ac_objext
21295 if { (ac_try="$ac_compile"
21296 case "(($ac_try" in
21297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21298 *) ac_try_echo=$ac_try;;
21299 esac
21300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21301 (eval "$ac_compile") 2>conftest.er1
21302 ac_status=$?
21303 grep -v '^ *+' conftest.er1 >conftest.err
21304 rm -f conftest.er1
21305 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && {
21308 test -z "$ac_c_werror_flag" ||
21309 test ! -s conftest.err
21310 } && test -s conftest.$ac_objext; then
21311 ac_cv_header_stdc=yes
21312 else
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21315
21316 ac_cv_header_stdc=no
21317 fi
21318
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320
21321 if test $ac_cv_header_stdc = yes; then
21322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21323 cat >conftest.$ac_ext <<_ACEOF
21324 /* confdefs.h. */
21325 _ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <string.h>
21330
21331 _ACEOF
21332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21333 $EGREP "memchr" >/dev/null 2>&1; then
21334 :
21335 else
21336 ac_cv_header_stdc=no
21337 fi
21338 rm -f conftest*
21339
21340 fi
21341
21342 if test $ac_cv_header_stdc = yes; then
21343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21344 cat >conftest.$ac_ext <<_ACEOF
21345 /* confdefs.h. */
21346 _ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #include <stdlib.h>
21351
21352 _ACEOF
21353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21354 $EGREP "free" >/dev/null 2>&1; then
21355 :
21356 else
21357 ac_cv_header_stdc=no
21358 fi
21359 rm -f conftest*
21360
21361 fi
21362
21363 if test $ac_cv_header_stdc = yes; then
21364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21365 if test "$cross_compiling" = yes; then
21366 :
21367 else
21368 cat >conftest.$ac_ext <<_ACEOF
21369 /* confdefs.h. */
21370 _ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21374 #include <ctype.h>
21375 #include <stdlib.h>
21376 #if ((' ' & 0x0FF) == 0x020)
21377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21379 #else
21380 # define ISLOWER(c) \
21381 (('a' <= (c) && (c) <= 'i') \
21382 || ('j' <= (c) && (c) <= 'r') \
21383 || ('s' <= (c) && (c) <= 'z'))
21384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21385 #endif
21386
21387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21388 int
21389 main ()
21390 {
21391 int i;
21392 for (i = 0; i < 256; i++)
21393 if (XOR (islower (i), ISLOWER (i))
21394 || toupper (i) != TOUPPER (i))
21395 return 2;
21396 return 0;
21397 }
21398 _ACEOF
21399 rm -f conftest$ac_exeext
21400 if { (ac_try="$ac_link"
21401 case "(($ac_try" in
21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21404 esac
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_link") 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 :
21420 else
21421 echo "$as_me: program exited with status $ac_status" >&5
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ( exit $ac_status )
21426 ac_cv_header_stdc=no
21427 fi
21428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21429 fi
21430
21431
21432 fi
21433 fi
21434 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21435 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21436 if test $ac_cv_header_stdc = yes; then
21437
21438 cat >>confdefs.h <<\_ACEOF
21439 #define STDC_HEADERS 1
21440 _ACEOF
21441
21442 fi
21443
21444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21455 inttypes.h stdint.h unistd.h
21456 do
21457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 else
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470
21471 #include <$ac_header>
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 eval "$as_ac_Header=yes"
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 eval "$as_ac_Header=no"
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 fi
21500 ac_res=`eval echo '${'$as_ac_Header'}'`
21501 { echo "$as_me:$LINENO: result: $ac_res" >&5
21502 echo "${ECHO_T}$ac_res" >&6; }
21503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21504 cat >>confdefs.h <<_ACEOF
21505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21506 _ACEOF
21507
21508 fi
21509
21510 done
21511
21512
21513
21514
21515 for ac_header in langinfo.h wchar.h
21516 do
21517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 else
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h. */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21530
21531 #include <$ac_header>
21532 _ACEOF
21533 rm -f conftest.$ac_objext
21534 if { (ac_try="$ac_compile"
21535 case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21538 esac
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_compile") 2>conftest.er1
21541 ac_status=$?
21542 grep -v '^ *+' conftest.er1 >conftest.err
21543 rm -f conftest.er1
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } && {
21547 test -z "$ac_c_werror_flag" ||
21548 test ! -s conftest.err
21549 } && test -s conftest.$ac_objext; then
21550 eval "$as_ac_Header=yes"
21551 else
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21554
21555 eval "$as_ac_Header=no"
21556 fi
21557
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 fi
21560 ac_res=`eval echo '${'$as_ac_Header'}'`
21561 { echo "$as_me:$LINENO: result: $ac_res" >&5
21562 echo "${ECHO_T}$ac_res" >&6; }
21563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21566 _ACEOF
21567
21568 fi
21569
21570 done
21571
21572
21573 if test "$ac_cv_header_wchar_h" != "yes"; then
21574
21575 for ac_header in wcstr.h
21576 do
21577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21590
21591 #include <$ac_header>
21592 _ACEOF
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 eval "$as_ac_Header=yes"
21611 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 eval "$as_ac_Header=no"
21616 fi
21617
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21619 fi
21620 ac_res=`eval echo '${'$as_ac_Header'}'`
21621 { echo "$as_me:$LINENO: result: $ac_res" >&5
21622 echo "${ECHO_T}$ac_res" >&6; }
21623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21624 cat >>confdefs.h <<_ACEOF
21625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21626 _ACEOF
21627
21628 fi
21629
21630 done
21631
21632 fi
21633
21634 case "${host}" in
21635 *-pc-os2_emx | *-pc-os2-emx )
21636 if test $ac_cv_header_langinfo_h = "yes" \
21637 -a \( "$wx_cv_gccversion" = "EMX2" \
21638 -o "$wx_cv_gccversion" = "EMX3" \
21639 -o "$wx_cv_gccversion" = "Innotek5" \); then
21640 LIBS="$LIBS -lintl"
21641 fi
21642 ;;
21643 esac
21644
21645 if test "$USE_UNIX" = 1 ; then
21646
21647 for ac_header in sys/select.h
21648 do
21649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21653 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 else
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662
21663 #include <$ac_header>
21664 _ACEOF
21665 rm -f conftest.$ac_objext
21666 if { (ac_try="$ac_compile"
21667 case "(($ac_try" in
21668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21670 esac
21671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_compile") 2>conftest.er1
21673 ac_status=$?
21674 grep -v '^ *+' conftest.er1 >conftest.err
21675 rm -f conftest.er1
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } && {
21679 test -z "$ac_c_werror_flag" ||
21680 test ! -s conftest.err
21681 } && test -s conftest.$ac_objext; then
21682 eval "$as_ac_Header=yes"
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 eval "$as_ac_Header=no"
21688 fi
21689
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691 fi
21692 ac_res=`eval echo '${'$as_ac_Header'}'`
21693 { echo "$as_me:$LINENO: result: $ac_res" >&5
21694 echo "${ECHO_T}$ac_res" >&6; }
21695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21696 cat >>confdefs.h <<_ACEOF
21697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21698 _ACEOF
21699
21700 fi
21701
21702 done
21703
21704 fi
21705
21706
21707 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21708 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21709 if test "${ac_cv_c_const+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 else
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718
21719 int
21720 main ()
21721 {
21722 /* FIXME: Include the comments suggested by Paul. */
21723 #ifndef __cplusplus
21724 /* Ultrix mips cc rejects this. */
21725 typedef int charset[2];
21726 const charset cs;
21727 /* SunOS 4.1.1 cc rejects this. */
21728 char const *const *pcpcc;
21729 char **ppc;
21730 /* NEC SVR4.0.2 mips cc rejects this. */
21731 struct point {int x, y;};
21732 static struct point const zero = {0,0};
21733 /* AIX XL C 1.02.0.0 rejects this.
21734 It does not let you subtract one const X* pointer from another in
21735 an arm of an if-expression whose if-part is not a constant
21736 expression */
21737 const char *g = "string";
21738 pcpcc = &g + (g ? g-g : 0);
21739 /* HPUX 7.0 cc rejects these. */
21740 ++pcpcc;
21741 ppc = (char**) pcpcc;
21742 pcpcc = (char const *const *) ppc;
21743 { /* SCO 3.2v4 cc rejects this. */
21744 char *t;
21745 char const *s = 0 ? (char *) 0 : (char const *) 0;
21746
21747 *t++ = 0;
21748 if (s) return 0;
21749 }
21750 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21751 int x[] = {25, 17};
21752 const int *foo = &x[0];
21753 ++foo;
21754 }
21755 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21756 typedef const int *iptr;
21757 iptr p = 0;
21758 ++p;
21759 }
21760 { /* AIX XL C 1.02.0.0 rejects this saying
21761 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21762 struct s { int j; const int *ap[3]; };
21763 struct s *b; b->j = 5;
21764 }
21765 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21766 const int foo = 10;
21767 if (!foo) return 0;
21768 }
21769 return !cs[0] && !zero.x;
21770 #endif
21771
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21780 *) ac_try_echo=$ac_try;;
21781 esac
21782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21784 ac_status=$?
21785 grep -v '^ *+' conftest.er1 >conftest.err
21786 rm -f conftest.er1
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.$ac_objext; then
21793 ac_cv_c_const=yes
21794 else
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21797
21798 ac_cv_c_const=no
21799 fi
21800
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 fi
21803 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21804 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21805 if test $ac_cv_c_const = no; then
21806
21807 cat >>confdefs.h <<\_ACEOF
21808 #define const
21809 _ACEOF
21810
21811 fi
21812
21813 { echo "$as_me:$LINENO: checking for inline" >&5
21814 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21815 if test "${ac_cv_c_inline+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818 ac_cv_c_inline=no
21819 for ac_kw in inline __inline__ __inline; do
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #ifndef __cplusplus
21827 typedef int foo_t;
21828 static $ac_kw foo_t static_foo () {return 0; }
21829 $ac_kw foo_t foo () {return 0; }
21830 #endif
21831
21832 _ACEOF
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21838 esac
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21841 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_cv_c_inline=$ac_kw
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 test "$ac_cv_c_inline" != no && break
21860 done
21861
21862 fi
21863 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21864 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21865
21866
21867 case $ac_cv_c_inline in
21868 inline | yes) ;;
21869 *)
21870 case $ac_cv_c_inline in
21871 no) ac_val=;;
21872 *) ac_val=$ac_cv_c_inline;;
21873 esac
21874 cat >>confdefs.h <<_ACEOF
21875 #ifndef __cplusplus
21876 #define inline $ac_val
21877 #endif
21878 _ACEOF
21879 ;;
21880 esac
21881
21882
21883 { echo "$as_me:$LINENO: checking for short" >&5
21884 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21885 if test "${ac_cv_type_short+set}" = set; then
21886 echo $ECHO_N "(cached) $ECHO_C" >&6
21887 else
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef short ac__type_new_;
21896 int
21897 main ()
21898 {
21899 if ((ac__type_new_ *) 0)
21900 return 0;
21901 if (sizeof (ac__type_new_))
21902 return 0;
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_cv_type_short=yes
21925 else
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21928
21929 ac_cv_type_short=no
21930 fi
21931
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933 fi
21934 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21935 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21936
21937 # The cast to long int works around a bug in the HP C Compiler
21938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21940 # This bug is HP SR number 8606223364.
21941 { echo "$as_me:$LINENO: checking size of short" >&5
21942 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21943 if test "${ac_cv_sizeof_short+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 else
21946 if test "$cross_compiling" = yes; then
21947 # Depending upon the size, compute the lo and hi bounds.
21948 cat >conftest.$ac_ext <<_ACEOF
21949 /* confdefs.h. */
21950 _ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef short ac__type_sizeof_;
21956 int
21957 main ()
21958 {
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21960 test_array [0] = 0
21961
21962 ;
21963 return 0;
21964 }
21965 _ACEOF
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21971 esac
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21974 ac_status=$?
21975 grep -v '^ *+' conftest.er1 >conftest.err
21976 rm -f conftest.er1
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } && {
21980 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21983 ac_lo=0 ac_mid=0
21984 while :; do
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef short ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid; break
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo=`expr $ac_mid + 1`
22026 if test $ac_lo -le $ac_mid; then
22027 ac_lo= ac_hi=
22028 break
22029 fi
22030 ac_mid=`expr 2 '*' $ac_mid + 1`
22031 fi
22032
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 done
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef short ac__type_sizeof_;
22047 int
22048 main ()
22049 {
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22051 test_array [0] = 0
22052
22053 ;
22054 return 0;
22055 }
22056 _ACEOF
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22062 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22074 ac_hi=-1 ac_mid=-1
22075 while :; do
22076 cat >conftest.$ac_ext <<_ACEOF
22077 /* confdefs.h. */
22078 _ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22084 int
22085 main ()
22086 {
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22088 test_array [0] = 0
22089
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_lo=$ac_mid; break
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 ac_hi=`expr '(' $ac_mid ')' - 1`
22117 if test $ac_mid -le $ac_hi; then
22118 ac_lo= ac_hi=
22119 break
22120 fi
22121 ac_mid=`expr 2 '*' $ac_mid`
22122 fi
22123
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22125 done
22126 else
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22129
22130 ac_lo= ac_hi=
22131 fi
22132
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134 fi
22135
22136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 # Binary search between lo and hi bounds.
22138 while test "x$ac_lo" != "x$ac_hi"; do
22139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22140 cat >conftest.$ac_ext <<_ACEOF
22141 /* confdefs.h. */
22142 _ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 $ac_includes_default
22147 typedef short ac__type_sizeof_;
22148 int
22149 main ()
22150 {
22151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22152 test_array [0] = 0
22153
22154 ;
22155 return 0;
22156 }
22157 _ACEOF
22158 rm -f conftest.$ac_objext
22159 if { (ac_try="$ac_compile"
22160 case "(($ac_try" in
22161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22163 esac
22164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_compile") 2>conftest.er1
22166 ac_status=$?
22167 grep -v '^ *+' conftest.er1 >conftest.err
22168 rm -f conftest.er1
22169 cat conftest.err >&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && {
22172 test -z "$ac_c_werror_flag" ||
22173 test ! -s conftest.err
22174 } && test -s conftest.$ac_objext; then
22175 ac_hi=$ac_mid
22176 else
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22179
22180 ac_lo=`expr '(' $ac_mid ')' + 1`
22181 fi
22182
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184 done
22185 case $ac_lo in
22186 ?*) ac_cv_sizeof_short=$ac_lo;;
22187 '') if test "$ac_cv_type_short" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (short)
22191 See \`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22193 else
22194 ac_cv_sizeof_short=0
22195 fi ;;
22196 esac
22197 else
22198 cat >conftest.$ac_ext <<_ACEOF
22199 /* confdefs.h. */
22200 _ACEOF
22201 cat confdefs.h >>conftest.$ac_ext
22202 cat >>conftest.$ac_ext <<_ACEOF
22203 /* end confdefs.h. */
22204 $ac_includes_default
22205 typedef short ac__type_sizeof_;
22206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22208 #include <stdio.h>
22209 #include <stdlib.h>
22210 int
22211 main ()
22212 {
22213
22214 FILE *f = fopen ("conftest.val", "w");
22215 if (! f)
22216 return 1;
22217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22218 {
22219 long int i = longval ();
22220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22221 return 1;
22222 fprintf (f, "%ld\n", i);
22223 }
22224 else
22225 {
22226 unsigned long int i = ulongval ();
22227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22228 return 1;
22229 fprintf (f, "%lu\n", i);
22230 }
22231 return ferror (f) || fclose (f) != 0;
22232
22233 ;
22234 return 0;
22235 }
22236 _ACEOF
22237 rm -f conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22242 esac
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22248 { (case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22251 esac
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_try") 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_sizeof_short=`cat conftest.val`
22258 else
22259 echo "$as_me: program exited with status $ac_status" >&5
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ( exit $ac_status )
22264 if test "$ac_cv_type_short" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22266 See \`config.log' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (short)
22268 See \`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22270 else
22271 ac_cv_sizeof_short=0
22272 fi
22273 fi
22274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22275 fi
22276 rm -f conftest.val
22277 fi
22278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22279 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22280
22281
22282
22283 cat >>confdefs.h <<_ACEOF
22284 #define SIZEOF_SHORT $ac_cv_sizeof_short
22285 _ACEOF
22286
22287
22288 { echo "$as_me:$LINENO: checking for void *" >&5
22289 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22290 if test "${ac_cv_type_void_p+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef void * ac__type_new_;
22301 int
22302 main ()
22303 {
22304 if ((ac__type_new_ *) 0)
22305 return 0;
22306 if (sizeof (ac__type_new_))
22307 return 0;
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_cv_type_void_p=yes
22330 else
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22333
22334 ac_cv_type_void_p=no
22335 fi
22336
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22338 fi
22339 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22340 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22341
22342 # The cast to long int works around a bug in the HP C Compiler
22343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22345 # This bug is HP SR number 8606223364.
22346 { echo "$as_me:$LINENO: checking size of void *" >&5
22347 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22348 if test "${ac_cv_sizeof_void_p+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22350 else
22351 if test "$cross_compiling" = yes; then
22352 # Depending upon the size, compute the lo and hi bounds.
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22361 int
22362 main ()
22363 {
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22365 test_array [0] = 0
22366
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 rm -f conftest.$ac_objext
22372 if { (ac_try="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22376 esac
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.$ac_objext; then
22388 ac_lo=0 ac_mid=0
22389 while :; do
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef void * ac__type_sizeof_;
22398 int
22399 main ()
22400 {
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22402 test_array [0] = 0
22403
22404 ;
22405 return 0;
22406 }
22407 _ACEOF
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_hi=$ac_mid; break
22426 else
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 ac_lo=`expr $ac_mid + 1`
22431 if test $ac_lo -le $ac_mid; then
22432 ac_lo= ac_hi=
22433 break
22434 fi
22435 ac_mid=`expr 2 '*' $ac_mid + 1`
22436 fi
22437
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 done
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef void * ac__type_sizeof_;
22452 int
22453 main ()
22454 {
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22456 test_array [0] = 0
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22479 ac_hi=-1 ac_mid=-1
22480 while :; do
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_lo=$ac_mid; break
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_hi=`expr '(' $ac_mid ')' - 1`
22522 if test $ac_mid -le $ac_hi; then
22523 ac_lo= ac_hi=
22524 break
22525 fi
22526 ac_mid=`expr 2 '*' $ac_mid`
22527 fi
22528
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 done
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22534
22535 ac_lo= ac_hi=
22536 fi
22537
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539 fi
22540
22541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 # Binary search between lo and hi bounds.
22543 while test "x$ac_lo" != "x$ac_hi"; do
22544 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef void * ac__type_sizeof_;
22553 int
22554 main ()
22555 {
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22557 test_array [0] = 0
22558
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22568 esac
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_hi=$ac_mid
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 ac_lo=`expr '(' $ac_mid ')' + 1`
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 done
22590 case $ac_lo in
22591 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22592 '') if test "$ac_cv_type_void_p" = yes; then
22593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22594 See \`config.log' for more details." >&5
22595 echo "$as_me: error: cannot compute sizeof (void *)
22596 See \`config.log' for more details." >&2;}
22597 { (exit 77); exit 77; }; }
22598 else
22599 ac_cv_sizeof_void_p=0
22600 fi ;;
22601 esac
22602 else
22603 cat >conftest.$ac_ext <<_ACEOF
22604 /* confdefs.h. */
22605 _ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef void * ac__type_sizeof_;
22611 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22612 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22613 #include <stdio.h>
22614 #include <stdlib.h>
22615 int
22616 main ()
22617 {
22618
22619 FILE *f = fopen ("conftest.val", "w");
22620 if (! f)
22621 return 1;
22622 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22623 {
22624 long int i = longval ();
22625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22626 return 1;
22627 fprintf (f, "%ld\n", i);
22628 }
22629 else
22630 {
22631 unsigned long int i = ulongval ();
22632 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22633 return 1;
22634 fprintf (f, "%lu\n", i);
22635 }
22636 return ferror (f) || fclose (f) != 0;
22637
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest$ac_exeext
22643 if { (ac_try="$ac_link"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_link") 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22653 { (case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22656 esac
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_try") 2>&5
22659 ac_status=$?
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_sizeof_void_p=`cat conftest.val`
22663 else
22664 echo "$as_me: program exited with status $ac_status" >&5
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22667
22668 ( exit $ac_status )
22669 if test "$ac_cv_type_void_p" = yes; then
22670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22671 See \`config.log' for more details." >&5
22672 echo "$as_me: error: cannot compute sizeof (void *)
22673 See \`config.log' for more details." >&2;}
22674 { (exit 77); exit 77; }; }
22675 else
22676 ac_cv_sizeof_void_p=0
22677 fi
22678 fi
22679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22680 fi
22681 rm -f conftest.val
22682 fi
22683 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22684 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22685
22686
22687
22688 cat >>confdefs.h <<_ACEOF
22689 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22690 _ACEOF
22691
22692
22693 { echo "$as_me:$LINENO: checking for int" >&5
22694 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22695 if test "${ac_cv_type_int+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 else
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef int ac__type_new_;
22706 int
22707 main ()
22708 {
22709 if ((ac__type_new_ *) 0)
22710 return 0;
22711 if (sizeof (ac__type_new_))
22712 return 0;
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_cv_type_int=yes
22735 else
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.$ac_ext >&5
22738
22739 ac_cv_type_int=no
22740 fi
22741
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743 fi
22744 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22745 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22746
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { echo "$as_me:$LINENO: checking size of int" >&5
22752 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22753 if test "${ac_cv_sizeof_int+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 else
22756 if test "$cross_compiling" = yes; then
22757 # Depending upon the size, compute the lo and hi bounds.
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22766 int
22767 main ()
22768 {
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22770 test_array [0] = 0
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22793 ac_lo=0 ac_mid=0
22794 while :; do
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef int ac__type_sizeof_;
22803 int
22804 main ()
22805 {
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22807 test_array [0] = 0
22808
22809 ;
22810 return 0;
22811 }
22812 _ACEOF
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;;
22818 esac
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22821 ac_status=$?
22822 grep -v '^ *+' conftest.er1 >conftest.err
22823 rm -f conftest.er1
22824 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then
22830 ac_hi=$ac_mid; break
22831 else
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22834
22835 ac_lo=`expr $ac_mid + 1`
22836 if test $ac_lo -le $ac_mid; then
22837 ac_lo= ac_hi=
22838 break
22839 fi
22840 ac_mid=`expr 2 '*' $ac_mid + 1`
22841 fi
22842
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844 done
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22848
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855 $ac_includes_default
22856 typedef int ac__type_sizeof_;
22857 int
22858 main ()
22859 {
22860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22861 test_array [0] = 0
22862
22863 ;
22864 return 0;
22865 }
22866 _ACEOF
22867 rm -f conftest.$ac_objext
22868 if { (ac_try="$ac_compile"
22869 case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22872 esac
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_compile") 2>conftest.er1
22875 ac_status=$?
22876 grep -v '^ *+' conftest.er1 >conftest.err
22877 rm -f conftest.er1
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } && {
22881 test -z "$ac_c_werror_flag" ||
22882 test ! -s conftest.err
22883 } && test -s conftest.$ac_objext; then
22884 ac_hi=-1 ac_mid=-1
22885 while :; do
22886 cat >conftest.$ac_ext <<_ACEOF
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22894 int
22895 main ()
22896 {
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22898 test_array [0] = 0
22899
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_lo=$ac_mid; break
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 ac_hi=`expr '(' $ac_mid ')' - 1`
22927 if test $ac_mid -le $ac_hi; then
22928 ac_lo= ac_hi=
22929 break
22930 fi
22931 ac_mid=`expr 2 '*' $ac_mid`
22932 fi
22933
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 done
22936 else
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22939
22940 ac_lo= ac_hi=
22941 fi
22942
22943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22944 fi
22945
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 # Binary search between lo and hi bounds.
22948 while test "x$ac_lo" != "x$ac_hi"; do
22949 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h. */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef int ac__type_sizeof_;
22958 int
22959 main ()
22960 {
22961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22962 test_array [0] = 0
22963
22964 ;
22965 return 0;
22966 }
22967 _ACEOF
22968 rm -f conftest.$ac_objext
22969 if { (ac_try="$ac_compile"
22970 case "(($ac_try" in
22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22973 esac
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_compile") 2>conftest.er1
22976 ac_status=$?
22977 grep -v '^ *+' conftest.er1 >conftest.err
22978 rm -f conftest.er1
22979 cat conftest.err >&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } && {
22982 test -z "$ac_c_werror_flag" ||
22983 test ! -s conftest.err
22984 } && test -s conftest.$ac_objext; then
22985 ac_hi=$ac_mid
22986 else
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22989
22990 ac_lo=`expr '(' $ac_mid ')' + 1`
22991 fi
22992
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994 done
22995 case $ac_lo in
22996 ?*) ac_cv_sizeof_int=$ac_lo;;
22997 '') if test "$ac_cv_type_int" = yes; then
22998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22999 See \`config.log' for more details." >&5
23000 echo "$as_me: error: cannot compute sizeof (int)
23001 See \`config.log' for more details." >&2;}
23002 { (exit 77); exit 77; }; }
23003 else
23004 ac_cv_sizeof_int=0
23005 fi ;;
23006 esac
23007 else
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef int ac__type_sizeof_;
23016 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23017 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23018 #include <stdio.h>
23019 #include <stdlib.h>
23020 int
23021 main ()
23022 {
23023
23024 FILE *f = fopen ("conftest.val", "w");
23025 if (! f)
23026 return 1;
23027 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23028 {
23029 long int i = longval ();
23030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23031 return 1;
23032 fprintf (f, "%ld\n", i);
23033 }
23034 else
23035 {
23036 unsigned long int i = ulongval ();
23037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23038 return 1;
23039 fprintf (f, "%lu\n", i);
23040 }
23041 return ferror (f) || fclose (f) != 0;
23042
23043 ;
23044 return 0;
23045 }
23046 _ACEOF
23047 rm -f conftest$ac_exeext
23048 if { (ac_try="$ac_link"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23052 esac
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_link") 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23058 { (case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_try") 2>&5
23064 ac_status=$?
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); }; }; then
23067 ac_cv_sizeof_int=`cat conftest.val`
23068 else
23069 echo "$as_me: program exited with status $ac_status" >&5
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073 ( exit $ac_status )
23074 if test "$ac_cv_type_int" = yes; then
23075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23076 See \`config.log' for more details." >&5
23077 echo "$as_me: error: cannot compute sizeof (int)
23078 See \`config.log' for more details." >&2;}
23079 { (exit 77); exit 77; }; }
23080 else
23081 ac_cv_sizeof_int=0
23082 fi
23083 fi
23084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23085 fi
23086 rm -f conftest.val
23087 fi
23088 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23089 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23090
23091
23092
23093 cat >>confdefs.h <<_ACEOF
23094 #define SIZEOF_INT $ac_cv_sizeof_int
23095 _ACEOF
23096
23097
23098 { echo "$as_me:$LINENO: checking for long" >&5
23099 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23100 if test "${ac_cv_type_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long ac__type_new_;
23111 int
23112 main ()
23113 {
23114 if ((ac__type_new_ *) 0)
23115 return 0;
23116 if (sizeof (ac__type_new_))
23117 return 0;
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_cv_type_long=yes
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_cv_type_long=no
23145 fi
23146
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23148 fi
23149 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23150 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23151
23152 # The cast to long int works around a bug in the HP C Compiler
23153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23155 # This bug is HP SR number 8606223364.
23156 { echo "$as_me:$LINENO: checking size of long" >&5
23157 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23158 if test "${ac_cv_sizeof_long+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 else
23161 if test "$cross_compiling" = yes; then
23162 # Depending upon the size, compute the lo and hi bounds.
23163 cat >conftest.$ac_ext <<_ACEOF
23164 /* confdefs.h. */
23165 _ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23171 int
23172 main ()
23173 {
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23175 test_array [0] = 0
23176
23177 ;
23178 return 0;
23179 }
23180 _ACEOF
23181 rm -f conftest.$ac_objext
23182 if { (ac_try="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23186 esac
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.$ac_objext; then
23198 ac_lo=0 ac_mid=0
23199 while :; do
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef long ac__type_sizeof_;
23208 int
23209 main ()
23210 {
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23212 test_array [0] = 0
23213
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_hi=$ac_mid; break
23236 else
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23239
23240 ac_lo=`expr $ac_mid + 1`
23241 if test $ac_lo -le $ac_mid; then
23242 ac_lo= ac_hi=
23243 break
23244 fi
23245 ac_mid=`expr 2 '*' $ac_mid + 1`
23246 fi
23247
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 done
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 $ac_includes_default
23261 typedef long ac__type_sizeof_;
23262 int
23263 main ()
23264 {
23265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23266 test_array [0] = 0
23267
23268 ;
23269 return 0;
23270 }
23271 _ACEOF
23272 rm -f conftest.$ac_objext
23273 if { (ac_try="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23277 esac
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23280 ac_status=$?
23281 grep -v '^ *+' conftest.er1 >conftest.err
23282 rm -f conftest.er1
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23289 ac_hi=-1 ac_mid=-1
23290 while :; do
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23299 int
23300 main ()
23301 {
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23303 test_array [0] = 0
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23317 ac_status=$?
23318 grep -v '^ *+' conftest.er1 >conftest.err
23319 rm -f conftest.er1
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_lo=$ac_mid; break
23327 else
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23330
23331 ac_hi=`expr '(' $ac_mid ')' - 1`
23332 if test $ac_mid -le $ac_hi; then
23333 ac_lo= ac_hi=
23334 break
23335 fi
23336 ac_mid=`expr 2 '*' $ac_mid`
23337 fi
23338
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 done
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 ac_lo= ac_hi=
23346 fi
23347
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 fi
23350
23351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23352 # Binary search between lo and hi bounds.
23353 while test "x$ac_lo" != "x$ac_hi"; do
23354 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23355 cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h. */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 $ac_includes_default
23362 typedef long ac__type_sizeof_;
23363 int
23364 main ()
23365 {
23366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23367 test_array [0] = 0
23368
23369 ;
23370 return 0;
23371 }
23372 _ACEOF
23373 rm -f conftest.$ac_objext
23374 if { (ac_try="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23378 esac
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23390 ac_hi=$ac_mid
23391 else
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 ac_lo=`expr '(' $ac_mid ')' + 1`
23396 fi
23397
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 done
23400 case $ac_lo in
23401 ?*) ac_cv_sizeof_long=$ac_lo;;
23402 '') if test "$ac_cv_type_long" = yes; then
23403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23404 See \`config.log' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (long)
23406 See \`config.log' for more details." >&2;}
23407 { (exit 77); exit 77; }; }
23408 else
23409 ac_cv_sizeof_long=0
23410 fi ;;
23411 esac
23412 else
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 typedef long ac__type_sizeof_;
23421 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23422 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23423 #include <stdio.h>
23424 #include <stdlib.h>
23425 int
23426 main ()
23427 {
23428
23429 FILE *f = fopen ("conftest.val", "w");
23430 if (! f)
23431 return 1;
23432 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23433 {
23434 long int i = longval ();
23435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23436 return 1;
23437 fprintf (f, "%ld\n", i);
23438 }
23439 else
23440 {
23441 unsigned long int i = ulongval ();
23442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23443 return 1;
23444 fprintf (f, "%lu\n", i);
23445 }
23446 return ferror (f) || fclose (f) != 0;
23447
23448 ;
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23457 esac
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>&5
23460 ac_status=$?
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23463 { (case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23466 esac
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_try") 2>&5
23469 ac_status=$?
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; }; then
23472 ac_cv_sizeof_long=`cat conftest.val`
23473 else
23474 echo "$as_me: program exited with status $ac_status" >&5
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ( exit $ac_status )
23479 if test "$ac_cv_type_long" = yes; then
23480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23481 See \`config.log' for more details." >&5
23482 echo "$as_me: error: cannot compute sizeof (long)
23483 See \`config.log' for more details." >&2;}
23484 { (exit 77); exit 77; }; }
23485 else
23486 ac_cv_sizeof_long=0
23487 fi
23488 fi
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23490 fi
23491 rm -f conftest.val
23492 fi
23493 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23494 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23495
23496
23497
23498 cat >>confdefs.h <<_ACEOF
23499 #define SIZEOF_LONG $ac_cv_sizeof_long
23500 _ACEOF
23501
23502
23503 { echo "$as_me:$LINENO: checking for size_t" >&5
23504 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23505 if test "${ac_cv_type_size_t+set}" = set; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 else
23508 cat >conftest.$ac_ext <<_ACEOF
23509 /* confdefs.h. */
23510 _ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 $ac_includes_default
23515 typedef size_t ac__type_new_;
23516 int
23517 main ()
23518 {
23519 if ((ac__type_new_ *) 0)
23520 return 0;
23521 if (sizeof (ac__type_new_))
23522 return 0;
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_cv_type_size_t=yes
23545 else
23546 echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23548
23549 ac_cv_type_size_t=no
23550 fi
23551
23552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23553 fi
23554 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23555 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23556
23557 # The cast to long int works around a bug in the HP C Compiler
23558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23560 # This bug is HP SR number 8606223364.
23561 { echo "$as_me:$LINENO: checking size of size_t" >&5
23562 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23563 if test "${ac_cv_sizeof_size_t+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 else
23566 if test "$cross_compiling" = yes; then
23567 # Depending upon the size, compute the lo and hi bounds.
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_lo=0 ac_mid=0
23604 while :; do
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef size_t ac__type_sizeof_;
23613 int
23614 main ()
23615 {
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23617 test_array [0] = 0
23618
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23631 ac_status=$?
23632 grep -v '^ *+' conftest.er1 >conftest.err
23633 rm -f conftest.er1
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_hi=$ac_mid; break
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ac_lo=`expr $ac_mid + 1`
23646 if test $ac_lo -le $ac_mid; then
23647 ac_lo= ac_hi=
23648 break
23649 fi
23650 ac_mid=`expr 2 '*' $ac_mid + 1`
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 done
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23666 typedef size_t ac__type_sizeof_;
23667 int
23668 main ()
23669 {
23670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23671 test_array [0] = 0
23672
23673 ;
23674 return 0;
23675 }
23676 _ACEOF
23677 rm -f conftest.$ac_objext
23678 if { (ac_try="$ac_compile"
23679 case "(($ac_try" in
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23682 esac
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_compile") 2>conftest.er1
23685 ac_status=$?
23686 grep -v '^ *+' conftest.er1 >conftest.err
23687 rm -f conftest.er1
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } && {
23691 test -z "$ac_c_werror_flag" ||
23692 test ! -s conftest.err
23693 } && test -s conftest.$ac_objext; then
23694 ac_hi=-1 ac_mid=-1
23695 while :; do
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23704 int
23705 main ()
23706 {
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23708 test_array [0] = 0
23709
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_lo=$ac_mid; break
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_hi=`expr '(' $ac_mid ')' - 1`
23737 if test $ac_mid -le $ac_hi; then
23738 ac_lo= ac_hi=
23739 break
23740 fi
23741 ac_mid=`expr 2 '*' $ac_mid`
23742 fi
23743
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 done
23746 else
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.$ac_ext >&5
23749
23750 ac_lo= ac_hi=
23751 fi
23752
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 fi
23755
23756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23757 # Binary search between lo and hi bounds.
23758 while test "x$ac_lo" != "x$ac_hi"; do
23759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23760 cat >conftest.$ac_ext <<_ACEOF
23761 /* confdefs.h. */
23762 _ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 $ac_includes_default
23767 typedef size_t ac__type_sizeof_;
23768 int
23769 main ()
23770 {
23771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23772 test_array [0] = 0
23773
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23783 esac
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_c_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23795 ac_hi=$ac_mid
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 ac_lo=`expr '(' $ac_mid ')' + 1`
23801 fi
23802
23803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23804 done
23805 case $ac_lo in
23806 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23807 '') if test "$ac_cv_type_size_t" = yes; then
23808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23809 See \`config.log' for more details." >&5
23810 echo "$as_me: error: cannot compute sizeof (size_t)
23811 See \`config.log' for more details." >&2;}
23812 { (exit 77); exit 77; }; }
23813 else
23814 ac_cv_sizeof_size_t=0
23815 fi ;;
23816 esac
23817 else
23818 cat >conftest.$ac_ext <<_ACEOF
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 $ac_includes_default
23825 typedef size_t ac__type_sizeof_;
23826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23828 #include <stdio.h>
23829 #include <stdlib.h>
23830 int
23831 main ()
23832 {
23833
23834 FILE *f = fopen ("conftest.val", "w");
23835 if (! f)
23836 return 1;
23837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23838 {
23839 long int i = longval ();
23840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23841 return 1;
23842 fprintf (f, "%ld\n", i);
23843 }
23844 else
23845 {
23846 unsigned long int i = ulongval ();
23847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23848 return 1;
23849 fprintf (f, "%lu\n", i);
23850 }
23851 return ferror (f) || fclose (f) != 0;
23852
23853 ;
23854 return 0;
23855 }
23856 _ACEOF
23857 rm -f conftest$ac_exeext
23858 if { (ac_try="$ac_link"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23862 esac
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_link") 2>&5
23865 ac_status=$?
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_sizeof_size_t=`cat conftest.val`
23878 else
23879 echo "$as_me: program exited with status $ac_status" >&5
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23882
23883 ( exit $ac_status )
23884 if test "$ac_cv_type_size_t" = yes; then
23885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23886 See \`config.log' for more details." >&5
23887 echo "$as_me: error: cannot compute sizeof (size_t)
23888 See \`config.log' for more details." >&2;}
23889 { (exit 77); exit 77; }; }
23890 else
23891 ac_cv_sizeof_size_t=0
23892 fi
23893 fi
23894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23895 fi
23896 rm -f conftest.val
23897 fi
23898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23899 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23900
23901
23902
23903 cat >>confdefs.h <<_ACEOF
23904 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23905 _ACEOF
23906
23907
23908
23909 case "${host}" in
23910 arm-*-linux* )
23911 { echo "$as_me:$LINENO: checking for long long" >&5
23912 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23913 if test "${ac_cv_type_long_long+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 else
23916 cat >conftest.$ac_ext <<_ACEOF
23917 /* confdefs.h. */
23918 _ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 $ac_includes_default
23923 typedef long long ac__type_new_;
23924 int
23925 main ()
23926 {
23927 if ((ac__type_new_ *) 0)
23928 return 0;
23929 if (sizeof (ac__type_new_))
23930 return 0;
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_cv_type_long_long=yes
23953 else
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23956
23957 ac_cv_type_long_long=no
23958 fi
23959
23960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23961 fi
23962 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23963 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23964
23965 # The cast to long int works around a bug in the HP C Compiler
23966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23968 # This bug is HP SR number 8606223364.
23969 { echo "$as_me:$LINENO: checking size of long long" >&5
23970 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23971 if test "${ac_cv_sizeof_long_long+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974 if test "$cross_compiling" = yes; then
23975 # Depending upon the size, compute the lo and hi bounds.
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23984 int
23985 main ()
23986 {
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23988 test_array [0] = 0
23989
23990 ;
23991 return 0;
23992 }
23993 _ACEOF
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
23999 esac
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24011 ac_lo=0 ac_mid=0
24012 while :; do
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 $ac_includes_default
24020 typedef long long ac__type_sizeof_;
24021 int
24022 main ()
24023 {
24024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24025 test_array [0] = 0
24026
24027 ;
24028 return 0;
24029 }
24030 _ACEOF
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24036 esac
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24039 ac_status=$?
24040 grep -v '^ *+' conftest.er1 >conftest.err
24041 rm -f conftest.er1
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_c_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.$ac_objext; then
24048 ac_hi=$ac_mid; break
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 ac_lo=`expr $ac_mid + 1`
24054 if test $ac_lo -le $ac_mid; then
24055 ac_lo= ac_hi=
24056 break
24057 fi
24058 ac_mid=`expr 2 '*' $ac_mid + 1`
24059 fi
24060
24061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24062 done
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 cat >conftest.$ac_ext <<_ACEOF
24068 /* confdefs.h. */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073 $ac_includes_default
24074 typedef long long ac__type_sizeof_;
24075 int
24076 main ()
24077 {
24078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24079 test_array [0] = 0
24080
24081 ;
24082 return 0;
24083 }
24084 _ACEOF
24085 rm -f conftest.$ac_objext
24086 if { (ac_try="$ac_compile"
24087 case "(($ac_try" in
24088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24089 *) ac_try_echo=$ac_try;;
24090 esac
24091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092 (eval "$ac_compile") 2>conftest.er1
24093 ac_status=$?
24094 grep -v '^ *+' conftest.er1 >conftest.err
24095 rm -f conftest.er1
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } && {
24099 test -z "$ac_c_werror_flag" ||
24100 test ! -s conftest.err
24101 } && test -s conftest.$ac_objext; then
24102 ac_hi=-1 ac_mid=-1
24103 while :; do
24104 cat >conftest.$ac_ext <<_ACEOF
24105 /* confdefs.h. */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24112 int
24113 main ()
24114 {
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24116 test_array [0] = 0
24117
24118 ;
24119 return 0;
24120 }
24121 _ACEOF
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127 esac
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_lo=$ac_mid; break
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_hi=`expr '(' $ac_mid ')' - 1`
24145 if test $ac_mid -le $ac_hi; then
24146 ac_lo= ac_hi=
24147 break
24148 fi
24149 ac_mid=`expr 2 '*' $ac_mid`
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 done
24154 else
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24157
24158 ac_lo= ac_hi=
24159 fi
24160
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 fi
24163
24164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 # Binary search between lo and hi bounds.
24166 while test "x$ac_lo" != "x$ac_hi"; do
24167 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24168 cat >conftest.$ac_ext <<_ACEOF
24169 /* confdefs.h. */
24170 _ACEOF
24171 cat confdefs.h >>conftest.$ac_ext
24172 cat >>conftest.$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24174 $ac_includes_default
24175 typedef long long ac__type_sizeof_;
24176 int
24177 main ()
24178 {
24179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24180 test_array [0] = 0
24181
24182 ;
24183 return 0;
24184 }
24185 _ACEOF
24186 rm -f conftest.$ac_objext
24187 if { (ac_try="$ac_compile"
24188 case "(($ac_try" in
24189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24190 *) ac_try_echo=$ac_try;;
24191 esac
24192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24193 (eval "$ac_compile") 2>conftest.er1
24194 ac_status=$?
24195 grep -v '^ *+' conftest.er1 >conftest.err
24196 rm -f conftest.er1
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } && {
24200 test -z "$ac_c_werror_flag" ||
24201 test ! -s conftest.err
24202 } && test -s conftest.$ac_objext; then
24203 ac_hi=$ac_mid
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24207
24208 ac_lo=`expr '(' $ac_mid ')' + 1`
24209 fi
24210
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24212 done
24213 case $ac_lo in
24214 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24215 '') if test "$ac_cv_type_long_long" = yes; then
24216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24217 See \`config.log' for more details." >&5
24218 echo "$as_me: error: cannot compute sizeof (long long)
24219 See \`config.log' for more details." >&2;}
24220 { (exit 77); exit 77; }; }
24221 else
24222 ac_cv_sizeof_long_long=0
24223 fi ;;
24224 esac
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 $ac_includes_default
24233 typedef long long ac__type_sizeof_;
24234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24236 #include <stdio.h>
24237 #include <stdlib.h>
24238 int
24239 main ()
24240 {
24241
24242 FILE *f = fopen ("conftest.val", "w");
24243 if (! f)
24244 return 1;
24245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24246 {
24247 long int i = longval ();
24248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24249 return 1;
24250 fprintf (f, "%ld\n", i);
24251 }
24252 else
24253 {
24254 unsigned long int i = ulongval ();
24255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24256 return 1;
24257 fprintf (f, "%lu\n", i);
24258 }
24259 return ferror (f) || fclose (f) != 0;
24260
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest$ac_exeext
24266 if { (ac_try="$ac_link"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24270 esac
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_link") 2>&5
24273 ac_status=$?
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24276 { (case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24279 esac
24280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_try") 2>&5
24282 ac_status=$?
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); }; }; then
24285 ac_cv_sizeof_long_long=`cat conftest.val`
24286 else
24287 echo "$as_me: program exited with status $ac_status" >&5
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 ( exit $ac_status )
24292 if test "$ac_cv_type_long_long" = yes; then
24293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24294 See \`config.log' for more details." >&5
24295 echo "$as_me: error: cannot compute sizeof (long long)
24296 See \`config.log' for more details." >&2;}
24297 { (exit 77); exit 77; }; }
24298 else
24299 ac_cv_sizeof_long_long=0
24300 fi
24301 fi
24302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24303 fi
24304 rm -f conftest.val
24305 fi
24306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24307 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24308
24309
24310
24311 cat >>confdefs.h <<_ACEOF
24312 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24313 _ACEOF
24314
24315
24316 ;;
24317 *-hp-hpux* )
24318 { echo "$as_me:$LINENO: checking for long long" >&5
24319 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24320 if test "${ac_cv_type_long_long+set}" = set; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 else
24323 cat >conftest.$ac_ext <<_ACEOF
24324 /* confdefs.h. */
24325 _ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 typedef long long ac__type_new_;
24331 int
24332 main ()
24333 {
24334 if ((ac__type_new_ *) 0)
24335 return 0;
24336 if (sizeof (ac__type_new_))
24337 return 0;
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_cv_type_long_long=yes
24360 else
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24363
24364 ac_cv_type_long_long=no
24365 fi
24366
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368 fi
24369 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24370 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24371
24372 # The cast to long int works around a bug in the HP C Compiler
24373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24375 # This bug is HP SR number 8606223364.
24376 { echo "$as_me:$LINENO: checking size of long long" >&5
24377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24378 if test "${ac_cv_sizeof_long_long+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24380 else
24381 if test "$cross_compiling" = yes; then
24382 # Depending upon the size, compute the lo and hi bounds.
24383 cat >conftest.$ac_ext <<_ACEOF
24384 /* confdefs.h. */
24385 _ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24391 int
24392 main ()
24393 {
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24395 test_array [0] = 0
24396
24397 ;
24398 return 0;
24399 }
24400 _ACEOF
24401 rm -f conftest.$ac_objext
24402 if { (ac_try="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24406 esac
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24409 ac_status=$?
24410 grep -v '^ *+' conftest.er1 >conftest.err
24411 rm -f conftest.er1
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24418 ac_lo=0 ac_mid=0
24419 while :; do
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef long long ac__type_sizeof_;
24428 int
24429 main ()
24430 {
24431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24432 test_array [0] = 0
24433
24434 ;
24435 return 0;
24436 }
24437 _ACEOF
24438 rm -f conftest.$ac_objext
24439 if { (ac_try="$ac_compile"
24440 case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24442 *) ac_try_echo=$ac_try;;
24443 esac
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_compile") 2>conftest.er1
24446 ac_status=$?
24447 grep -v '^ *+' conftest.er1 >conftest.err
24448 rm -f conftest.er1
24449 cat conftest.err >&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } && {
24452 test -z "$ac_c_werror_flag" ||
24453 test ! -s conftest.err
24454 } && test -s conftest.$ac_objext; then
24455 ac_hi=$ac_mid; break
24456 else
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.$ac_ext >&5
24459
24460 ac_lo=`expr $ac_mid + 1`
24461 if test $ac_lo -le $ac_mid; then
24462 ac_lo= ac_hi=
24463 break
24464 fi
24465 ac_mid=`expr 2 '*' $ac_mid + 1`
24466 fi
24467
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 done
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 $ac_includes_default
24481 typedef long long ac__type_sizeof_;
24482 int
24483 main ()
24484 {
24485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24486 test_array [0] = 0
24487
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext
24493 if { (ac_try="$ac_compile"
24494 case "(($ac_try" in
24495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24496 *) ac_try_echo=$ac_try;;
24497 esac
24498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24499 (eval "$ac_compile") 2>conftest.er1
24500 ac_status=$?
24501 grep -v '^ *+' conftest.er1 >conftest.err
24502 rm -f conftest.er1
24503 cat conftest.err >&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } && {
24506 test -z "$ac_c_werror_flag" ||
24507 test ! -s conftest.err
24508 } && test -s conftest.$ac_objext; then
24509 ac_hi=-1 ac_mid=-1
24510 while :; do
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24519 int
24520 main ()
24521 {
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24523 test_array [0] = 0
24524
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24546 ac_lo=$ac_mid; break
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_hi=`expr '(' $ac_mid ')' - 1`
24552 if test $ac_mid -le $ac_hi; then
24553 ac_lo= ac_hi=
24554 break
24555 fi
24556 ac_mid=`expr 2 '*' $ac_mid`
24557 fi
24558
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24560 done
24561 else
24562 echo "$as_me: failed program was:" >&5
24563 sed 's/^/| /' conftest.$ac_ext >&5
24564
24565 ac_lo= ac_hi=
24566 fi
24567
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 fi
24570
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 # Binary search between lo and hi bounds.
24573 while test "x$ac_lo" != "x$ac_hi"; do
24574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24575 cat >conftest.$ac_ext <<_ACEOF
24576 /* confdefs.h. */
24577 _ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 $ac_includes_default
24582 typedef long long ac__type_sizeof_;
24583 int
24584 main ()
24585 {
24586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24587 test_array [0] = 0
24588
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24598 esac
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_c_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 ac_hi=$ac_mid
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 ac_lo=`expr '(' $ac_mid ')' + 1`
24616 fi
24617
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 done
24620 case $ac_lo in
24621 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24622 '') if test "$ac_cv_type_long_long" = yes; then
24623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24624 See \`config.log' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (long long)
24626 See \`config.log' for more details." >&2;}
24627 { (exit 77); exit 77; }; }
24628 else
24629 ac_cv_sizeof_long_long=0
24630 fi ;;
24631 esac
24632 else
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 $ac_includes_default
24640 typedef long long ac__type_sizeof_;
24641 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24642 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24643 #include <stdio.h>
24644 #include <stdlib.h>
24645 int
24646 main ()
24647 {
24648
24649 FILE *f = fopen ("conftest.val", "w");
24650 if (! f)
24651 return 1;
24652 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24653 {
24654 long int i = longval ();
24655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24656 return 1;
24657 fprintf (f, "%ld\n", i);
24658 }
24659 else
24660 {
24661 unsigned long int i = ulongval ();
24662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24663 return 1;
24664 fprintf (f, "%lu\n", i);
24665 }
24666 return ferror (f) || fclose (f) != 0;
24667
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
24672 rm -f conftest$ac_exeext
24673 if { (ac_try="$ac_link"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24677 esac
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_link") 2>&5
24680 ac_status=$?
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24683 { (case "(($ac_try" in
24684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24686 esac
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_try") 2>&5
24689 ac_status=$?
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 ac_cv_sizeof_long_long=`cat conftest.val`
24693 else
24694 echo "$as_me: program exited with status $ac_status" >&5
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24697
24698 ( exit $ac_status )
24699 if test "$ac_cv_type_long_long" = yes; then
24700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24701 See \`config.log' for more details." >&5
24702 echo "$as_me: error: cannot compute sizeof (long long)
24703 See \`config.log' for more details." >&2;}
24704 { (exit 77); exit 77; }; }
24705 else
24706 ac_cv_sizeof_long_long=0
24707 fi
24708 fi
24709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24710 fi
24711 rm -f conftest.val
24712 fi
24713 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24715
24716
24717
24718 cat >>confdefs.h <<_ACEOF
24719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24720 _ACEOF
24721
24722
24723 if test "$ac_cv_sizeof_long_long" != "0"; then
24724 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24725 fi
24726 ;;
24727 * )
24728 { echo "$as_me:$LINENO: checking for long long" >&5
24729 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24730 if test "${ac_cv_type_long_long+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24732 else
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 $ac_includes_default
24740 typedef long long ac__type_new_;
24741 int
24742 main ()
24743 {
24744 if ((ac__type_new_ *) 0)
24745 return 0;
24746 if (sizeof (ac__type_new_))
24747 return 0;
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_cv_type_long_long=yes
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 ac_cv_type_long_long=no
24775 fi
24776
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 fi
24779 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24780 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24781
24782 # The cast to long int works around a bug in the HP C Compiler
24783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24785 # This bug is HP SR number 8606223364.
24786 { echo "$as_me:$LINENO: checking size of long long" >&5
24787 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24788 if test "${ac_cv_sizeof_long_long+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24791 if test "$cross_compiling" = yes; then
24792 # Depending upon the size, compute the lo and hi bounds.
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24801 int
24802 main ()
24803 {
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24805 test_array [0] = 0
24806
24807 ;
24808 return 0;
24809 }
24810 _ACEOF
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24816 esac
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24819 ac_status=$?
24820 grep -v '^ *+' conftest.er1 >conftest.err
24821 rm -f conftest.er1
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24828 ac_lo=0 ac_mid=0
24829 while :; do
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 $ac_includes_default
24837 typedef long long ac__type_sizeof_;
24838 int
24839 main ()
24840 {
24841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24842 test_array [0] = 0
24843
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_c_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_hi=$ac_mid; break
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 ac_lo=`expr $ac_mid + 1`
24871 if test $ac_lo -le $ac_mid; then
24872 ac_lo= ac_hi=
24873 break
24874 fi
24875 ac_mid=`expr 2 '*' $ac_mid + 1`
24876 fi
24877
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879 done
24880 else
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884 cat >conftest.$ac_ext <<_ACEOF
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 typedef long long ac__type_sizeof_;
24892 int
24893 main ()
24894 {
24895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24896 test_array [0] = 0
24897
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_c_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 ac_hi=-1 ac_mid=-1
24920 while :; do
24921 cat >conftest.$ac_ext <<_ACEOF
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24929 int
24930 main ()
24931 {
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24933 test_array [0] = 0
24934
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24944 esac
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24956 ac_lo=$ac_mid; break
24957 else
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24960
24961 ac_hi=`expr '(' $ac_mid ')' - 1`
24962 if test $ac_mid -le $ac_hi; then
24963 ac_lo= ac_hi=
24964 break
24965 fi
24966 ac_mid=`expr 2 '*' $ac_mid`
24967 fi
24968
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970 done
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 ac_lo= ac_hi=
24976 fi
24977
24978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24979 fi
24980
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 # Binary search between lo and hi bounds.
24983 while test "x$ac_lo" != "x$ac_hi"; do
24984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24985 cat >conftest.$ac_ext <<_ACEOF
24986 /* confdefs.h. */
24987 _ACEOF
24988 cat confdefs.h >>conftest.$ac_ext
24989 cat >>conftest.$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 $ac_includes_default
24992 typedef long long ac__type_sizeof_;
24993 int
24994 main ()
24995 {
24996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24997 test_array [0] = 0
24998
24999 ;
25000 return 0;
25001 }
25002 _ACEOF
25003 rm -f conftest.$ac_objext
25004 if { (ac_try="$ac_compile"
25005 case "(($ac_try" in
25006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007 *) ac_try_echo=$ac_try;;
25008 esac
25009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010 (eval "$ac_compile") 2>conftest.er1
25011 ac_status=$?
25012 grep -v '^ *+' conftest.er1 >conftest.err
25013 rm -f conftest.er1
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && {
25017 test -z "$ac_c_werror_flag" ||
25018 test ! -s conftest.err
25019 } && test -s conftest.$ac_objext; then
25020 ac_hi=$ac_mid
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 ac_lo=`expr '(' $ac_mid ')' + 1`
25026 fi
25027
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 done
25030 case $ac_lo in
25031 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25032 '') if test "$ac_cv_type_long_long" = yes; then
25033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25034 See \`config.log' for more details." >&5
25035 echo "$as_me: error: cannot compute sizeof (long long)
25036 See \`config.log' for more details." >&2;}
25037 { (exit 77); exit 77; }; }
25038 else
25039 ac_cv_sizeof_long_long=0
25040 fi ;;
25041 esac
25042 else
25043 cat >conftest.$ac_ext <<_ACEOF
25044 /* confdefs.h. */
25045 _ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 $ac_includes_default
25050 typedef long long ac__type_sizeof_;
25051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25053 #include <stdio.h>
25054 #include <stdlib.h>
25055 int
25056 main ()
25057 {
25058
25059 FILE *f = fopen ("conftest.val", "w");
25060 if (! f)
25061 return 1;
25062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25063 {
25064 long int i = longval ();
25065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25066 return 1;
25067 fprintf (f, "%ld\n", i);
25068 }
25069 else
25070 {
25071 unsigned long int i = ulongval ();
25072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25073 return 1;
25074 fprintf (f, "%lu\n", i);
25075 }
25076 return ferror (f) || fclose (f) != 0;
25077
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest$ac_exeext
25083 if { (ac_try="$ac_link"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25087 esac
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_link") 2>&5
25090 ac_status=$?
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25093 { (case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25096 esac
25097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_try") 2>&5
25099 ac_status=$?
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; }; then
25102 ac_cv_sizeof_long_long=`cat conftest.val`
25103 else
25104 echo "$as_me: program exited with status $ac_status" >&5
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ( exit $ac_status )
25109 if test "$ac_cv_type_long_long" = yes; then
25110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25111 See \`config.log' for more details." >&5
25112 echo "$as_me: error: cannot compute sizeof (long long)
25113 See \`config.log' for more details." >&2;}
25114 { (exit 77); exit 77; }; }
25115 else
25116 ac_cv_sizeof_long_long=0
25117 fi
25118 fi
25119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25120 fi
25121 rm -f conftest.val
25122 fi
25123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25124 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25125
25126
25127
25128 cat >>confdefs.h <<_ACEOF
25129 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25130 _ACEOF
25131
25132
25133 esac
25134
25135 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25136 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_type_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140 cat >conftest.$ac_ext <<_ACEOF
25141 /* confdefs.h. */
25142 _ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146
25147 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25148 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25149 # error "fake wchar_t"
25150 #endif
25151 #ifdef HAVE_WCHAR_H
25152 # ifdef __CYGWIN__
25153 # include <stddef.h>
25154 # endif
25155 # include <wchar.h>
25156 #endif
25157 #ifdef HAVE_STDLIB_H
25158 # include <stdlib.h>
25159 #endif
25160 #include <stdio.h>
25161
25162
25163
25164 typedef wchar_t ac__type_new_;
25165 int
25166 main ()
25167 {
25168 if ((ac__type_new_ *) 0)
25169 return 0;
25170 if (sizeof (ac__type_new_))
25171 return 0;
25172 ;
25173 return 0;
25174 }
25175 _ACEOF
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25181 esac
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_c_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_type_wchar_t=yes
25194 else
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25197
25198 ac_cv_type_wchar_t=no
25199 fi
25200
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 fi
25203 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25204 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25205
25206 # The cast to long int works around a bug in the HP C Compiler
25207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25209 # This bug is HP SR number 8606223364.
25210 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25211 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25212 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25214 else
25215 if test "$cross_compiling" = yes; then
25216 # Depending upon the size, compute the lo and hi bounds.
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223
25224 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25225 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25226 # error "fake wchar_t"
25227 #endif
25228 #ifdef HAVE_WCHAR_H
25229 # ifdef __CYGWIN__
25230 # include <stddef.h>
25231 # endif
25232 # include <wchar.h>
25233 #endif
25234 #ifdef HAVE_STDLIB_H
25235 # include <stdlib.h>
25236 #endif
25237 #include <stdio.h>
25238
25239
25240
25241 typedef wchar_t ac__type_sizeof_;
25242 int
25243 main ()
25244 {
25245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25246 test_array [0] = 0
25247
25248 ;
25249 return 0;
25250 }
25251 _ACEOF
25252 rm -f conftest.$ac_objext
25253 if { (ac_try="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25257 esac
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25260 ac_status=$?
25261 grep -v '^ *+' conftest.er1 >conftest.err
25262 rm -f conftest.er1
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_c_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25269 ac_lo=0 ac_mid=0
25270 while :; do
25271 cat >conftest.$ac_ext <<_ACEOF
25272 /* confdefs.h. */
25273 _ACEOF
25274 cat confdefs.h >>conftest.$ac_ext
25275 cat >>conftest.$ac_ext <<_ACEOF
25276 /* end confdefs.h. */
25277
25278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25280 # error "fake wchar_t"
25281 #endif
25282 #ifdef HAVE_WCHAR_H
25283 # ifdef __CYGWIN__
25284 # include <stddef.h>
25285 # endif
25286 # include <wchar.h>
25287 #endif
25288 #ifdef HAVE_STDLIB_H
25289 # include <stdlib.h>
25290 #endif
25291 #include <stdio.h>
25292
25293
25294
25295 typedef wchar_t ac__type_sizeof_;
25296 int
25297 main ()
25298 {
25299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25300 test_array [0] = 0
25301
25302 ;
25303 return 0;
25304 }
25305 _ACEOF
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25311 esac
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25314 ac_status=$?
25315 grep -v '^ *+' conftest.er1 >conftest.err
25316 rm -f conftest.er1
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.$ac_objext; then
25323 ac_hi=$ac_mid; break
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328 ac_lo=`expr $ac_mid + 1`
25329 if test $ac_lo -le $ac_mid; then
25330 ac_lo= ac_hi=
25331 break
25332 fi
25333 ac_mid=`expr 2 '*' $ac_mid + 1`
25334 fi
25335
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337 done
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 cat >conftest.$ac_ext <<_ACEOF
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348
25349 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25350 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25351 # error "fake wchar_t"
25352 #endif
25353 #ifdef HAVE_WCHAR_H
25354 # ifdef __CYGWIN__
25355 # include <stddef.h>
25356 # endif
25357 # include <wchar.h>
25358 #endif
25359 #ifdef HAVE_STDLIB_H
25360 # include <stdlib.h>
25361 #endif
25362 #include <stdio.h>
25363
25364
25365
25366 typedef wchar_t ac__type_sizeof_;
25367 int
25368 main ()
25369 {
25370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25371 test_array [0] = 0
25372
25373 ;
25374 return 0;
25375 }
25376 _ACEOF
25377 rm -f conftest.$ac_objext
25378 if { (ac_try="$ac_compile"
25379 case "(($ac_try" in
25380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25381 *) ac_try_echo=$ac_try;;
25382 esac
25383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25384 (eval "$ac_compile") 2>conftest.er1
25385 ac_status=$?
25386 grep -v '^ *+' conftest.er1 >conftest.err
25387 rm -f conftest.er1
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } && {
25391 test -z "$ac_c_werror_flag" ||
25392 test ! -s conftest.err
25393 } && test -s conftest.$ac_objext; then
25394 ac_hi=-1 ac_mid=-1
25395 while :; do
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402
25403 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25404 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25405 # error "fake wchar_t"
25406 #endif
25407 #ifdef HAVE_WCHAR_H
25408 # ifdef __CYGWIN__
25409 # include <stddef.h>
25410 # endif
25411 # include <wchar.h>
25412 #endif
25413 #ifdef HAVE_STDLIB_H
25414 # include <stdlib.h>
25415 #endif
25416 #include <stdio.h>
25417
25418
25419
25420 typedef wchar_t ac__type_sizeof_;
25421 int
25422 main ()
25423 {
25424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25425 test_array [0] = 0
25426
25427 ;
25428 return 0;
25429 }
25430 _ACEOF
25431 rm -f conftest.$ac_objext
25432 if { (ac_try="$ac_compile"
25433 case "(($ac_try" in
25434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25435 *) ac_try_echo=$ac_try;;
25436 esac
25437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25438 (eval "$ac_compile") 2>conftest.er1
25439 ac_status=$?
25440 grep -v '^ *+' conftest.er1 >conftest.err
25441 rm -f conftest.er1
25442 cat conftest.err >&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } && {
25445 test -z "$ac_c_werror_flag" ||
25446 test ! -s conftest.err
25447 } && test -s conftest.$ac_objext; then
25448 ac_lo=$ac_mid; break
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 ac_hi=`expr '(' $ac_mid ')' - 1`
25454 if test $ac_mid -le $ac_hi; then
25455 ac_lo= ac_hi=
25456 break
25457 fi
25458 ac_mid=`expr 2 '*' $ac_mid`
25459 fi
25460
25461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462 done
25463 else
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25466
25467 ac_lo= ac_hi=
25468 fi
25469
25470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 # Binary search between lo and hi bounds.
25475 while test "x$ac_lo" != "x$ac_hi"; do
25476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25477 cat >conftest.$ac_ext <<_ACEOF
25478 /* confdefs.h. */
25479 _ACEOF
25480 cat confdefs.h >>conftest.$ac_ext
25481 cat >>conftest.$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25483
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t"
25487 #endif
25488 #ifdef HAVE_WCHAR_H
25489 # ifdef __CYGWIN__
25490 # include <stddef.h>
25491 # endif
25492 # include <wchar.h>
25493 #endif
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25496 #endif
25497 #include <stdio.h>
25498
25499
25500
25501 typedef wchar_t ac__type_sizeof_;
25502 int
25503 main ()
25504 {
25505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25506 test_array [0] = 0
25507
25508 ;
25509 return 0;
25510 }
25511 _ACEOF
25512 rm -f conftest.$ac_objext
25513 if { (ac_try="$ac_compile"
25514 case "(($ac_try" in
25515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25516 *) ac_try_echo=$ac_try;;
25517 esac
25518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25519 (eval "$ac_compile") 2>conftest.er1
25520 ac_status=$?
25521 grep -v '^ *+' conftest.er1 >conftest.err
25522 rm -f conftest.er1
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } && {
25526 test -z "$ac_c_werror_flag" ||
25527 test ! -s conftest.err
25528 } && test -s conftest.$ac_objext; then
25529 ac_hi=$ac_mid
25530 else
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25533
25534 ac_lo=`expr '(' $ac_mid ')' + 1`
25535 fi
25536
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538 done
25539 case $ac_lo in
25540 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25541 '') if test "$ac_cv_type_wchar_t" = yes; then
25542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25543 See \`config.log' for more details." >&5
25544 echo "$as_me: error: cannot compute sizeof (wchar_t)
25545 See \`config.log' for more details." >&2;}
25546 { (exit 77); exit 77; }; }
25547 else
25548 ac_cv_sizeof_wchar_t=0
25549 fi ;;
25550 esac
25551 else
25552 cat >conftest.$ac_ext <<_ACEOF
25553 /* confdefs.h. */
25554 _ACEOF
25555 cat confdefs.h >>conftest.$ac_ext
25556 cat >>conftest.$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25558
25559 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25560 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25561 # error "fake wchar_t"
25562 #endif
25563 #ifdef HAVE_WCHAR_H
25564 # ifdef __CYGWIN__
25565 # include <stddef.h>
25566 # endif
25567 # include <wchar.h>
25568 #endif
25569 #ifdef HAVE_STDLIB_H
25570 # include <stdlib.h>
25571 #endif
25572 #include <stdio.h>
25573
25574
25575
25576 typedef wchar_t ac__type_sizeof_;
25577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25579 #include <stdio.h>
25580 #include <stdlib.h>
25581 int
25582 main ()
25583 {
25584
25585 FILE *f = fopen ("conftest.val", "w");
25586 if (! f)
25587 return 1;
25588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25589 {
25590 long int i = longval ();
25591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25592 return 1;
25593 fprintf (f, "%ld\n", i);
25594 }
25595 else
25596 {
25597 unsigned long int i = ulongval ();
25598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25599 return 1;
25600 fprintf (f, "%lu\n", i);
25601 }
25602 return ferror (f) || fclose (f) != 0;
25603
25604 ;
25605 return 0;
25606 }
25607 _ACEOF
25608 rm -f conftest$ac_exeext
25609 if { (ac_try="$ac_link"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25613 esac
25614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_link") 2>&5
25616 ac_status=$?
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25619 { (case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_try") 2>&5
25625 ac_status=$?
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; }; then
25628 ac_cv_sizeof_wchar_t=`cat conftest.val`
25629 else
25630 echo "$as_me: program exited with status $ac_status" >&5
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 ( exit $ac_status )
25635 if test "$ac_cv_type_wchar_t" = yes; then
25636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25637 See \`config.log' for more details." >&5
25638 echo "$as_me: error: cannot compute sizeof (wchar_t)
25639 See \`config.log' for more details." >&2;}
25640 { (exit 77); exit 77; }; }
25641 else
25642 ac_cv_sizeof_wchar_t=0
25643 fi
25644 fi
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25646 fi
25647 rm -f conftest.val
25648 fi
25649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25650 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25651
25652
25653
25654 cat >>confdefs.h <<_ACEOF
25655 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25656 _ACEOF
25657
25658
25659 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25660 wxUSE_WCHAR_T=yes
25661 else
25662 wxUSE_WCHAR_T=no
25663 fi
25664
25665 { echo "$as_me:$LINENO: checking for va_copy" >&5
25666 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25667 if test "${wx_cv_func_va_copy+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25669 else
25670
25671 ac_ext=cpp
25672 ac_cpp='$CXXCPP $CPPFLAGS'
25673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25676
25677 cat >conftest.$ac_ext <<_ACEOF
25678
25679 #include <stdarg.h>
25680 void foo(char *f, ...)
25681 {
25682 va_list ap1, ap2;
25683 va_start(ap1, f);
25684 va_copy(ap2, ap1);
25685 va_end(ap2);
25686 va_end(ap1);
25687 }
25688 int main()
25689 {
25690 foo("hi", 17);
25691 return 0;
25692 }
25693 _ACEOF
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (ac_try="$ac_link"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25699 esac
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_link") 2>conftest.er1
25702 ac_status=$?
25703 grep -v '^ *+' conftest.er1 >conftest.err
25704 rm -f conftest.er1
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest$ac_exeext &&
25711 $as_test_x conftest$ac_exeext; then
25712 wx_cv_func_va_copy=yes
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 wx_cv_func_va_copy=no
25718
25719 fi
25720
25721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25722 conftest$ac_exeext conftest.$ac_ext
25723 ac_ext=c
25724 ac_cpp='$CPP $CPPFLAGS'
25725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25728
25729
25730
25731 fi
25732 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25733 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25734
25735 if test $wx_cv_func_va_copy = "yes"; then
25736 cat >>confdefs.h <<\_ACEOF
25737 #define HAVE_VA_COPY 1
25738 _ACEOF
25739
25740 else
25741 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25742 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25743 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746
25747 if test "$cross_compiling" = yes; then
25748 wx_cv_type_va_list_lvalue=yes
25749
25750 else
25751 cat >conftest.$ac_ext <<_ACEOF
25752
25753 #include <stdarg.h>
25754 int foo(char *f, ...)
25755 {
25756 va_list ap1, ap2;
25757 va_start(ap1, f);
25758 ap2 = ap1;
25759 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25760 return 1;
25761 va_end(ap2);
25762 va_end(ap1);
25763 return 0;
25764 }
25765 int main()
25766 {
25767 return foo("hi", 17);
25768 }
25769 _ACEOF
25770 rm -f conftest$ac_exeext
25771 if { (ac_try="$ac_link"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25775 esac
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_link") 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25781 { (case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25784 esac
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_try") 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_type_va_list_lvalue=yes
25791 else
25792 echo "$as_me: program exited with status $ac_status" >&5
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 ( exit $ac_status )
25797 wx_cv_type_va_list_lvalue=no
25798 fi
25799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25800 fi
25801
25802
25803
25804
25805 fi
25806 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25807 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25808
25809 if test $wx_cv_type_va_list_lvalue != "yes"; then
25810 cat >>confdefs.h <<\_ACEOF
25811 #define VA_LIST_IS_ARRAY 1
25812 _ACEOF
25813
25814 fi
25815 fi
25816
25817 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25818
25819 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25820 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25821 if test "${wx_cv_have_variadic_macros+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824
25825 ac_ext=cpp
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25830
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837
25838 #include <stdio.h>
25839 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25840
25841 int
25842 main ()
25843 {
25844
25845 test("%s %d %p", "test", 1, 0);
25846
25847
25848 ;
25849 return 0;
25850 }
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25857 esac
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 wx_cv_have_variadic_macros=yes
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 wx_cv_have_variadic_macros=no
25875
25876 fi
25877
25878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25879 ac_ext=c
25880 ac_cpp='$CPP $CPPFLAGS'
25881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884
25885
25886
25887 fi
25888 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25889 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25890
25891 if test $wx_cv_have_variadic_macros = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define HAVE_VARIADIC_MACROS 1
25894 _ACEOF
25895
25896 fi
25897
25898 fi
25899 # Check whether --enable-largefile was given.
25900 if test "${enable_largefile+set}" = set; then
25901 enableval=$enable_largefile;
25902 fi
25903
25904 if test "$enable_largefile" != no; then
25905 wx_largefile=no
25906
25907 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25908 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25909 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 else
25912
25913 cat >conftest.$ac_ext <<_ACEOF
25914 /* confdefs.h. */
25915 _ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #define _FILE_OFFSET_BITS 64
25920 #include <sys/types.h>
25921 int
25922 main ()
25923 {
25924 typedef struct {
25925 unsigned int field: sizeof(off_t) == 8;
25926 } wxlf;
25927
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext
25933 if { (ac_try="$ac_compile"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936 *) ac_try_echo=$ac_try;;
25937 esac
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_c_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 ac_cv_sys_file_offset_bits=64
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 ac_cv_sys_file_offset_bits=no
25955 fi
25956
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958
25959
25960 fi
25961 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25963
25964 if test "$ac_cv_sys_file_offset_bits" != no; then
25965 wx_largefile=yes
25966 cat >>confdefs.h <<_ACEOF
25967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25968 _ACEOF
25969
25970 fi
25971
25972 if test "x$wx_largefile" != "xyes"; then
25973
25974 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25976 if test "${ac_cv_sys_large_files+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #define _LARGE_FILES 1
25987 #include <sys/types.h>
25988 int
25989 main ()
25990 {
25991 typedef struct {
25992 unsigned int field: sizeof(off_t) == 8;
25993 } wxlf;
25994
25995 ;
25996 return 0;
25997 }
25998 _ACEOF
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26004 esac
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_c_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_sys_large_files=1
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 ac_cv_sys_large_files=no
26022 fi
26023
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025
26026
26027 fi
26028 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26029 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26030
26031 if test "$ac_cv_sys_large_files" != no; then
26032 wx_largefile=yes
26033 cat >>confdefs.h <<_ACEOF
26034 #define _LARGE_FILES $ac_cv_sys_large_files
26035 _ACEOF
26036
26037 fi
26038
26039 fi
26040
26041 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26042 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26043 if test "x$wx_largefile" = "xyes"; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_LARGEFILE_SUPPORT 1
26046 _ACEOF
26047
26048 fi
26049 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26050 echo "${ECHO_T}$wx_largefile" >&6; }
26051 fi
26052
26053
26054 if test "x$wx_largefile" = "xyes"; then
26055 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26057
26058 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26059 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26060 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26061 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077
26078 int
26079 main ()
26080 {
26081
26082 #ifndef __STDC_EXT__
26083 choke me
26084 #endif
26085
26086 ;
26087 return 0;
26088 }
26089 _ACEOF
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26095 esac
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 wx_cv_STDC_EXT_required=no
26108 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 wx_cv_STDC_EXT_required=yes
26113
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26122
26123
26124
26125 fi
26126 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26127 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26128 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26129 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26130 fi
26131 fi
26132 else
26133 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26134 fi
26135 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26136 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26137 if test "${ac_cv_sys_largefile_source+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140 while :; do
26141 cat >conftest.$ac_ext <<_ACEOF
26142 /* confdefs.h. */
26143 _ACEOF
26144 cat confdefs.h >>conftest.$ac_ext
26145 cat >>conftest.$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 #include <sys/types.h> /* for off_t */
26148 #include <stdio.h>
26149 int
26150 main ()
26151 {
26152 int (*fp) (FILE *, off_t, int) = fseeko;
26153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26154 ;
26155 return 0;
26156 }
26157 _ACEOF
26158 rm -f conftest.$ac_objext conftest$ac_exeext
26159 if { (ac_try="$ac_link"
26160 case "(($ac_try" in
26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162 *) ac_try_echo=$ac_try;;
26163 esac
26164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165 (eval "$ac_link") 2>conftest.er1
26166 ac_status=$?
26167 grep -v '^ *+' conftest.er1 >conftest.err
26168 rm -f conftest.er1
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } && {
26172 test -z "$ac_c_werror_flag" ||
26173 test ! -s conftest.err
26174 } && test -s conftest$ac_exeext &&
26175 $as_test_x conftest$ac_exeext; then
26176 ac_cv_sys_largefile_source=no; break
26177 else
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181
26182 fi
26183
26184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26185 conftest$ac_exeext conftest.$ac_ext
26186 cat >conftest.$ac_ext <<_ACEOF
26187 /* confdefs.h. */
26188 _ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 #define _LARGEFILE_SOURCE 1
26193 #include <sys/types.h> /* for off_t */
26194 #include <stdio.h>
26195 int
26196 main ()
26197 {
26198 int (*fp) (FILE *, off_t, int) = fseeko;
26199 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26200 ;
26201 return 0;
26202 }
26203 _ACEOF
26204 rm -f conftest.$ac_objext conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26208 *) ac_try_echo=$ac_try;;
26209 esac
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>conftest.er1
26212 ac_status=$?
26213 grep -v '^ *+' conftest.er1 >conftest.err
26214 rm -f conftest.er1
26215 cat conftest.err >&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } && {
26218 test -z "$ac_c_werror_flag" ||
26219 test ! -s conftest.err
26220 } && test -s conftest$ac_exeext &&
26221 $as_test_x conftest$ac_exeext; then
26222 ac_cv_sys_largefile_source=1; break
26223 else
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26226
26227
26228 fi
26229
26230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26231 conftest$ac_exeext conftest.$ac_ext
26232 ac_cv_sys_largefile_source=unknown
26233 break
26234 done
26235 fi
26236 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26237 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26238 case $ac_cv_sys_largefile_source in #(
26239 no | unknown) ;;
26240 *)
26241 cat >>confdefs.h <<_ACEOF
26242 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26243 _ACEOF
26244 ;;
26245 esac
26246 rm -f conftest*
26247
26248 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26249 # in glibc 2.1.3, but that breaks too many other things.
26250 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26251 if test $ac_cv_sys_largefile_source != unknown; then
26252
26253 cat >>confdefs.h <<\_ACEOF
26254 #define HAVE_FSEEKO 1
26255 _ACEOF
26256
26257 fi
26258
26259 if test "$ac_cv_sys_largefile_source" != no; then
26260 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26261 fi
26262 fi
26263
26264 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26265 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26266 if test "${ac_cv_c_bigendian+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 else
26269 ac_cv_c_bigendian=unknown
26270 # See if sys/param.h defines the BYTE_ORDER macro.
26271 cat >conftest.$ac_ext <<_ACEOF
26272 /* confdefs.h. */
26273 _ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <sys/types.h>
26278 #include <sys/param.h>
26279 int
26280 main ()
26281 {
26282
26283 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26284 bogus endian macros
26285 #endif
26286 ;
26287 return 0;
26288 }
26289 _ACEOF
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26295 esac
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26298 ac_status=$?
26299 grep -v '^ *+' conftest.er1 >conftest.err
26300 rm -f conftest.er1
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_c_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 # It does; now see whether it defined to BIG_ENDIAN or not.
26308 cat >conftest.$ac_ext <<_ACEOF
26309 /* confdefs.h. */
26310 _ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <sys/types.h>
26315 #include <sys/param.h>
26316 int
26317 main ()
26318 {
26319
26320 #if BYTE_ORDER != BIG_ENDIAN
26321 not big endian
26322 #endif
26323 ;
26324 return 0;
26325 }
26326 _ACEOF
26327 rm -f conftest.$ac_objext
26328 if { (ac_try="$ac_compile"
26329 case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26332 esac
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_compile") 2>conftest.er1
26335 ac_status=$?
26336 grep -v '^ *+' conftest.er1 >conftest.err
26337 rm -f conftest.er1
26338 cat conftest.err >&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } && {
26341 test -z "$ac_c_werror_flag" ||
26342 test ! -s conftest.err
26343 } && test -s conftest.$ac_objext; then
26344 ac_cv_c_bigendian=yes
26345 else
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 ac_cv_c_bigendian=no
26350 fi
26351
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357
26358 fi
26359
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 if test $ac_cv_c_bigendian = unknown; then
26362 if test "$cross_compiling" = yes; then
26363 ac_cv_c_bigendian=unknown
26364 else
26365 cat >conftest.$ac_ext <<_ACEOF
26366 /* confdefs.h. */
26367 _ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26371 main () {
26372 /* Are we little or big endian? From Harbison&Steele. */
26373 union
26374 {
26375 long l;
26376 char c[sizeof (long)];
26377 } u;
26378 u.l = 1;
26379 exit (u.c[sizeof (long) - 1] == 1);
26380 }
26381 _ACEOF
26382 rm -f conftest$ac_exeext
26383 if { (ac_try="$ac_link"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26387 esac
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_link") 2>&5
26390 ac_status=$?
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26393 { (case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26396 esac
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_try") 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 ac_cv_c_bigendian=no
26403 else
26404 echo "$as_me: program exited with status $ac_status" >&5
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26407
26408 ( exit $ac_status )
26409 ac_cv_c_bigendian=yes
26410 fi
26411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26412 fi
26413
26414
26415 fi
26416 fi
26417 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26418 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26419 if test $ac_cv_c_bigendian = unknown; then
26420 { 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
26421 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;}
26422 fi
26423 if test $ac_cv_c_bigendian = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define WORDS_BIGENDIAN 1
26426 _ACEOF
26427
26428 fi
26429
26430
26431
26432
26433 ac_ext=cpp
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438
26439
26440
26441 for ac_header in iostream
26442 do
26443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 cat >conftest.$ac_ext <<_ACEOF
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455
26456
26457 #include <$ac_header>
26458 _ACEOF
26459 rm -f conftest.$ac_objext
26460 if { (ac_try="$ac_compile"
26461 case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26464 esac
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_compile") 2>conftest.er1
26467 ac_status=$?
26468 grep -v '^ *+' conftest.er1 >conftest.err
26469 rm -f conftest.er1
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } && {
26473 test -z "$ac_cxx_werror_flag" ||
26474 test ! -s conftest.err
26475 } && test -s conftest.$ac_objext; then
26476 eval "$as_ac_Header=yes"
26477 else
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.$ac_ext >&5
26480
26481 eval "$as_ac_Header=no"
26482 fi
26483
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 fi
26486 ac_res=`eval echo '${'$as_ac_Header'}'`
26487 { echo "$as_me:$LINENO: result: $ac_res" >&5
26488 echo "${ECHO_T}$ac_res" >&6; }
26489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26490 cat >>confdefs.h <<_ACEOF
26491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26492 _ACEOF
26493
26494 fi
26495
26496 done
26497
26498
26499 if test "$ac_cv_header_iostream" = "yes" ; then
26500 :
26501 else
26502 cat >>confdefs.h <<\_ACEOF
26503 #define wxUSE_IOSTREAMH 1
26504 _ACEOF
26505
26506 fi
26507
26508 ac_ext=c
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26513
26514
26515
26516
26517 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26518 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26519 if test "${wx_cv_cpp_bool+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 else
26522
26523
26524 ac_ext=cpp
26525 ac_cpp='$CXXCPP $CPPFLAGS'
26526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26529
26530
26531 cat >conftest.$ac_ext <<_ACEOF
26532 /* confdefs.h. */
26533 _ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537
26538
26539 int
26540 main ()
26541 {
26542
26543 bool b = true;
26544
26545 return 0;
26546
26547 ;
26548 return 0;
26549 }
26550 _ACEOF
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26556 esac
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26559 ac_status=$?
26560 grep -v '^ *+' conftest.er1 >conftest.err
26561 rm -f conftest.er1
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_cxx_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26568
26569 wx_cv_cpp_bool=yes
26570
26571 else
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26574
26575
26576 wx_cv_cpp_bool=no
26577
26578
26579 fi
26580
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582
26583 ac_ext=c
26584 ac_cpp='$CPP $CPPFLAGS'
26585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26588
26589
26590 fi
26591 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26592 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26593
26594 if test "$wx_cv_cpp_bool" = "yes"; then
26595 cat >>confdefs.h <<\_ACEOF
26596 #define HAVE_BOOL 1
26597 _ACEOF
26598
26599 fi
26600
26601
26602
26603 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26604 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26605 if test "${wx_cv_explicit+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 else
26608
26609
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615
26616
26617 cat >conftest.$ac_ext <<_ACEOF
26618 /* confdefs.h. */
26619 _ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623
26624 class Foo { public: explicit Foo(int) {} };
26625
26626 int
26627 main ()
26628 {
26629
26630 return 0;
26631
26632 ;
26633 return 0;
26634 }
26635 _ACEOF
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26641 esac
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_cxx_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26653
26654 cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660
26661 class Foo { public: explicit Foo(int) {} };
26662 static void TakeFoo(const Foo& foo) { }
26663
26664 int
26665 main ()
26666 {
26667
26668 TakeFoo(17);
26669 return 0;
26670
26671 ;
26672 return 0;
26673 }
26674 _ACEOF
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26680 esac
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26683 ac_status=$?
26684 grep -v '^ *+' conftest.er1 >conftest.err
26685 rm -f conftest.er1
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_cxx_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26692 wx_cv_explicit=no
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 wx_cv_explicit=yes
26698
26699 fi
26700
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26702
26703 else
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26706
26707 wx_cv_explicit=no
26708
26709 fi
26710
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712
26713 ac_ext=c
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26718
26719
26720 fi
26721 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26722 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26723
26724 if test "$wx_cv_explicit" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_EXPLICIT 1
26727 _ACEOF
26728
26729 fi
26730
26731
26732 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26733 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26734 if test "${ac_cv_cxx_const_cast+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 else
26737
26738 ac_ext=cpp
26739 ac_cpp='$CXXCPP $CPPFLAGS'
26740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26743
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750
26751 int
26752 main ()
26753 {
26754 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26755 ;
26756 return 0;
26757 }
26758 _ACEOF
26759 rm -f conftest.$ac_objext
26760 if { (ac_try="$ac_compile"
26761 case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26764 esac
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_compile") 2>conftest.er1
26767 ac_status=$?
26768 grep -v '^ *+' conftest.er1 >conftest.err
26769 rm -f conftest.er1
26770 cat conftest.err >&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); } && {
26773 test -z "$ac_cxx_werror_flag" ||
26774 test ! -s conftest.err
26775 } && test -s conftest.$ac_objext; then
26776 ac_cv_cxx_const_cast=yes
26777 else
26778 echo "$as_me: failed program was:" >&5
26779 sed 's/^/| /' conftest.$ac_ext >&5
26780
26781 ac_cv_cxx_const_cast=no
26782 fi
26783
26784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26785 ac_ext=c
26786 ac_cpp='$CPP $CPPFLAGS'
26787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26790
26791
26792 fi
26793 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26794 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26795 if test "$ac_cv_cxx_const_cast" = yes; then
26796
26797 cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_CONST_CAST
26799 _ACEOF
26800
26801 fi
26802
26803 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26804 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26805 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 else
26808
26809 ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <typeinfo>
26822 class Base { public : Base () {} virtual void f () = 0;};
26823 class Derived : public Base { public : Derived () {} virtual void f () {} };
26824 class Unrelated { public : Unrelated () {} };
26825 int g (Unrelated&) { return 0; }
26826 int
26827 main ()
26828 {
26829
26830 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26831 ;
26832 return 0;
26833 }
26834 _ACEOF
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26840 esac
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26843 ac_status=$?
26844 grep -v '^ *+' conftest.er1 >conftest.err
26845 rm -f conftest.er1
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_reinterpret_cast=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_cxx_reinterpret_cast=no
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866
26867
26868 fi
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26871 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26872
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_REINTERPRET_CAST
26875 _ACEOF
26876
26877 fi
26878
26879 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26880 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26881 if test "${ac_cv_cxx_static_cast+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 else
26884
26885 ac_ext=cpp
26886 ac_cpp='$CXXCPP $CPPFLAGS'
26887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26890
26891 cat >conftest.$ac_ext <<_ACEOF
26892 /* confdefs.h. */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <typeinfo>
26898 class Base { public : Base () {} virtual void f () = 0; };
26899 class Derived : public Base { public : Derived () {} virtual void f () {} };
26900 int g (Derived&) { return 0; }
26901 int
26902 main ()
26903 {
26904
26905 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26906 ;
26907 return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26915 esac
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26918 ac_status=$?
26919 grep -v '^ *+' conftest.er1 >conftest.err
26920 rm -f conftest.er1
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_cv_cxx_static_cast=yes
26928 else
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26931
26932 ac_cv_cxx_static_cast=no
26933 fi
26934
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941
26942
26943 fi
26944 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26945 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26946 if test "$ac_cv_cxx_static_cast" = yes; then
26947
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_STATIC_CAST
26950 _ACEOF
26951
26952 fi
26953
26954
26955 if test "x$SUNCXX" = xyes; then
26956 CXXFLAGS="-features=tmplife $CXXFLAGS"
26957 fi
26958
26959 if test "x$SUNCC" = xyes; then
26960 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26961 fi
26962
26963 if test "x$SGICC" = "xyes"; then
26964 CFLAGS="-woff 3970 $CFLAGS"
26965 fi
26966 if test "x$SGICXX" = "xyes"; then
26967 CXXFLAGS="-woff 3970 $CXXFLAGS"
26968 fi
26969
26970 if test "x$HPCC" = "xyes"; then
26971 CFLAGS="+W 2011,2450 $CFLAGS"
26972 fi
26973 if test "x$HPCXX" = "xyes"; then
26974 CXXFLAGS="+W 2340 $CXXFLAGS"
26975 fi
26976
26977 if test "x$COMPAQCXX" = "xyes"; then
26978 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26979 fi
26980
26981 ac_ext=cpp
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26986
26987
26988 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26989 if test "$wxUSE_UNICODE" = "yes"; then
26990 std_string="std::wstring"
26991 char_type="wchar_t"
26992 else
26993 std_string="std::string"
26994 char_type="char"
26995 fi
26996
26997 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26998 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26999 if test "${wx_cv_class_stdstring+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002
27003 cat >conftest.$ac_ext <<_ACEOF
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <string>
27010 int
27011 main ()
27012 {
27013 $std_string foo;
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27023 esac
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27026 ac_status=$?
27027 grep -v '^ *+' conftest.er1 >conftest.err
27028 rm -f conftest.er1
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdstring=yes
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040 wx_cv_class_stdstring=no
27041
27042 fi
27043
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27045
27046
27047 fi
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27050
27051 if test "$wx_cv_class_stdstring" = yes; then
27052 if test "$wxUSE_UNICODE" = "yes"; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define HAVE_STD_WSTRING 1
27055 _ACEOF
27056
27057 fi
27058 else
27059 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27060 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27061 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064
27065 cat >conftest.$ac_ext <<_ACEOF
27066 /* confdefs.h. */
27067 _ACEOF
27068 cat confdefs.h >>conftest.$ac_ext
27069 cat >>conftest.$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27071
27072 #ifdef HAVE_WCHAR_H
27073 # ifdef __CYGWIN__
27074 # include <stddef.h>
27075 # endif
27076 # include <wchar.h>
27077 #endif
27078 #ifdef HAVE_STDLIB_H
27079 # include <stdlib.h>
27080 #endif
27081 #include <stdio.h>
27082 #include <string>
27083
27084 int
27085 main ()
27086 {
27087 std::basic_string<$char_type> foo;
27088 const $char_type* dummy = foo.c_str();
27089 ;
27090 return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27098 esac
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27101 ac_status=$?
27102 grep -v '^ *+' conftest.er1 >conftest.err
27103 rm -f conftest.er1
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_cxx_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 wx_cv_class_stdbasicstring=yes
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115 wx_cv_class_stdbasicstring=no
27116
27117 fi
27118
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120
27121
27122 fi
27123 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27124 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27125
27126 if test "$wx_cv_class_stdbasicstring" != yes; then
27127 if test "$wxUSE_STL" = "yes"; then
27128 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27129 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27130 { (exit 1); exit 1; }; }
27131 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27132 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27133 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27134 { (exit 1); exit 1; }; }
27135 else
27136 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27137 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27138 wxUSE_STD_STRING=no
27139 fi
27140 fi
27141 fi
27142 fi
27143
27144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for std::istream" >&5
27146 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__istream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27157
27158 typedef std::istream ac__type_new_;
27159 int
27160 main ()
27161 {
27162 if ((ac__type_new_ *) 0)
27163 return 0;
27164 if (sizeof (ac__type_new_))
27165 return 0;
27166 ;
27167 return 0;
27168 }
27169 _ACEOF
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27175 esac
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27178 ac_status=$?
27179 grep -v '^ *+' conftest.er1 >conftest.err
27180 rm -f conftest.er1
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__istream=yes
27188 else
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27191
27192 ac_cv_type_std__istream=no
27193 fi
27194
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 fi
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27199 if test $ac_cv_type_std__istream = yes; then
27200
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__ISTREAM 1
27203 _ACEOF
27204
27205
27206 else
27207 wxUSE_STD_IOSTREAM=no
27208 fi
27209 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27210 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_std__ostream+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27213 else
27214 cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h. */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <iostream>
27221
27222 typedef std::ostream ac__type_new_;
27223 int
27224 main ()
27225 {
27226 if ((ac__type_new_ *) 0)
27227 return 0;
27228 if (sizeof (ac__type_new_))
27229 return 0;
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27239 esac
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27242 ac_status=$?
27243 grep -v '^ *+' conftest.er1 >conftest.err
27244 rm -f conftest.er1
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_cxx_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_cv_type_std__ostream=yes
27252 else
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256 ac_cv_type_std__ostream=no
27257 fi
27258
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27260 fi
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27262 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27263 if test $ac_cv_type_std__ostream = yes; then
27264
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_STD__OSTREAM 1
27267 _ACEOF
27268
27269
27270 else
27271 wxUSE_STD_IOSTREAM=no
27272 fi
27273
27274
27275 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27276 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27277 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27278 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27279 { (exit 1); exit 1; }; }
27280 else
27281 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27282 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27283 fi
27284 fi
27285 fi
27286
27287 if test "$wxUSE_STL" = "yes"; then
27288 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27289 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27290 if test "${wx_cv_lib_stl+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 else
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <string>
27300 #include <functional>
27301 #include <algorithm>
27302 #include <vector>
27303 #include <list>
27304 int
27305 main ()
27306 {
27307 std::vector<int> moo;
27308 std::list<int> foo;
27309 std::vector<int>::iterator it =
27310 std::find_if(moo.begin(), moo.end(),
27311 std::bind2nd(std::less<int>(), 3));
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27321 esac
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27333 wx_cv_lib_stl=yes
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 wx_cv_lib_stl=no
27339
27340 fi
27341
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27343
27344 fi
27345 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27346 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27347
27348 if test "$wx_cv_lib_stl" != yes; then
27349 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27350 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27351 { (exit 1); exit 1; }; }
27352 fi
27353
27354 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27355 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27356 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 else
27359 cat >conftest.$ac_ext <<_ACEOF
27360 /* confdefs.h. */
27361 _ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27365 #include <string>
27366 int
27367 main ()
27368 {
27369 std::string foo, bar;
27370 foo.compare(bar);
27371 foo.compare(1, 1, bar);
27372 foo.compare(1, 1, bar, 1, 1);
27373 foo.compare("");
27374 foo.compare(1, 1, "");
27375 foo.compare(1, 1, "", 2);
27376 ;
27377 return 0;
27378 }
27379 _ACEOF
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27385 esac
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27388 ac_status=$?
27389 grep -v '^ *+' conftest.er1 >conftest.err
27390 rm -f conftest.er1
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_cxx_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 wx_cv_func_stdstring_compare=yes
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27401
27402 wx_cv_func_stdstring_compare=no
27403
27404 fi
27405
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27407
27408 fi
27409 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27410 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27411
27412 if test "$wx_cv_func_stdstring_compare" = yes; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define HAVE_STD_STRING_COMPARE 1
27415 _ACEOF
27416
27417 fi
27418
27419 { echo "$as_me:$LINENO: checking for hash_map" >&5
27420 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27421 if test "${ac_cv_header_hash_map+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27423 else
27424 cat >conftest.$ac_ext <<_ACEOF
27425 /* confdefs.h. */
27426 _ACEOF
27427 cat confdefs.h >>conftest.$ac_ext
27428 cat >>conftest.$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27430
27431
27432
27433 #include <hash_map>
27434 _ACEOF
27435 rm -f conftest.$ac_objext
27436 if { (ac_try="$ac_compile"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27440 esac
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_compile") 2>conftest.er1
27443 ac_status=$?
27444 grep -v '^ *+' conftest.er1 >conftest.err
27445 rm -f conftest.er1
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_cxx_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest.$ac_objext; then
27452 ac_cv_header_hash_map=yes
27453 else
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27456
27457 ac_cv_header_hash_map=no
27458 fi
27459
27460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27461 fi
27462 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27463 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27464 if test $ac_cv_header_hash_map = yes; then
27465 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27466 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27467 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27470 cat >conftest.$ac_ext <<_ACEOF
27471 /* confdefs.h. */
27472 _ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h. */
27476 #include <hash_map>
27477 #include <hash_set>
27478 int
27479 main ()
27480 {
27481 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27482 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27483 ;
27484 return 0;
27485 }
27486 _ACEOF
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27492 esac
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_cxx_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 wx_cv_class_stdhashmapset=yes
27505 else
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 wx_cv_class_stdhashmapset=no
27510 fi
27511
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27513
27514
27515 fi
27516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27517 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27518 fi
27519
27520
27521
27522 if test "$wx_cv_class_stdhashmapset" = yes; then
27523 cat >>confdefs.h <<\_ACEOF
27524 #define HAVE_HASH_MAP 1
27525 _ACEOF
27526
27527 cat >>confdefs.h <<\_ACEOF
27528 #define HAVE_STD_HASH_MAP 1
27529 _ACEOF
27530
27531 fi
27532
27533 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27534 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27535 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27537 else
27538 cat >conftest.$ac_ext <<_ACEOF
27539 /* confdefs.h. */
27540 _ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27544
27545
27546
27547 #include <ext/hash_map>
27548 _ACEOF
27549 rm -f conftest.$ac_objext
27550 if { (ac_try="$ac_compile"
27551 case "(($ac_try" in
27552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27554 esac
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_compile") 2>conftest.er1
27557 ac_status=$?
27558 grep -v '^ *+' conftest.er1 >conftest.err
27559 rm -f conftest.er1
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_cxx_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest.$ac_objext; then
27566 ac_cv_header_ext_hash_map=yes
27567 else
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27570
27571 ac_cv_header_ext_hash_map=no
27572 fi
27573
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575 fi
27576 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27577 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27578 if test $ac_cv_header_ext_hash_map = yes; then
27579 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27580 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27581 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 else
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <ext/hash_map>
27591 #include <ext/hash_set>
27592 int
27593 main ()
27594 {
27595 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27596 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27597 ;
27598 return 0;
27599 }
27600 _ACEOF
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27606 esac
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_class_gnuhashmapset=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 wx_cv_class_gnuhashmapset=no
27624 fi
27625
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27627
27628
27629 fi
27630 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27631 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27632 fi
27633
27634
27635
27636 if test "$wx_cv_class_gnuhashmapset" = yes; then
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_EXT_HASH_MAP 1
27639 _ACEOF
27640
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_GNU_CXX_HASH_MAP 1
27643 _ACEOF
27644
27645 fi
27646 fi
27647
27648
27649
27650 if test -n "$GCC"; then
27651 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27652 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27653 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 else
27656
27657 cat >conftest.$ac_ext <<_ACEOF
27658 /* confdefs.h. */
27659 _ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27663
27664 int
27665 main ()
27666 {
27667
27668 int value=0;
27669 __sync_fetch_and_add(&value, 1);
27670 __sync_sub_and_fetch(&value, 1);
27671
27672 ;
27673 return 0;
27674 }
27675 _ACEOF
27676 rm -f conftest.$ac_objext
27677 if { (ac_try="$ac_compile"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27681 esac
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_compile") 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_cxx_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest.$ac_objext; then
27693 wx_cv_cc_gcc_atomic_builtins=yes
27694 else
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27697
27698 wx_cv_cc_gcc_atomic_builtins=no
27699 fi
27700
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27702
27703 fi
27704
27705 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27706 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27707 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27708 cat >>confdefs.h <<\_ACEOF
27709 #define HAVE_GCC_ATOMIC_BUILTINS 1
27710 _ACEOF
27711
27712 fi
27713 fi
27714
27715
27716 ac_ext=c
27717 ac_cpp='$CPP $CPPFLAGS'
27718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27721
27722
27723
27724 SEARCH_INCLUDE="\
27725 /usr/local/include \
27726 \
27727 /usr/Motif-2.1/include \
27728 /usr/Motif-1.2/include \
27729 /usr/include/Motif1.2 \
27730 \
27731 /usr/dt/include \
27732 /usr/openwin/include \
27733 \
27734 /usr/include/Xm \
27735 \
27736 /usr/X11R6/include \
27737 /usr/X11R6.4/include \
27738 /usr/X11R5/include \
27739 /usr/X11R4/include \
27740 \
27741 /usr/include/X11R6 \
27742 /usr/include/X11R5 \
27743 /usr/include/X11R4 \
27744 \
27745 /usr/local/X11R6/include \
27746 /usr/local/X11R5/include \
27747 /usr/local/X11R4/include \
27748 \
27749 /usr/local/include/X11R6 \
27750 /usr/local/include/X11R5 \
27751 /usr/local/include/X11R4 \
27752 \
27753 /usr/X11/include \
27754 /usr/include/X11 \
27755 /usr/local/X11/include \
27756 /usr/local/include/X11 \
27757 \
27758 /usr/XFree86/include/X11 \
27759 /usr/pkg/include \
27760 \
27761 /usr/openwin/share/include"
27762
27763 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27764 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27765
27766 case "${host}" in
27767 *-*-irix6* )
27768 if test "${wx_cv_std_libpath+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771
27772 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27773 for e in a so sl dylib dll.a; do
27774 libc="$d/libc.$e"
27775 if test -f $libc; then
27776 save_LIBS="$LIBS"
27777 LIBS="$libc"
27778 cat >conftest.$ac_ext <<_ACEOF
27779 int main() { return 0; }
27780 _ACEOF
27781 rm -f conftest.$ac_objext conftest$ac_exeext
27782 if { (ac_try="$ac_link"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27786 esac
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_link") 2>conftest.er1
27789 ac_status=$?
27790 grep -v '^ *+' conftest.er1 >conftest.err
27791 rm -f conftest.er1
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_c_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest$ac_exeext &&
27798 $as_test_x conftest$ac_exeext; then
27799 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27800 else
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27803
27804
27805 fi
27806
27807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27808 conftest$ac_exeext conftest.$ac_ext
27809 LIBS="$save_LIBS"
27810 if test "x$wx_cv_std_libpath" != "x"; then
27811 break 2
27812 fi
27813 fi
27814 done
27815 done
27816 if test "x$wx_cv_std_libpath" = "x"; then
27817 wx_cv_std_libpath="lib"
27818 fi
27819
27820
27821 fi
27822
27823 ;;
27824
27825 *-*-solaris2* )
27826 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27827 wx_cv_std_libpath="lib/64"
27828 else
27829 wx_cv_std_libpath="lib"
27830 fi
27831 ;;
27832
27833 *-*-linux* )
27834 if test "$ac_cv_sizeof_void_p" = 8 -a \
27835 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27836 wx_cv_std_libpath="lib64"
27837 else
27838 wx_cv_std_libpath="lib"
27839 fi
27840 ;;
27841
27842 *)
27843 wx_cv_std_libpath="lib";
27844 ;;
27845 esac
27846
27847 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27848 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27849
27850 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27851
27852 if test "$build" != "$host" -a "$GCC" = yes; then
27853 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27854 cross_root=`dirname $cross_root`
27855 cross_root=`dirname $cross_root`
27856
27857 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27858 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27860
27861 if test -z "$PKG_CONFIG_PATH"; then
27862 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27863 export PKG_CONFIG_PATH
27864 fi
27865
27866 if test -z "$x_includes" -o "$x_includes" = NONE; then
27867
27868 ac_find_includes=
27869 for ac_dir in $SEARCH_INCLUDE /usr/include;
27870 do
27871 if test -f "$ac_dir/X11/Intrinsic.h"; then
27872 ac_find_includes=$ac_dir
27873 break
27874 fi
27875 done
27876
27877 x_includes=$ac_find_includes
27878 fi
27879 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27880
27881 ac_find_libraries=
27882 for ac_dir in $SEARCH_LIB;
27883 do
27884 for ac_extension in a so sl dylib dll.a; do
27885 if test -f "$ac_dir/libXt.$ac_extension"; then
27886 ac_find_libraries=$ac_dir
27887 break 2
27888 fi
27889 done
27890 done
27891
27892 x_libraries=$ac_find_libraries
27893 fi
27894 fi
27895 fi
27896
27897
27898 cat >confcache <<\_ACEOF
27899 # This file is a shell script that caches the results of configure
27900 # tests run on this system so they can be shared between configure
27901 # scripts and configure runs, see configure's option --config-cache.
27902 # It is not useful on other systems. If it contains results you don't
27903 # want to keep, you may remove or edit it.
27904 #
27905 # config.status only pays attention to the cache file if you give it
27906 # the --recheck option to rerun configure.
27907 #
27908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27910 # following values.
27911
27912 _ACEOF
27913
27914 # The following way of writing the cache mishandles newlines in values,
27915 # but we know of no workaround that is simple, portable, and efficient.
27916 # So, we kill variables containing newlines.
27917 # Ultrix sh set writes to stderr and can't be redirected directly,
27918 # and sets the high bit in the cache file unless we assign to the vars.
27919 (
27920 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27921 eval ac_val=\$$ac_var
27922 case $ac_val in #(
27923 *${as_nl}*)
27924 case $ac_var in #(
27925 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27926 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27927 esac
27928 case $ac_var in #(
27929 _ | IFS | as_nl) ;; #(
27930 *) $as_unset $ac_var ;;
27931 esac ;;
27932 esac
27933 done
27934
27935 (set) 2>&1 |
27936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27937 *${as_nl}ac_space=\ *)
27938 # `set' does not quote correctly, so add quotes (double-quote
27939 # substitution turns \\\\ into \\, and sed turns \\ into \).
27940 sed -n \
27941 "s/'/'\\\\''/g;
27942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27943 ;; #(
27944 *)
27945 # `set' quotes correctly as required by POSIX, so do not add quotes.
27946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27947 ;;
27948 esac |
27949 sort
27950 ) |
27951 sed '
27952 /^ac_cv_env_/b end
27953 t clear
27954 :clear
27955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27956 t end
27957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27958 :end' >>confcache
27959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27960 if test -w "$cache_file"; then
27961 test "x$cache_file" != "x/dev/null" &&
27962 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27963 echo "$as_me: updating cache $cache_file" >&6;}
27964 cat confcache >$cache_file
27965 else
27966 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27967 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27968 fi
27969 fi
27970 rm -f confcache
27971
27972 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27973 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27974 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27975 if test "${wx_cv_lib_glibc21+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27977 else
27978
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 #include <features.h>
27986 int
27987 main ()
27988 {
27989
27990 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27991 not glibc 2.1
27992 #endif
27993
27994 ;
27995 return 0;
27996 }
27997 _ACEOF
27998 rm -f conftest.$ac_objext
27999 if { (ac_try="$ac_compile"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28003 esac
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_compile") 2>conftest.er1
28006 ac_status=$?
28007 grep -v '^ *+' conftest.er1 >conftest.err
28008 rm -f conftest.er1
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } && {
28012 test -z "$ac_c_werror_flag" ||
28013 test ! -s conftest.err
28014 } && test -s conftest.$ac_objext; then
28015
28016 wx_cv_lib_glibc21=yes
28017
28018 else
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28021
28022
28023 wx_cv_lib_glibc21=no
28024
28025
28026 fi
28027
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28029
28030 fi
28031 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28032 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28033 if test "$wx_cv_lib_glibc21" = "yes"; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxHAVE_GLIBC2 1
28036 _ACEOF
28037
28038 fi
28039 fi
28040
28041 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28042 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define _GNU_SOURCE 1
28045 _ACEOF
28046
28047 fi
28048 fi
28049
28050 have_cos=0
28051 have_floor=0
28052
28053 for ac_func in cos
28054 do
28055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061 cat >conftest.$ac_ext <<_ACEOF
28062 /* confdefs.h. */
28063 _ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28069 #define $ac_func innocuous_$ac_func
28070
28071 /* System header to define __stub macros and hopefully few prototypes,
28072 which can conflict with char $ac_func (); below.
28073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28074 <limits.h> exists even on freestanding compilers. */
28075
28076 #ifdef __STDC__
28077 # include <limits.h>
28078 #else
28079 # include <assert.h>
28080 #endif
28081
28082 #undef $ac_func
28083
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28087 #ifdef __cplusplus
28088 extern "C"
28089 #endif
28090 char $ac_func ();
28091 /* The GNU C library defines this for functions which it implements
28092 to always fail with ENOSYS. Some functions are actually named
28093 something starting with __ and the normal name is an alias. */
28094 #if defined __stub_$ac_func || defined __stub___$ac_func
28095 choke me
28096 #endif
28097
28098 int
28099 main ()
28100 {
28101 return $ac_func ();
28102 ;
28103 return 0;
28104 }
28105 _ACEOF
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (ac_try="$ac_link"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110 *) ac_try_echo=$ac_try;;
28111 esac
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_link") 2>conftest.er1
28114 ac_status=$?
28115 grep -v '^ *+' conftest.er1 >conftest.err
28116 rm -f conftest.er1
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest$ac_exeext &&
28123 $as_test_x conftest$ac_exeext; then
28124 eval "$as_ac_var=yes"
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 eval "$as_ac_var=no"
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28133 conftest$ac_exeext conftest.$ac_ext
28134 fi
28135 ac_res=`eval echo '${'$as_ac_var'}'`
28136 { echo "$as_me:$LINENO: result: $ac_res" >&5
28137 echo "${ECHO_T}$ac_res" >&6; }
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h <<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28141 _ACEOF
28142 have_cos=1
28143 fi
28144 done
28145
28146
28147 for ac_func in floor
28148 do
28149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28153 echo $ECHO_N "(cached) $ECHO_C" >&6
28154 else
28155 cat >conftest.$ac_ext <<_ACEOF
28156 /* confdefs.h. */
28157 _ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28163 #define $ac_func innocuous_$ac_func
28164
28165 /* System header to define __stub macros and hopefully few prototypes,
28166 which can conflict with char $ac_func (); below.
28167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168 <limits.h> exists even on freestanding compilers. */
28169
28170 #ifdef __STDC__
28171 # include <limits.h>
28172 #else
28173 # include <assert.h>
28174 #endif
28175
28176 #undef $ac_func
28177
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 #endif
28184 char $ac_func ();
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined __stub_$ac_func || defined __stub___$ac_func
28189 choke me
28190 #endif
28191
28192 int
28193 main ()
28194 {
28195 return $ac_func ();
28196 ;
28197 return 0;
28198 }
28199 _ACEOF
28200 rm -f conftest.$ac_objext conftest$ac_exeext
28201 if { (ac_try="$ac_link"
28202 case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28205 esac
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_link") 2>conftest.er1
28208 ac_status=$?
28209 grep -v '^ *+' conftest.er1 >conftest.err
28210 rm -f conftest.er1
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest$ac_exeext &&
28217 $as_test_x conftest$ac_exeext; then
28218 eval "$as_ac_var=yes"
28219 else
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28222
28223 eval "$as_ac_var=no"
28224 fi
28225
28226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28227 conftest$ac_exeext conftest.$ac_ext
28228 fi
28229 ac_res=`eval echo '${'$as_ac_var'}'`
28230 { echo "$as_me:$LINENO: result: $ac_res" >&5
28231 echo "${ECHO_T}$ac_res" >&6; }
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 _ACEOF
28236 have_floor=1
28237 fi
28238 done
28239
28240 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28241 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28242 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28243 { echo "$as_me:$LINENO: result: yes" >&5
28244 echo "${ECHO_T}yes" >&6; }
28245 else
28246 { echo "$as_me:$LINENO: result: no" >&5
28247 echo "${ECHO_T}no" >&6; }
28248 LIBS="$LIBS -lm"
28249 # use different functions to avoid configure caching
28250 have_sin=0
28251 have_ceil=0
28252
28253 for ac_func in sin
28254 do
28255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 else
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28269 #define $ac_func innocuous_$ac_func
28270
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28275
28276 #ifdef __STDC__
28277 # include <limits.h>
28278 #else
28279 # include <assert.h>
28280 #endif
28281
28282 #undef $ac_func
28283
28284 /* Override any GCC internal prototype to avoid an error.
28285 Use char because int might match the return type of a GCC
28286 builtin and then its argument prototype would still apply. */
28287 #ifdef __cplusplus
28288 extern "C"
28289 #endif
28290 char $ac_func ();
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined __stub_$ac_func || defined __stub___$ac_func
28295 choke me
28296 #endif
28297
28298 int
28299 main ()
28300 {
28301 return $ac_func ();
28302 ;
28303 return 0;
28304 }
28305 _ACEOF
28306 rm -f conftest.$ac_objext conftest$ac_exeext
28307 if { (ac_try="$ac_link"
28308 case "(($ac_try" in
28309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28310 *) ac_try_echo=$ac_try;;
28311 esac
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_link") 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest$ac_exeext &&
28323 $as_test_x conftest$ac_exeext; then
28324 eval "$as_ac_var=yes"
28325 else
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28328
28329 eval "$as_ac_var=no"
28330 fi
28331
28332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28333 conftest$ac_exeext conftest.$ac_ext
28334 fi
28335 ac_res=`eval echo '${'$as_ac_var'}'`
28336 { echo "$as_me:$LINENO: result: $ac_res" >&5
28337 echo "${ECHO_T}$ac_res" >&6; }
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h <<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28341 _ACEOF
28342 have_sin=1
28343 fi
28344 done
28345
28346
28347 for ac_func in ceil
28348 do
28349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 cat >conftest.$ac_ext <<_ACEOF
28356 /* confdefs.h. */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28363 #define $ac_func innocuous_$ac_func
28364
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28369
28370 #ifdef __STDC__
28371 # include <limits.h>
28372 #else
28373 # include <assert.h>
28374 #endif
28375
28376 #undef $ac_func
28377
28378 /* Override any GCC internal prototype to avoid an error.
28379 Use char because int might match the return type of a GCC
28380 builtin and then its argument prototype would still apply. */
28381 #ifdef __cplusplus
28382 extern "C"
28383 #endif
28384 char $ac_func ();
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined __stub_$ac_func || defined __stub___$ac_func
28389 choke me
28390 #endif
28391
28392 int
28393 main ()
28394 {
28395 return $ac_func ();
28396 ;
28397 return 0;
28398 }
28399 _ACEOF
28400 rm -f conftest.$ac_objext conftest$ac_exeext
28401 if { (ac_try="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28404 *) ac_try_echo=$ac_try;;
28405 esac
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>conftest.er1
28408 ac_status=$?
28409 grep -v '^ *+' conftest.er1 >conftest.err
28410 rm -f conftest.er1
28411 cat conftest.err >&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } && {
28414 test -z "$ac_c_werror_flag" ||
28415 test ! -s conftest.err
28416 } && test -s conftest$ac_exeext &&
28417 $as_test_x conftest$ac_exeext; then
28418 eval "$as_ac_var=yes"
28419 else
28420 echo "$as_me: failed program was:" >&5
28421 sed 's/^/| /' conftest.$ac_ext >&5
28422
28423 eval "$as_ac_var=no"
28424 fi
28425
28426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28427 conftest$ac_exeext conftest.$ac_ext
28428 fi
28429 ac_res=`eval echo '${'$as_ac_var'}'`
28430 { echo "$as_me:$LINENO: result: $ac_res" >&5
28431 echo "${ECHO_T}$ac_res" >&6; }
28432 if test `eval echo '${'$as_ac_var'}'` = yes; then
28433 cat >>confdefs.h <<_ACEOF
28434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28435 _ACEOF
28436 have_ceil=1
28437 fi
28438 done
28439
28440 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28441 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28442 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28443 { echo "$as_me:$LINENO: result: yes" >&5
28444 echo "${ECHO_T}yes" >&6; }
28445 else
28446 { echo "$as_me:$LINENO: result: no" >&5
28447 echo "${ECHO_T}no" >&6; }
28448 # not sure we should warn the user, crash, etc.
28449 fi
28450 fi
28451
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457
28458 if test "wxUSE_UNICODE" = "yes"; then
28459
28460 for wx_func in wcstoull
28461 do
28462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28464 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467
28468 cat >conftest.$ac_ext <<_ACEOF
28469
28470 /* confdefs.h. */
28471 _ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28475
28476
28477 $ac_includes_default
28478
28479 int
28480 main ()
28481 {
28482
28483 #ifndef $wx_func
28484 &$wx_func;
28485 #endif
28486
28487
28488 ;
28489 return 0;
28490 }
28491
28492 _ACEOF
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28498 esac
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28501 ac_status=$?
28502 grep -v '^ *+' conftest.er1 >conftest.err
28503 rm -f conftest.er1
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_cxx_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 eval wx_cv_func_$wx_func=yes
28512 else
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28515
28516 eval wx_cv_func_$wx_func=no
28517 fi
28518
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28521
28522 fi
28523 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28524 { echo "$as_me:$LINENO: result: $ac_res" >&5
28525 echo "${ECHO_T}$ac_res" >&6; }
28526
28527 if eval test \$wx_cv_func_$wx_func = yes
28528 then
28529 cat >>confdefs.h <<_ACEOF
28530 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28531 _ACEOF
28532
28533
28534 else
28535 :
28536
28537 fi
28538 done
28539
28540 else
28541
28542 for wx_func in strtoull
28543 do
28544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28548 else
28549
28550 cat >conftest.$ac_ext <<_ACEOF
28551
28552 /* confdefs.h. */
28553 _ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28557
28558
28559 $ac_includes_default
28560
28561 int
28562 main ()
28563 {
28564
28565 #ifndef $wx_func
28566 &$wx_func;
28567 #endif
28568
28569
28570 ;
28571 return 0;
28572 }
28573
28574 _ACEOF
28575 rm -f conftest.$ac_objext conftest$ac_exeext
28576 if { (ac_try="$ac_link"
28577 case "(($ac_try" in
28578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28580 esac
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_link") 2>conftest.er1
28583 ac_status=$?
28584 grep -v '^ *+' conftest.er1 >conftest.err
28585 rm -f conftest.er1
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } && {
28589 test -z "$ac_cxx_werror_flag" ||
28590 test ! -s conftest.err
28591 } && test -s conftest$ac_exeext &&
28592 $as_test_x conftest$ac_exeext; then
28593 eval wx_cv_func_$wx_func=yes
28594 else
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.$ac_ext >&5
28597
28598 eval wx_cv_func_$wx_func=no
28599 fi
28600
28601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28602 conftest$ac_exeext conftest.$ac_ext
28603
28604 fi
28605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28606 { echo "$as_me:$LINENO: result: $ac_res" >&5
28607 echo "${ECHO_T}$ac_res" >&6; }
28608
28609 if eval test \$wx_cv_func_$wx_func = yes
28610 then
28611 cat >>confdefs.h <<_ACEOF
28612 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28613 _ACEOF
28614
28615
28616 else
28617 :
28618
28619 fi
28620 done
28621
28622 fi
28623 ac_ext=c
28624 ac_cpp='$CPP $CPPFLAGS'
28625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28628
28629
28630
28631
28632 if test "$wxUSE_REGEX" != "no"; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define wxUSE_REGEX 1
28635 _ACEOF
28636
28637
28638 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28639 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28640 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28641 wxUSE_REGEX=builtin
28642 fi
28643
28644 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28645 { echo "$as_me:$LINENO: checking for regex.h" >&5
28646 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28647 if test "${ac_cv_header_regex_h+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650 cat >conftest.$ac_ext <<_ACEOF
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656
28657
28658 #include <regex.h>
28659 _ACEOF
28660 rm -f conftest.$ac_objext
28661 if { (ac_try="$ac_compile"
28662 case "(($ac_try" in
28663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28664 *) ac_try_echo=$ac_try;;
28665 esac
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_compile") 2>conftest.er1
28668 ac_status=$?
28669 grep -v '^ *+' conftest.er1 >conftest.err
28670 rm -f conftest.er1
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } && {
28674 test -z "$ac_c_werror_flag" ||
28675 test ! -s conftest.err
28676 } && test -s conftest.$ac_objext; then
28677 ac_cv_header_regex_h=yes
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28681
28682 ac_cv_header_regex_h=no
28683 fi
28684
28685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28686 fi
28687 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28688 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28689 if test $ac_cv_header_regex_h = yes; then
28690
28691
28692 for ac_func in regcomp re_search
28693 do
28694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 else
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h. */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28708 #define $ac_func innocuous_$ac_func
28709
28710 /* System header to define __stub macros and hopefully few prototypes,
28711 which can conflict with char $ac_func (); below.
28712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28713 <limits.h> exists even on freestanding compilers. */
28714
28715 #ifdef __STDC__
28716 # include <limits.h>
28717 #else
28718 # include <assert.h>
28719 #endif
28720
28721 #undef $ac_func
28722
28723 /* Override any GCC internal prototype to avoid an error.
28724 Use char because int might match the return type of a GCC
28725 builtin and then its argument prototype would still apply. */
28726 #ifdef __cplusplus
28727 extern "C"
28728 #endif
28729 char $ac_func ();
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined __stub_$ac_func || defined __stub___$ac_func
28734 choke me
28735 #endif
28736
28737 int
28738 main ()
28739 {
28740 return $ac_func ();
28741 ;
28742 return 0;
28743 }
28744 _ACEOF
28745 rm -f conftest.$ac_objext conftest$ac_exeext
28746 if { (ac_try="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28750 esac
28751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28753 ac_status=$?
28754 grep -v '^ *+' conftest.er1 >conftest.err
28755 rm -f conftest.er1
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 eval "$as_ac_var=yes"
28764 else
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28767
28768 eval "$as_ac_var=no"
28769 fi
28770
28771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28772 conftest$ac_exeext conftest.$ac_ext
28773 fi
28774 ac_res=`eval echo '${'$as_ac_var'}'`
28775 { echo "$as_me:$LINENO: result: $ac_res" >&5
28776 echo "${ECHO_T}$ac_res" >&6; }
28777 if test `eval echo '${'$as_ac_var'}'` = yes; then
28778 cat >>confdefs.h <<_ACEOF
28779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28780 _ACEOF
28781
28782 fi
28783 done
28784
28785 fi
28786
28787
28788
28789 if test "x$ac_cv_func_regcomp" != "xyes"; then
28790 if test "$wxUSE_REGEX" = "sys" ; then
28791 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28792 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28793 { (exit 1); exit 1; }; }
28794 else
28795 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28796 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28797 wxUSE_REGEX=builtin
28798 fi
28799 else
28800 wxUSE_REGEX=sys
28801 cat >>confdefs.h <<\_ACEOF
28802 #define WX_NO_REGEX_ADVANCED 1
28803 _ACEOF
28804
28805 fi
28806 fi
28807 fi
28808
28809
28810 ZLIB_LINK=
28811 if test "$wxUSE_ZLIB" != "no" ; then
28812 cat >>confdefs.h <<\_ACEOF
28813 #define wxUSE_ZLIB 1
28814 _ACEOF
28815
28816
28817 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28818 if test "$USE_DARWIN" = 1; then
28819 system_zlib_h_ok="yes"
28820 else
28821 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28822 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28823 if test "${ac_cv_header_zlib_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28825 else
28826 if test "$cross_compiling" = yes; then
28827 unset ac_cv_header_zlib_h
28828
28829 else
28830 cat >conftest.$ac_ext <<_ACEOF
28831 /* confdefs.h. */
28832 _ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836
28837 #include <zlib.h>
28838 #include <stdio.h>
28839
28840 int main()
28841 {
28842 FILE *f=fopen("conftestval", "w");
28843 if (!f) exit(1);
28844 fprintf(f, "%s",
28845 ZLIB_VERSION[0] == '1' &&
28846 (ZLIB_VERSION[2] > '1' ||
28847 (ZLIB_VERSION[2] == '1' &&
28848 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28849 exit(0);
28850 }
28851
28852 _ACEOF
28853 rm -f conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28858 esac
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28864 { (case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28867 esac
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_try") 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_header_zlib_h=`cat conftestval`
28874 else
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28878
28879 ( exit $ac_status )
28880 ac_cv_header_zlib_h=no
28881 fi
28882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28883 fi
28884
28885
28886
28887 fi
28888 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28889 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28890 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28891 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28892 if test "${ac_cv_header_zlib_h+set}" = set; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 else
28895 cat >conftest.$ac_ext <<_ACEOF
28896 /* confdefs.h. */
28897 _ACEOF
28898 cat confdefs.h >>conftest.$ac_ext
28899 cat >>conftest.$ac_ext <<_ACEOF
28900 /* end confdefs.h. */
28901
28902
28903 #include <zlib.h>
28904 _ACEOF
28905 rm -f conftest.$ac_objext
28906 if { (ac_try="$ac_compile"
28907 case "(($ac_try" in
28908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28909 *) ac_try_echo=$ac_try;;
28910 esac
28911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28912 (eval "$ac_compile") 2>conftest.er1
28913 ac_status=$?
28914 grep -v '^ *+' conftest.er1 >conftest.err
28915 rm -f conftest.er1
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } && {
28919 test -z "$ac_c_werror_flag" ||
28920 test ! -s conftest.err
28921 } && test -s conftest.$ac_objext; then
28922 ac_cv_header_zlib_h=yes
28923 else
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.$ac_ext >&5
28926
28927 ac_cv_header_zlib_h=no
28928 fi
28929
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 fi
28932 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28933 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28934
28935
28936
28937 system_zlib_h_ok=$ac_cv_header_zlib_h
28938 fi
28939
28940 if test "$system_zlib_h_ok" = "yes"; then
28941 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28942 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28943 if test "${ac_cv_lib_z_deflate+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945 else
28946 ac_check_lib_save_LIBS=$LIBS
28947 LIBS="-lz $LIBS"
28948 cat >conftest.$ac_ext <<_ACEOF
28949 /* confdefs.h. */
28950 _ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28954
28955 /* Override any GCC internal prototype to avoid an error.
28956 Use char because int might match the return type of a GCC
28957 builtin and then its argument prototype would still apply. */
28958 #ifdef __cplusplus
28959 extern "C"
28960 #endif
28961 char deflate ();
28962 int
28963 main ()
28964 {
28965 return deflate ();
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 rm -f conftest.$ac_objext conftest$ac_exeext
28971 if { (ac_try="$ac_link"
28972 case "(($ac_try" in
28973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28975 esac
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_link") 2>conftest.er1
28978 ac_status=$?
28979 grep -v '^ *+' conftest.er1 >conftest.err
28980 rm -f conftest.er1
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest$ac_exeext &&
28987 $as_test_x conftest$ac_exeext; then
28988 ac_cv_lib_z_deflate=yes
28989 else
28990 echo "$as_me: failed program was:" >&5
28991 sed 's/^/| /' conftest.$ac_ext >&5
28992
28993 ac_cv_lib_z_deflate=no
28994 fi
28995
28996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
28999 fi
29000 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29001 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29002 if test $ac_cv_lib_z_deflate = yes; then
29003 ZLIB_LINK=" -lz"
29004 fi
29005
29006 fi
29007
29008 if test "x$ZLIB_LINK" = "x" ; then
29009 if test "$wxUSE_ZLIB" = "sys" ; then
29010 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29011 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29012 { (exit 1); exit 1; }; }
29013 else
29014 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29015 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29016 wxUSE_ZLIB=builtin
29017 fi
29018 else
29019 wxUSE_ZLIB=sys
29020 fi
29021 fi
29022 fi
29023
29024
29025 PNG_LINK=
29026 if test "$wxUSE_LIBPNG" != "no" ; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_LIBPNG 1
29029 _ACEOF
29030
29031
29032 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29033 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29034 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29035 wxUSE_LIBPNG=sys
29036 fi
29037
29038 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29039 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29040 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29041 wxUSE_LIBPNG=builtin
29042 fi
29043
29044 if test "$wxUSE_MGL" != 1 ; then
29045 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29046 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29047 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29048 if test "${ac_cv_header_png_h+set}" = set; then
29049 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 else
29051 if test "$cross_compiling" = yes; then
29052 unset ac_cv_header_png_h
29053
29054 else
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061
29062 #include <png.h>
29063 #include <stdio.h>
29064
29065 int main()
29066 {
29067 FILE *f=fopen("conftestval", "w");
29068 if (!f) exit(1);
29069 fprintf(f, "%s",
29070 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29071 exit(0);
29072 }
29073
29074 _ACEOF
29075 rm -f conftest$ac_exeext
29076 if { (ac_try="$ac_link"
29077 case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29080 esac
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_link") 2>&5
29083 ac_status=$?
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29086 { (case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29089 esac
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_try") 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_header_png_h=`cat conftestval`
29096 else
29097 echo "$as_me: program exited with status $ac_status" >&5
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 ( exit $ac_status )
29102 ac_cv_header_png_h=no
29103 fi
29104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29105 fi
29106
29107
29108
29109 fi
29110 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29111 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29112 { echo "$as_me:$LINENO: checking for png.h" >&5
29113 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29114 if test "${ac_cv_header_png_h+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29116 else
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123
29124
29125 #include <png.h>
29126 _ACEOF
29127 rm -f conftest.$ac_objext
29128 if { (ac_try="$ac_compile"
29129 case "(($ac_try" in
29130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29131 *) ac_try_echo=$ac_try;;
29132 esac
29133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29134 (eval "$ac_compile") 2>conftest.er1
29135 ac_status=$?
29136 grep -v '^ *+' conftest.er1 >conftest.err
29137 rm -f conftest.er1
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } && {
29141 test -z "$ac_c_werror_flag" ||
29142 test ! -s conftest.err
29143 } && test -s conftest.$ac_objext; then
29144 ac_cv_header_png_h=yes
29145 else
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.$ac_ext >&5
29148
29149 ac_cv_header_png_h=no
29150 fi
29151
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 fi
29154 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29155 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29156
29157
29158
29159 if test "$ac_cv_header_png_h" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 else
29165 ac_check_lib_save_LIBS=$LIBS
29166 LIBS="-lpng -lz -lm $LIBS"
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173
29174 /* Override any GCC internal prototype to avoid an error.
29175 Use char because int might match the return type of a GCC
29176 builtin and then its argument prototype would still apply. */
29177 #ifdef __cplusplus
29178 extern "C"
29179 #endif
29180 char png_check_sig ();
29181 int
29182 main ()
29183 {
29184 return png_check_sig ();
29185 ;
29186 return 0;
29187 }
29188 _ACEOF
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29194 esac
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>conftest.er1
29197 ac_status=$?
29198 grep -v '^ *+' conftest.er1 >conftest.err
29199 rm -f conftest.er1
29200 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } && {
29203 test -z "$ac_c_werror_flag" ||
29204 test ! -s conftest.err
29205 } && test -s conftest$ac_exeext &&
29206 $as_test_x conftest$ac_exeext; then
29207 ac_cv_lib_png_png_check_sig=yes
29208 else
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 ac_cv_lib_png_png_check_sig=no
29213 fi
29214
29215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29216 conftest$ac_exeext conftest.$ac_ext
29217 LIBS=$ac_check_lib_save_LIBS
29218 fi
29219 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29220 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29221 if test $ac_cv_lib_png_png_check_sig = yes; then
29222 PNG_LINK=" -lpng -lz"
29223 fi
29224
29225 fi
29226
29227 if test "x$PNG_LINK" = "x" ; then
29228 if test "$wxUSE_LIBPNG" = "sys" ; then
29229 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29230 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29231 { (exit 1); exit 1; }; }
29232 else
29233 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29234 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29235 wxUSE_LIBPNG=builtin
29236 fi
29237 else
29238 wxUSE_LIBPNG=sys
29239 fi
29240 fi
29241 fi
29242 fi
29243
29244
29245 JPEG_LINK=
29246 if test "$wxUSE_LIBJPEG" != "no" ; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_LIBJPEG 1
29249 _ACEOF
29250
29251
29252 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29253 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29254 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29255 wxUSE_LIBJPEG=sys
29256 fi
29257
29258 if test "$wxUSE_MGL" != 1 ; then
29259 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29260 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29261 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29262 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29264 else
29265 cat >conftest.$ac_ext <<_ACEOF
29266 /* confdefs.h. */
29267 _ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271
29272 #undef HAVE_STDLIB_H
29273 #include <stdio.h>
29274 #include <jpeglib.h>
29275
29276 int
29277 main ()
29278 {
29279
29280
29281 ;
29282 return 0;
29283 }
29284 _ACEOF
29285 rm -f conftest.$ac_objext
29286 if { (ac_try="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29290 esac
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest.$ac_objext; then
29302 ac_cv_header_jpeglib_h=yes
29303 else
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29306
29307 ac_cv_header_jpeglib_h=no
29308
29309 fi
29310
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312
29313 fi
29314
29315 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29316 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29317
29318 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29319 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29320 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29321 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29323 else
29324 ac_check_lib_save_LIBS=$LIBS
29325 LIBS="-ljpeg $LIBS"
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 /* Override any GCC internal prototype to avoid an error.
29334 Use char because int might match the return type of a GCC
29335 builtin and then its argument prototype would still apply. */
29336 #ifdef __cplusplus
29337 extern "C"
29338 #endif
29339 char jpeg_read_header ();
29340 int
29341 main ()
29342 {
29343 return jpeg_read_header ();
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (ac_try="$ac_link"
29350 case "(($ac_try" in
29351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29352 *) ac_try_echo=$ac_try;;
29353 esac
29354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29355 (eval "$ac_link") 2>conftest.er1
29356 ac_status=$?
29357 grep -v '^ *+' conftest.er1 >conftest.err
29358 rm -f conftest.er1
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } && {
29362 test -z "$ac_c_werror_flag" ||
29363 test ! -s conftest.err
29364 } && test -s conftest$ac_exeext &&
29365 $as_test_x conftest$ac_exeext; then
29366 ac_cv_lib_jpeg_jpeg_read_header=yes
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 ac_cv_lib_jpeg_jpeg_read_header=no
29372 fi
29373
29374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29375 conftest$ac_exeext conftest.$ac_ext
29376 LIBS=$ac_check_lib_save_LIBS
29377 fi
29378 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29381 JPEG_LINK=" -ljpeg"
29382 fi
29383
29384 fi
29385
29386 if test "x$JPEG_LINK" = "x" ; then
29387 if test "$wxUSE_LIBJPEG" = "sys" ; then
29388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29390 { (exit 1); exit 1; }; }
29391 else
29392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29394 wxUSE_LIBJPEG=builtin
29395 fi
29396 else
29397 wxUSE_LIBJPEG=sys
29398
29399 if test "$wxUSE_MSW" = 1; then
29400 { echo "$as_me:$LINENO: checking for boolean" >&5
29401 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29402 if test "${ac_cv_type_boolean+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405 cat >conftest.$ac_ext <<_ACEOF
29406 /* confdefs.h. */
29407 _ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411 #include <windows.h>
29412
29413 typedef boolean ac__type_new_;
29414 int
29415 main ()
29416 {
29417 if ((ac__type_new_ *) 0)
29418 return 0;
29419 if (sizeof (ac__type_new_))
29420 return 0;
29421 ;
29422 return 0;
29423 }
29424 _ACEOF
29425 rm -f conftest.$ac_objext
29426 if { (ac_try="$ac_compile"
29427 case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29430 esac
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_compile") 2>conftest.er1
29433 ac_status=$?
29434 grep -v '^ *+' conftest.er1 >conftest.err
29435 rm -f conftest.er1
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest.$ac_objext; then
29442 ac_cv_type_boolean=yes
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29446
29447 ac_cv_type_boolean=no
29448 fi
29449
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29451 fi
29452 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29453 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29454 if test $ac_cv_type_boolean = yes; then
29455
29456 cat >>confdefs.h <<_ACEOF
29457 #define HAVE_BOOLEAN 1
29458 _ACEOF
29459
29460
29461 { echo "$as_me:$LINENO: checking for boolean" >&5
29462 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29463 if test "${ac_cv_type_boolean+set}" = set; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 else
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472
29473 #undef HAVE_BOOLEAN
29474 #include <stdio.h>
29475 #include <jpeglib.h>
29476
29477
29478 typedef boolean ac__type_new_;
29479 int
29480 main ()
29481 {
29482 if ((ac__type_new_ *) 0)
29483 return 0;
29484 if (sizeof (ac__type_new_))
29485 return 0;
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext
29491 if { (ac_try="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29495 esac
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29498 ac_status=$?
29499 grep -v '^ *+' conftest.er1 >conftest.err
29500 rm -f conftest.er1
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29507 ac_cv_type_boolean=yes
29508 else
29509 echo "$as_me: failed program was:" >&5
29510 sed 's/^/| /' conftest.$ac_ext >&5
29511
29512 ac_cv_type_boolean=no
29513 fi
29514
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29516 fi
29517 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29518 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29519
29520 # The cast to long int works around a bug in the HP C Compiler
29521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29523 # This bug is HP SR number 8606223364.
29524 { echo "$as_me:$LINENO: checking size of boolean" >&5
29525 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29526 if test "${ac_cv_sizeof_boolean+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 if test "$cross_compiling" = yes; then
29530 # Depending upon the size, compute the lo and hi bounds.
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537
29538 #undef HAVE_BOOLEAN
29539 #include <stdio.h>
29540 #include <jpeglib.h>
29541
29542
29543 typedef boolean ac__type_sizeof_;
29544 int
29545 main ()
29546 {
29547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29548 test_array [0] = 0
29549
29550 ;
29551 return 0;
29552 }
29553 _ACEOF
29554 rm -f conftest.$ac_objext
29555 if { (ac_try="$ac_compile"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558 *) ac_try_echo=$ac_try;;
29559 esac
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_compile") 2>conftest.er1
29562 ac_status=$?
29563 grep -v '^ *+' conftest.er1 >conftest.err
29564 rm -f conftest.er1
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } && {
29568 test -z "$ac_c_werror_flag" ||
29569 test ! -s conftest.err
29570 } && test -s conftest.$ac_objext; then
29571 ac_lo=0 ac_mid=0
29572 while :; do
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_))) <= $ac_mid)];
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=$ac_mid; break
29614 else
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.$ac_ext >&5
29617
29618 ac_lo=`expr $ac_mid + 1`
29619 if test $ac_lo -le $ac_mid; then
29620 ac_lo= ac_hi=
29621 break
29622 fi
29623 ac_mid=`expr 2 '*' $ac_mid + 1`
29624 fi
29625
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29627 done
29628 else
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29631
29632 cat >conftest.$ac_ext <<_ACEOF
29633 /* confdefs.h. */
29634 _ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638
29639 #undef HAVE_BOOLEAN
29640 #include <stdio.h>
29641 #include <jpeglib.h>
29642
29643
29644 typedef boolean ac__type_sizeof_;
29645 int
29646 main ()
29647 {
29648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29649 test_array [0] = 0
29650
29651 ;
29652 return 0;
29653 }
29654 _ACEOF
29655 rm -f conftest.$ac_objext
29656 if { (ac_try="$ac_compile"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29660 esac
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_compile") 2>conftest.er1
29663 ac_status=$?
29664 grep -v '^ *+' conftest.er1 >conftest.err
29665 rm -f conftest.er1
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } && {
29669 test -z "$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 } && test -s conftest.$ac_objext; then
29672 ac_hi=-1 ac_mid=-1
29673 while :; do
29674 cat >conftest.$ac_ext <<_ACEOF
29675 /* confdefs.h. */
29676 _ACEOF
29677 cat confdefs.h >>conftest.$ac_ext
29678 cat >>conftest.$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29680
29681 #undef HAVE_BOOLEAN
29682 #include <stdio.h>
29683 #include <jpeglib.h>
29684
29685
29686 typedef boolean ac__type_sizeof_;
29687 int
29688 main ()
29689 {
29690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29691 test_array [0] = 0
29692
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29702 esac
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29705 ac_status=$?
29706 grep -v '^ *+' conftest.er1 >conftest.err
29707 rm -f conftest.er1
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_lo=$ac_mid; break
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 ac_hi=`expr '(' $ac_mid ')' - 1`
29720 if test $ac_mid -le $ac_hi; then
29721 ac_lo= ac_hi=
29722 break
29723 fi
29724 ac_mid=`expr 2 '*' $ac_mid`
29725 fi
29726
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29728 done
29729 else
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 ac_lo= ac_hi=
29734 fi
29735
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 fi
29738
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 # Binary search between lo and hi bounds.
29741 while test "x$ac_lo" != "x$ac_hi"; do
29742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29743 cat >conftest.$ac_ext <<_ACEOF
29744 /* confdefs.h. */
29745 _ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29749
29750 #undef HAVE_BOOLEAN
29751 #include <stdio.h>
29752 #include <jpeglib.h>
29753
29754
29755 typedef boolean ac__type_sizeof_;
29756 int
29757 main ()
29758 {
29759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29760 test_array [0] = 0
29761
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 rm -f conftest.$ac_objext
29767 if { (ac_try="$ac_compile"
29768 case "(($ac_try" in
29769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29770 *) ac_try_echo=$ac_try;;
29771 esac
29772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29773 (eval "$ac_compile") 2>conftest.er1
29774 ac_status=$?
29775 grep -v '^ *+' conftest.er1 >conftest.err
29776 rm -f conftest.er1
29777 cat conftest.err >&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } && {
29780 test -z "$ac_c_werror_flag" ||
29781 test ! -s conftest.err
29782 } && test -s conftest.$ac_objext; then
29783 ac_hi=$ac_mid
29784 else
29785 echo "$as_me: failed program was:" >&5
29786 sed 's/^/| /' conftest.$ac_ext >&5
29787
29788 ac_lo=`expr '(' $ac_mid ')' + 1`
29789 fi
29790
29791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29792 done
29793 case $ac_lo in
29794 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29795 '') if test "$ac_cv_type_boolean" = yes; then
29796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29797 See \`config.log' for more details." >&5
29798 echo "$as_me: error: cannot compute sizeof (boolean)
29799 See \`config.log' for more details." >&2;}
29800 { (exit 77); exit 77; }; }
29801 else
29802 ac_cv_sizeof_boolean=0
29803 fi ;;
29804 esac
29805 else
29806 cat >conftest.$ac_ext <<_ACEOF
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812
29813 #undef HAVE_BOOLEAN
29814 #include <stdio.h>
29815 #include <jpeglib.h>
29816
29817
29818 typedef boolean ac__type_sizeof_;
29819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29821 #include <stdio.h>
29822 #include <stdlib.h>
29823 int
29824 main ()
29825 {
29826
29827 FILE *f = fopen ("conftest.val", "w");
29828 if (! f)
29829 return 1;
29830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29831 {
29832 long int i = longval ();
29833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29834 return 1;
29835 fprintf (f, "%ld\n", i);
29836 }
29837 else
29838 {
29839 unsigned long int i = ulongval ();
29840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29841 return 1;
29842 fprintf (f, "%lu\n", i);
29843 }
29844 return ferror (f) || fclose (f) != 0;
29845
29846 ;
29847 return 0;
29848 }
29849 _ACEOF
29850 rm -f conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29855 esac
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29861 { (case "(($ac_try" in
29862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29864 esac
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_try") 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_sizeof_boolean=`cat conftest.val`
29871 else
29872 echo "$as_me: program exited with status $ac_status" >&5
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.$ac_ext >&5
29875
29876 ( exit $ac_status )
29877 if test "$ac_cv_type_boolean" = yes; then
29878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29879 See \`config.log' for more details." >&5
29880 echo "$as_me: error: cannot compute sizeof (boolean)
29881 See \`config.log' for more details." >&2;}
29882 { (exit 77); exit 77; }; }
29883 else
29884 ac_cv_sizeof_boolean=0
29885 fi
29886 fi
29887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29888 fi
29889 rm -f conftest.val
29890 fi
29891 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29892 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29893
29894
29895
29896 cat >>confdefs.h <<_ACEOF
29897 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29898 _ACEOF
29899
29900
29901 cat >>confdefs.h <<_ACEOF
29902 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29903 _ACEOF
29904
29905
29906 fi
29907
29908 fi
29909 fi
29910 fi
29911 fi
29912 fi
29913
29914
29915 TIFF_LINK=
29916 TIFF_PREREQ_LINKS=-lm
29917 if test "$wxUSE_LIBTIFF" != "no" ; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define wxUSE_LIBTIFF 1
29920 _ACEOF
29921
29922
29923 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29924 if test "$wxUSE_LIBJPEG" = "sys"; then
29925 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29926 fi
29927 if test "$wxUSE_ZLIB" = "sys"; then
29928 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29929 fi
29930 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29931 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29932 if test "${ac_cv_header_tiffio_h+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941
29942
29943
29944 #include <tiffio.h>
29945 _ACEOF
29946 rm -f conftest.$ac_objext
29947 if { (ac_try="$ac_compile"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29951 esac
29952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_compile") 2>conftest.er1
29954 ac_status=$?
29955 grep -v '^ *+' conftest.er1 >conftest.err
29956 rm -f conftest.er1
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest.$ac_objext; then
29963 ac_cv_header_tiffio_h=yes
29964 else
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29967
29968 ac_cv_header_tiffio_h=no
29969 fi
29970
29971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29972 fi
29973 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29974 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29975 if test $ac_cv_header_tiffio_h = yes; then
29976
29977 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29978 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29979 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29980 echo $ECHO_N "(cached) $ECHO_C" >&6
29981 else
29982 ac_check_lib_save_LIBS=$LIBS
29983 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29984 cat >conftest.$ac_ext <<_ACEOF
29985 /* confdefs.h. */
29986 _ACEOF
29987 cat confdefs.h >>conftest.$ac_ext
29988 cat >>conftest.$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29990
29991 /* Override any GCC internal prototype to avoid an error.
29992 Use char because int might match the return type of a GCC
29993 builtin and then its argument prototype would still apply. */
29994 #ifdef __cplusplus
29995 extern "C"
29996 #endif
29997 char TIFFError ();
29998 int
29999 main ()
30000 {
30001 return TIFFError ();
30002 ;
30003 return 0;
30004 }
30005 _ACEOF
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (ac_try="$ac_link"
30008 case "(($ac_try" in
30009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30010 *) ac_try_echo=$ac_try;;
30011 esac
30012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30013 (eval "$ac_link") 2>conftest.er1
30014 ac_status=$?
30015 grep -v '^ *+' conftest.er1 >conftest.err
30016 rm -f conftest.er1
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } && {
30020 test -z "$ac_c_werror_flag" ||
30021 test ! -s conftest.err
30022 } && test -s conftest$ac_exeext &&
30023 $as_test_x conftest$ac_exeext; then
30024 ac_cv_lib_tiff_TIFFError=yes
30025 else
30026 echo "$as_me: failed program was:" >&5
30027 sed 's/^/| /' conftest.$ac_ext >&5
30028
30029 ac_cv_lib_tiff_TIFFError=no
30030 fi
30031
30032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30033 conftest$ac_exeext conftest.$ac_ext
30034 LIBS=$ac_check_lib_save_LIBS
30035 fi
30036 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30037 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30038 if test $ac_cv_lib_tiff_TIFFError = yes; then
30039 TIFF_LINK=" -ltiff"
30040 fi
30041
30042
30043 fi
30044
30045
30046
30047 if test "x$TIFF_LINK" = "x" ; then
30048 if test "$wxUSE_LIBTIFF" = "sys" ; then
30049 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30050 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30051 { (exit 1); exit 1; }; }
30052 else
30053 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30054 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30055 wxUSE_LIBTIFF=builtin
30056 fi
30057 else
30058 wxUSE_LIBTIFF=sys
30059 fi
30060 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30061 subdirs="$subdirs src/tiff"
30062
30063 fi
30064 fi
30065 fi
30066
30067
30068 if test "$wxUSE_WCHAR_T" != "yes"; then
30069 if test "$wxUSE_EXPAT" != "no"; then
30070 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30071 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30072 wxUSE_EXPAT=no
30073 fi
30074 if test "$wxUSE_XML" != "no"; then
30075 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30076 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30077 wxUSE_XML=no
30078 fi
30079 fi
30080
30081 if test "$wxUSE_EXPAT" != "no"; then
30082 wxUSE_XML=yes
30083 cat >>confdefs.h <<\_ACEOF
30084 #define wxUSE_EXPAT 1
30085 _ACEOF
30086
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_XML 1
30089 _ACEOF
30090
30091
30092 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30093 { echo "$as_me:$LINENO: checking for expat.h" >&5
30094 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30095 if test "${ac_cv_header_expat_h+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30097 else
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104
30105
30106 #include <expat.h>
30107 _ACEOF
30108 rm -f conftest.$ac_objext
30109 if { (ac_try="$ac_compile"
30110 case "(($ac_try" in
30111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30112 *) ac_try_echo=$ac_try;;
30113 esac
30114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30115 (eval "$ac_compile") 2>conftest.er1
30116 ac_status=$?
30117 grep -v '^ *+' conftest.er1 >conftest.err
30118 rm -f conftest.er1
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } && {
30122 test -z "$ac_c_werror_flag" ||
30123 test ! -s conftest.err
30124 } && test -s conftest.$ac_objext; then
30125 ac_cv_header_expat_h=yes
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 ac_cv_header_expat_h=no
30131 fi
30132
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 fi
30135 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30136 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30137 if test $ac_cv_header_expat_h = yes; then
30138 found_expat_h=1
30139 fi
30140
30141
30142 if test "x$found_expat_h" = "x1"; then
30143 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30144 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30145 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 else
30148
30149 ac_ext=cpp
30150 ac_cpp='$CXXCPP $CPPFLAGS'
30151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30154
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 #include <expat.h>
30162 int
30163 main ()
30164 {
30165
30166 ;
30167 return 0;
30168 }
30169 _ACEOF
30170 rm -f conftest.$ac_objext
30171 if { (ac_try="$ac_compile"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30175 esac
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_compile") 2>conftest.er1
30178 ac_status=$?
30179 grep -v '^ *+' conftest.er1 >conftest.err
30180 rm -f conftest.er1
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_cxx_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest.$ac_objext; then
30187 wx_cv_expat_is_not_broken=yes
30188 else
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.$ac_ext >&5
30191
30192 wx_cv_expat_is_not_broken=no
30193
30194 fi
30195
30196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 ac_ext=c
30198 ac_cpp='$CPP $CPPFLAGS'
30199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30202
30203
30204
30205 fi
30206 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30207 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30208 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30209 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30210 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30211 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30213 else
30214 ac_check_lib_save_LIBS=$LIBS
30215 LIBS="-lexpat $LIBS"
30216 cat >conftest.$ac_ext <<_ACEOF
30217 /* confdefs.h. */
30218 _ACEOF
30219 cat confdefs.h >>conftest.$ac_ext
30220 cat >>conftest.$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222
30223 /* Override any GCC internal prototype to avoid an error.
30224 Use char because int might match the return type of a GCC
30225 builtin and then its argument prototype would still apply. */
30226 #ifdef __cplusplus
30227 extern "C"
30228 #endif
30229 char XML_ParserCreate ();
30230 int
30231 main ()
30232 {
30233 return XML_ParserCreate ();
30234 ;
30235 return 0;
30236 }
30237 _ACEOF
30238 rm -f conftest.$ac_objext conftest$ac_exeext
30239 if { (ac_try="$ac_link"
30240 case "(($ac_try" in
30241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30242 *) ac_try_echo=$ac_try;;
30243 esac
30244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30245 (eval "$ac_link") 2>conftest.er1
30246 ac_status=$?
30247 grep -v '^ *+' conftest.er1 >conftest.err
30248 rm -f conftest.er1
30249 cat conftest.err >&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } && {
30252 test -z "$ac_c_werror_flag" ||
30253 test ! -s conftest.err
30254 } && test -s conftest$ac_exeext &&
30255 $as_test_x conftest$ac_exeext; then
30256 ac_cv_lib_expat_XML_ParserCreate=yes
30257 else
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.$ac_ext >&5
30260
30261 ac_cv_lib_expat_XML_ParserCreate=no
30262 fi
30263
30264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30265 conftest$ac_exeext conftest.$ac_ext
30266 LIBS=$ac_check_lib_save_LIBS
30267 fi
30268 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30269 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30270 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30271 EXPAT_LINK=" -lexpat"
30272 fi
30273
30274 fi
30275 fi
30276 if test "x$EXPAT_LINK" = "x" ; then
30277 if test "$wxUSE_EXPAT" = "sys" ; then
30278 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30279 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30280 { (exit 1); exit 1; }; }
30281 else
30282 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30283 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30284 wxUSE_EXPAT=builtin
30285 fi
30286 else
30287 wxUSE_EXPAT=sys
30288 fi
30289 fi
30290 if test "$wxUSE_EXPAT" = "builtin" ; then
30291 subdirs="$subdirs src/expat"
30292
30293 fi
30294 fi
30295
30296
30297
30298 if test "$wxUSE_LIBMSPACK" != "no"; then
30299 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30300 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30301 if test "${ac_cv_header_mspack_h+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 else
30304 cat >conftest.$ac_ext <<_ACEOF
30305 /* confdefs.h. */
30306 _ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310
30311
30312 #include <mspack.h>
30313 _ACEOF
30314 rm -f conftest.$ac_objext
30315 if { (ac_try="$ac_compile"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30319 esac
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_compile") 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest.$ac_objext; then
30331 ac_cv_header_mspack_h=yes
30332 else
30333 echo "$as_me: failed program was:" >&5
30334 sed 's/^/| /' conftest.$ac_ext >&5
30335
30336 ac_cv_header_mspack_h=no
30337 fi
30338
30339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30340 fi
30341 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30342 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30343 if test $ac_cv_header_mspack_h = yes; then
30344 found_mspack_h=1
30345 fi
30346
30347
30348 if test "x$found_mspack_h" = "x1"; then
30349 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30350 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30351 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30352 echo $ECHO_N "(cached) $ECHO_C" >&6
30353 else
30354 ac_check_lib_save_LIBS=$LIBS
30355 LIBS="-lmspack $LIBS"
30356 cat >conftest.$ac_ext <<_ACEOF
30357 /* confdefs.h. */
30358 _ACEOF
30359 cat confdefs.h >>conftest.$ac_ext
30360 cat >>conftest.$ac_ext <<_ACEOF
30361 /* end confdefs.h. */
30362
30363 /* Override any GCC internal prototype to avoid an error.
30364 Use char because int might match the return type of a GCC
30365 builtin and then its argument prototype would still apply. */
30366 #ifdef __cplusplus
30367 extern "C"
30368 #endif
30369 char mspack_create_chm_decompressor ();
30370 int
30371 main ()
30372 {
30373 return mspack_create_chm_decompressor ();
30374 ;
30375 return 0;
30376 }
30377 _ACEOF
30378 rm -f conftest.$ac_objext conftest$ac_exeext
30379 if { (ac_try="$ac_link"
30380 case "(($ac_try" in
30381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30382 *) ac_try_echo=$ac_try;;
30383 esac
30384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30385 (eval "$ac_link") 2>conftest.er1
30386 ac_status=$?
30387 grep -v '^ *+' conftest.er1 >conftest.err
30388 rm -f conftest.er1
30389 cat conftest.err >&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } && {
30392 test -z "$ac_c_werror_flag" ||
30393 test ! -s conftest.err
30394 } && test -s conftest$ac_exeext &&
30395 $as_test_x conftest$ac_exeext; then
30396 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30397 else
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30400
30401 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30402 fi
30403
30404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30405 conftest$ac_exeext conftest.$ac_ext
30406 LIBS=$ac_check_lib_save_LIBS
30407 fi
30408 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30409 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30410 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30411 MSPACK_LINK=" -lmspack"
30412 fi
30413
30414 fi
30415 if test "x$MSPACK_LINK" = "x" ; then
30416 wxUSE_LIBMSPACK=no
30417 fi
30418 fi
30419
30420 if test "$wxUSE_LIBMSPACK" != "no"; then
30421 cat >>confdefs.h <<\_ACEOF
30422 #define wxUSE_LIBMSPACK 1
30423 _ACEOF
30424
30425 fi
30426
30427
30428
30429 AFMINSTALL=
30430 WIN32INSTALL=
30431
30432 TOOLKIT=
30433 TOOLKIT_INCLUDE=
30434 WIDGET_SET=
30435
30436 if test "$USE_WIN32" = 1 ; then
30437
30438 for ac_header in w32api.h
30439 do
30440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30444 echo $ECHO_N "(cached) $ECHO_C" >&6
30445 else
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h. */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452
30453
30454 #include <$ac_header>
30455 _ACEOF
30456 rm -f conftest.$ac_objext
30457 if { (ac_try="$ac_compile"
30458 case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30461 esac
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_compile") 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && {
30470 test -z "$ac_c_werror_flag" ||
30471 test ! -s conftest.err
30472 } && test -s conftest.$ac_objext; then
30473 eval "$as_ac_Header=yes"
30474 else
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.$ac_ext >&5
30477
30478 eval "$as_ac_Header=no"
30479 fi
30480
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482 fi
30483 ac_res=`eval echo '${'$as_ac_Header'}'`
30484 { echo "$as_me:$LINENO: result: $ac_res" >&5
30485 echo "${ECHO_T}$ac_res" >&6; }
30486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30487 cat >>confdefs.h <<_ACEOF
30488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30489 _ACEOF
30490
30491 fi
30492
30493 done
30494
30495 { echo "$as_me:$LINENO: checking for windows.h" >&5
30496 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30497 if test "${ac_cv_header_windows_h+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 else
30500 cat >conftest.$ac_ext <<_ACEOF
30501 /* confdefs.h. */
30502 _ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30506
30507
30508 #include <windows.h>
30509 _ACEOF
30510 rm -f conftest.$ac_objext
30511 if { (ac_try="$ac_compile"
30512 case "(($ac_try" in
30513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30514 *) ac_try_echo=$ac_try;;
30515 esac
30516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_compile") 2>conftest.er1
30518 ac_status=$?
30519 grep -v '^ *+' conftest.er1 >conftest.err
30520 rm -f conftest.er1
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } && {
30524 test -z "$ac_c_werror_flag" ||
30525 test ! -s conftest.err
30526 } && test -s conftest.$ac_objext; then
30527 ac_cv_header_windows_h=yes
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 ac_cv_header_windows_h=no
30533 fi
30534
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30536 fi
30537 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30538 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30539 if test $ac_cv_header_windows_h = yes; then
30540 :
30541 else
30542
30543 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30544 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30545 { (exit 1); exit 1; }; }
30546
30547 fi
30548
30549
30550
30551 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30552
30553 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30554 LIBS="$LIBS -loleacc"
30555 fi
30556
30557 case "${host}" in
30558 *-*-cygwin* )
30559 LIBS="$LIBS -lkernel32 -luser32"
30560 esac
30561
30562 if test "$wxUSE_ODBC" = "sys" ; then
30563 wxUSE_ODBC = "yes"
30564 fi
30565 if test "$wxUSE_ODBC" = "yes" ; then
30566 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30567 cat >>confdefs.h <<\_ACEOF
30568 #define wxUSE_ODBC 1
30569 _ACEOF
30570
30571 fi
30572
30573 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30574 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30575
30576 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30577
30578 WIN32INSTALL=win32install
30579
30580 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30581 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30582 if test "${ac_cv_header_pbt_h+set}" = set; then
30583 echo $ECHO_N "(cached) $ECHO_C" >&6
30584 else
30585 cat >conftest.$ac_ext <<_ACEOF
30586 /* confdefs.h. */
30587 _ACEOF
30588 cat confdefs.h >>conftest.$ac_ext
30589 cat >>conftest.$ac_ext <<_ACEOF
30590 /* end confdefs.h. */
30591
30592
30593 #include <pbt.h>
30594 _ACEOF
30595 rm -f conftest.$ac_objext
30596 if { (ac_try="$ac_compile"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30600 esac
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_compile") 2>conftest.er1
30603 ac_status=$?
30604 grep -v '^ *+' conftest.er1 >conftest.err
30605 rm -f conftest.er1
30606 cat conftest.err >&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); } && {
30609 test -z "$ac_c_werror_flag" ||
30610 test ! -s conftest.err
30611 } && test -s conftest.$ac_objext; then
30612 ac_cv_header_pbt_h=yes
30613 else
30614 echo "$as_me: failed program was:" >&5
30615 sed 's/^/| /' conftest.$ac_ext >&5
30616
30617 ac_cv_header_pbt_h=no
30618 fi
30619
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 fi
30622 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30623 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30624 if test $ac_cv_header_pbt_h = yes; then
30625 :
30626 else
30627 cat >>confdefs.h <<\_ACEOF
30628 #define NEED_PBT_H 1
30629 _ACEOF
30630
30631 fi
30632
30633
30634 fi
30635
30636 if test "$wxUSE_GUI" = "yes"; then
30637 USE_GUI=1
30638
30639 GUI_TK_LIBRARY=
30640
30641 WXGTK12=
30642 WXGTK127=
30643 WXGTK20=
30644 WXGPE=
30645
30646 if test "$wxUSE_COCOA" = 1 ; then
30647 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30648 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30649 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30650 wxUSE_PRINTING_ARCHITECTURE=no
30651 fi
30652 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30653 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30654 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30655 wxUSE_DRAG_AND_DROP=no
30656 fi
30657 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30658 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30659 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30660 wxUSE_DRAGIMAGE=no
30661 fi
30662 fi
30663
30664 if test "$wxUSE_MSW" = 1 ; then
30665 TOOLKIT=MSW
30666 GUIDIST=MSW_DIST
30667
30668 case "${host}" in
30669 *-*-mingw32* )
30670 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30671 esac
30672 fi
30673
30674 if test "$wxUSE_GTK" = 1; then
30675 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30676 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30677
30678 gtk_version_cached=1
30679 if test "${wx_cv_lib_gtk+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30681 else
30682
30683 gtk_version_cached=0
30684 { echo "$as_me:$LINENO: result: " >&5
30685 echo "${ECHO_T}" >&6; }
30686
30687 GTK_MODULES=
30688 if test "$wxUSE_THREADS" = "yes"; then
30689 GTK_MODULES=gthread
30690 fi
30691
30692 wx_cv_lib_gtk=
30693 if test "x$wxGTK_VERSION" != "x1"
30694 then
30695 case "${host}" in
30696 *-*-solaris2* )
30697 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30698 enable_gtktest=no
30699 fi
30700 esac
30701
30702 # Check whether --enable-gtktest was given.
30703 if test "${enable_gtktest+set}" = set; then
30704 enableval=$enable_gtktest;
30705 else
30706 enable_gtktest=yes
30707 fi
30708
30709
30710 pkg_config_args=gtk+-2.0
30711 for module in . $GTK_MODULES
30712 do
30713 case "$module" in
30714 gthread)
30715 pkg_config_args="$pkg_config_args gthread-2.0"
30716 ;;
30717 esac
30718 done
30719
30720 no_gtk=""
30721
30722 # Extract the first word of "pkg-config", so it can be a program name with args.
30723 set dummy pkg-config; ac_word=$2
30724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30726 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30727 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 else
30729 case $PKG_CONFIG in
30730 [\\/]* | ?:[\\/]*)
30731 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30732 ;;
30733 *)
30734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30735 for as_dir in $PATH
30736 do
30737 IFS=$as_save_IFS
30738 test -z "$as_dir" && as_dir=.
30739 for ac_exec_ext in '' $ac_executable_extensions; do
30740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30741 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30743 break 2
30744 fi
30745 done
30746 done
30747 IFS=$as_save_IFS
30748
30749 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30750 ;;
30751 esac
30752 fi
30753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30754 if test -n "$PKG_CONFIG"; then
30755 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30756 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30757 else
30758 { echo "$as_me:$LINENO: result: no" >&5
30759 echo "${ECHO_T}no" >&6; }
30760 fi
30761
30762
30763
30764 if test x$PKG_CONFIG != xno ; then
30765 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30766 :
30767 else
30768 echo "*** pkg-config too old; version 0.7 or better required."
30769 no_gtk=yes
30770 PKG_CONFIG=no
30771 fi
30772 else
30773 no_gtk=yes
30774 fi
30775
30776 min_gtk_version=2.0.0
30777 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30778 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30779
30780 if test x$PKG_CONFIG != xno ; then
30781 ## don't try to run the test against uninstalled libtool libs
30782 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30783 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30784 enable_gtktest=no
30785 fi
30786
30787 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30788 :
30789 else
30790 no_gtk=yes
30791 fi
30792 fi
30793
30794 if test x"$no_gtk" = x ; then
30795 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30796 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30797 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30799 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30801 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30803 if test "x$enable_gtktest" = "xyes" ; then
30804 ac_save_CFLAGS="$CFLAGS"
30805 ac_save_LIBS="$LIBS"
30806 CFLAGS="$CFLAGS $GTK_CFLAGS"
30807 LIBS="$GTK_LIBS $LIBS"
30808 rm -f conf.gtktest
30809 if test "$cross_compiling" = yes; then
30810 echo $ac_n "cross compiling; assumed OK... $ac_c"
30811 else
30812 cat >conftest.$ac_ext <<_ACEOF
30813 /* confdefs.h. */
30814 _ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30818
30819 #include <gtk/gtk.h>
30820 #include <stdio.h>
30821 #include <stdlib.h>
30822
30823 int
30824 main ()
30825 {
30826 int major, minor, micro;
30827 char *tmp_version;
30828
30829 system ("touch conf.gtktest");
30830
30831 /* HP/UX 9 (%@#!) writes to sscanf strings */
30832 tmp_version = g_strdup("$min_gtk_version");
30833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30834 printf("%s, bad version string\n", "$min_gtk_version");
30835 exit(1);
30836 }
30837
30838 if ((gtk_major_version != $gtk_config_major_version) ||
30839 (gtk_minor_version != $gtk_config_minor_version) ||
30840 (gtk_micro_version != $gtk_config_micro_version))
30841 {
30842 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30844 gtk_major_version, gtk_minor_version, gtk_micro_version);
30845 printf ("*** was found! If pkg-config was correct, then it is best\n");
30846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30849 printf("*** required on your system.\n");
30850 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30851 printf("*** to point to the correct configuration files\n");
30852 }
30853 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30854 (gtk_minor_version != GTK_MINOR_VERSION) ||
30855 (gtk_micro_version != GTK_MICRO_VERSION))
30856 {
30857 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30858 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30859 printf("*** library (version %d.%d.%d)\n",
30860 gtk_major_version, gtk_minor_version, gtk_micro_version);
30861 }
30862 else
30863 {
30864 if ((gtk_major_version > major) ||
30865 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30866 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30867 {
30868 return 0;
30869 }
30870 else
30871 {
30872 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30873 gtk_major_version, gtk_minor_version, gtk_micro_version);
30874 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30875 major, minor, micro);
30876 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30877 printf("***\n");
30878 printf("*** If you have already installed a sufficiently new version, this error\n");
30879 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30880 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30881 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30882 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30883 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30884 printf("*** so that the correct libraries are found at run-time))\n");
30885 }
30886 }
30887 return 1;
30888 }
30889
30890 _ACEOF
30891 rm -f conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30896 esac
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_link") 2>&5
30899 ac_status=$?
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30902 { (case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30905 esac
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_try") 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 :
30912 else
30913 echo "$as_me: program exited with status $ac_status" >&5
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30916
30917 ( exit $ac_status )
30918 no_gtk=yes
30919 fi
30920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30921 fi
30922
30923
30924 CFLAGS="$ac_save_CFLAGS"
30925 LIBS="$ac_save_LIBS"
30926 fi
30927 fi
30928 if test "x$no_gtk" = x ; then
30929 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30930 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30931 wx_cv_lib_gtk=2.0
30932 else
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 if test "$PKG_CONFIG" = "no" ; then
30936 echo "*** A new enough version of pkg-config was not found."
30937 echo "*** See http://pkgconfig.sourceforge.net"
30938 else
30939 if test -f conf.gtktest ; then
30940 :
30941 else
30942 echo "*** Could not run GTK+ test program, checking why..."
30943 ac_save_CFLAGS="$CFLAGS"
30944 ac_save_LIBS="$LIBS"
30945 CFLAGS="$CFLAGS $GTK_CFLAGS"
30946 LIBS="$LIBS $GTK_LIBS"
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953
30954 #include <gtk/gtk.h>
30955 #include <stdio.h>
30956
30957 int
30958 main ()
30959 {
30960 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30961 ;
30962 return 0;
30963 }
30964 _ACEOF
30965 rm -f conftest.$ac_objext conftest$ac_exeext
30966 if { (ac_try="$ac_link"
30967 case "(($ac_try" in
30968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30969 *) ac_try_echo=$ac_try;;
30970 esac
30971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30972 (eval "$ac_link") 2>conftest.er1
30973 ac_status=$?
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && {
30979 test -z "$ac_c_werror_flag" ||
30980 test ! -s conftest.err
30981 } && test -s conftest$ac_exeext &&
30982 $as_test_x conftest$ac_exeext; then
30983 echo "*** The test program compiled, but did not run. This usually means"
30984 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30985 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30988 echo "*** is required on your system"
30989 echo "***"
30990 echo "*** If you have an old version installed, it is best to remove it, although"
30991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30992 else
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30995
30996 echo "*** The test program failed to compile or link. See the file config.log for the"
30997 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30998 fi
30999
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 CFLAGS="$ac_save_CFLAGS"
31003 LIBS="$ac_save_LIBS"
31004 fi
31005 fi
31006 GTK_CFLAGS=""
31007 GTK_LIBS=""
31008 :
31009 fi
31010
31011
31012 rm -f conf.gtktest
31013
31014
31015 case "${host}" in
31016 *-*-solaris2* )
31017 if test "$wxUSE_SHARED" != "yes"; then
31018 GTK_LIBS="$GTK_LIBS -lX11"
31019 fi
31020 esac
31021 fi
31022
31023 if test -z "$wx_cv_lib_gtk"; then
31024 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31025
31026 # Check whether --with-gtk-prefix was given.
31027 if test "${with_gtk_prefix+set}" = set; then
31028 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31029 else
31030 gtk_config_prefix=""
31031 fi
31032
31033
31034 # Check whether --with-gtk-exec-prefix was given.
31035 if test "${with_gtk_exec_prefix+set}" = set; then
31036 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31037 else
31038 gtk_config_exec_prefix=""
31039 fi
31040
31041 # Check whether --enable-gtktest was given.
31042 if test "${enable_gtktest+set}" = set; then
31043 enableval=$enable_gtktest;
31044 else
31045 enable_gtktest=yes
31046 fi
31047
31048
31049 for module in . $GTK_MODULES
31050 do
31051 case "$module" in
31052 gthread)
31053 gtk_config_args="$gtk_config_args gthread"
31054 ;;
31055 esac
31056 done
31057
31058 if test x$gtk_config_exec_prefix != x ; then
31059 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31060 if test x${GTK_CONFIG+set} != xset ; then
31061 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31062 fi
31063 fi
31064 if test x$gtk_config_prefix != x ; then
31065 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31066 if test x${GTK_CONFIG+set} != xset ; then
31067 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31068 fi
31069 fi
31070
31071 # Extract the first word of "gtk-config", so it can be a program name with args.
31072 set dummy gtk-config; ac_word=$2
31073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31075 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31077 else
31078 case $GTK_CONFIG in
31079 [\\/]* | ?:[\\/]*)
31080 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31081 ;;
31082 *)
31083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31084 for as_dir in $PATH
31085 do
31086 IFS=$as_save_IFS
31087 test -z "$as_dir" && as_dir=.
31088 for ac_exec_ext in '' $ac_executable_extensions; do
31089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31090 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31092 break 2
31093 fi
31094 done
31095 done
31096 IFS=$as_save_IFS
31097
31098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31099 ;;
31100 esac
31101 fi
31102 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31103 if test -n "$GTK_CONFIG"; then
31104 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31105 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31106 else
31107 { echo "$as_me:$LINENO: result: no" >&5
31108 echo "${ECHO_T}no" >&6; }
31109 fi
31110
31111
31112 min_gtk_version=1.2.7
31113 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31114 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31115 no_gtk=""
31116 if test "$GTK_CONFIG" = "no" ; then
31117 no_gtk=yes
31118 else
31119 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31120 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31121 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31123 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31125 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31127 if test "x$enable_gtktest" = "xyes" ; then
31128 ac_save_CFLAGS="$CFLAGS"
31129 ac_save_LIBS="$LIBS"
31130 CFLAGS="$CFLAGS $GTK_CFLAGS"
31131 LIBS="$GTK_LIBS $LIBS"
31132 rm -f conf.gtktest
31133 if test "$cross_compiling" = yes; then
31134 echo $ac_n "cross compiling; assumed OK... $ac_c"
31135 else
31136 cat >conftest.$ac_ext <<_ACEOF
31137 /* confdefs.h. */
31138 _ACEOF
31139 cat confdefs.h >>conftest.$ac_ext
31140 cat >>conftest.$ac_ext <<_ACEOF
31141 /* end confdefs.h. */
31142
31143 #include <gtk/gtk.h>
31144 #include <stdio.h>
31145 #include <stdlib.h>
31146
31147 int
31148 main ()
31149 {
31150 int major, minor, micro;
31151 char *tmp_version;
31152
31153 system ("touch conf.gtktest");
31154
31155 /* HP/UX 9 (%@#!) writes to sscanf strings */
31156 tmp_version = g_strdup("$min_gtk_version");
31157 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31158 printf("%s, bad version string\n", "$min_gtk_version");
31159 exit(1);
31160 }
31161
31162 if ((gtk_major_version != $gtk_config_major_version) ||
31163 (gtk_minor_version != $gtk_config_minor_version) ||
31164 (gtk_micro_version != $gtk_config_micro_version))
31165 {
31166 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31167 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31168 gtk_major_version, gtk_minor_version, gtk_micro_version);
31169 printf ("*** was found! If gtk-config was correct, then it is best\n");
31170 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31173 printf("*** required on your system.\n");
31174 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31175 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31176 printf("*** before re-running configure\n");
31177 }
31178 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31180 (gtk_minor_version != GTK_MINOR_VERSION) ||
31181 (gtk_micro_version != GTK_MICRO_VERSION))
31182 {
31183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31185 printf("*** library (version %d.%d.%d)\n",
31186 gtk_major_version, gtk_minor_version, gtk_micro_version);
31187 }
31188 #endif /* defined (GTK_MAJOR_VERSION) ... */
31189 else
31190 {
31191 if ((gtk_major_version > major) ||
31192 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31193 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31194 {
31195 return 0;
31196 }
31197 else
31198 {
31199 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31200 gtk_major_version, gtk_minor_version, gtk_micro_version);
31201 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31202 major, minor, micro);
31203 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31204 printf("***\n");
31205 printf("*** If you have already installed a sufficiently new version, this error\n");
31206 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31207 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31208 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31209 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31210 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31211 printf("*** so that the correct libraries are found at run-time))\n");
31212 }
31213 }
31214 return 1;
31215 }
31216
31217 _ACEOF
31218 rm -f conftest$ac_exeext
31219 if { (ac_try="$ac_link"
31220 case "(($ac_try" in
31221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31222 *) ac_try_echo=$ac_try;;
31223 esac
31224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31225 (eval "$ac_link") 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31229 { (case "(($ac_try" in
31230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31231 *) ac_try_echo=$ac_try;;
31232 esac
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_try") 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 :
31239 else
31240 echo "$as_me: program exited with status $ac_status" >&5
31241 echo "$as_me: failed program was:" >&5
31242 sed 's/^/| /' conftest.$ac_ext >&5
31243
31244 ( exit $ac_status )
31245 no_gtk=yes
31246 fi
31247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31248 fi
31249
31250
31251 CFLAGS="$ac_save_CFLAGS"
31252 LIBS="$ac_save_LIBS"
31253 fi
31254 fi
31255 if test "x$no_gtk" = x ; then
31256 { echo "$as_me:$LINENO: result: yes" >&5
31257 echo "${ECHO_T}yes" >&6; }
31258 wx_cv_lib_gtk=1.2.7
31259 else
31260 { echo "$as_me:$LINENO: result: no" >&5
31261 echo "${ECHO_T}no" >&6; }
31262 if test "$GTK_CONFIG" = "no" ; then
31263 echo "*** The gtk-config script installed by GTK could not be found"
31264 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31265 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31266 echo "*** full path to gtk-config."
31267 else
31268 if test -f conf.gtktest ; then
31269 :
31270 else
31271 echo "*** Could not run GTK test program, checking why..."
31272 CFLAGS="$CFLAGS $GTK_CFLAGS"
31273 LIBS="$LIBS $GTK_LIBS"
31274 cat >conftest.$ac_ext <<_ACEOF
31275 /* confdefs.h. */
31276 _ACEOF
31277 cat confdefs.h >>conftest.$ac_ext
31278 cat >>conftest.$ac_ext <<_ACEOF
31279 /* end confdefs.h. */
31280
31281 #include <gtk/gtk.h>
31282 #include <stdio.h>
31283
31284 int
31285 main ()
31286 {
31287 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31288 ;
31289 return 0;
31290 }
31291 _ACEOF
31292 rm -f conftest.$ac_objext conftest$ac_exeext
31293 if { (ac_try="$ac_link"
31294 case "(($ac_try" in
31295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31296 *) ac_try_echo=$ac_try;;
31297 esac
31298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31299 (eval "$ac_link") 2>conftest.er1
31300 ac_status=$?
31301 grep -v '^ *+' conftest.er1 >conftest.err
31302 rm -f conftest.er1
31303 cat conftest.err >&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } && {
31306 test -z "$ac_c_werror_flag" ||
31307 test ! -s conftest.err
31308 } && test -s conftest$ac_exeext &&
31309 $as_test_x conftest$ac_exeext; then
31310 echo "*** The test program compiled, but did not run. This usually means"
31311 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31312 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31313 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31314 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31315 echo "*** is required on your system"
31316 echo "***"
31317 echo "*** If you have an old version installed, it is best to remove it, although"
31318 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31319 echo "***"
31320 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31321 echo "*** came with the system with the command"
31322 echo "***"
31323 echo "*** rpm --erase --nodeps gtk gtk-devel"
31324 else
31325 echo "$as_me: failed program was:" >&5
31326 sed 's/^/| /' conftest.$ac_ext >&5
31327
31328 echo "*** The test program failed to compile or link. See the file config.log for the"
31329 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31330 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31331 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31332 fi
31333
31334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31335 conftest$ac_exeext conftest.$ac_ext
31336 CFLAGS="$ac_save_CFLAGS"
31337 LIBS="$ac_save_LIBS"
31338 fi
31339 fi
31340 GTK_CFLAGS=""
31341 GTK_LIBS=""
31342 :
31343 fi
31344
31345
31346 rm -f conf.gtktest
31347
31348
31349 if test -z "$wx_cv_lib_gtk"; then
31350
31351 # Check whether --with-gtk-prefix was given.
31352 if test "${with_gtk_prefix+set}" = set; then
31353 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31354 else
31355 gtk_config_prefix=""
31356 fi
31357
31358
31359 # Check whether --with-gtk-exec-prefix was given.
31360 if test "${with_gtk_exec_prefix+set}" = set; then
31361 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31362 else
31363 gtk_config_exec_prefix=""
31364 fi
31365
31366 # Check whether --enable-gtktest was given.
31367 if test "${enable_gtktest+set}" = set; then
31368 enableval=$enable_gtktest;
31369 else
31370 enable_gtktest=yes
31371 fi
31372
31373
31374 for module in . $GTK_MODULES
31375 do
31376 case "$module" in
31377 gthread)
31378 gtk_config_args="$gtk_config_args gthread"
31379 ;;
31380 esac
31381 done
31382
31383 if test x$gtk_config_exec_prefix != x ; then
31384 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31385 if test x${GTK_CONFIG+set} != xset ; then
31386 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31387 fi
31388 fi
31389 if test x$gtk_config_prefix != x ; then
31390 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31391 if test x${GTK_CONFIG+set} != xset ; then
31392 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31393 fi
31394 fi
31395
31396 # Extract the first word of "gtk-config", so it can be a program name with args.
31397 set dummy gtk-config; ac_word=$2
31398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31400 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 else
31403 case $GTK_CONFIG in
31404 [\\/]* | ?:[\\/]*)
31405 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31406 ;;
31407 *)
31408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31409 for as_dir in $PATH
31410 do
31411 IFS=$as_save_IFS
31412 test -z "$as_dir" && as_dir=.
31413 for ac_exec_ext in '' $ac_executable_extensions; do
31414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31415 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31417 break 2
31418 fi
31419 done
31420 done
31421 IFS=$as_save_IFS
31422
31423 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31424 ;;
31425 esac
31426 fi
31427 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31428 if test -n "$GTK_CONFIG"; then
31429 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31430 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31431 else
31432 { echo "$as_me:$LINENO: result: no" >&5
31433 echo "${ECHO_T}no" >&6; }
31434 fi
31435
31436
31437 min_gtk_version=1.2.3
31438 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31439 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31440 no_gtk=""
31441 if test "$GTK_CONFIG" = "no" ; then
31442 no_gtk=yes
31443 else
31444 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31445 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31446 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31448 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31450 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31452 if test "x$enable_gtktest" = "xyes" ; then
31453 ac_save_CFLAGS="$CFLAGS"
31454 ac_save_LIBS="$LIBS"
31455 CFLAGS="$CFLAGS $GTK_CFLAGS"
31456 LIBS="$GTK_LIBS $LIBS"
31457 rm -f conf.gtktest
31458 if test "$cross_compiling" = yes; then
31459 echo $ac_n "cross compiling; assumed OK... $ac_c"
31460 else
31461 cat >conftest.$ac_ext <<_ACEOF
31462 /* confdefs.h. */
31463 _ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31467
31468 #include <gtk/gtk.h>
31469 #include <stdio.h>
31470 #include <stdlib.h>
31471
31472 int
31473 main ()
31474 {
31475 int major, minor, micro;
31476 char *tmp_version;
31477
31478 system ("touch conf.gtktest");
31479
31480 /* HP/UX 9 (%@#!) writes to sscanf strings */
31481 tmp_version = g_strdup("$min_gtk_version");
31482 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31483 printf("%s, bad version string\n", "$min_gtk_version");
31484 exit(1);
31485 }
31486
31487 if ((gtk_major_version != $gtk_config_major_version) ||
31488 (gtk_minor_version != $gtk_config_minor_version) ||
31489 (gtk_micro_version != $gtk_config_micro_version))
31490 {
31491 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31492 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31493 gtk_major_version, gtk_minor_version, gtk_micro_version);
31494 printf ("*** was found! If gtk-config was correct, then it is best\n");
31495 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31496 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31497 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31498 printf("*** required on your system.\n");
31499 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31500 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31501 printf("*** before re-running configure\n");
31502 }
31503 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31504 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31505 (gtk_minor_version != GTK_MINOR_VERSION) ||
31506 (gtk_micro_version != GTK_MICRO_VERSION))
31507 {
31508 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31509 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31510 printf("*** library (version %d.%d.%d)\n",
31511 gtk_major_version, gtk_minor_version, gtk_micro_version);
31512 }
31513 #endif /* defined (GTK_MAJOR_VERSION) ... */
31514 else
31515 {
31516 if ((gtk_major_version > major) ||
31517 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31518 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31519 {
31520 return 0;
31521 }
31522 else
31523 {
31524 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31525 gtk_major_version, gtk_minor_version, gtk_micro_version);
31526 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31527 major, minor, micro);
31528 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31529 printf("***\n");
31530 printf("*** If you have already installed a sufficiently new version, this error\n");
31531 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31532 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31533 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31534 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31535 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31536 printf("*** so that the correct libraries are found at run-time))\n");
31537 }
31538 }
31539 return 1;
31540 }
31541
31542 _ACEOF
31543 rm -f conftest$ac_exeext
31544 if { (ac_try="$ac_link"
31545 case "(($ac_try" in
31546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31547 *) ac_try_echo=$ac_try;;
31548 esac
31549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31550 (eval "$ac_link") 2>&5
31551 ac_status=$?
31552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31554 { (case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31557 esac
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_try") 2>&5
31560 ac_status=$?
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; }; then
31563 :
31564 else
31565 echo "$as_me: program exited with status $ac_status" >&5
31566 echo "$as_me: failed program was:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31568
31569 ( exit $ac_status )
31570 no_gtk=yes
31571 fi
31572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31573 fi
31574
31575
31576 CFLAGS="$ac_save_CFLAGS"
31577 LIBS="$ac_save_LIBS"
31578 fi
31579 fi
31580 if test "x$no_gtk" = x ; then
31581 { echo "$as_me:$LINENO: result: yes" >&5
31582 echo "${ECHO_T}yes" >&6; }
31583 wx_cv_lib_gtk=1.2.3
31584 else
31585 { echo "$as_me:$LINENO: result: no" >&5
31586 echo "${ECHO_T}no" >&6; }
31587 if test "$GTK_CONFIG" = "no" ; then
31588 echo "*** The gtk-config script installed by GTK could not be found"
31589 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31590 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31591 echo "*** full path to gtk-config."
31592 else
31593 if test -f conf.gtktest ; then
31594 :
31595 else
31596 echo "*** Could not run GTK test program, checking why..."
31597 CFLAGS="$CFLAGS $GTK_CFLAGS"
31598 LIBS="$LIBS $GTK_LIBS"
31599 cat >conftest.$ac_ext <<_ACEOF
31600 /* confdefs.h. */
31601 _ACEOF
31602 cat confdefs.h >>conftest.$ac_ext
31603 cat >>conftest.$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31605
31606 #include <gtk/gtk.h>
31607 #include <stdio.h>
31608
31609 int
31610 main ()
31611 {
31612 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31621 *) ac_try_echo=$ac_try;;
31622 esac
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31625 ac_status=$?
31626 grep -v '^ *+' conftest.er1 >conftest.err
31627 rm -f conftest.er1
31628 cat conftest.err >&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest$ac_exeext &&
31634 $as_test_x conftest$ac_exeext; then
31635 echo "*** The test program compiled, but did not run. This usually means"
31636 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31637 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31638 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31639 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31640 echo "*** is required on your system"
31641 echo "***"
31642 echo "*** If you have an old version installed, it is best to remove it, although"
31643 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31644 echo "***"
31645 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31646 echo "*** came with the system with the command"
31647 echo "***"
31648 echo "*** rpm --erase --nodeps gtk gtk-devel"
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 echo "*** The test program failed to compile or link. See the file config.log for the"
31654 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31655 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31656 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31657 fi
31658
31659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31660 conftest$ac_exeext conftest.$ac_ext
31661 CFLAGS="$ac_save_CFLAGS"
31662 LIBS="$ac_save_LIBS"
31663 fi
31664 fi
31665 GTK_CFLAGS=""
31666 GTK_LIBS=""
31667 :
31668 fi
31669
31670
31671 rm -f conf.gtktest
31672
31673 fi
31674 fi
31675 fi
31676
31677 if test -z "$wx_cv_lib_gtk"; then
31678 wx_cv_lib_gtk=none
31679 else
31680 wx_cv_cflags_gtk=$GTK_CFLAGS
31681 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31682 fi
31683
31684
31685 fi
31686
31687
31688 if test "$gtk_version_cached" = 1; then
31689 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31690 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31691 fi
31692
31693 case "$wx_cv_lib_gtk" in
31694 2.0) WXGTK20=1
31695 TOOLKIT_VERSION=2
31696 ;;
31697 1.2.7) WXGTK127=1
31698 WXGTK12=1
31699 ;;
31700 1.2.3) WXGTK12=1
31701 ;;
31702 *) { { echo "$as_me:$LINENO: error:
31703 The development files for GTK+ were not found. For GTK+ 2, please
31704 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31705 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31706 and that the version is 1.2.3 or above. Also check that the
31707 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31708 --libs' are in the LD_LIBRARY_PATH or equivalent.
31709 " >&5
31710 echo "$as_me: error:
31711 The development files for GTK+ were not found. For GTK+ 2, please
31712 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31713 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31714 and that the version is 1.2.3 or above. Also check that the
31715 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31716 --libs' are in the LD_LIBRARY_PATH or equivalent.
31717 " >&2;}
31718 { (exit 1); exit 1; }; }
31719 ;;
31720 esac
31721
31722 if test "$WXGTK20" = 1; then
31723 save_CFLAGS="$CFLAGS"
31724 save_LIBS="$LIBS"
31725 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31726 LIBS="$LIBS $wx_cv_libs_gtk"
31727
31728 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31729 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31730 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733 cat >conftest.$ac_ext <<_ACEOF
31734 /* confdefs.h. */
31735 _ACEOF
31736 cat confdefs.h >>conftest.$ac_ext
31737 cat >>conftest.$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739 #include <gtk/gtk.h>
31740
31741 int
31742 main ()
31743 {
31744 #ifndef gtk_icon_size_lookup
31745 (void) gtk_icon_size_lookup;
31746 #endif
31747
31748 ;
31749 return 0;
31750 }
31751 _ACEOF
31752 rm -f conftest.$ac_objext
31753 if { (ac_try="$ac_compile"
31754 case "(($ac_try" in
31755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31756 *) ac_try_echo=$ac_try;;
31757 esac
31758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31759 (eval "$ac_compile") 2>conftest.er1
31760 ac_status=$?
31761 grep -v '^ *+' conftest.er1 >conftest.err
31762 rm -f conftest.er1
31763 cat conftest.err >&5
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); } && {
31766 test -z "$ac_c_werror_flag" ||
31767 test ! -s conftest.err
31768 } && test -s conftest.$ac_objext; then
31769 ac_cv_have_decl_gtk_icon_size_lookup=yes
31770 else
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31773
31774 ac_cv_have_decl_gtk_icon_size_lookup=no
31775 fi
31776
31777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31778 fi
31779 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31780 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31781 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31782
31783 cat >>confdefs.h <<_ACEOF
31784 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31785 _ACEOF
31786
31787
31788 else
31789 cat >>confdefs.h <<_ACEOF
31790 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31791 _ACEOF
31792
31793 cat >>confdefs.h <<\_ACEOF
31794 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31795 _ACEOF
31796
31797 fi
31798
31799
31800
31801
31802 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31803 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31804 cat >conftest.$ac_ext <<_ACEOF
31805 /* confdefs.h. */
31806 _ACEOF
31807 cat confdefs.h >>conftest.$ac_ext
31808 cat >>conftest.$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31810
31811 #include <gtk/gtk.h>
31812
31813 int
31814 main ()
31815 {
31816
31817 #if !GTK_CHECK_VERSION(2,10,0)
31818 Not GTK+ 2.10
31819 #endif
31820
31821 ;
31822 return 0;
31823 }
31824 _ACEOF
31825 rm -f conftest.$ac_objext
31826 if { (ac_try="$ac_compile"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31830 esac
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_compile") 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest.$ac_objext; then
31842
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK210__ 1
31845 _ACEOF
31846
31847 cat >>confdefs.h <<\_ACEOF
31848 #define __WXGTK26__ 1
31849 _ACEOF
31850
31851 cat >>confdefs.h <<\_ACEOF
31852 #define __WXGTK24__ 1
31853 _ACEOF
31854
31855 { echo "$as_me:$LINENO: result: yes" >&5
31856 echo "${ECHO_T}yes" >&6; }
31857 ac_wxgtk210=1
31858
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31862
31863
31864 { echo "$as_me:$LINENO: result: no" >&5
31865 echo "${ECHO_T}no" >&6; }
31866 ac_wxgtk210=0
31867
31868 fi
31869
31870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31871
31872 if test "$ac_wxgtk210" = 0; then
31873 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31874 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31875 cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h. */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881
31882 #include <gtk/gtk.h>
31883
31884 int
31885 main ()
31886 {
31887
31888 #if !GTK_CHECK_VERSION(2,6,0)
31889 Not GTK+ 2.6
31890 #endif
31891
31892 ;
31893 return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext
31897 if { (ac_try="$ac_compile"
31898 case "(($ac_try" in
31899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31901 esac
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_compile") 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest.$ac_objext; then
31913
31914 cat >>confdefs.h <<\_ACEOF
31915 #define __WXGTK26__ 1
31916 _ACEOF
31917
31918 cat >>confdefs.h <<\_ACEOF
31919 #define __WXGTK24__ 1
31920 _ACEOF
31921
31922 { echo "$as_me:$LINENO: result: yes" >&5
31923 echo "${ECHO_T}yes" >&6; }
31924 ac_wxgtk26=1
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 ac_wxgtk26=0
31934
31935 fi
31936
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31938 fi
31939
31940 if test "$ac_wxgtk26" = 0; then
31941 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31942 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31943 cat >conftest.$ac_ext <<_ACEOF
31944 /* confdefs.h. */
31945 _ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31949
31950 #include <gtk/gtk.h>
31951
31952 int
31953 main ()
31954 {
31955
31956 #if !GTK_CHECK_VERSION(2,4,0)
31957 Not GTK+ 2.4
31958 #endif
31959
31960 ;
31961 return 0;
31962 }
31963 _ACEOF
31964 rm -f conftest.$ac_objext
31965 if { (ac_try="$ac_compile"
31966 case "(($ac_try" in
31967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31968 *) ac_try_echo=$ac_try;;
31969 esac
31970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31971 (eval "$ac_compile") 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } && {
31978 test -z "$ac_c_werror_flag" ||
31979 test ! -s conftest.err
31980 } && test -s conftest.$ac_objext; then
31981
31982 cat >>confdefs.h <<\_ACEOF
31983 #define __WXGTK24__ 1
31984 _ACEOF
31985
31986 { echo "$as_me:$LINENO: result: yes" >&5
31987 echo "${ECHO_T}yes" >&6; }
31988
31989 else
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31992
31993
31994 { echo "$as_me:$LINENO: result: no" >&5
31995 echo "${ECHO_T}no" >&6; }
31996
31997 fi
31998
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 fi
32001
32002 CFLAGS="$save_CFLAGS"
32003 LIBS="$save_LIBS"
32004 else
32005 if test "$wxUSE_UNICODE" = "yes"; then
32006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32008 wxUSE_UNICODE=no
32009 fi
32010
32011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 else
32016 ac_check_lib_save_LIBS=$LIBS
32017 LIBS="-lgdk $LIBS"
32018 cat >conftest.$ac_ext <<_ACEOF
32019 /* confdefs.h. */
32020 _ACEOF
32021 cat confdefs.h >>conftest.$ac_ext
32022 cat >>conftest.$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024
32025 /* Override any GCC internal prototype to avoid an error.
32026 Use char because int might match the return type of a GCC
32027 builtin and then its argument prototype would still apply. */
32028 #ifdef __cplusplus
32029 extern "C"
32030 #endif
32031 char gdk_im_open ();
32032 int
32033 main ()
32034 {
32035 return gdk_im_open ();
32036 ;
32037 return 0;
32038 }
32039 _ACEOF
32040 rm -f conftest.$ac_objext conftest$ac_exeext
32041 if { (ac_try="$ac_link"
32042 case "(($ac_try" in
32043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32045 esac
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_link") 2>conftest.er1
32048 ac_status=$?
32049 grep -v '^ *+' conftest.er1 >conftest.err
32050 rm -f conftest.er1
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } && {
32054 test -z "$ac_c_werror_flag" ||
32055 test ! -s conftest.err
32056 } && test -s conftest$ac_exeext &&
32057 $as_test_x conftest$ac_exeext; then
32058 ac_cv_lib_gdk_gdk_im_open=yes
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 ac_cv_lib_gdk_gdk_im_open=no
32064 fi
32065
32066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32067 conftest$ac_exeext conftest.$ac_ext
32068 LIBS=$ac_check_lib_save_LIBS
32069 fi
32070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32073 cat >>confdefs.h <<\_ACEOF
32074 #define HAVE_XIM 1
32075 _ACEOF
32076
32077 fi
32078
32079
32080 if test "$USE_DARWIN" != 1; then
32081
32082 for ac_func in poll
32083 do
32084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 else
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32098 #define $ac_func innocuous_$ac_func
32099
32100 /* System header to define __stub macros and hopefully few prototypes,
32101 which can conflict with char $ac_func (); below.
32102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32103 <limits.h> exists even on freestanding compilers. */
32104
32105 #ifdef __STDC__
32106 # include <limits.h>
32107 #else
32108 # include <assert.h>
32109 #endif
32110
32111 #undef $ac_func
32112
32113 /* Override any GCC internal prototype to avoid an error.
32114 Use char because int might match the return type of a GCC
32115 builtin and then its argument prototype would still apply. */
32116 #ifdef __cplusplus
32117 extern "C"
32118 #endif
32119 char $ac_func ();
32120 /* The GNU C library defines this for functions which it implements
32121 to always fail with ENOSYS. Some functions are actually named
32122 something starting with __ and the normal name is an alias. */
32123 #if defined __stub_$ac_func || defined __stub___$ac_func
32124 choke me
32125 #endif
32126
32127 int
32128 main ()
32129 {
32130 return $ac_func ();
32131 ;
32132 return 0;
32133 }
32134 _ACEOF
32135 rm -f conftest.$ac_objext conftest$ac_exeext
32136 if { (ac_try="$ac_link"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32139 *) ac_try_echo=$ac_try;;
32140 esac
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_link") 2>conftest.er1
32143 ac_status=$?
32144 grep -v '^ *+' conftest.er1 >conftest.err
32145 rm -f conftest.er1
32146 cat conftest.err >&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest$ac_exeext &&
32152 $as_test_x conftest$ac_exeext; then
32153 eval "$as_ac_var=yes"
32154 else
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32157
32158 eval "$as_ac_var=no"
32159 fi
32160
32161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32162 conftest$ac_exeext conftest.$ac_ext
32163 fi
32164 ac_res=`eval echo '${'$as_ac_var'}'`
32165 { echo "$as_me:$LINENO: result: $ac_res" >&5
32166 echo "${ECHO_T}$ac_res" >&6; }
32167 if test `eval echo '${'$as_ac_var'}'` = yes; then
32168 cat >>confdefs.h <<_ACEOF
32169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32170 _ACEOF
32171
32172 fi
32173 done
32174
32175 fi
32176 fi
32177
32178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32180
32181 AFMINSTALL=afminstall
32182 TOOLKIT=GTK
32183 GUIDIST=GTK_DIST
32184
32185 if test "$wxUSE_GPE" = "yes"; then
32186 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32187 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32188
32189 ac_find_libraries=
32190 for ac_dir in $SEARCH_LIB;
32191 do
32192 for ac_extension in a so sl dylib dll.a; do
32193 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32194 ac_find_libraries=$ac_dir
32195 break 2
32196 fi
32197 done
32198 done
32199
32200 if test "$ac_find_libraries" != "" ; then
32201
32202 if test "$ac_find_libraries" = "default location"; then
32203 ac_path_to_link=""
32204 else
32205 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32206 result=$?
32207 if test $result = 0; then
32208 ac_path_to_link=""
32209 else
32210 ac_path_to_link=" -L$ac_find_libraries"
32211 fi
32212 fi
32213
32214 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32215 WXGPE=1
32216 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32217 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32218 else
32219 { echo "$as_me:$LINENO: result: not found" >&5
32220 echo "${ECHO_T}not found" >&6; }
32221 fi
32222
32223 fi
32224 fi
32225
32226 if test "$wxUSE_MGL" = 1; then
32227 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32228 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32229 if test "x$MGL_ROOT" = x ; then
32230 { echo "$as_me:$LINENO: result: not found" >&5
32231 echo "${ECHO_T}not found" >&6; }
32232 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32233 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32234 { (exit 1); exit 1; }; }
32235 else
32236 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32237 echo "${ECHO_T}$MGL_ROOT" >&6; }
32238 fi
32239
32240 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32241 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32242 case "${host}" in
32243 *-*-linux* )
32244 if test "x$wxUSE_SHARED" = xyes ; then
32245 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32246 else
32247 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32248 fi
32249 ;;
32250 *-pc-msdosdjgpp )
32251 mgl_os_candidates="dos32/dj2"
32252 ;;
32253 *)
32254 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32255 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32256 { (exit 1); exit 1; }; }
32257 esac
32258
32259 mgl_lib_type=""
32260 mgl_os=""
32261
32262 for mgl_os_i in $mgl_os_candidates ; do
32263 if test "x$mgl_os" = x ; then
32264 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32265 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32266 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32267 mgl_lib_type=debug
32268 mgl_os=$mgl_os_i
32269 fi
32270 fi
32271 if test "x$mgl_lib_type" = x ; then
32272 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32273 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32274 mgl_lib_type=release
32275 mgl_os=$mgl_os_i
32276 fi
32277 fi
32278 fi
32279 done
32280
32281 if test "x$mgl_os" = x ; then
32282 { echo "$as_me:$LINENO: result: not found" >&5
32283 echo "${ECHO_T}not found" >&6; }
32284 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32285 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32286 { (exit 1); exit 1; }; }
32287 fi
32288 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32289 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32290
32291 wxUSE_UNIVERSAL="yes"
32292
32293 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32294 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32295
32296 AFMINSTALL=afminstall
32297 TOOLKIT=MGL
32298 GUIDIST=MGL_DIST
32299 fi
32300
32301 if test "$wxUSE_DFB" = 1; then
32302
32303
32304 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32305 if test -n "$ac_tool_prefix"; then
32306 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32307 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32311 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 else
32313 case $PKG_CONFIG in
32314 [\\/]* | ?:[\\/]*)
32315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32316 ;;
32317 *)
32318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32319 for as_dir in $PATH
32320 do
32321 IFS=$as_save_IFS
32322 test -z "$as_dir" && as_dir=.
32323 for ac_exec_ext in '' $ac_executable_extensions; do
32324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32327 break 2
32328 fi
32329 done
32330 done
32331 IFS=$as_save_IFS
32332
32333 ;;
32334 esac
32335 fi
32336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32337 if test -n "$PKG_CONFIG"; then
32338 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32339 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32340 else
32341 { echo "$as_me:$LINENO: result: no" >&5
32342 echo "${ECHO_T}no" >&6; }
32343 fi
32344
32345
32346 fi
32347 if test -z "$ac_cv_path_PKG_CONFIG"; then
32348 ac_pt_PKG_CONFIG=$PKG_CONFIG
32349 # Extract the first word of "pkg-config", so it can be a program name with args.
32350 set dummy pkg-config; ac_word=$2
32351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32353 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32355 else
32356 case $ac_pt_PKG_CONFIG in
32357 [\\/]* | ?:[\\/]*)
32358 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32359 ;;
32360 *)
32361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32362 for as_dir in $PATH
32363 do
32364 IFS=$as_save_IFS
32365 test -z "$as_dir" && as_dir=.
32366 for ac_exec_ext in '' $ac_executable_extensions; do
32367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32368 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32370 break 2
32371 fi
32372 done
32373 done
32374 IFS=$as_save_IFS
32375
32376 ;;
32377 esac
32378 fi
32379 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32380 if test -n "$ac_pt_PKG_CONFIG"; then
32381 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32382 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32383 else
32384 { echo "$as_me:$LINENO: result: no" >&5
32385 echo "${ECHO_T}no" >&6; }
32386 fi
32387
32388 if test "x$ac_pt_PKG_CONFIG" = x; then
32389 PKG_CONFIG=""
32390 else
32391 case $cross_compiling:$ac_tool_warned in
32392 yes:)
32393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32394 whose name does not start with the host triplet. If you think this
32395 configuration is useful to you, please write to autoconf@gnu.org." >&5
32396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32397 whose name does not start with the host triplet. If you think this
32398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32399 ac_tool_warned=yes ;;
32400 esac
32401 PKG_CONFIG=$ac_pt_PKG_CONFIG
32402 fi
32403 else
32404 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32405 fi
32406
32407 fi
32408 if test -n "$PKG_CONFIG"; then
32409 _pkg_min_version=0.9.0
32410 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32411 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32412 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32413 { echo "$as_me:$LINENO: result: yes" >&5
32414 echo "${ECHO_T}yes" >&6; }
32415 else
32416 { echo "$as_me:$LINENO: result: no" >&5
32417 echo "${ECHO_T}no" >&6; }
32418 PKG_CONFIG=""
32419 fi
32420
32421 fi
32422
32423
32424 pkg_failed=no
32425 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32426 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32427
32428 if test -n "$PKG_CONFIG"; then
32429 if test -n "$DIRECTFB_CFLAGS"; then
32430 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32431 else
32432 if test -n "$PKG_CONFIG" && \
32433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32434 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; then
32438 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32439 else
32440 pkg_failed=yes
32441 fi
32442 fi
32443 else
32444 pkg_failed=untried
32445 fi
32446 if test -n "$PKG_CONFIG"; then
32447 if test -n "$DIRECTFB_LIBS"; then
32448 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32449 else
32450 if test -n "$PKG_CONFIG" && \
32451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32452 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32453 ac_status=$?
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); }; then
32456 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32457 else
32458 pkg_failed=yes
32459 fi
32460 fi
32461 else
32462 pkg_failed=untried
32463 fi
32464
32465
32466
32467 if test $pkg_failed = yes; then
32468
32469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32470 _pkg_short_errors_supported=yes
32471 else
32472 _pkg_short_errors_supported=no
32473 fi
32474 if test $_pkg_short_errors_supported = yes; then
32475 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32476 else
32477 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32478 fi
32479 # Put the nasty error message in config.log where it belongs
32480 echo "$DIRECTFB_PKG_ERRORS" >&5
32481
32482
32483 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32484 echo "$as_me: error: DirectFB not found." >&2;}
32485 { (exit 1); exit 1; }; }
32486
32487
32488 elif test $pkg_failed = untried; then
32489
32490 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32491 echo "$as_me: error: DirectFB not found." >&2;}
32492 { (exit 1); exit 1; }; }
32493
32494
32495 else
32496 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32497 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32498 { echo "$as_me:$LINENO: result: yes" >&5
32499 echo "${ECHO_T}yes" >&6; }
32500
32501 wxUSE_UNIVERSAL="yes"
32502 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32503 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32504 TOOLKIT=DFB
32505 GUIDIST=DFB_DIST
32506
32507 fi
32508 fi
32509
32510 if test "$wxUSE_MICROWIN" = 1; then
32511 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32512 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32513 if test "x$MICROWINDOWS" = x ; then
32514 { echo "$as_me:$LINENO: result: not found" >&5
32515 echo "${ECHO_T}not found" >&6; }
32516 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32517 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32518 { (exit 1); exit 1; }; }
32519 else
32520 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32521 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32522 fi
32523
32524 if test -f $MICROWINDOWS/lib/libmwin.a; then
32525 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32526 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32527 else
32528 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32529 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32530 { (exit 1); exit 1; }; }
32531 fi
32532
32533 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32534 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32535
32536 wxUSE_UNIVERSAL="yes"
32537
32538 AFMINSTALL=afminstall
32539 TOOLKIT=MICROWIN
32540 GUIDIST=MICROWIN_DIST
32541
32542 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32543 fi
32544
32545 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32546 { echo "$as_me:$LINENO: checking for X" >&5
32547 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32548
32549
32550 # Check whether --with-x was given.
32551 if test "${with_x+set}" = set; then
32552 withval=$with_x;
32553 fi
32554
32555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32556 if test "x$with_x" = xno; then
32557 # The user explicitly disabled X.
32558 have_x=disabled
32559 else
32560 case $x_includes,$x_libraries in #(
32561 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32562 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32563 { (exit 1); exit 1; }; };; #(
32564 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 else
32567 # One or both of the vars are not set, and there is no cached value.
32568 ac_x_includes=no ac_x_libraries=no
32569 rm -f -r conftest.dir
32570 if mkdir conftest.dir; then
32571 cd conftest.dir
32572 cat >Imakefile <<'_ACEOF'
32573 incroot:
32574 @echo incroot='${INCROOT}'
32575 usrlibdir:
32576 @echo usrlibdir='${USRLIBDIR}'
32577 libdir:
32578 @echo libdir='${LIBDIR}'
32579 _ACEOF
32580 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32582 for ac_var in incroot usrlibdir libdir; do
32583 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32584 done
32585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32586 for ac_extension in a so sl; do
32587 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32588 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32589 ac_im_usrlibdir=$ac_im_libdir; break
32590 fi
32591 done
32592 # Screen out bogus values from the imake configuration. They are
32593 # bogus both because they are the default anyway, and because
32594 # using them would break gcc on systems where it needs fixed includes.
32595 case $ac_im_incroot in
32596 /usr/include) ac_x_includes= ;;
32597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32598 esac
32599 case $ac_im_usrlibdir in
32600 /usr/lib | /lib) ;;
32601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32602 esac
32603 fi
32604 cd ..
32605 rm -f -r conftest.dir
32606 fi
32607
32608 # Standard set of common directories for X headers.
32609 # Check X11 before X11Rn because it is often a symlink to the current release.
32610 ac_x_header_dirs='
32611 /usr/X11/include
32612 /usr/X11R6/include
32613 /usr/X11R5/include
32614 /usr/X11R4/include
32615
32616 /usr/include/X11
32617 /usr/include/X11R6
32618 /usr/include/X11R5
32619 /usr/include/X11R4
32620
32621 /usr/local/X11/include
32622 /usr/local/X11R6/include
32623 /usr/local/X11R5/include
32624 /usr/local/X11R4/include
32625
32626 /usr/local/include/X11
32627 /usr/local/include/X11R6
32628 /usr/local/include/X11R5
32629 /usr/local/include/X11R4
32630
32631 /usr/X386/include
32632 /usr/x386/include
32633 /usr/XFree86/include/X11
32634
32635 /usr/include
32636 /usr/local/include
32637 /usr/unsupported/include
32638 /usr/athena/include
32639 /usr/local/x11r5/include
32640 /usr/lpp/Xamples/include
32641
32642 /usr/openwin/include
32643 /usr/openwin/share/include'
32644
32645 if test "$ac_x_includes" = no; then
32646 # Guess where to find include files, by looking for Xlib.h.
32647 # First, try using that file with no special directory specified.
32648 cat >conftest.$ac_ext <<_ACEOF
32649 /* confdefs.h. */
32650 _ACEOF
32651 cat confdefs.h >>conftest.$ac_ext
32652 cat >>conftest.$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32654 #include <X11/Xlib.h>
32655 _ACEOF
32656 if { (ac_try="$ac_cpp conftest.$ac_ext"
32657 case "(($ac_try" in
32658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32659 *) ac_try_echo=$ac_try;;
32660 esac
32661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32663 ac_status=$?
32664 grep -v '^ *+' conftest.er1 >conftest.err
32665 rm -f conftest.er1
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } >/dev/null && {
32669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32670 test ! -s conftest.err
32671 }; then
32672 # We can compile using X headers with no special include directory.
32673 ac_x_includes=
32674 else
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32677
32678 for ac_dir in $ac_x_header_dirs; do
32679 if test -r "$ac_dir/X11/Xlib.h"; then
32680 ac_x_includes=$ac_dir
32681 break
32682 fi
32683 done
32684 fi
32685
32686 rm -f conftest.err conftest.$ac_ext
32687 fi # $ac_x_includes = no
32688
32689 if test "$ac_x_libraries" = no; then
32690 # Check for the libraries.
32691 # See if we find them without any special options.
32692 # Don't add to $LIBS permanently.
32693 ac_save_LIBS=$LIBS
32694 LIBS="-lX11 $LIBS"
32695 cat >conftest.$ac_ext <<_ACEOF
32696 /* confdefs.h. */
32697 _ACEOF
32698 cat confdefs.h >>conftest.$ac_ext
32699 cat >>conftest.$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32701 #include <X11/Xlib.h>
32702 int
32703 main ()
32704 {
32705 XrmInitialize ()
32706 ;
32707 return 0;
32708 }
32709 _ACEOF
32710 rm -f conftest.$ac_objext conftest$ac_exeext
32711 if { (ac_try="$ac_link"
32712 case "(($ac_try" in
32713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32714 *) ac_try_echo=$ac_try;;
32715 esac
32716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32717 (eval "$ac_link") 2>conftest.er1
32718 ac_status=$?
32719 grep -v '^ *+' conftest.er1 >conftest.err
32720 rm -f conftest.er1
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } && {
32724 test -z "$ac_c_werror_flag" ||
32725 test ! -s conftest.err
32726 } && test -s conftest$ac_exeext &&
32727 $as_test_x conftest$ac_exeext; then
32728 LIBS=$ac_save_LIBS
32729 # We can link X programs with no special library path.
32730 ac_x_libraries=
32731 else
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 LIBS=$ac_save_LIBS
32736 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32737 do
32738 # Don't even attempt the hair of trying to link an X program!
32739 for ac_extension in a so sl; do
32740 if test -r "$ac_dir/libX11.$ac_extension"; then
32741 ac_x_libraries=$ac_dir
32742 break 2
32743 fi
32744 done
32745 done
32746 fi
32747
32748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32749 conftest$ac_exeext conftest.$ac_ext
32750 fi # $ac_x_libraries = no
32751
32752 case $ac_x_includes,$ac_x_libraries in #(
32753 no,* | *,no | *\'*)
32754 # Didn't find X, or a directory has "'" in its name.
32755 ac_cv_have_x="have_x=no";; #(
32756 *)
32757 # Record where we found X for the cache.
32758 ac_cv_have_x="have_x=yes\
32759 ac_x_includes='$ac_x_includes'\
32760 ac_x_libraries='$ac_x_libraries'"
32761 esac
32762 fi
32763 ;; #(
32764 *) have_x=yes;;
32765 esac
32766 eval "$ac_cv_have_x"
32767 fi # $with_x != no
32768
32769 if test "$have_x" != yes; then
32770 { echo "$as_me:$LINENO: result: $have_x" >&5
32771 echo "${ECHO_T}$have_x" >&6; }
32772 no_x=yes
32773 else
32774 # If each of the values was on the command line, it overrides each guess.
32775 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32776 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32777 # Update the cache value to reflect the command line values.
32778 ac_cv_have_x="have_x=yes\
32779 ac_x_includes='$x_includes'\
32780 ac_x_libraries='$x_libraries'"
32781 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32782 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32783 fi
32784
32785 if test "$no_x" = yes; then
32786 # Not all programs may use this symbol, but it does not hurt to define it.
32787
32788 cat >>confdefs.h <<\_ACEOF
32789 #define X_DISPLAY_MISSING 1
32790 _ACEOF
32791
32792 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32793 else
32794 if test -n "$x_includes"; then
32795 X_CFLAGS="$X_CFLAGS -I$x_includes"
32796 fi
32797
32798 # It would also be nice to do this for all -L options, not just this one.
32799 if test -n "$x_libraries"; then
32800 X_LIBS="$X_LIBS -L$x_libraries"
32801 # For Solaris; some versions of Sun CC require a space after -R and
32802 # others require no space. Words are not sufficient . . . .
32803 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32805 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32806 ac_xsave_c_werror_flag=$ac_c_werror_flag
32807 ac_c_werror_flag=yes
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814
32815 int
32816 main ()
32817 {
32818
32819 ;
32820 return 0;
32821 }
32822 _ACEOF
32823 rm -f conftest.$ac_objext conftest$ac_exeext
32824 if { (ac_try="$ac_link"
32825 case "(($ac_try" in
32826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32827 *) ac_try_echo=$ac_try;;
32828 esac
32829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32830 (eval "$ac_link") 2>conftest.er1
32831 ac_status=$?
32832 grep -v '^ *+' conftest.er1 >conftest.err
32833 rm -f conftest.er1
32834 cat conftest.err >&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } && {
32837 test -z "$ac_c_werror_flag" ||
32838 test ! -s conftest.err
32839 } && test -s conftest$ac_exeext &&
32840 $as_test_x conftest$ac_exeext; then
32841 { echo "$as_me:$LINENO: result: no" >&5
32842 echo "${ECHO_T}no" >&6; }
32843 X_LIBS="$X_LIBS -R$x_libraries"
32844 else
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.$ac_ext >&5
32847
32848 LIBS="$ac_xsave_LIBS -R $x_libraries"
32849 cat >conftest.$ac_ext <<_ACEOF
32850 /* confdefs.h. */
32851 _ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32855
32856 int
32857 main ()
32858 {
32859
32860 ;
32861 return 0;
32862 }
32863 _ACEOF
32864 rm -f conftest.$ac_objext conftest$ac_exeext
32865 if { (ac_try="$ac_link"
32866 case "(($ac_try" in
32867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32868 *) ac_try_echo=$ac_try;;
32869 esac
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_link") 2>conftest.er1
32872 ac_status=$?
32873 grep -v '^ *+' conftest.er1 >conftest.err
32874 rm -f conftest.er1
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } && {
32878 test -z "$ac_c_werror_flag" ||
32879 test ! -s conftest.err
32880 } && test -s conftest$ac_exeext &&
32881 $as_test_x conftest$ac_exeext; then
32882 { echo "$as_me:$LINENO: result: yes" >&5
32883 echo "${ECHO_T}yes" >&6; }
32884 X_LIBS="$X_LIBS -R $x_libraries"
32885 else
32886 echo "$as_me: failed program was:" >&5
32887 sed 's/^/| /' conftest.$ac_ext >&5
32888
32889 { echo "$as_me:$LINENO: result: neither works" >&5
32890 echo "${ECHO_T}neither works" >&6; }
32891 fi
32892
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 fi
32896
32897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32898 conftest$ac_exeext conftest.$ac_ext
32899 ac_c_werror_flag=$ac_xsave_c_werror_flag
32900 LIBS=$ac_xsave_LIBS
32901 fi
32902
32903 # Check for system-dependent libraries X programs must link with.
32904 # Do this before checking for the system-independent R6 libraries
32905 # (-lICE), since we may need -lsocket or whatever for X linking.
32906
32907 if test "$ISC" = yes; then
32908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32909 else
32910 # Martyn Johnson says this is needed for Ultrix, if the X
32911 # libraries were built with DECnet support. And Karl Berry says
32912 # the Alpha needs dnet_stub (dnet does not exist).
32913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920
32921 /* Override any GCC internal prototype to avoid an error.
32922 Use char because int might match the return type of a GCC
32923 builtin and then its argument prototype would still apply. */
32924 #ifdef __cplusplus
32925 extern "C"
32926 #endif
32927 char XOpenDisplay ();
32928 int
32929 main ()
32930 {
32931 return XOpenDisplay ();
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (ac_try="$ac_link"
32938 case "(($ac_try" in
32939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32940 *) ac_try_echo=$ac_try;;
32941 esac
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943 (eval "$ac_link") 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } && {
32950 test -z "$ac_c_werror_flag" ||
32951 test ! -s conftest.err
32952 } && test -s conftest$ac_exeext &&
32953 $as_test_x conftest$ac_exeext; then
32954 :
32955 else
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32958
32959 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32960 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32961 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 else
32964 ac_check_lib_save_LIBS=$LIBS
32965 LIBS="-ldnet $LIBS"
32966 cat >conftest.$ac_ext <<_ACEOF
32967 /* confdefs.h. */
32968 _ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972
32973 /* Override any GCC internal prototype to avoid an error.
32974 Use char because int might match the return type of a GCC
32975 builtin and then its argument prototype would still apply. */
32976 #ifdef __cplusplus
32977 extern "C"
32978 #endif
32979 char dnet_ntoa ();
32980 int
32981 main ()
32982 {
32983 return dnet_ntoa ();
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (ac_try="$ac_link"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32993 esac
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_link") 2>conftest.er1
32996 ac_status=$?
32997 grep -v '^ *+' conftest.er1 >conftest.err
32998 rm -f conftest.er1
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest$ac_exeext &&
33005 $as_test_x conftest$ac_exeext; then
33006 ac_cv_lib_dnet_dnet_ntoa=yes
33007 else
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 ac_cv_lib_dnet_dnet_ntoa=no
33012 fi
33013
33014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33015 conftest$ac_exeext conftest.$ac_ext
33016 LIBS=$ac_check_lib_save_LIBS
33017 fi
33018 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33019 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33020 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33022 fi
33023
33024 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33025 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33026 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33027 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030 ac_check_lib_save_LIBS=$LIBS
33031 LIBS="-ldnet_stub $LIBS"
33032 cat >conftest.$ac_ext <<_ACEOF
33033 /* confdefs.h. */
33034 _ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038
33039 /* Override any GCC internal prototype to avoid an error.
33040 Use char because int might match the return type of a GCC
33041 builtin and then its argument prototype would still apply. */
33042 #ifdef __cplusplus
33043 extern "C"
33044 #endif
33045 char dnet_ntoa ();
33046 int
33047 main ()
33048 {
33049 return dnet_ntoa ();
33050 ;
33051 return 0;
33052 }
33053 _ACEOF
33054 rm -f conftest.$ac_objext conftest$ac_exeext
33055 if { (ac_try="$ac_link"
33056 case "(($ac_try" in
33057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33058 *) ac_try_echo=$ac_try;;
33059 esac
33060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33061 (eval "$ac_link") 2>conftest.er1
33062 ac_status=$?
33063 grep -v '^ *+' conftest.er1 >conftest.err
33064 rm -f conftest.er1
33065 cat conftest.err >&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); } && {
33068 test -z "$ac_c_werror_flag" ||
33069 test ! -s conftest.err
33070 } && test -s conftest$ac_exeext &&
33071 $as_test_x conftest$ac_exeext; then
33072 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33073 else
33074 echo "$as_me: failed program was:" >&5
33075 sed 's/^/| /' conftest.$ac_ext >&5
33076
33077 ac_cv_lib_dnet_stub_dnet_ntoa=no
33078 fi
33079
33080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33081 conftest$ac_exeext conftest.$ac_ext
33082 LIBS=$ac_check_lib_save_LIBS
33083 fi
33084 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33085 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33086 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33087 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33088 fi
33089
33090 fi
33091 fi
33092
33093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33094 conftest$ac_exeext conftest.$ac_ext
33095 LIBS="$ac_xsave_LIBS"
33096
33097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33098 # to get the SysV transport functions.
33099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33100 # needs -lnsl.
33101 # The nsl library prevents programs from opening the X display
33102 # on Irix 5.2, according to T.E. Dickey.
33103 # The functions gethostbyname, getservbyname, and inet_addr are
33104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33107 if test "${ac_cv_func_gethostbyname+set}" = set; then
33108 echo $ECHO_N "(cached) $ECHO_C" >&6
33109 else
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33118 #define gethostbyname innocuous_gethostbyname
33119
33120 /* System header to define __stub macros and hopefully few prototypes,
33121 which can conflict with char gethostbyname (); below.
33122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33123 <limits.h> exists even on freestanding compilers. */
33124
33125 #ifdef __STDC__
33126 # include <limits.h>
33127 #else
33128 # include <assert.h>
33129 #endif
33130
33131 #undef gethostbyname
33132
33133 /* Override any GCC internal prototype to avoid an error.
33134 Use char because int might match the return type of a GCC
33135 builtin and then its argument prototype would still apply. */
33136 #ifdef __cplusplus
33137 extern "C"
33138 #endif
33139 char gethostbyname ();
33140 /* The GNU C library defines this for functions which it implements
33141 to always fail with ENOSYS. Some functions are actually named
33142 something starting with __ and the normal name is an alias. */
33143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33144 choke me
33145 #endif
33146
33147 int
33148 main ()
33149 {
33150 return gethostbyname ();
33151 ;
33152 return 0;
33153 }
33154 _ACEOF
33155 rm -f conftest.$ac_objext conftest$ac_exeext
33156 if { (ac_try="$ac_link"
33157 case "(($ac_try" in
33158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33159 *) ac_try_echo=$ac_try;;
33160 esac
33161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33162 (eval "$ac_link") 2>conftest.er1
33163 ac_status=$?
33164 grep -v '^ *+' conftest.er1 >conftest.err
33165 rm -f conftest.er1
33166 cat conftest.err >&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); } && {
33169 test -z "$ac_c_werror_flag" ||
33170 test ! -s conftest.err
33171 } && test -s conftest$ac_exeext &&
33172 $as_test_x conftest$ac_exeext; then
33173 ac_cv_func_gethostbyname=yes
33174 else
33175 echo "$as_me: failed program was:" >&5
33176 sed 's/^/| /' conftest.$ac_ext >&5
33177
33178 ac_cv_func_gethostbyname=no
33179 fi
33180
33181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33182 conftest$ac_exeext conftest.$ac_ext
33183 fi
33184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33186
33187 if test $ac_cv_func_gethostbyname = no; then
33188 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33189 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33190 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33192 else
33193 ac_check_lib_save_LIBS=$LIBS
33194 LIBS="-lnsl $LIBS"
33195 cat >conftest.$ac_ext <<_ACEOF
33196 /* confdefs.h. */
33197 _ACEOF
33198 cat confdefs.h >>conftest.$ac_ext
33199 cat >>conftest.$ac_ext <<_ACEOF
33200 /* end confdefs.h. */
33201
33202 /* Override any GCC internal prototype to avoid an error.
33203 Use char because int might match the return type of a GCC
33204 builtin and then its argument prototype would still apply. */
33205 #ifdef __cplusplus
33206 extern "C"
33207 #endif
33208 char gethostbyname ();
33209 int
33210 main ()
33211 {
33212 return gethostbyname ();
33213 ;
33214 return 0;
33215 }
33216 _ACEOF
33217 rm -f conftest.$ac_objext conftest$ac_exeext
33218 if { (ac_try="$ac_link"
33219 case "(($ac_try" in
33220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33221 *) ac_try_echo=$ac_try;;
33222 esac
33223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33224 (eval "$ac_link") 2>conftest.er1
33225 ac_status=$?
33226 grep -v '^ *+' conftest.er1 >conftest.err
33227 rm -f conftest.er1
33228 cat conftest.err >&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } && {
33231 test -z "$ac_c_werror_flag" ||
33232 test ! -s conftest.err
33233 } && test -s conftest$ac_exeext &&
33234 $as_test_x conftest$ac_exeext; then
33235 ac_cv_lib_nsl_gethostbyname=yes
33236 else
33237 echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33239
33240 ac_cv_lib_nsl_gethostbyname=no
33241 fi
33242
33243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33244 conftest$ac_exeext conftest.$ac_ext
33245 LIBS=$ac_check_lib_save_LIBS
33246 fi
33247 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33248 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33249 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33251 fi
33252
33253 if test $ac_cv_lib_nsl_gethostbyname = no; then
33254 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33255 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33256 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33259 ac_check_lib_save_LIBS=$LIBS
33260 LIBS="-lbsd $LIBS"
33261 cat >conftest.$ac_ext <<_ACEOF
33262 /* confdefs.h. */
33263 _ACEOF
33264 cat confdefs.h >>conftest.$ac_ext
33265 cat >>conftest.$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267
33268 /* Override any GCC internal prototype to avoid an error.
33269 Use char because int might match the return type of a GCC
33270 builtin and then its argument prototype would still apply. */
33271 #ifdef __cplusplus
33272 extern "C"
33273 #endif
33274 char gethostbyname ();
33275 int
33276 main ()
33277 {
33278 return gethostbyname ();
33279 ;
33280 return 0;
33281 }
33282 _ACEOF
33283 rm -f conftest.$ac_objext conftest$ac_exeext
33284 if { (ac_try="$ac_link"
33285 case "(($ac_try" in
33286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33287 *) ac_try_echo=$ac_try;;
33288 esac
33289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33290 (eval "$ac_link") 2>conftest.er1
33291 ac_status=$?
33292 grep -v '^ *+' conftest.er1 >conftest.err
33293 rm -f conftest.er1
33294 cat conftest.err >&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } && {
33297 test -z "$ac_c_werror_flag" ||
33298 test ! -s conftest.err
33299 } && test -s conftest$ac_exeext &&
33300 $as_test_x conftest$ac_exeext; then
33301 ac_cv_lib_bsd_gethostbyname=yes
33302 else
33303 echo "$as_me: failed program was:" >&5
33304 sed 's/^/| /' conftest.$ac_ext >&5
33305
33306 ac_cv_lib_bsd_gethostbyname=no
33307 fi
33308
33309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33310 conftest$ac_exeext conftest.$ac_ext
33311 LIBS=$ac_check_lib_save_LIBS
33312 fi
33313 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33314 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33315 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33317 fi
33318
33319 fi
33320 fi
33321
33322 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33323 # socket/setsockopt and other routines are undefined under SCO ODT
33324 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33325 # on later versions), says Simon Leinen: it contains gethostby*
33326 # variants that don't use the name server (or something). -lsocket
33327 # must be given before -lnsl if both are needed. We assume that
33328 # if connect needs -lnsl, so does gethostbyname.
33329 { echo "$as_me:$LINENO: checking for connect" >&5
33330 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33331 if test "${ac_cv_func_connect+set}" = set; then
33332 echo $ECHO_N "(cached) $ECHO_C" >&6
33333 else
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33342 #define connect innocuous_connect
33343
33344 /* System header to define __stub macros and hopefully few prototypes,
33345 which can conflict with char connect (); below.
33346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33347 <limits.h> exists even on freestanding compilers. */
33348
33349 #ifdef __STDC__
33350 # include <limits.h>
33351 #else
33352 # include <assert.h>
33353 #endif
33354
33355 #undef connect
33356
33357 /* Override any GCC internal prototype to avoid an error.
33358 Use char because int might match the return type of a GCC
33359 builtin and then its argument prototype would still apply. */
33360 #ifdef __cplusplus
33361 extern "C"
33362 #endif
33363 char connect ();
33364 /* The GNU C library defines this for functions which it implements
33365 to always fail with ENOSYS. Some functions are actually named
33366 something starting with __ and the normal name is an alias. */
33367 #if defined __stub_connect || defined __stub___connect
33368 choke me
33369 #endif
33370
33371 int
33372 main ()
33373 {
33374 return connect ();
33375 ;
33376 return 0;
33377 }
33378 _ACEOF
33379 rm -f conftest.$ac_objext conftest$ac_exeext
33380 if { (ac_try="$ac_link"
33381 case "(($ac_try" in
33382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33383 *) ac_try_echo=$ac_try;;
33384 esac
33385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33386 (eval "$ac_link") 2>conftest.er1
33387 ac_status=$?
33388 grep -v '^ *+' conftest.er1 >conftest.err
33389 rm -f conftest.er1
33390 cat conftest.err >&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } && {
33393 test -z "$ac_c_werror_flag" ||
33394 test ! -s conftest.err
33395 } && test -s conftest$ac_exeext &&
33396 $as_test_x conftest$ac_exeext; then
33397 ac_cv_func_connect=yes
33398 else
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.$ac_ext >&5
33401
33402 ac_cv_func_connect=no
33403 fi
33404
33405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33406 conftest$ac_exeext conftest.$ac_ext
33407 fi
33408 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33409 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33410
33411 if test $ac_cv_func_connect = no; then
33412 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33413 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33414 if test "${ac_cv_lib_socket_connect+set}" = set; then
33415 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 else
33417 ac_check_lib_save_LIBS=$LIBS
33418 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33419 cat >conftest.$ac_ext <<_ACEOF
33420 /* confdefs.h. */
33421 _ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425
33426 /* Override any GCC internal prototype to avoid an error.
33427 Use char because int might match the return type of a GCC
33428 builtin and then its argument prototype would still apply. */
33429 #ifdef __cplusplus
33430 extern "C"
33431 #endif
33432 char connect ();
33433 int
33434 main ()
33435 {
33436 return connect ();
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (ac_try="$ac_link"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33446 esac
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_link") 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest$ac_exeext &&
33458 $as_test_x conftest$ac_exeext; then
33459 ac_cv_lib_socket_connect=yes
33460 else
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33463
33464 ac_cv_lib_socket_connect=no
33465 fi
33466
33467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33468 conftest$ac_exeext conftest.$ac_ext
33469 LIBS=$ac_check_lib_save_LIBS
33470 fi
33471 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33472 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33473 if test $ac_cv_lib_socket_connect = yes; then
33474 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33475 fi
33476
33477 fi
33478
33479 # Guillermo Gomez says -lposix is necessary on A/UX.
33480 { echo "$as_me:$LINENO: checking for remove" >&5
33481 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33482 if test "${ac_cv_func_remove+set}" = set; then
33483 echo $ECHO_N "(cached) $ECHO_C" >&6
33484 else
33485 cat >conftest.$ac_ext <<_ACEOF
33486 /* confdefs.h. */
33487 _ACEOF
33488 cat confdefs.h >>conftest.$ac_ext
33489 cat >>conftest.$ac_ext <<_ACEOF
33490 /* end confdefs.h. */
33491 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33493 #define remove innocuous_remove
33494
33495 /* System header to define __stub macros and hopefully few prototypes,
33496 which can conflict with char remove (); below.
33497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33498 <limits.h> exists even on freestanding compilers. */
33499
33500 #ifdef __STDC__
33501 # include <limits.h>
33502 #else
33503 # include <assert.h>
33504 #endif
33505
33506 #undef remove
33507
33508 /* Override any GCC internal prototype to avoid an error.
33509 Use char because int might match the return type of a GCC
33510 builtin and then its argument prototype would still apply. */
33511 #ifdef __cplusplus
33512 extern "C"
33513 #endif
33514 char remove ();
33515 /* The GNU C library defines this for functions which it implements
33516 to always fail with ENOSYS. Some functions are actually named
33517 something starting with __ and the normal name is an alias. */
33518 #if defined __stub_remove || defined __stub___remove
33519 choke me
33520 #endif
33521
33522 int
33523 main ()
33524 {
33525 return remove ();
33526 ;
33527 return 0;
33528 }
33529 _ACEOF
33530 rm -f conftest.$ac_objext conftest$ac_exeext
33531 if { (ac_try="$ac_link"
33532 case "(($ac_try" in
33533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33535 esac
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_link") 2>conftest.er1
33538 ac_status=$?
33539 grep -v '^ *+' conftest.er1 >conftest.err
33540 rm -f conftest.er1
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_c_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest$ac_exeext &&
33547 $as_test_x conftest$ac_exeext; then
33548 ac_cv_func_remove=yes
33549 else
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.$ac_ext >&5
33552
33553 ac_cv_func_remove=no
33554 fi
33555
33556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33557 conftest$ac_exeext conftest.$ac_ext
33558 fi
33559 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33560 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33561
33562 if test $ac_cv_func_remove = no; then
33563 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33564 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33565 if test "${ac_cv_lib_posix_remove+set}" = set; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33567 else
33568 ac_check_lib_save_LIBS=$LIBS
33569 LIBS="-lposix $LIBS"
33570 cat >conftest.$ac_ext <<_ACEOF
33571 /* confdefs.h. */
33572 _ACEOF
33573 cat confdefs.h >>conftest.$ac_ext
33574 cat >>conftest.$ac_ext <<_ACEOF
33575 /* end confdefs.h. */
33576
33577 /* Override any GCC internal prototype to avoid an error.
33578 Use char because int might match the return type of a GCC
33579 builtin and then its argument prototype would still apply. */
33580 #ifdef __cplusplus
33581 extern "C"
33582 #endif
33583 char remove ();
33584 int
33585 main ()
33586 {
33587 return remove ();
33588 ;
33589 return 0;
33590 }
33591 _ACEOF
33592 rm -f conftest.$ac_objext conftest$ac_exeext
33593 if { (ac_try="$ac_link"
33594 case "(($ac_try" in
33595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33596 *) ac_try_echo=$ac_try;;
33597 esac
33598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33599 (eval "$ac_link") 2>conftest.er1
33600 ac_status=$?
33601 grep -v '^ *+' conftest.er1 >conftest.err
33602 rm -f conftest.er1
33603 cat conftest.err >&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); } && {
33606 test -z "$ac_c_werror_flag" ||
33607 test ! -s conftest.err
33608 } && test -s conftest$ac_exeext &&
33609 $as_test_x conftest$ac_exeext; then
33610 ac_cv_lib_posix_remove=yes
33611 else
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33614
33615 ac_cv_lib_posix_remove=no
33616 fi
33617
33618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33619 conftest$ac_exeext conftest.$ac_ext
33620 LIBS=$ac_check_lib_save_LIBS
33621 fi
33622 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33623 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33624 if test $ac_cv_lib_posix_remove = yes; then
33625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33626 fi
33627
33628 fi
33629
33630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33631 { echo "$as_me:$LINENO: checking for shmat" >&5
33632 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33633 if test "${ac_cv_func_shmat+set}" = set; then
33634 echo $ECHO_N "(cached) $ECHO_C" >&6
33635 else
33636 cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h. */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33644 #define shmat innocuous_shmat
33645
33646 /* System header to define __stub macros and hopefully few prototypes,
33647 which can conflict with char shmat (); below.
33648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33649 <limits.h> exists even on freestanding compilers. */
33650
33651 #ifdef __STDC__
33652 # include <limits.h>
33653 #else
33654 # include <assert.h>
33655 #endif
33656
33657 #undef shmat
33658
33659 /* Override any GCC internal prototype to avoid an error.
33660 Use char because int might match the return type of a GCC
33661 builtin and then its argument prototype would still apply. */
33662 #ifdef __cplusplus
33663 extern "C"
33664 #endif
33665 char shmat ();
33666 /* The GNU C library defines this for functions which it implements
33667 to always fail with ENOSYS. Some functions are actually named
33668 something starting with __ and the normal name is an alias. */
33669 #if defined __stub_shmat || defined __stub___shmat
33670 choke me
33671 #endif
33672
33673 int
33674 main ()
33675 {
33676 return shmat ();
33677 ;
33678 return 0;
33679 }
33680 _ACEOF
33681 rm -f conftest.$ac_objext conftest$ac_exeext
33682 if { (ac_try="$ac_link"
33683 case "(($ac_try" in
33684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33685 *) ac_try_echo=$ac_try;;
33686 esac
33687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33688 (eval "$ac_link") 2>conftest.er1
33689 ac_status=$?
33690 grep -v '^ *+' conftest.er1 >conftest.err
33691 rm -f conftest.er1
33692 cat conftest.err >&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } && {
33695 test -z "$ac_c_werror_flag" ||
33696 test ! -s conftest.err
33697 } && test -s conftest$ac_exeext &&
33698 $as_test_x conftest$ac_exeext; then
33699 ac_cv_func_shmat=yes
33700 else
33701 echo "$as_me: failed program was:" >&5
33702 sed 's/^/| /' conftest.$ac_ext >&5
33703
33704 ac_cv_func_shmat=no
33705 fi
33706
33707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33708 conftest$ac_exeext conftest.$ac_ext
33709 fi
33710 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33711 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33712
33713 if test $ac_cv_func_shmat = no; then
33714 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33715 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33716 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33717 echo $ECHO_N "(cached) $ECHO_C" >&6
33718 else
33719 ac_check_lib_save_LIBS=$LIBS
33720 LIBS="-lipc $LIBS"
33721 cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h. */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33727
33728 /* Override any GCC internal prototype to avoid an error.
33729 Use char because int might match the return type of a GCC
33730 builtin and then its argument prototype would still apply. */
33731 #ifdef __cplusplus
33732 extern "C"
33733 #endif
33734 char shmat ();
33735 int
33736 main ()
33737 {
33738 return shmat ();
33739 ;
33740 return 0;
33741 }
33742 _ACEOF
33743 rm -f conftest.$ac_objext conftest$ac_exeext
33744 if { (ac_try="$ac_link"
33745 case "(($ac_try" in
33746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33747 *) ac_try_echo=$ac_try;;
33748 esac
33749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33750 (eval "$ac_link") 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } && {
33757 test -z "$ac_c_werror_flag" ||
33758 test ! -s conftest.err
33759 } && test -s conftest$ac_exeext &&
33760 $as_test_x conftest$ac_exeext; then
33761 ac_cv_lib_ipc_shmat=yes
33762 else
33763 echo "$as_me: failed program was:" >&5
33764 sed 's/^/| /' conftest.$ac_ext >&5
33765
33766 ac_cv_lib_ipc_shmat=no
33767 fi
33768
33769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33770 conftest$ac_exeext conftest.$ac_ext
33771 LIBS=$ac_check_lib_save_LIBS
33772 fi
33773 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33774 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33775 if test $ac_cv_lib_ipc_shmat = yes; then
33776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33777 fi
33778
33779 fi
33780 fi
33781
33782 # Check for libraries that X11R6 Xt/Xaw programs need.
33783 ac_save_LDFLAGS=$LDFLAGS
33784 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33785 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33786 # check for ICE first), but we must link in the order -lSM -lICE or
33787 # we get undefined symbols. So assume we have SM if we have ICE.
33788 # These have to be linked with before -lX11, unlike the other
33789 # libraries we check for below, so use a different variable.
33790 # John Interrante, Karl Berry
33791 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33792 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33793 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 else
33796 ac_check_lib_save_LIBS=$LIBS
33797 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804
33805 /* Override any GCC internal prototype to avoid an error.
33806 Use char because int might match the return type of a GCC
33807 builtin and then its argument prototype would still apply. */
33808 #ifdef __cplusplus
33809 extern "C"
33810 #endif
33811 char IceConnectionNumber ();
33812 int
33813 main ()
33814 {
33815 return IceConnectionNumber ();
33816 ;
33817 return 0;
33818 }
33819 _ACEOF
33820 rm -f conftest.$ac_objext conftest$ac_exeext
33821 if { (ac_try="$ac_link"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33825 esac
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_link") 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest$ac_exeext &&
33837 $as_test_x conftest$ac_exeext; then
33838 ac_cv_lib_ICE_IceConnectionNumber=yes
33839 else
33840 echo "$as_me: failed program was:" >&5
33841 sed 's/^/| /' conftest.$ac_ext >&5
33842
33843 ac_cv_lib_ICE_IceConnectionNumber=no
33844 fi
33845
33846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33847 conftest$ac_exeext conftest.$ac_ext
33848 LIBS=$ac_check_lib_save_LIBS
33849 fi
33850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33851 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33852 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33853 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33854 fi
33855
33856 LDFLAGS=$ac_save_LDFLAGS
33857
33858 fi
33859
33860
33861 if test "$no_x" = "yes"; then
33862 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33863 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33864 { (exit 1); exit 1; }; }
33865 fi
33866
33867 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33868 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33869 AFMINSTALL=afminstall
33870 COMPILED_X_PROGRAM=0
33871
33872 fi
33873
33874 if test "$wxUSE_X11" = 1; then
33875 if test "$wxUSE_NANOX" = "yes"; then
33876 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33877 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33878 if test "x$MICROWIN" = x ; then
33879 { echo "$as_me:$LINENO: result: not found" >&5
33880 echo "${ECHO_T}not found" >&6; }
33881 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33882 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33883 { (exit 1); exit 1; }; }
33884 else
33885 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33886 echo "${ECHO_T}$MICROWIN" >&6; }
33887 cat >>confdefs.h <<\_ACEOF
33888 #define wxUSE_NANOX 1
33889 _ACEOF
33890
33891 fi
33892 fi
33893
33894 if test "$wxUSE_UNICODE" = "yes"; then
33895
33896
33897 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33898 if test -n "$ac_tool_prefix"; then
33899 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33900 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33903 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 else
33906 case $PKG_CONFIG in
33907 [\\/]* | ?:[\\/]*)
33908 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33909 ;;
33910 *)
33911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33912 for as_dir in $PATH
33913 do
33914 IFS=$as_save_IFS
33915 test -z "$as_dir" && as_dir=.
33916 for ac_exec_ext in '' $ac_executable_extensions; do
33917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33918 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33920 break 2
33921 fi
33922 done
33923 done
33924 IFS=$as_save_IFS
33925
33926 ;;
33927 esac
33928 fi
33929 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33930 if test -n "$PKG_CONFIG"; then
33931 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33932 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33933 else
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33936 fi
33937
33938
33939 fi
33940 if test -z "$ac_cv_path_PKG_CONFIG"; then
33941 ac_pt_PKG_CONFIG=$PKG_CONFIG
33942 # Extract the first word of "pkg-config", so it can be a program name with args.
33943 set dummy pkg-config; ac_word=$2
33944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33946 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33947 echo $ECHO_N "(cached) $ECHO_C" >&6
33948 else
33949 case $ac_pt_PKG_CONFIG in
33950 [\\/]* | ?:[\\/]*)
33951 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33952 ;;
33953 *)
33954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33955 for as_dir in $PATH
33956 do
33957 IFS=$as_save_IFS
33958 test -z "$as_dir" && as_dir=.
33959 for ac_exec_ext in '' $ac_executable_extensions; do
33960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33961 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33963 break 2
33964 fi
33965 done
33966 done
33967 IFS=$as_save_IFS
33968
33969 ;;
33970 esac
33971 fi
33972 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33973 if test -n "$ac_pt_PKG_CONFIG"; then
33974 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33975 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33976 else
33977 { echo "$as_me:$LINENO: result: no" >&5
33978 echo "${ECHO_T}no" >&6; }
33979 fi
33980
33981 if test "x$ac_pt_PKG_CONFIG" = x; then
33982 PKG_CONFIG=""
33983 else
33984 case $cross_compiling:$ac_tool_warned in
33985 yes:)
33986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33987 whose name does not start with the host triplet. If you think this
33988 configuration is useful to you, please write to autoconf@gnu.org." >&5
33989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33990 whose name does not start with the host triplet. If you think this
33991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33992 ac_tool_warned=yes ;;
33993 esac
33994 PKG_CONFIG=$ac_pt_PKG_CONFIG
33995 fi
33996 else
33997 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33998 fi
33999
34000 fi
34001 if test -n "$PKG_CONFIG"; then
34002 _pkg_min_version=0.9.0
34003 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34004 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34005 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34006 { echo "$as_me:$LINENO: result: yes" >&5
34007 echo "${ECHO_T}yes" >&6; }
34008 else
34009 { echo "$as_me:$LINENO: result: no" >&5
34010 echo "${ECHO_T}no" >&6; }
34011 PKG_CONFIG=""
34012 fi
34013
34014 fi
34015
34016
34017 pkg_failed=no
34018 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34019 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34020
34021 if test -n "$PKG_CONFIG"; then
34022 if test -n "$PANGOX_CFLAGS"; then
34023 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
34024 else
34025 if test -n "$PKG_CONFIG" && \
34026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34027 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34028 ac_status=$?
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; then
34031 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34032 else
34033 pkg_failed=yes
34034 fi
34035 fi
34036 else
34037 pkg_failed=untried
34038 fi
34039 if test -n "$PKG_CONFIG"; then
34040 if test -n "$PANGOX_LIBS"; then
34041 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
34042 else
34043 if test -n "$PKG_CONFIG" && \
34044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34045 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; then
34049 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34050 else
34051 pkg_failed=yes
34052 fi
34053 fi
34054 else
34055 pkg_failed=untried
34056 fi
34057
34058
34059
34060 if test $pkg_failed = yes; then
34061
34062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34063 _pkg_short_errors_supported=yes
34064 else
34065 _pkg_short_errors_supported=no
34066 fi
34067 if test $_pkg_short_errors_supported = yes; then
34068 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34069 else
34070 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34071 fi
34072 # Put the nasty error message in config.log where it belongs
34073 echo "$PANGOX_PKG_ERRORS" >&5
34074
34075
34076 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34077 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34078 { (exit 1); exit 1; }; }
34079
34080
34081 elif test $pkg_failed = untried; then
34082
34083 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34084 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34085 { (exit 1); exit 1; }; }
34086
34087
34088 else
34089 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34090 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34091 { echo "$as_me:$LINENO: result: yes" >&5
34092 echo "${ECHO_T}yes" >&6; }
34093
34094 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34095 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34097
34098 fi
34099
34100 pkg_failed=no
34101 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34102 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34103
34104 if test -n "$PKG_CONFIG"; then
34105 if test -n "$PANGOFT2_CFLAGS"; then
34106 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34107 else
34108 if test -n "$PKG_CONFIG" && \
34109 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34110 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34111 ac_status=$?
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; then
34114 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34115 else
34116 pkg_failed=yes
34117 fi
34118 fi
34119 else
34120 pkg_failed=untried
34121 fi
34122 if test -n "$PKG_CONFIG"; then
34123 if test -n "$PANGOFT2_LIBS"; then
34124 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34125 else
34126 if test -n "$PKG_CONFIG" && \
34127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34128 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34129 ac_status=$?
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); }; then
34132 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34133 else
34134 pkg_failed=yes
34135 fi
34136 fi
34137 else
34138 pkg_failed=untried
34139 fi
34140
34141
34142
34143 if test $pkg_failed = yes; then
34144
34145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34146 _pkg_short_errors_supported=yes
34147 else
34148 _pkg_short_errors_supported=no
34149 fi
34150 if test $_pkg_short_errors_supported = yes; then
34151 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34152 else
34153 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34154 fi
34155 # Put the nasty error message in config.log where it belongs
34156 echo "$PANGOFT2_PKG_ERRORS" >&5
34157
34158
34159 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34160 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34161 wxUSE_PRINTING_ARCHITECTURE="no"
34162
34163
34164 elif test $pkg_failed = untried; then
34165
34166 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34167 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34168 wxUSE_PRINTING_ARCHITECTURE="no"
34169
34170
34171 else
34172 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34173 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34176
34177 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34178 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34180
34181 fi
34182
34183 pkg_failed=no
34184 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34185 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34186
34187 if test -n "$PKG_CONFIG"; then
34188 if test -n "$PANGOXFT_CFLAGS"; then
34189 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34190 else
34191 if test -n "$PKG_CONFIG" && \
34192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34193 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34194 ac_status=$?
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; then
34197 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34198 else
34199 pkg_failed=yes
34200 fi
34201 fi
34202 else
34203 pkg_failed=untried
34204 fi
34205 if test -n "$PKG_CONFIG"; then
34206 if test -n "$PANGOXFT_LIBS"; then
34207 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34208 else
34209 if test -n "$PKG_CONFIG" && \
34210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34211 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; then
34215 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34216 else
34217 pkg_failed=yes
34218 fi
34219 fi
34220 else
34221 pkg_failed=untried
34222 fi
34223
34224
34225
34226 if test $pkg_failed = yes; then
34227
34228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34229 _pkg_short_errors_supported=yes
34230 else
34231 _pkg_short_errors_supported=no
34232 fi
34233 if test $_pkg_short_errors_supported = yes; then
34234 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34235 else
34236 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34237 fi
34238 # Put the nasty error message in config.log where it belongs
34239 echo "$PANGOXFT_PKG_ERRORS" >&5
34240
34241
34242 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34243 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34244
34245
34246 elif test $pkg_failed = untried; then
34247
34248 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34249 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34250
34251
34252 else
34253 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34254 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34255 { echo "$as_me:$LINENO: result: yes" >&5
34256 echo "${ECHO_T}yes" >&6; }
34257
34258 cat >>confdefs.h <<\_ACEOF
34259 #define HAVE_PANGO_XFT 1
34260 _ACEOF
34261
34262 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34263 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34265
34266 fi
34267 save_LIBS="$LIBS"
34268 LIBS="$LIBS $PANGOX_LIBS"
34269
34270 for ac_func in pango_font_family_is_monospace
34271 do
34272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34276 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 else
34278 cat >conftest.$ac_ext <<_ACEOF
34279 /* confdefs.h. */
34280 _ACEOF
34281 cat confdefs.h >>conftest.$ac_ext
34282 cat >>conftest.$ac_ext <<_ACEOF
34283 /* end confdefs.h. */
34284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34286 #define $ac_func innocuous_$ac_func
34287
34288 /* System header to define __stub macros and hopefully few prototypes,
34289 which can conflict with char $ac_func (); below.
34290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34291 <limits.h> exists even on freestanding compilers. */
34292
34293 #ifdef __STDC__
34294 # include <limits.h>
34295 #else
34296 # include <assert.h>
34297 #endif
34298
34299 #undef $ac_func
34300
34301 /* Override any GCC internal prototype to avoid an error.
34302 Use char because int might match the return type of a GCC
34303 builtin and then its argument prototype would still apply. */
34304 #ifdef __cplusplus
34305 extern "C"
34306 #endif
34307 char $ac_func ();
34308 /* The GNU C library defines this for functions which it implements
34309 to always fail with ENOSYS. Some functions are actually named
34310 something starting with __ and the normal name is an alias. */
34311 #if defined __stub_$ac_func || defined __stub___$ac_func
34312 choke me
34313 #endif
34314
34315 int
34316 main ()
34317 {
34318 return $ac_func ();
34319 ;
34320 return 0;
34321 }
34322 _ACEOF
34323 rm -f conftest.$ac_objext conftest$ac_exeext
34324 if { (ac_try="$ac_link"
34325 case "(($ac_try" in
34326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34327 *) ac_try_echo=$ac_try;;
34328 esac
34329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34330 (eval "$ac_link") 2>conftest.er1
34331 ac_status=$?
34332 grep -v '^ *+' conftest.er1 >conftest.err
34333 rm -f conftest.er1
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } && {
34337 test -z "$ac_c_werror_flag" ||
34338 test ! -s conftest.err
34339 } && test -s conftest$ac_exeext &&
34340 $as_test_x conftest$ac_exeext; then
34341 eval "$as_ac_var=yes"
34342 else
34343 echo "$as_me: failed program was:" >&5
34344 sed 's/^/| /' conftest.$ac_ext >&5
34345
34346 eval "$as_ac_var=no"
34347 fi
34348
34349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34350 conftest$ac_exeext conftest.$ac_ext
34351 fi
34352 ac_res=`eval echo '${'$as_ac_var'}'`
34353 { echo "$as_me:$LINENO: result: $ac_res" >&5
34354 echo "${ECHO_T}$ac_res" >&6; }
34355 if test `eval echo '${'$as_ac_var'}'` = yes; then
34356 cat >>confdefs.h <<_ACEOF
34357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34358 _ACEOF
34359
34360 fi
34361 done
34362
34363 LIBS="$save_LIBS"
34364 fi
34365
34366 wxUSE_UNIVERSAL="yes"
34367
34368 if test "$wxUSE_NANOX" = "yes"; then
34369 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34370 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"
34371 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34372 else
34373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34374 fi
34375
34376 TOOLKIT=X11
34377 GUIDIST=X11_DIST
34378 fi
34379
34380 if test "$wxUSE_MOTIF" = 1; then
34381 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34382 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34383
34384 ac_find_includes=
34385 for ac_dir in $SEARCH_INCLUDE /usr/include;
34386 do
34387 if test -f "$ac_dir/Xm/Xm.h"; then
34388 ac_find_includes=$ac_dir
34389 break
34390 fi
34391 done
34392
34393 if test "$ac_find_includes" != "" ; then
34394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34396
34397 if test "x$ac_find_includes" = "x/usr/include"; then
34398 ac_path_to_include=""
34399 else
34400 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34401 result=$?
34402 if test $result = 0; then
34403 ac_path_to_include=""
34404 else
34405 ac_path_to_include=" -I$ac_find_includes"
34406 fi
34407 fi
34408
34409 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34410 else
34411 save_CFLAGS=$CFLAGS
34412 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34413
34414 cat >conftest.$ac_ext <<_ACEOF
34415 /* confdefs.h. */
34416 _ACEOF
34417 cat confdefs.h >>conftest.$ac_ext
34418 cat >>conftest.$ac_ext <<_ACEOF
34419 /* end confdefs.h. */
34420
34421 #include <Xm/Xm.h>
34422
34423 int
34424 main ()
34425 {
34426
34427 int version;
34428 version = xmUseVersion;
34429
34430 ;
34431 return 0;
34432 }
34433 _ACEOF
34434 rm -f conftest.$ac_objext
34435 if { (ac_try="$ac_compile"
34436 case "(($ac_try" in
34437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34438 *) ac_try_echo=$ac_try;;
34439 esac
34440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34441 (eval "$ac_compile") 2>conftest.er1
34442 ac_status=$?
34443 grep -v '^ *+' conftest.er1 >conftest.err
34444 rm -f conftest.er1
34445 cat conftest.err >&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); } && {
34448 test -z "$ac_c_werror_flag" ||
34449 test ! -s conftest.err
34450 } && test -s conftest.$ac_objext; then
34451
34452 { echo "$as_me:$LINENO: result: found in default search path" >&5
34453 echo "${ECHO_T}found in default search path" >&6; }
34454 COMPILED_X_PROGRAM=1
34455
34456 else
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34459
34460
34461 { echo "$as_me:$LINENO: result: no" >&5
34462 echo "${ECHO_T}no" >&6; }
34463 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34464 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34465 { (exit 1); exit 1; }; }
34466
34467
34468 fi
34469
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471
34472 CFLAGS=$save_CFLAGS
34473 fi
34474
34475
34476 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34477 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34478
34479 ac_find_libraries=
34480 for ac_dir in $SEARCH_LIB;
34481 do
34482 for ac_extension in a so sl dylib dll.a; do
34483 if test -f "$ac_dir/libXm.$ac_extension"; then
34484 ac_find_libraries=$ac_dir
34485 break 2
34486 fi
34487 done
34488 done
34489
34490
34491 if test "x$ac_find_libraries" != "x" ; then
34492 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34493 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34494
34495
34496 if test "$ac_find_libraries" = "default location"; then
34497 ac_path_to_link=""
34498 else
34499 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34500 result=$?
34501 if test $result = 0; then
34502 ac_path_to_link=""
34503 else
34504 ac_path_to_link=" -L$ac_find_libraries"
34505 fi
34506 fi
34507
34508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34509 else
34510 save_CFLAGS=$CFLAGS
34511 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34512 save_LIBS="$LIBS"
34513 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34514
34515 cat >conftest.$ac_ext <<_ACEOF
34516 /* confdefs.h. */
34517 _ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34521
34522 #include <Xm/Xm.h>
34523
34524 int
34525 main ()
34526 {
34527
34528 int version;
34529 version = xmUseVersion;
34530
34531 ;
34532 return 0;
34533 }
34534 _ACEOF
34535 rm -f conftest.$ac_objext conftest$ac_exeext
34536 if { (ac_try="$ac_link"
34537 case "(($ac_try" in
34538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34539 *) ac_try_echo=$ac_try;;
34540 esac
34541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34542 (eval "$ac_link") 2>conftest.er1
34543 ac_status=$?
34544 grep -v '^ *+' conftest.er1 >conftest.err
34545 rm -f conftest.er1
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && {
34549 test -z "$ac_c_werror_flag" ||
34550 test ! -s conftest.err
34551 } && test -s conftest$ac_exeext &&
34552 $as_test_x conftest$ac_exeext; then
34553
34554 { echo "$as_me:$LINENO: result: found in default search path" >&5
34555 echo "${ECHO_T}found in default search path" >&6; }
34556 COMPILED_X_PROGRAM=1
34557
34558 else
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.$ac_ext >&5
34561
34562
34563 { echo "$as_me:$LINENO: result: no" >&5
34564 echo "${ECHO_T}no" >&6; }
34565 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34566 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34567 { (exit 1); exit 1; }; }
34568
34569
34570 fi
34571
34572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34573 conftest$ac_exeext conftest.$ac_ext
34574
34575 CFLAGS=$save_CFLAGS
34576 LIBS="$save_LIBS"
34577 fi
34578
34579 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34580 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34581 libp_link=""
34582 libsm_ice_link=""
34583 libs_found=0
34584 for libp in "" " -lXp"; do
34585 if test "$libs_found" = "0"; then
34586 for libsm_ice in "" " -lSM -lICE"; do
34587 if test "$libs_found" = "0"; then
34588 save_LIBS="$LIBS"
34589 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34590 save_CFLAGS=$CFLAGS
34591 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34592
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599
34600 #include <Xm/Xm.h>
34601 #include <Xm/List.h>
34602
34603 int
34604 main ()
34605 {
34606
34607 XmString string = NULL;
34608 Widget w = NULL;
34609 int position = 0;
34610 XmListAddItem(w, string, position);
34611
34612 ;
34613 return 0;
34614 }
34615 _ACEOF
34616 rm -f conftest.$ac_objext conftest$ac_exeext
34617 if { (ac_try="$ac_link"
34618 case "(($ac_try" in
34619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34620 *) ac_try_echo=$ac_try;;
34621 esac
34622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34623 (eval "$ac_link") 2>conftest.er1
34624 ac_status=$?
34625 grep -v '^ *+' conftest.er1 >conftest.err
34626 rm -f conftest.er1
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } && {
34630 test -z "$ac_c_werror_flag" ||
34631 test ! -s conftest.err
34632 } && test -s conftest$ac_exeext &&
34633 $as_test_x conftest$ac_exeext; then
34634
34635 libp_link="$libp"
34636 libsm_ice_link="$libsm_ice"
34637 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34638 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34639 libs_found=1
34640
34641 else
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.$ac_ext >&5
34644
34645
34646
34647 fi
34648
34649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34650 conftest$ac_exeext conftest.$ac_ext
34651
34652 LIBS="$save_LIBS"
34653 CFLAGS=$save_CFLAGS
34654 fi
34655 done
34656 fi
34657 done
34658
34659 if test "$libs_found" = "0"; then
34660 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34661 echo "${ECHO_T}can't find the right libraries" >&6; }
34662 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34663 echo "$as_me: error: can't link a simple motif program" >&2;}
34664 { (exit 1); exit 1; }; }
34665 fi
34666
34667 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34668 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34669 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 ac_check_lib_save_LIBS=$LIBS
34673 LIBS="-lSgm $LIBS"
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680
34681 /* Override any GCC internal prototype to avoid an error.
34682 Use char because int might match the return type of a GCC
34683 builtin and then its argument prototype would still apply. */
34684 #ifdef __cplusplus
34685 extern "C"
34686 #endif
34687 char SgCreateList ();
34688 int
34689 main ()
34690 {
34691 return SgCreateList ();
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext conftest$ac_exeext
34697 if { (ac_try="$ac_link"
34698 case "(($ac_try" in
34699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34700 *) ac_try_echo=$ac_try;;
34701 esac
34702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34703 (eval "$ac_link") 2>conftest.er1
34704 ac_status=$?
34705 grep -v '^ *+' conftest.er1 >conftest.err
34706 rm -f conftest.er1
34707 cat conftest.err >&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } && {
34710 test -z "$ac_c_werror_flag" ||
34711 test ! -s conftest.err
34712 } && test -s conftest$ac_exeext &&
34713 $as_test_x conftest$ac_exeext; then
34714 ac_cv_lib_Sgm_SgCreateList=yes
34715 else
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34718
34719 ac_cv_lib_Sgm_SgCreateList=no
34720 fi
34721
34722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34723 conftest$ac_exeext conftest.$ac_ext
34724 LIBS=$ac_check_lib_save_LIBS
34725 fi
34726 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34727 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34728 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34729 libsgm_link=" -lSgm"
34730 fi
34731
34732
34733 save_CFLAGS=$CFLAGS
34734 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34735
34736 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34738 if test "${wx_cv_lib_motif2+set}" = set; then
34739 echo $ECHO_N "(cached) $ECHO_C" >&6
34740 else
34741 cat >conftest.$ac_ext <<_ACEOF
34742 /* confdefs.h. */
34743 _ACEOF
34744 cat confdefs.h >>conftest.$ac_ext
34745 cat >>conftest.$ac_ext <<_ACEOF
34746 /* end confdefs.h. */
34747
34748 #include <Xm/Xm.h>
34749
34750 int
34751 main ()
34752 {
34753
34754 #if XmVersion < 2000
34755 Not Motif 2
34756 #endif
34757
34758 ;
34759 return 0;
34760 }
34761 _ACEOF
34762 rm -f conftest.$ac_objext
34763 if { (ac_try="$ac_compile"
34764 case "(($ac_try" in
34765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34766 *) ac_try_echo=$ac_try;;
34767 esac
34768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34769 (eval "$ac_compile") 2>conftest.er1
34770 ac_status=$?
34771 grep -v '^ *+' conftest.er1 >conftest.err
34772 rm -f conftest.er1
34773 cat conftest.err >&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } && {
34776 test -z "$ac_c_werror_flag" ||
34777 test ! -s conftest.err
34778 } && test -s conftest.$ac_objext; then
34779 wx_cv_lib_motif2="yes"
34780 else
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.$ac_ext >&5
34783
34784 wx_cv_lib_motif2="no"
34785 fi
34786
34787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34788 fi
34789 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34790 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34791 if test "$wx_cv_lib_motif2" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define __WXMOTIF20__ 1
34794 _ACEOF
34795
34796 else
34797 cat >>confdefs.h <<\_ACEOF
34798 #define __WXMOTIF20__ 0
34799 _ACEOF
34800
34801 fi
34802
34803 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34804 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34805 if test "${wx_cv_lib_lesstif+set}" = set; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 else
34808 cat >conftest.$ac_ext <<_ACEOF
34809 /* confdefs.h. */
34810 _ACEOF
34811 cat confdefs.h >>conftest.$ac_ext
34812 cat >>conftest.$ac_ext <<_ACEOF
34813 /* end confdefs.h. */
34814
34815 #include <Xm/Xm.h>
34816
34817 int
34818 main ()
34819 {
34820
34821 #if !defined(LesstifVersion) || LesstifVersion <= 0
34822 Not Lesstif
34823 #endif
34824
34825 ;
34826 return 0;
34827 }
34828 _ACEOF
34829 rm -f conftest.$ac_objext
34830 if { (ac_try="$ac_compile"
34831 case "(($ac_try" in
34832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34833 *) ac_try_echo=$ac_try;;
34834 esac
34835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34836 (eval "$ac_compile") 2>conftest.er1
34837 ac_status=$?
34838 grep -v '^ *+' conftest.er1 >conftest.err
34839 rm -f conftest.er1
34840 cat conftest.err >&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } && {
34843 test -z "$ac_c_werror_flag" ||
34844 test ! -s conftest.err
34845 } && test -s conftest.$ac_objext; then
34846 wx_cv_lib_lesstif="yes"
34847 else
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34850
34851 wx_cv_lib_lesstif="no"
34852 fi
34853
34854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34855
34856 fi
34857 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34858 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34859 if test "$wx_cv_lib_lesstif" = "yes"; then
34860 cat >>confdefs.h <<\_ACEOF
34861 #define __WXLESSTIF__ 1
34862 _ACEOF
34863
34864 else
34865 cat >>confdefs.h <<\_ACEOF
34866 #define __WXLESSTIF__ 0
34867 _ACEOF
34868
34869 fi
34870
34871 CFLAGS=$save_CFLAGS
34872
34873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34874 TOOLKIT=MOTIF
34875 GUIDIST=MOTIF_DIST
34876 fi
34877
34878 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34879 if test "$wxUSE_LIBXPM" = "sys"; then
34880 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34881 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34882
34883 ac_find_libraries=
34884 for ac_dir in $SEARCH_LIB;
34885 do
34886 for ac_extension in a so sl dylib dll.a; do
34887 if test -f "$ac_dir/libXpm.$ac_extension"; then
34888 ac_find_libraries=$ac_dir
34889 break 2
34890 fi
34891 done
34892 done
34893
34894 if test "$ac_find_libraries" != "" ; then
34895
34896 if test "$ac_find_libraries" = "default location"; then
34897 ac_path_to_link=""
34898 else
34899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34900 result=$?
34901 if test $result = 0; then
34902 ac_path_to_link=""
34903 else
34904 ac_path_to_link=" -L$ac_find_libraries"
34905 fi
34906 fi
34907
34908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34909 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34910 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34911
34912 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34913 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34914 if test "${wx_cv_x11_xpm_h+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34917
34918 save_CFLAGS=$CFLAGS
34919 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34920
34921 cat >conftest.$ac_ext <<_ACEOF
34922 /* confdefs.h. */
34923 _ACEOF
34924 cat confdefs.h >>conftest.$ac_ext
34925 cat >>conftest.$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34927
34928 #include <X11/xpm.h>
34929
34930 int
34931 main ()
34932 {
34933
34934 int version;
34935 version = XpmLibraryVersion();
34936
34937 ;
34938 return 0;
34939 }
34940 _ACEOF
34941 rm -f conftest.$ac_objext
34942 if { (ac_try="$ac_compile"
34943 case "(($ac_try" in
34944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34945 *) ac_try_echo=$ac_try;;
34946 esac
34947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34948 (eval "$ac_compile") 2>conftest.er1
34949 ac_status=$?
34950 grep -v '^ *+' conftest.er1 >conftest.err
34951 rm -f conftest.er1
34952 cat conftest.err >&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); } && {
34955 test -z "$ac_c_werror_flag" ||
34956 test ! -s conftest.err
34957 } && test -s conftest.$ac_objext; then
34958 wx_cv_x11_xpm_h=yes
34959 else
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34962
34963 wx_cv_x11_xpm_h=no
34964
34965 fi
34966
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968
34969 CFLAGS=$save_CFLAGS
34970
34971
34972 fi
34973 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34975
34976 if test $wx_cv_x11_xpm_h = "yes"; then
34977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34978 cat >>confdefs.h <<\_ACEOF
34979 #define wxHAVE_LIB_XPM 1
34980 _ACEOF
34981
34982 else
34983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34985 fi
34986 fi
34987
34988 fi
34989
34990 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34993 echo $ECHO_N "(cached) $ECHO_C" >&6
34994 else
34995 ac_check_lib_save_LIBS=$LIBS
34996 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34997 cat >conftest.$ac_ext <<_ACEOF
34998 /* confdefs.h. */
34999 _ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003
35004 /* Override any GCC internal prototype to avoid an error.
35005 Use char because int might match the return type of a GCC
35006 builtin and then its argument prototype would still apply. */
35007 #ifdef __cplusplus
35008 extern "C"
35009 #endif
35010 char XShapeQueryExtension ();
35011 int
35012 main ()
35013 {
35014 return XShapeQueryExtension ();
35015 ;
35016 return 0;
35017 }
35018 _ACEOF
35019 rm -f conftest.$ac_objext conftest$ac_exeext
35020 if { (ac_try="$ac_link"
35021 case "(($ac_try" in
35022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35024 esac
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_link") 2>conftest.er1
35027 ac_status=$?
35028 grep -v '^ *+' conftest.er1 >conftest.err
35029 rm -f conftest.er1
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } && {
35033 test -z "$ac_c_werror_flag" ||
35034 test ! -s conftest.err
35035 } && test -s conftest$ac_exeext &&
35036 $as_test_x conftest$ac_exeext; then
35037 ac_cv_lib_Xext_XShapeQueryExtension=yes
35038 else
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35041
35042 ac_cv_lib_Xext_XShapeQueryExtension=no
35043 fi
35044
35045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35046 conftest$ac_exeext conftest.$ac_ext
35047 LIBS=$ac_check_lib_save_LIBS
35048 fi
35049 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35050 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35051 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35052
35053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35054 wxHAVE_XEXT_LIB=1
35055
35056 fi
35057
35058
35059 if test "$wxHAVE_XEXT_LIB" = 1; then
35060 save_CFLAGS="$CFLAGS"
35061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35062
35063 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35064 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35065 cat >conftest.$ac_ext <<_ACEOF
35066 /* confdefs.h. */
35067 _ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071
35072 #include <X11/Xlib.h>
35073 #include <X11/extensions/shape.h>
35074
35075 int
35076 main ()
35077 {
35078
35079 int dummy1, dummy2;
35080 XShapeQueryExtension((Display*)NULL,
35081 (int*)NULL, (int*)NULL);
35082
35083 ;
35084 return 0;
35085 }
35086 _ACEOF
35087 rm -f conftest.$ac_objext
35088 if { (ac_try="$ac_compile"
35089 case "(($ac_try" in
35090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35091 *) ac_try_echo=$ac_try;;
35092 esac
35093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35094 (eval "$ac_compile") 2>conftest.er1
35095 ac_status=$?
35096 grep -v '^ *+' conftest.er1 >conftest.err
35097 rm -f conftest.er1
35098 cat conftest.err >&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); } && {
35101 test -z "$ac_c_werror_flag" ||
35102 test ! -s conftest.err
35103 } && test -s conftest.$ac_objext; then
35104
35105 cat >>confdefs.h <<\_ACEOF
35106 #define HAVE_XSHAPE 1
35107 _ACEOF
35108
35109 { echo "$as_me:$LINENO: result: found" >&5
35110 echo "${ECHO_T}found" >&6; }
35111
35112 else
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.$ac_ext >&5
35115
35116
35117 { echo "$as_me:$LINENO: result: not found" >&5
35118 echo "${ECHO_T}not found" >&6; }
35119
35120 fi
35121
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 CFLAGS="$save_CFLAGS"
35124
35125 fi
35126 fi
35127
35128 if test "$wxUSE_MAC" = 1; then
35129 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35130 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35131 if test "$GCC" = yes; then
35132 { echo "$as_me:$LINENO: result: gcc" >&5
35133 echo "${ECHO_T}gcc" >&6; }
35134 CPPFLAGS_PASCAL="-fpascal-strings"
35135 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35136 { echo "$as_me:$LINENO: result: xlc" >&5
35137 echo "${ECHO_T}xlc" >&6; }
35138 CPPFLAGS_PASCAL="-qmacpstr"
35139 else
35140 { echo "$as_me:$LINENO: result: none" >&5
35141 echo "${ECHO_T}none" >&6; }
35142 fi
35143
35144 if test "x$wxUSE_UNIX" = "xyes"; then
35145 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35146 else
35147 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35148 fi
35149
35150 TOOLKIT=MAC
35151 GUIDIST=MACX_DIST
35152 WXBASEPORT="_carbon"
35153 fi
35154
35155 if test "$wxUSE_COCOA" = 1; then
35156 TOOLKIT=COCOA
35157 GUIDIST=COCOA_DIST
35158 fi
35159
35160 if test "$wxUSE_PM" = 1; then
35161 TOOLKIT=PM
35162 GUIDIST=PM_DIST
35163 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35164 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35165 if test "${wx_cv_spbcdata+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 else
35168
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175
35176 #define INCL_PM
35177 #include <os2.h>
35178
35179 int
35180 main ()
35181 {
35182
35183 SPBCDATA test;
35184
35185 ;
35186 return 0;
35187 }
35188 _ACEOF
35189 rm -f conftest.$ac_objext
35190 if { (ac_try="$ac_compile"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35193 *) ac_try_echo=$ac_try;;
35194 esac
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_compile") 2>conftest.er1
35197 ac_status=$?
35198 grep -v '^ *+' conftest.er1 >conftest.err
35199 rm -f conftest.er1
35200 cat conftest.err >&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); } && {
35203 test -z "$ac_c_werror_flag" ||
35204 test ! -s conftest.err
35205 } && test -s conftest.$ac_objext; then
35206 wx_cv_spbcdata=yes
35207 else
35208 echo "$as_me: failed program was:" >&5
35209 sed 's/^/| /' conftest.$ac_ext >&5
35210
35211 wx_cv_spbcdata=no
35212
35213 fi
35214
35215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35216
35217
35218 fi
35219 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35220 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35221
35222 if test $wx_cv_spbcdata = "yes"; then
35223 cat >>confdefs.h <<\_ACEOF
35224 #define HAVE_SPBCDATA 1
35225 _ACEOF
35226
35227 fi
35228 fi
35229
35230 if test "$TOOLKIT" = "PM" ; then
35231 TOOLKIT_DIR="os2"
35232 else
35233 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35234 fi
35235
35236 if test "$wxUSE_UNIVERSAL" = "yes"; then
35237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35238 WIDGET_SET=univ
35239 fi
35240
35241 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35242 DISTDIR="wx\$(TOOLKIT)"
35243 else
35244 USE_GUI=0
35245
35246 TOOLKIT_DIR="base"
35247
35248 if test "$USE_WIN32" = 1 ; then
35249 TOOLKIT="MSW"
35250 fi
35251
35252 GUIDIST="BASE_DIST"
35253 DISTDIR="wxBase"
35254 fi
35255
35256
35257
35258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35259 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35260 wxUSE_UNICODE_UTF8=yes
35261 elif test "$USE_OS2" = "1" ; then
35262 wxUSE_UNICODE_UTF8=yes
35263 else
35264 wxUSE_UNICODE_UTF8=no
35265 fi
35266 fi
35267
35268
35269 if test "$wxUSE_GUI" = "yes"; then
35270 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35271
35272 for ac_header in X11/Xlib.h
35273 do
35274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35278 echo $ECHO_N "(cached) $ECHO_C" >&6
35279 else
35280 cat >conftest.$ac_ext <<_ACEOF
35281 /* confdefs.h. */
35282 _ACEOF
35283 cat confdefs.h >>conftest.$ac_ext
35284 cat >>conftest.$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35286
35287
35288 #include <$ac_header>
35289 _ACEOF
35290 rm -f conftest.$ac_objext
35291 if { (ac_try="$ac_compile"
35292 case "(($ac_try" in
35293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35294 *) ac_try_echo=$ac_try;;
35295 esac
35296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35297 (eval "$ac_compile") 2>conftest.er1
35298 ac_status=$?
35299 grep -v '^ *+' conftest.er1 >conftest.err
35300 rm -f conftest.er1
35301 cat conftest.err >&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } && {
35304 test -z "$ac_c_werror_flag" ||
35305 test ! -s conftest.err
35306 } && test -s conftest.$ac_objext; then
35307 eval "$as_ac_Header=yes"
35308 else
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35311
35312 eval "$as_ac_Header=no"
35313 fi
35314
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316 fi
35317 ac_res=`eval echo '${'$as_ac_Header'}'`
35318 { echo "$as_me:$LINENO: result: $ac_res" >&5
35319 echo "${ECHO_T}$ac_res" >&6; }
35320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35321 cat >>confdefs.h <<_ACEOF
35322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35323 _ACEOF
35324
35325 fi
35326
35327 done
35328
35329
35330 for ac_header in X11/XKBlib.h
35331 do
35332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 else
35338 cat >conftest.$ac_ext <<_ACEOF
35339 /* confdefs.h. */
35340 _ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35344
35345 #if HAVE_X11_XLIB_H
35346 #include <X11/Xlib.h>
35347 #endif
35348
35349
35350 #include <$ac_header>
35351 _ACEOF
35352 rm -f conftest.$ac_objext
35353 if { (ac_try="$ac_compile"
35354 case "(($ac_try" in
35355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35356 *) ac_try_echo=$ac_try;;
35357 esac
35358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35359 (eval "$ac_compile") 2>conftest.er1
35360 ac_status=$?
35361 grep -v '^ *+' conftest.er1 >conftest.err
35362 rm -f conftest.er1
35363 cat conftest.err >&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } && {
35366 test -z "$ac_c_werror_flag" ||
35367 test ! -s conftest.err
35368 } && test -s conftest.$ac_objext; then
35369 eval "$as_ac_Header=yes"
35370 else
35371 echo "$as_me: failed program was:" >&5
35372 sed 's/^/| /' conftest.$ac_ext >&5
35373
35374 eval "$as_ac_Header=no"
35375 fi
35376
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 fi
35379 ac_res=`eval echo '${'$as_ac_Header'}'`
35380 { echo "$as_me:$LINENO: result: $ac_res" >&5
35381 echo "${ECHO_T}$ac_res" >&6; }
35382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35383 cat >>confdefs.h <<_ACEOF
35384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35385 _ACEOF
35386
35387 fi
35388
35389 done
35390
35391 fi
35392 fi
35393
35394
35395
35396 IODBC_C_SRC=""
35397
35398
35399 if test "$TOOLKIT" != "MSW" ; then
35400
35401 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35402
35403 { echo "$as_me:$LINENO: checking for sql.h" >&5
35404 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35405 if test "${ac_cv_header_sql_h+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35407 else
35408 cat >conftest.$ac_ext <<_ACEOF
35409 /* confdefs.h. */
35410 _ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35414
35415
35416 #include <sql.h>
35417 _ACEOF
35418 rm -f conftest.$ac_objext
35419 if { (ac_try="$ac_compile"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35423 esac
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_compile") 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest.$ac_objext; then
35435 ac_cv_header_sql_h=yes
35436 else
35437 echo "$as_me: failed program was:" >&5
35438 sed 's/^/| /' conftest.$ac_ext >&5
35439
35440 ac_cv_header_sql_h=no
35441 fi
35442
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35444 fi
35445 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35446 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35447 if test $ac_cv_header_sql_h = yes; then
35448 found_sql_h=1
35449 fi
35450
35451
35452 if test "x$found_sql_h" = "x1" ; then
35453 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35454 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35455 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35456 echo $ECHO_N "(cached) $ECHO_C" >&6
35457 else
35458 ac_check_lib_save_LIBS=$LIBS
35459 LIBS="-liodbc $LIBS"
35460 cat >conftest.$ac_ext <<_ACEOF
35461 /* confdefs.h. */
35462 _ACEOF
35463 cat confdefs.h >>conftest.$ac_ext
35464 cat >>conftest.$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35466
35467 /* Override any GCC internal prototype to avoid an error.
35468 Use char because int might match the return type of a GCC
35469 builtin and then its argument prototype would still apply. */
35470 #ifdef __cplusplus
35471 extern "C"
35472 #endif
35473 char SQLAllocEnv ();
35474 int
35475 main ()
35476 {
35477 return SQLAllocEnv ();
35478 ;
35479 return 0;
35480 }
35481 _ACEOF
35482 rm -f conftest.$ac_objext conftest$ac_exeext
35483 if { (ac_try="$ac_link"
35484 case "(($ac_try" in
35485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35486 *) ac_try_echo=$ac_try;;
35487 esac
35488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35489 (eval "$ac_link") 2>conftest.er1
35490 ac_status=$?
35491 grep -v '^ *+' conftest.er1 >conftest.err
35492 rm -f conftest.er1
35493 cat conftest.err >&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } && {
35496 test -z "$ac_c_werror_flag" ||
35497 test ! -s conftest.err
35498 } && test -s conftest$ac_exeext &&
35499 $as_test_x conftest$ac_exeext; then
35500 ac_cv_lib_iodbc_SQLAllocEnv=yes
35501 else
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35504
35505 ac_cv_lib_iodbc_SQLAllocEnv=no
35506 fi
35507
35508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35509 conftest$ac_exeext conftest.$ac_ext
35510 LIBS=$ac_check_lib_save_LIBS
35511 fi
35512 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35513 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35514 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35515 ODBC_LINK=" -liodbc"
35516 else
35517
35518 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35519 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35520 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35522 else
35523 ac_check_lib_save_LIBS=$LIBS
35524 LIBS="-lunixodbc $LIBS"
35525 cat >conftest.$ac_ext <<_ACEOF
35526 /* confdefs.h. */
35527 _ACEOF
35528 cat confdefs.h >>conftest.$ac_ext
35529 cat >>conftest.$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35531
35532 /* Override any GCC internal prototype to avoid an error.
35533 Use char because int might match the return type of a GCC
35534 builtin and then its argument prototype would still apply. */
35535 #ifdef __cplusplus
35536 extern "C"
35537 #endif
35538 char SQLAllocEnv ();
35539 int
35540 main ()
35541 {
35542 return SQLAllocEnv ();
35543 ;
35544 return 0;
35545 }
35546 _ACEOF
35547 rm -f conftest.$ac_objext conftest$ac_exeext
35548 if { (ac_try="$ac_link"
35549 case "(($ac_try" in
35550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35551 *) ac_try_echo=$ac_try;;
35552 esac
35553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35554 (eval "$ac_link") 2>conftest.er1
35555 ac_status=$?
35556 grep -v '^ *+' conftest.er1 >conftest.err
35557 rm -f conftest.er1
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } && {
35561 test -z "$ac_c_werror_flag" ||
35562 test ! -s conftest.err
35563 } && test -s conftest$ac_exeext &&
35564 $as_test_x conftest$ac_exeext; then
35565 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35566 else
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570 ac_cv_lib_unixodbc_SQLAllocEnv=no
35571 fi
35572
35573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35574 conftest$ac_exeext conftest.$ac_ext
35575 LIBS=$ac_check_lib_save_LIBS
35576 fi
35577 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35578 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35579 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35580 ODBC_LINK=" -lunixodbc"
35581 else
35582
35583 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35584 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35585 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35588 ac_check_lib_save_LIBS=$LIBS
35589 LIBS="-lodbc $LIBS"
35590 cat >conftest.$ac_ext <<_ACEOF
35591 /* confdefs.h. */
35592 _ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35596
35597 /* Override any GCC internal prototype to avoid an error.
35598 Use char because int might match the return type of a GCC
35599 builtin and then its argument prototype would still apply. */
35600 #ifdef __cplusplus
35601 extern "C"
35602 #endif
35603 char SQLAllocEnv ();
35604 int
35605 main ()
35606 {
35607 return SQLAllocEnv ();
35608 ;
35609 return 0;
35610 }
35611 _ACEOF
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35617 esac
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>conftest.er1
35620 ac_status=$?
35621 grep -v '^ *+' conftest.er1 >conftest.err
35622 rm -f conftest.er1
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_c_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest$ac_exeext &&
35629 $as_test_x conftest$ac_exeext; then
35630 ac_cv_lib_odbc_SQLAllocEnv=yes
35631 else
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35634
35635 ac_cv_lib_odbc_SQLAllocEnv=no
35636 fi
35637
35638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35639 conftest$ac_exeext conftest.$ac_ext
35640 LIBS=$ac_check_lib_save_LIBS
35641 fi
35642 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35643 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35644 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35645 ODBC_LINK=" -lodbc"
35646 fi
35647
35648
35649 fi
35650
35651
35652 fi
35653
35654 fi
35655 if test "x$ODBC_LINK" = "x" ; then
35656 if test "$wxUSE_ODBC" = "sys" ; then
35657 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35658 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35659 { (exit 1); exit 1; }; }
35660 else
35661 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35662 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35663 wxUSE_ODBC=builtin
35664 fi
35665 else
35666 wxUSE_ODBC=sys
35667 fi
35668 fi
35669
35670 if test "$wxUSE_ODBC" = "builtin" ; then
35671 cat >>confdefs.h <<\_ACEOF
35672 #define wxUSE_BUILTIN_IODBC 1
35673 _ACEOF
35674
35675 fi
35676 fi
35677
35678 if test "$wxUSE_ODBC" != "no" ; then
35679 cat >>confdefs.h <<\_ACEOF
35680 #define wxUSE_ODBC 1
35681 _ACEOF
35682
35683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35684
35685 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35686 fi
35687
35688
35689 if test "$wxUSE_DISPLAY" = "yes"; then
35690 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35691 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35692 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35693
35694 ac_find_libraries=
35695 for ac_dir in $SEARCH_LIB;
35696 do
35697 for ac_extension in a so sl dylib dll.a; do
35698 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35699 ac_find_libraries=$ac_dir
35700 break 2
35701 fi
35702 done
35703 done
35704
35705 if test "$ac_find_libraries" != "" ; then
35706
35707 if test "$ac_find_libraries" = "default location"; then
35708 ac_path_to_link=""
35709 else
35710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35711 result=$?
35712 if test $result = 0; then
35713 ac_path_to_link=""
35714 else
35715 ac_path_to_link=" -L$ac_find_libraries"
35716 fi
35717 fi
35718
35719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35720 LDFLAGS="$LDFLAGS $ac_path_to_link"
35721 fi
35722 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35723 { echo "$as_me:$LINENO: result: yes" >&5
35724 echo "${ECHO_T}yes" >&6; }
35725
35726 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35727 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35728
35729 ac_find_libraries=
35730 for ac_dir in $SEARCH_LIB;
35731 do
35732 for ac_extension in a so sl dylib dll.a; do
35733 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35734 ac_find_libraries=$ac_dir
35735 break 2
35736 fi
35737 done
35738 done
35739
35740 if test "$ac_find_libraries" != "" ; then
35741 { echo "$as_me:$LINENO: result: yes" >&5
35742 echo "${ECHO_T}yes" >&6; }
35743
35744 for ac_header in X11/extensions/xf86vmode.h
35745 do
35746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35751 else
35752 cat >conftest.$ac_ext <<_ACEOF
35753 /* confdefs.h. */
35754 _ACEOF
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h. */
35758
35759 #if HAVE_X11_XLIB_H
35760 #include <X11/Xlib.h>
35761 #endif
35762
35763
35764 #include <$ac_header>
35765 _ACEOF
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35771 esac
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.$ac_objext; then
35783 eval "$as_ac_Header=yes"
35784 else
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35787
35788 eval "$as_ac_Header=no"
35789 fi
35790
35791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35792 fi
35793 ac_res=`eval echo '${'$as_ac_Header'}'`
35794 { echo "$as_me:$LINENO: result: $ac_res" >&5
35795 echo "${ECHO_T}$ac_res" >&6; }
35796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35797 cat >>confdefs.h <<_ACEOF
35798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35799 _ACEOF
35800
35801 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35802
35803 fi
35804
35805 done
35806
35807 else
35808 { echo "$as_me:$LINENO: result: no" >&5
35809 echo "${ECHO_T}no" >&6; }
35810 fi
35811
35812 else
35813 { echo "$as_me:$LINENO: result: no" >&5
35814 echo "${ECHO_T}no" >&6; }
35815 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35816 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35817 wxUSE_DISPLAY="no"
35818 fi
35819 elif test "$wxUSE_MSW" = 1; then
35820 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35821 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35822 if test "${ac_cv_header_ddraw_h+set}" = set; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 else
35825 cat >conftest.$ac_ext <<_ACEOF
35826 /* confdefs.h. */
35827 _ACEOF
35828 cat confdefs.h >>conftest.$ac_ext
35829 cat >>conftest.$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35831 #include <windows.h>
35832
35833 #include <ddraw.h>
35834 _ACEOF
35835 rm -f conftest.$ac_objext
35836 if { (ac_try="$ac_compile"
35837 case "(($ac_try" in
35838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35839 *) ac_try_echo=$ac_try;;
35840 esac
35841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35842 (eval "$ac_compile") 2>conftest.er1
35843 ac_status=$?
35844 grep -v '^ *+' conftest.er1 >conftest.err
35845 rm -f conftest.er1
35846 cat conftest.err >&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); } && {
35849 test -z "$ac_c_werror_flag" ||
35850 test ! -s conftest.err
35851 } && test -s conftest.$ac_objext; then
35852 ac_cv_header_ddraw_h=yes
35853 else
35854 echo "$as_me: failed program was:" >&5
35855 sed 's/^/| /' conftest.$ac_ext >&5
35856
35857 ac_cv_header_ddraw_h=no
35858 fi
35859
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861 fi
35862 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35863 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35864
35865
35866 fi
35867 fi
35868
35869 if test "$wxUSE_DETECT_SM" = "yes"; then
35870 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35871 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35872 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35873
35874 ac_find_libraries=
35875 for ac_dir in $SEARCH_LIB;
35876 do
35877 for ac_extension in a so sl dylib dll.a; do
35878 if test -f "$ac_dir/libSM.$ac_extension"; then
35879 ac_find_libraries=$ac_dir
35880 break 2
35881 fi
35882 done
35883 done
35884
35885 if test "$ac_find_libraries" != "" ; then
35886
35887 if test "$ac_find_libraries" = "default location"; then
35888 ac_path_to_link=""
35889 else
35890 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35891 result=$?
35892 if test $result = 0; then
35893 ac_path_to_link=""
35894 else
35895 ac_path_to_link=" -L$ac_find_libraries"
35896 fi
35897 fi
35898
35899 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35900 LDFLAGS="$LDFLAGS $ac_path_to_link"
35901 fi
35902 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35903 { echo "$as_me:$LINENO: result: yes" >&5
35904 echo "${ECHO_T}yes" >&6; }
35905 else
35906 { echo "$as_me:$LINENO: result: no" >&5
35907 echo "${ECHO_T}no" >&6; }
35908 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35909 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35910 wxUSE_DETECT_SM="no"
35911 fi
35912 else
35913 wxUSE_DETECT_SM="no"
35914 fi
35915 fi
35916
35917
35918
35919 USE_OPENGL=0
35920 if test "$wxUSE_OPENGL" = "yes"; then
35921 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35922 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35923 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35924 wxUSE_OPENGL="no"
35925 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35926 OPENGL_LIBS="-framework OpenGL -framework AGL"
35927 elif test "$wxUSE_MSW" = 1; then
35928 OPENGL_LIBS="-lopengl32 -lglu32"
35929 else
35930 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35931 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35932
35933 ac_find_includes=
35934 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35935 do
35936 if test -f "$ac_dir/GL/gl.h"; then
35937 ac_find_includes=$ac_dir
35938 break
35939 fi
35940 done
35941
35942 if test "$ac_find_includes" != "" ; then
35943 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35944 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35945
35946 if test "x$ac_find_includes" = "x/usr/include"; then
35947 ac_path_to_include=""
35948 else
35949 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35950 result=$?
35951 if test $result = 0; then
35952 ac_path_to_include=""
35953 else
35954 ac_path_to_include=" -I$ac_find_includes"
35955 fi
35956 fi
35957
35958 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35959 else
35960 { echo "$as_me:$LINENO: result: not found" >&5
35961 echo "${ECHO_T}not found" >&6; }
35962 fi
35963
35964 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35965 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35966 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35967 echo $ECHO_N "(cached) $ECHO_C" >&6
35968 else
35969 cat >conftest.$ac_ext <<_ACEOF
35970 /* confdefs.h. */
35971 _ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35975
35976
35977 #include <GL/gl.h>
35978 _ACEOF
35979 rm -f conftest.$ac_objext
35980 if { (ac_try="$ac_compile"
35981 case "(($ac_try" in
35982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35983 *) ac_try_echo=$ac_try;;
35984 esac
35985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35986 (eval "$ac_compile") 2>conftest.er1
35987 ac_status=$?
35988 grep -v '^ *+' conftest.er1 >conftest.err
35989 rm -f conftest.er1
35990 cat conftest.err >&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); } && {
35993 test -z "$ac_c_werror_flag" ||
35994 test ! -s conftest.err
35995 } && test -s conftest.$ac_objext; then
35996 ac_cv_header_GL_gl_h=yes
35997 else
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36000
36001 ac_cv_header_GL_gl_h=no
36002 fi
36003
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005 fi
36006 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36007 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36008 if test $ac_cv_header_GL_gl_h = yes; then
36009
36010 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36011 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36012 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36015 cat >conftest.$ac_ext <<_ACEOF
36016 /* confdefs.h. */
36017 _ACEOF
36018 cat confdefs.h >>conftest.$ac_ext
36019 cat >>conftest.$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36021
36022
36023 #include <GL/glu.h>
36024 _ACEOF
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36030 esac
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_c_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042 ac_cv_header_GL_glu_h=yes
36043 else
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047 ac_cv_header_GL_glu_h=no
36048 fi
36049
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36051 fi
36052 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36053 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36054 if test $ac_cv_header_GL_glu_h = yes; then
36055
36056 found_gl=0
36057
36058 { echo "$as_me:$LINENO: checking for -lGL" >&5
36059 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36060
36061 ac_find_libraries=
36062 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36063 do
36064 for ac_extension in a so sl dylib dll.a; do
36065 if test -f "$ac_dir/libGL.$ac_extension"; then
36066 ac_find_libraries=$ac_dir
36067 break 2
36068 fi
36069 done
36070 done
36071
36072 if test "$ac_find_libraries" != "" ; then
36073 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36074 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36075
36076
36077 if test "$ac_find_libraries" = "default location"; then
36078 ac_path_to_link=""
36079 else
36080 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36081 result=$?
36082 if test $result = 0; then
36083 ac_path_to_link=""
36084 else
36085 ac_path_to_link=" -L$ac_find_libraries"
36086 fi
36087 fi
36088
36089 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36090 LDFLAGS_GL="$ac_path_to_link"
36091 fi
36092
36093 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36094 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36095
36096 ac_find_libraries=
36097 for ac_dir in $SEARCH_LIB;
36098 do
36099 for ac_extension in a so sl dylib dll.a; do
36100 if test -f "$ac_dir/libGLU.$ac_extension"; then
36101 ac_find_libraries=$ac_dir
36102 break 2
36103 fi
36104 done
36105 done
36106
36107 if test "$ac_find_libraries" != "" ; then
36108
36109 if test "$ac_find_libraries" = "default location"; then
36110 ac_path_to_link=""
36111 else
36112 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36113 result=$?
36114 if test $result = 0; then
36115 ac_path_to_link=""
36116 else
36117 ac_path_to_link=" -L$ac_find_libraries"
36118 fi
36119 fi
36120
36121 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36122 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36123 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36124 fi
36125
36126 found_gl=1
36127 OPENGL_LIBS="-lGL -lGLU"
36128 { echo "$as_me:$LINENO: result: yes" >&5
36129 echo "${ECHO_T}yes" >&6; }
36130 else
36131 { echo "$as_me:$LINENO: result: no" >&5
36132 echo "${ECHO_T}no" >&6; }
36133 fi
36134 else
36135 { echo "$as_me:$LINENO: result: no" >&5
36136 echo "${ECHO_T}no" >&6; }
36137 fi
36138
36139 if test "$found_gl" != 1; then
36140 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36141 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36142
36143 ac_find_libraries=
36144 for ac_dir in $SEARCH_LIB;
36145 do
36146 for ac_extension in a so sl dylib dll.a; do
36147 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36148 ac_find_libraries=$ac_dir
36149 break 2
36150 fi
36151 done
36152 done
36153
36154 if test "$ac_find_libraries" != "" ; then
36155
36156 if test "$ac_find_libraries" = "default location"; then
36157 ac_path_to_link=""
36158 else
36159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36160 result=$?
36161 if test $result = 0; then
36162 ac_path_to_link=""
36163 else
36164 ac_path_to_link=" -L$ac_find_libraries"
36165 fi
36166 fi
36167
36168 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36169 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36170 { echo "$as_me:$LINENO: result: yes" >&5
36171 echo "${ECHO_T}yes" >&6; }
36172 else
36173 { echo "$as_me:$LINENO: result: no" >&5
36174 echo "${ECHO_T}no" >&6; }
36175 fi
36176 fi
36177
36178 fi
36179
36180
36181
36182 fi
36183
36184
36185
36186 if test "x$OPENGL_LIBS" = "x"; then
36187 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36188 echo "$as_me: error: OpenGL libraries not available" >&2;}
36189 { (exit 1); exit 1; }; }
36190 fi
36191 fi
36192
36193 if test "$wxUSE_OPENGL" = "yes"; then
36194 USE_OPENGL=1
36195 cat >>confdefs.h <<\_ACEOF
36196 #define wxUSE_OPENGL 1
36197 _ACEOF
36198
36199 cat >>confdefs.h <<\_ACEOF
36200 #define wxUSE_GLCANVAS 1
36201 _ACEOF
36202
36203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36204 fi
36205 fi
36206
36207
36208 if test -n "$TOOLKIT" ; then
36209 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36210 fi
36211
36212
36213
36214 if test "$wxUSE_SHARED" = "yes"; then
36215 case "${host}" in
36216 *-pc-msdosdjgpp )
36217 wxUSE_SHARED=no
36218 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36219 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36220 ;;
36221 esac
36222 fi
36223
36224 if test "$wxUSE_SHARED" = "yes"; then
36225
36226
36227 case "${host}" in
36228 *-*-cygwin* | *-*-mingw* )
36229 wx_cv_version_script=no
36230 ;;
36231
36232 *)
36233 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36234 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36235 if test "${wx_cv_version_script+set}" = set; then
36236 echo $ECHO_N "(cached) $ECHO_C" >&6
36237 else
36238
36239 echo "VER_1 { *; };" >conftest.sym
36240 echo "int main() { return 0; }" >conftest.cpp
36241
36242 if { ac_try='
36243 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36244 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } ; then
36250 if test -s conftest.stderr ; then
36251 wx_cv_version_script=no
36252 else
36253 wx_cv_version_script=yes
36254 fi
36255 else
36256 wx_cv_version_script=no
36257 fi
36258
36259 if test $wx_cv_version_script = yes
36260 then
36261 echo "struct B { virtual ~B() { } }; \
36262 struct D : public B { }; \
36263 void F() { D d; }" > conftest.cpp
36264
36265 if { ac_try='
36266 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36267 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36270 ac_status=$?
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; } &&
36273 { ac_try='
36274 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36275 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36277 (eval $ac_try) 2>&5
36278 ac_status=$?
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); }; }
36281 then
36282 if { ac_try='
36283 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36284 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286 (eval $ac_try) 2>&5
36287 ac_status=$?
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); }; }
36290 then
36291 wx_cv_version_script=yes
36292 else
36293 wx_cv_version_script=no
36294 fi
36295 fi
36296 fi
36297
36298 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36299 rm -f conftest1.output conftest2.output conftest3.output
36300
36301 fi
36302 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36303 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36304
36305 if test $wx_cv_version_script = yes ; then
36306 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36307 fi
36308 ;;
36309 esac
36310
36311
36312 if test "$wxUSE_VISIBILITY" != "no"; then
36313
36314
36315 if test -n "$GCC"; then
36316 CFLAGS_VISIBILITY="-fvisibility=hidden"
36317 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36318 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36319 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36320 if test "${wx_cv_cc_visibility+set}" = set; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323
36324 wx_save_CXXFLAGS="$CXXFLAGS"
36325 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36326 ac_ext=cpp
36327 ac_cpp='$CXXCPP $CPPFLAGS'
36328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36331
36332 cat >conftest.$ac_ext <<_ACEOF
36333 /* confdefs.h. */
36334 _ACEOF
36335 cat confdefs.h >>conftest.$ac_ext
36336 cat >>conftest.$ac_ext <<_ACEOF
36337 /* end confdefs.h. */
36338
36339 /* we need gcc >= 4.0, older versions with visibility support
36340 didn't have class visibility: */
36341 #if defined(__GNUC__) && __GNUC__ < 4
36342 error this gcc is too old;
36343 #endif
36344
36345 /* visibility only makes sense for ELF shared libs: */
36346 #if !defined(__ELF__) && !defined(__APPLE__)
36347 error this platform has no visibility;
36348 #endif
36349
36350 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36351 extern __attribute__((__visibility__("default"))) int exportedvar;
36352 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36353 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36354 class __attribute__((__visibility__("default"))) Foo {
36355 Foo() {}
36356 };
36357
36358 int
36359 main ()
36360 {
36361
36362 ;
36363 return 0;
36364 }
36365 _ACEOF
36366 rm -f conftest.$ac_objext
36367 if { (ac_try="$ac_compile"
36368 case "(($ac_try" in
36369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36370 *) ac_try_echo=$ac_try;;
36371 esac
36372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36373 (eval "$ac_compile") 2>conftest.er1
36374 ac_status=$?
36375 grep -v '^ *+' conftest.er1 >conftest.err
36376 rm -f conftest.er1
36377 cat conftest.err >&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } && {
36380 test -z "$ac_cxx_werror_flag" ||
36381 test ! -s conftest.err
36382 } && test -s conftest.$ac_objext; then
36383 wx_cv_cc_visibility=yes
36384 else
36385 echo "$as_me: failed program was:" >&5
36386 sed 's/^/| /' conftest.$ac_ext >&5
36387
36388 wx_cv_cc_visibility=no
36389 fi
36390
36391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36392 ac_ext=c
36393 ac_cpp='$CPP $CPPFLAGS'
36394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36397
36398 CXXFLAGS="$wx_save_CXXFLAGS"
36399 fi
36400
36401 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36402 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36403 if test $wx_cv_cc_visibility = yes; then
36404 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36405 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36406 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36408 else
36409
36410 wx_save_CXXFLAGS="$CXXFLAGS"
36411 wx_save_LDFLAGS="$LDFLAGS"
36412 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36413 LDFLAGS="$LDFLAGS -shared -fPIC"
36414 ac_ext=cpp
36415 ac_cpp='$CXXCPP $CPPFLAGS'
36416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36419
36420 cat >conftest.$ac_ext <<_ACEOF
36421 /* confdefs.h. */
36422 _ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426
36427 #include <string>
36428
36429 int
36430 main ()
36431 {
36432
36433 std::string s("hello");
36434 return s.length();
36435
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 rm -f conftest.$ac_objext conftest$ac_exeext
36441 if { (ac_try="$ac_link"
36442 case "(($ac_try" in
36443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36444 *) ac_try_echo=$ac_try;;
36445 esac
36446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36447 (eval "$ac_link") 2>conftest.er1
36448 ac_status=$?
36449 grep -v '^ *+' conftest.er1 >conftest.err
36450 rm -f conftest.er1
36451 cat conftest.err >&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } && {
36454 test -z "$ac_cxx_werror_flag" ||
36455 test ! -s conftest.err
36456 } && test -s conftest$ac_exeext &&
36457 $as_test_x conftest$ac_exeext; then
36458 wx_cv_cc_broken_libstdcxx_visibility=no
36459 else
36460 echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.$ac_ext >&5
36462
36463 wx_cv_cc_broken_libstdcxx_visibility=yes
36464 fi
36465
36466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36467 conftest$ac_exeext conftest.$ac_ext
36468 ac_ext=c
36469 ac_cpp='$CPP $CPPFLAGS'
36470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36473
36474 CXXFLAGS="$wx_save_CXXFLAGS"
36475 LDFLAGS="$wx_save_LDFLAGS"
36476 fi
36477
36478 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36479 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36480
36481 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36482 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36483 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36484 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36485 echo $ECHO_N "(cached) $ECHO_C" >&6
36486 else
36487
36488 ac_ext=cpp
36489 ac_cpp='$CXXCPP $CPPFLAGS'
36490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36493
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500
36501 #pragma GCC visibility push(default)
36502 #include <string>
36503 #pragma GCC visibility pop
36504
36505 int
36506 main ()
36507 {
36508
36509 std::string s("hello");
36510 return s.length();
36511
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (ac_try="$ac_link"
36518 case "(($ac_try" in
36519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36520 *) ac_try_echo=$ac_try;;
36521 esac
36522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36523 (eval "$ac_link") 2>conftest.er1
36524 ac_status=$?
36525 grep -v '^ *+' conftest.er1 >conftest.err
36526 rm -f conftest.er1
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } && {
36530 test -z "$ac_cxx_werror_flag" ||
36531 test ! -s conftest.err
36532 } && test -s conftest$ac_exeext &&
36533 $as_test_x conftest$ac_exeext; then
36534 wx_cv_cc_visibility_workaround=no
36535 else
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.$ac_ext >&5
36538
36539 wx_cv_cc_visibility_workaround=yes
36540 fi
36541
36542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36543 conftest$ac_exeext conftest.$ac_ext
36544 ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36549
36550
36551 fi
36552
36553 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36554 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36555
36556 if test $wx_cv_cc_visibility_workaround = no; then
36557 wx_cv_cc_visibility=no
36558 fi
36559 fi
36560 fi
36561
36562 if test $wx_cv_cc_visibility = yes; then
36563 cat >>confdefs.h <<\_ACEOF
36564 #define HAVE_VISIBILITY 1
36565 _ACEOF
36566
36567 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36568 cat >>confdefs.h <<\_ACEOF
36569 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36570 _ACEOF
36571
36572 fi
36573 else
36574 CFLAGS_VISIBILITY=""
36575 CXXFLAGS_VISIBILITY=""
36576 fi
36577
36578
36579 fi
36580
36581 fi
36582
36583 if test "x$SUNCXX" = xyes; then
36584 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36585 WXCONFIG_RPATH="-R\$libdir"
36586 else
36587 case "${host}" in
36588 *-*-linux* | *-*-gnu* )
36589 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36590 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36591 ;;
36592
36593 *-*-solaris2* )
36594
36595 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36596
36597 saveLdflags="$LDFLAGS"
36598 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36599 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36600 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36601 cat >conftest.$ac_ext <<_ACEOF
36602 /* confdefs.h. */
36603 _ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36607
36608 int
36609 main ()
36610 {
36611
36612 ;
36613 return 0;
36614 }
36615 _ACEOF
36616 rm -f conftest.$ac_objext conftest$ac_exeext
36617 if { (ac_try="$ac_link"
36618 case "(($ac_try" in
36619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36620 *) ac_try_echo=$ac_try;;
36621 esac
36622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36623 (eval "$ac_link") 2>conftest.er1
36624 ac_status=$?
36625 grep -v '^ *+' conftest.er1 >conftest.err
36626 rm -f conftest.er1
36627 cat conftest.err >&5
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); } && {
36630 test -z "$ac_c_werror_flag" ||
36631 test ! -s conftest.err
36632 } && test -s conftest$ac_exeext &&
36633 $as_test_x conftest$ac_exeext; then
36634
36635 { echo "$as_me:$LINENO: result: yes" >&5
36636 echo "${ECHO_T}yes" >&6; }
36637 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36638 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36639
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36643
36644
36645 { echo "$as_me:$LINENO: result: no" >&5
36646 echo "${ECHO_T}no" >&6; }
36647 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36648 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36649 LDFLAGS="$saveLdflags -Wl,-R,/"
36650 cat >conftest.$ac_ext <<_ACEOF
36651 /* confdefs.h. */
36652 _ACEOF
36653 cat confdefs.h >>conftest.$ac_ext
36654 cat >>conftest.$ac_ext <<_ACEOF
36655 /* end confdefs.h. */
36656
36657 int
36658 main ()
36659 {
36660
36661 ;
36662 return 0;
36663 }
36664 _ACEOF
36665 rm -f conftest.$ac_objext conftest$ac_exeext
36666 if { (ac_try="$ac_link"
36667 case "(($ac_try" in
36668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36669 *) ac_try_echo=$ac_try;;
36670 esac
36671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36672 (eval "$ac_link") 2>conftest.er1
36673 ac_status=$?
36674 grep -v '^ *+' conftest.er1 >conftest.err
36675 rm -f conftest.er1
36676 cat conftest.err >&5
36677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 (exit $ac_status); } && {
36679 test -z "$ac_c_werror_flag" ||
36680 test ! -s conftest.err
36681 } && test -s conftest$ac_exeext &&
36682 $as_test_x conftest$ac_exeext; then
36683
36684 { echo "$as_me:$LINENO: result: yes" >&5
36685 echo "${ECHO_T}yes" >&6; }
36686 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36687 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36688
36689 else
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.$ac_ext >&5
36692
36693
36694 { echo "$as_me:$LINENO: result: no" >&5
36695 echo "${ECHO_T}no" >&6; }
36696
36697 fi
36698
36699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36700 conftest$ac_exeext conftest.$ac_ext
36701
36702 fi
36703
36704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36705 conftest$ac_exeext conftest.$ac_ext
36706 LDFLAGS="$saveLdflags"
36707 ;;
36708
36709 *-*-darwin* )
36710 install_name_tool=`which install_name_tool`
36711 if test "$install_name_tool" -a -x "$install_name_tool"; then
36712 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36713 cat <<EOF >change-install-names
36714 #!/bin/sh
36715 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36716 inst_cmd="install_name_tool "
36717 for i in \${libnames} ; do
36718 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36719 done
36720 \${inst_cmd} \${3}
36721 EOF
36722 chmod +x change-install-names
36723 fi
36724 ;;
36725
36726 *-*-cygwin* | *-*-mingw32* )
36727 ;;
36728
36729 *-*-hpux* )
36730 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36731 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36732 ;;
36733
36734 esac
36735 fi
36736
36737 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36738
36739 if test $wxUSE_RPATH = "no"; then
36740 SAMPLES_RPATH_FLAG=''
36741 SAMPLES_RPATH_POSTLINK=''
36742 WXCONFIG_RPATH=''
36743 fi
36744
36745 SHARED=1
36746
36747 else
36748
36749 config_linkage_component="-static"
36750 SHARED=0
36751
36752 fi
36753
36754
36755 UNICODE=0
36756 lib_unicode_suffix=
36757 WX_CHARTYPE="ansi"
36758 if test "$wxUSE_UNICODE" = "yes"; then
36759 lib_unicode_suffix=u
36760 WX_CHARTYPE="unicode"
36761 UNICODE=1
36762 fi
36763
36764 lib_debug_suffix=
36765 WX_DEBUGTYPE="release"
36766 DEBUG_FLAG=0
36767 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36768 lib_debug_suffix=d
36769 WX_DEBUGTYPE="debug"
36770 DEBUG_FLAG=1
36771 fi
36772
36773 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36774 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36775
36776 DEBUG_INFO=0
36777 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36778 DEBUG_INFO=1
36779 fi
36780
36781 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36782
36783 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36784
36785 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36786
36787 if test "$cross_compiling" = "yes"; then
36788 HOST_SUFFIX="-$host_alias"
36789 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36790 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36791 fi
36792
36793 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36794 if test "${TOOLKIT_DIR}" = "os2"; then
36795 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36796 else
36797 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36798 fi
36799
36800
36801
36802 if test "$wxUSE_COCOA" = 1; then
36803
36804 ac_ext=c
36805 ac_cpp='$CPP $CPPFLAGS'
36806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36809
36810 ac_ext=m
36811
36812 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36813 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h. */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820 #include <AppKit/NSEvent.h>
36821 #include <CoreFoundation/CoreFoundation.h>
36822
36823 int
36824 main ()
36825 {
36826
36827 ;
36828 return 0;
36829 }
36830 _ACEOF
36831 rm -f conftest.$ac_objext
36832 if { (ac_try="$ac_compile"
36833 case "(($ac_try" in
36834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36835 *) ac_try_echo=$ac_try;;
36836 esac
36837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36838 (eval "$ac_compile") 2>conftest.er1
36839 ac_status=$?
36840 grep -v '^ *+' conftest.er1 >conftest.err
36841 rm -f conftest.er1
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } && {
36845 test -z "$ac_c_werror_flag" ||
36846 test ! -s conftest.err
36847 } && test -s conftest.$ac_objext; then
36848 { echo "$as_me:$LINENO: result: no" >&5
36849 echo "${ECHO_T}no" >&6; }
36850 else
36851 echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.$ac_ext >&5
36853
36854 { echo "$as_me:$LINENO: result: yes" >&5
36855 echo "${ECHO_T}yes" >&6; }
36856 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36857 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36858 cat >conftest.$ac_ext <<_ACEOF
36859 /* confdefs.h. */
36860 _ACEOF
36861 cat confdefs.h >>conftest.$ac_ext
36862 cat >>conftest.$ac_ext <<_ACEOF
36863 /* end confdefs.h. */
36864 #define __Point__ 1
36865 #include <AppKit/NSEvent.h>
36866 #include <CoreFoundation/CoreFoundation.h>
36867
36868 int
36869 main ()
36870 {
36871
36872 ;
36873 return 0;
36874 }
36875 _ACEOF
36876 rm -f conftest.$ac_objext
36877 if { (ac_try="$ac_compile"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36880 *) ac_try_echo=$ac_try;;
36881 esac
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_compile") 2>conftest.er1
36884 ac_status=$?
36885 grep -v '^ *+' conftest.er1 >conftest.err
36886 rm -f conftest.er1
36887 cat conftest.err >&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest.$ac_objext; then
36893 { echo "$as_me:$LINENO: result: yes" >&5
36894 echo "${ECHO_T}yes" >&6; }
36895 cat >>confdefs.h <<\_ACEOF
36896 #define __Point__ 1
36897 _ACEOF
36898
36899
36900 else
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36903
36904 { { echo "$as_me:$LINENO: error: no
36905 See \`config.log' for more details." >&5
36906 echo "$as_me: error: no
36907 See \`config.log' for more details." >&2;}
36908 { (exit 1); exit 1; }; }
36909
36910 fi
36911
36912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36913
36914 fi
36915
36916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36917 ac_ext=c
36918 ac_cpp='$CPP $CPPFLAGS'
36919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36922
36923 fi
36924
36925
36926 { echo "$as_me:$LINENO: checking for mode_t" >&5
36927 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36928 if test "${ac_cv_type_mode_t+set}" = set; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36930 else
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36938 typedef mode_t ac__type_new_;
36939 int
36940 main ()
36941 {
36942 if ((ac__type_new_ *) 0)
36943 return 0;
36944 if (sizeof (ac__type_new_))
36945 return 0;
36946 ;
36947 return 0;
36948 }
36949 _ACEOF
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36955 esac
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36958 ac_status=$?
36959 grep -v '^ *+' conftest.er1 >conftest.err
36960 rm -f conftest.er1
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 ac_cv_type_mode_t=yes
36968 else
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36971
36972 ac_cv_type_mode_t=no
36973 fi
36974
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36976 fi
36977 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36978 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36979 if test $ac_cv_type_mode_t = yes; then
36980 :
36981 else
36982
36983 cat >>confdefs.h <<_ACEOF
36984 #define mode_t int
36985 _ACEOF
36986
36987 fi
36988
36989 { echo "$as_me:$LINENO: checking for off_t" >&5
36990 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36991 if test "${ac_cv_type_off_t+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36993 else
36994 cat >conftest.$ac_ext <<_ACEOF
36995 /* confdefs.h. */
36996 _ACEOF
36997 cat confdefs.h >>conftest.$ac_ext
36998 cat >>conftest.$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 $ac_includes_default
37001 typedef off_t ac__type_new_;
37002 int
37003 main ()
37004 {
37005 if ((ac__type_new_ *) 0)
37006 return 0;
37007 if (sizeof (ac__type_new_))
37008 return 0;
37009 ;
37010 return 0;
37011 }
37012 _ACEOF
37013 rm -f conftest.$ac_objext
37014 if { (ac_try="$ac_compile"
37015 case "(($ac_try" in
37016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37017 *) ac_try_echo=$ac_try;;
37018 esac
37019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37020 (eval "$ac_compile") 2>conftest.er1
37021 ac_status=$?
37022 grep -v '^ *+' conftest.er1 >conftest.err
37023 rm -f conftest.er1
37024 cat conftest.err >&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); } && {
37027 test -z "$ac_c_werror_flag" ||
37028 test ! -s conftest.err
37029 } && test -s conftest.$ac_objext; then
37030 ac_cv_type_off_t=yes
37031 else
37032 echo "$as_me: failed program was:" >&5
37033 sed 's/^/| /' conftest.$ac_ext >&5
37034
37035 ac_cv_type_off_t=no
37036 fi
37037
37038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039 fi
37040 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
37041 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37042 if test $ac_cv_type_off_t = yes; then
37043 :
37044 else
37045
37046 cat >>confdefs.h <<_ACEOF
37047 #define off_t long int
37048 _ACEOF
37049
37050 fi
37051
37052 { echo "$as_me:$LINENO: checking for pid_t" >&5
37053 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
37054 if test "${ac_cv_type_pid_t+set}" = set; then
37055 echo $ECHO_N "(cached) $ECHO_C" >&6
37056 else
37057 cat >conftest.$ac_ext <<_ACEOF
37058 /* confdefs.h. */
37059 _ACEOF
37060 cat confdefs.h >>conftest.$ac_ext
37061 cat >>conftest.$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37063 $ac_includes_default
37064 typedef pid_t ac__type_new_;
37065 int
37066 main ()
37067 {
37068 if ((ac__type_new_ *) 0)
37069 return 0;
37070 if (sizeof (ac__type_new_))
37071 return 0;
37072 ;
37073 return 0;
37074 }
37075 _ACEOF
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37081 esac
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37084 ac_status=$?
37085 grep -v '^ *+' conftest.er1 >conftest.err
37086 rm -f conftest.er1
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 ac_cv_type_pid_t=yes
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 ac_cv_type_pid_t=no
37099 fi
37100
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 fi
37103 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37104 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37105 if test $ac_cv_type_pid_t = yes; then
37106 :
37107 else
37108
37109 cat >>confdefs.h <<_ACEOF
37110 #define pid_t int
37111 _ACEOF
37112
37113 fi
37114
37115 { echo "$as_me:$LINENO: checking for size_t" >&5
37116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37117 if test "${ac_cv_type_size_t+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 else
37120 cat >conftest.$ac_ext <<_ACEOF
37121 /* confdefs.h. */
37122 _ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 $ac_includes_default
37127 typedef size_t ac__type_new_;
37128 int
37129 main ()
37130 {
37131 if ((ac__type_new_ *) 0)
37132 return 0;
37133 if (sizeof (ac__type_new_))
37134 return 0;
37135 ;
37136 return 0;
37137 }
37138 _ACEOF
37139 rm -f conftest.$ac_objext
37140 if { (ac_try="$ac_compile"
37141 case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37143 *) ac_try_echo=$ac_try;;
37144 esac
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_compile") 2>conftest.er1
37147 ac_status=$?
37148 grep -v '^ *+' conftest.er1 >conftest.err
37149 rm -f conftest.er1
37150 cat conftest.err >&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); } && {
37153 test -z "$ac_c_werror_flag" ||
37154 test ! -s conftest.err
37155 } && test -s conftest.$ac_objext; then
37156 ac_cv_type_size_t=yes
37157 else
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37160
37161 ac_cv_type_size_t=no
37162 fi
37163
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 fi
37166 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37167 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37168 if test $ac_cv_type_size_t = yes; then
37169 :
37170 else
37171
37172 cat >>confdefs.h <<_ACEOF
37173 #define size_t unsigned int
37174 _ACEOF
37175
37176 fi
37177
37178 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37179 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37180 if test "${ac_cv_type_uid_t+set}" = set; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 else
37183 cat >conftest.$ac_ext <<_ACEOF
37184 /* confdefs.h. */
37185 _ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189 #include <sys/types.h>
37190
37191 _ACEOF
37192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37193 $EGREP "uid_t" >/dev/null 2>&1; then
37194 ac_cv_type_uid_t=yes
37195 else
37196 ac_cv_type_uid_t=no
37197 fi
37198 rm -f conftest*
37199
37200 fi
37201 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37202 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37203 if test $ac_cv_type_uid_t = no; then
37204
37205 cat >>confdefs.h <<\_ACEOF
37206 #define uid_t int
37207 _ACEOF
37208
37209
37210 cat >>confdefs.h <<\_ACEOF
37211 #define gid_t int
37212 _ACEOF
37213
37214 fi
37215
37216
37217 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37218 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37219 if test "${ac_cv_type_ssize_t+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 $ac_includes_default
37229 typedef ssize_t ac__type_new_;
37230 int
37231 main ()
37232 {
37233 if ((ac__type_new_ *) 0)
37234 return 0;
37235 if (sizeof (ac__type_new_))
37236 return 0;
37237 ;
37238 return 0;
37239 }
37240 _ACEOF
37241 rm -f conftest.$ac_objext
37242 if { (ac_try="$ac_compile"
37243 case "(($ac_try" in
37244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37245 *) ac_try_echo=$ac_try;;
37246 esac
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_compile") 2>conftest.er1
37249 ac_status=$?
37250 grep -v '^ *+' conftest.er1 >conftest.err
37251 rm -f conftest.er1
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest.$ac_objext; then
37258 ac_cv_type_ssize_t=yes
37259 else
37260 echo "$as_me: failed program was:" >&5
37261 sed 's/^/| /' conftest.$ac_ext >&5
37262
37263 ac_cv_type_ssize_t=no
37264 fi
37265
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267 fi
37268 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37269 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37270 if test $ac_cv_type_ssize_t = yes; then
37271
37272 cat >>confdefs.h <<_ACEOF
37273 #define HAVE_SSIZE_T 1
37274 _ACEOF
37275
37276
37277 fi
37278
37279
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37286 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37287 if test "${wx_cv_size_t_is_uint+set}" = set; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37289 else
37290
37291 cat >conftest.$ac_ext <<_ACEOF
37292 /* confdefs.h. */
37293 _ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297 #include <stddef.h>
37298 int
37299 main ()
37300 {
37301
37302 return 0; }
37303
37304 struct Foo { void foo(size_t); void foo(unsigned int); };
37305
37306 int bar() {
37307
37308 ;
37309 return 0;
37310 }
37311 _ACEOF
37312 rm -f conftest.$ac_objext
37313 if { (ac_try="$ac_compile"
37314 case "(($ac_try" in
37315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37316 *) ac_try_echo=$ac_try;;
37317 esac
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_compile") 2>conftest.er1
37320 ac_status=$?
37321 grep -v '^ *+' conftest.er1 >conftest.err
37322 rm -f conftest.er1
37323 cat conftest.err >&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_cxx_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest.$ac_objext; then
37329 wx_cv_size_t_is_uint=no
37330 else
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37333
37334 wx_cv_size_t_is_uint=yes
37335
37336 fi
37337
37338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37339
37340
37341 fi
37342 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37343 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37344
37345 if test "$wx_cv_size_t_is_uint" = "yes"; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxSIZE_T_IS_UINT 1
37348 _ACEOF
37349
37350 else
37351 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37352 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37353 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37355 else
37356 cat >conftest.$ac_ext <<_ACEOF
37357 /* confdefs.h. */
37358 _ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 #include <stddef.h>
37363 int
37364 main ()
37365 {
37366
37367 return 0; }
37368
37369 struct Foo { void foo(size_t); void foo(unsigned long); };
37370
37371 int bar() {
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_cxx_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest.$ac_objext; then
37394 wx_cv_size_t_is_ulong=no
37395 else
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37398
37399 wx_cv_size_t_is_ulong=yes
37400
37401 fi
37402
37403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37404
37405 fi
37406 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37407 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37408
37409 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define wxSIZE_T_IS_ULONG 1
37412 _ACEOF
37413
37414 fi
37415 fi
37416
37417 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37418 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37419 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 else
37422 cat >conftest.$ac_ext <<_ACEOF
37423 /* confdefs.h. */
37424 _ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 #include <wchar.h>
37429 int
37430 main ()
37431 {
37432
37433 return 0; }
37434
37435 struct Foo { void foo(wchar_t);
37436 void foo(unsigned short);
37437 void foo(unsigned int);
37438 void foo(unsigned long); };
37439
37440 int bar() {
37441
37442 ;
37443 return 0;
37444 }
37445 _ACEOF
37446 rm -f conftest.$ac_objext
37447 if { (ac_try="$ac_compile"
37448 case "(($ac_try" in
37449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37450 *) ac_try_echo=$ac_try;;
37451 esac
37452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37453 (eval "$ac_compile") 2>conftest.er1
37454 ac_status=$?
37455 grep -v '^ *+' conftest.er1 >conftest.err
37456 rm -f conftest.er1
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } && {
37460 test -z "$ac_cxx_werror_flag" ||
37461 test ! -s conftest.err
37462 } && test -s conftest.$ac_objext; then
37463 wx_cv_wchar_t_is_separate_type=yes
37464 else
37465 echo "$as_me: failed program was:" >&5
37466 sed 's/^/| /' conftest.$ac_ext >&5
37467
37468 wx_cv_wchar_t_is_separate_type=no
37469
37470 fi
37471
37472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37473
37474 fi
37475 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37476 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37477
37478 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37479 cat >>confdefs.h <<\_ACEOF
37480 #define wxWCHAR_T_IS_REAL_TYPE 1
37481 _ACEOF
37482
37483 else
37484 cat >>confdefs.h <<\_ACEOF
37485 #define wxWCHAR_T_IS_REAL_TYPE 0
37486 _ACEOF
37487
37488 fi
37489
37490 ac_ext=c
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37495
37496
37497 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37498 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37499 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 #include <pwd.h>
37510 int
37511 main ()
37512 {
37513
37514 char *p;
37515 struct passwd *pw;
37516 p = pw->pw_gecos;
37517
37518 ;
37519 return 0;
37520 }
37521 _ACEOF
37522 rm -f conftest.$ac_objext
37523 if { (ac_try="$ac_compile"
37524 case "(($ac_try" in
37525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37526 *) ac_try_echo=$ac_try;;
37527 esac
37528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37529 (eval "$ac_compile") 2>conftest.er1
37530 ac_status=$?
37531 grep -v '^ *+' conftest.er1 >conftest.err
37532 rm -f conftest.er1
37533 cat conftest.err >&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); } && {
37536 test -z "$ac_c_werror_flag" ||
37537 test ! -s conftest.err
37538 } && test -s conftest.$ac_objext; then
37539
37540 wx_cv_struct_pw_gecos=yes
37541
37542 else
37543 echo "$as_me: failed program was:" >&5
37544 sed 's/^/| /' conftest.$ac_ext >&5
37545
37546
37547 wx_cv_struct_pw_gecos=no
37548
37549
37550 fi
37551
37552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37553
37554
37555 fi
37556 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37557 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37558
37559 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37560 cat >>confdefs.h <<\_ACEOF
37561 #define HAVE_PW_GECOS 1
37562 _ACEOF
37563
37564 fi
37565
37566
37567 if test "$wxUSE_WCHAR_T" = "yes"; then
37568 cat >>confdefs.h <<\_ACEOF
37569 #define wxUSE_WCHAR_T 1
37570 _ACEOF
37571
37572
37573 WCSLEN_FOUND=0
37574 WCHAR_LINK=
37575
37576 for ac_func in wcslen
37577 do
37578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 else
37584 cat >conftest.$ac_ext <<_ACEOF
37585 /* confdefs.h. */
37586 _ACEOF
37587 cat confdefs.h >>conftest.$ac_ext
37588 cat >>conftest.$ac_ext <<_ACEOF
37589 /* end confdefs.h. */
37590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37592 #define $ac_func innocuous_$ac_func
37593
37594 /* System header to define __stub macros and hopefully few prototypes,
37595 which can conflict with char $ac_func (); below.
37596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37597 <limits.h> exists even on freestanding compilers. */
37598
37599 #ifdef __STDC__
37600 # include <limits.h>
37601 #else
37602 # include <assert.h>
37603 #endif
37604
37605 #undef $ac_func
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 $ac_func ();
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined __stub_$ac_func || defined __stub___$ac_func
37618 choke me
37619 #endif
37620
37621 int
37622 main ()
37623 {
37624 return $ac_func ();
37625 ;
37626 return 0;
37627 }
37628 _ACEOF
37629 rm -f conftest.$ac_objext conftest$ac_exeext
37630 if { (ac_try="$ac_link"
37631 case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37633 *) ac_try_echo=$ac_try;;
37634 esac
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_link") 2>conftest.er1
37637 ac_status=$?
37638 grep -v '^ *+' conftest.er1 >conftest.err
37639 rm -f conftest.er1
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } && {
37643 test -z "$ac_c_werror_flag" ||
37644 test ! -s conftest.err
37645 } && test -s conftest$ac_exeext &&
37646 $as_test_x conftest$ac_exeext; then
37647 eval "$as_ac_var=yes"
37648 else
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37651
37652 eval "$as_ac_var=no"
37653 fi
37654
37655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37656 conftest$ac_exeext conftest.$ac_ext
37657 fi
37658 ac_res=`eval echo '${'$as_ac_var'}'`
37659 { echo "$as_me:$LINENO: result: $ac_res" >&5
37660 echo "${ECHO_T}$ac_res" >&6; }
37661 if test `eval echo '${'$as_ac_var'}'` = yes; then
37662 cat >>confdefs.h <<_ACEOF
37663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37664 _ACEOF
37665 WCSLEN_FOUND=1
37666 fi
37667 done
37668
37669
37670 if test "$WCSLEN_FOUND" = 0; then
37671 if test "$TOOLKIT" = "MSW"; then
37672 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37673 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37674 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37676 else
37677 ac_check_lib_save_LIBS=$LIBS
37678 LIBS="-lmsvcrt $LIBS"
37679 cat >conftest.$ac_ext <<_ACEOF
37680 /* confdefs.h. */
37681 _ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37685
37686 /* Override any GCC internal prototype to avoid an error.
37687 Use char because int might match the return type of a GCC
37688 builtin and then its argument prototype would still apply. */
37689 #ifdef __cplusplus
37690 extern "C"
37691 #endif
37692 char wcslen ();
37693 int
37694 main ()
37695 {
37696 return wcslen ();
37697 ;
37698 return 0;
37699 }
37700 _ACEOF
37701 rm -f conftest.$ac_objext conftest$ac_exeext
37702 if { (ac_try="$ac_link"
37703 case "(($ac_try" in
37704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37705 *) ac_try_echo=$ac_try;;
37706 esac
37707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37708 (eval "$ac_link") 2>conftest.er1
37709 ac_status=$?
37710 grep -v '^ *+' conftest.er1 >conftest.err
37711 rm -f conftest.er1
37712 cat conftest.err >&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); } && {
37715 test -z "$ac_c_werror_flag" ||
37716 test ! -s conftest.err
37717 } && test -s conftest$ac_exeext &&
37718 $as_test_x conftest$ac_exeext; then
37719 ac_cv_lib_msvcrt_wcslen=yes
37720 else
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37723
37724 ac_cv_lib_msvcrt_wcslen=no
37725 fi
37726
37727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37728 conftest$ac_exeext conftest.$ac_ext
37729 LIBS=$ac_check_lib_save_LIBS
37730 fi
37731 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37732 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37733 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37734 WCHAR_OK=1
37735 fi
37736
37737 else
37738 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37739 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37740 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 else
37743 ac_check_lib_save_LIBS=$LIBS
37744 LIBS="-lw $LIBS"
37745 cat >conftest.$ac_ext <<_ACEOF
37746 /* confdefs.h. */
37747 _ACEOF
37748 cat confdefs.h >>conftest.$ac_ext
37749 cat >>conftest.$ac_ext <<_ACEOF
37750 /* end confdefs.h. */
37751
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37755 #ifdef __cplusplus
37756 extern "C"
37757 #endif
37758 char wcslen ();
37759 int
37760 main ()
37761 {
37762 return wcslen ();
37763 ;
37764 return 0;
37765 }
37766 _ACEOF
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (ac_try="$ac_link"
37769 case "(($ac_try" in
37770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37771 *) ac_try_echo=$ac_try;;
37772 esac
37773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37774 (eval "$ac_link") 2>conftest.er1
37775 ac_status=$?
37776 grep -v '^ *+' conftest.er1 >conftest.err
37777 rm -f conftest.er1
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } && {
37781 test -z "$ac_c_werror_flag" ||
37782 test ! -s conftest.err
37783 } && test -s conftest$ac_exeext &&
37784 $as_test_x conftest$ac_exeext; then
37785 ac_cv_lib_w_wcslen=yes
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790 ac_cv_lib_w_wcslen=no
37791 fi
37792
37793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37794 conftest$ac_exeext conftest.$ac_ext
37795 LIBS=$ac_check_lib_save_LIBS
37796 fi
37797 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37798 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37799 if test $ac_cv_lib_w_wcslen = yes; then
37800
37801 WCHAR_LINK=" -lw"
37802 WCSLEN_FOUND=1
37803
37804 fi
37805
37806 fi
37807 fi
37808
37809 if test "$WCSLEN_FOUND" = 1; then
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_WCSLEN 1
37812 _ACEOF
37813
37814 fi
37815
37816
37817 for ac_func in wcsdup
37818 do
37819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 else
37825 cat >conftest.$ac_ext <<_ACEOF
37826 /* confdefs.h. */
37827 _ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37833 #define $ac_func innocuous_$ac_func
37834
37835 /* System header to define __stub macros and hopefully few prototypes,
37836 which can conflict with char $ac_func (); below.
37837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37838 <limits.h> exists even on freestanding compilers. */
37839
37840 #ifdef __STDC__
37841 # include <limits.h>
37842 #else
37843 # include <assert.h>
37844 #endif
37845
37846 #undef $ac_func
37847
37848 /* Override any GCC internal prototype to avoid an error.
37849 Use char because int might match the return type of a GCC
37850 builtin and then its argument prototype would still apply. */
37851 #ifdef __cplusplus
37852 extern "C"
37853 #endif
37854 char $ac_func ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined __stub_$ac_func || defined __stub___$ac_func
37859 choke me
37860 #endif
37861
37862 int
37863 main ()
37864 {
37865 return $ac_func ();
37866 ;
37867 return 0;
37868 }
37869 _ACEOF
37870 rm -f conftest.$ac_objext conftest$ac_exeext
37871 if { (ac_try="$ac_link"
37872 case "(($ac_try" in
37873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37874 *) ac_try_echo=$ac_try;;
37875 esac
37876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37877 (eval "$ac_link") 2>conftest.er1
37878 ac_status=$?
37879 grep -v '^ *+' conftest.er1 >conftest.err
37880 rm -f conftest.er1
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } && {
37884 test -z "$ac_c_werror_flag" ||
37885 test ! -s conftest.err
37886 } && test -s conftest$ac_exeext &&
37887 $as_test_x conftest$ac_exeext; then
37888 eval "$as_ac_var=yes"
37889 else
37890 echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37892
37893 eval "$as_ac_var=no"
37894 fi
37895
37896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37897 conftest$ac_exeext conftest.$ac_ext
37898 fi
37899 ac_res=`eval echo '${'$as_ac_var'}'`
37900 { echo "$as_me:$LINENO: result: $ac_res" >&5
37901 echo "${ECHO_T}$ac_res" >&6; }
37902 if test `eval echo '${'$as_ac_var'}'` = yes; then
37903 cat >>confdefs.h <<_ACEOF
37904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37905 _ACEOF
37906
37907 fi
37908 done
37909
37910
37911 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37912 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37913 fi
37914
37915 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37916 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37917 if test "${ac_cv_type_mbstate_t+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37919 else
37920 cat >conftest.$ac_ext <<_ACEOF
37921 /* confdefs.h. */
37922 _ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926 #include <wchar.h>
37927
37928 typedef mbstate_t ac__type_new_;
37929 int
37930 main ()
37931 {
37932 if ((ac__type_new_ *) 0)
37933 return 0;
37934 if (sizeof (ac__type_new_))
37935 return 0;
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 rm -f conftest.$ac_objext
37941 if { (ac_try="$ac_compile"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_compile") 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest.$ac_objext; then
37957 ac_cv_type_mbstate_t=yes
37958 else
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37961
37962 ac_cv_type_mbstate_t=no
37963 fi
37964
37965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37966 fi
37967 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37968 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37969 if test $ac_cv_type_mbstate_t = yes; then
37970
37971 cat >>confdefs.h <<_ACEOF
37972 #define HAVE_MBSTATE_T 1
37973 _ACEOF
37974
37975
37976 for ac_func in wcsrtombs
37977 do
37978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37983 else
37984 cat >conftest.$ac_ext <<_ACEOF
37985 /* confdefs.h. */
37986 _ACEOF
37987 cat confdefs.h >>conftest.$ac_ext
37988 cat >>conftest.$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define $ac_func innocuous_$ac_func
37993
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char $ac_func (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
37998
37999 #ifdef __STDC__
38000 # include <limits.h>
38001 #else
38002 # include <assert.h>
38003 #endif
38004
38005 #undef $ac_func
38006
38007 /* Override any GCC internal prototype to avoid an error.
38008 Use char because int might match the return type of a GCC
38009 builtin and then its argument prototype would still apply. */
38010 #ifdef __cplusplus
38011 extern "C"
38012 #endif
38013 char $ac_func ();
38014 /* The GNU C library defines this for functions which it implements
38015 to always fail with ENOSYS. Some functions are actually named
38016 something starting with __ and the normal name is an alias. */
38017 #if defined __stub_$ac_func || defined __stub___$ac_func
38018 choke me
38019 #endif
38020
38021 int
38022 main ()
38023 {
38024 return $ac_func ();
38025 ;
38026 return 0;
38027 }
38028 _ACEOF
38029 rm -f conftest.$ac_objext conftest$ac_exeext
38030 if { (ac_try="$ac_link"
38031 case "(($ac_try" in
38032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38033 *) ac_try_echo=$ac_try;;
38034 esac
38035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38036 (eval "$ac_link") 2>conftest.er1
38037 ac_status=$?
38038 grep -v '^ *+' conftest.er1 >conftest.err
38039 rm -f conftest.er1
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } && {
38043 test -z "$ac_c_werror_flag" ||
38044 test ! -s conftest.err
38045 } && test -s conftest$ac_exeext &&
38046 $as_test_x conftest$ac_exeext; then
38047 eval "$as_ac_var=yes"
38048 else
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38051
38052 eval "$as_ac_var=no"
38053 fi
38054
38055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38056 conftest$ac_exeext conftest.$ac_ext
38057 fi
38058 ac_res=`eval echo '${'$as_ac_var'}'`
38059 { echo "$as_me:$LINENO: result: $ac_res" >&5
38060 echo "${ECHO_T}$ac_res" >&6; }
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38064 _ACEOF
38065
38066 fi
38067 done
38068
38069 fi
38070
38071 else
38072 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
38073 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
38074 fi
38075
38076
38077
38078 for ac_func in snprintf vsnprintf
38079 do
38080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086 cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h. */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38094 #define $ac_func innocuous_$ac_func
38095
38096 /* System header to define __stub macros and hopefully few prototypes,
38097 which can conflict with char $ac_func (); below.
38098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38099 <limits.h> exists even on freestanding compilers. */
38100
38101 #ifdef __STDC__
38102 # include <limits.h>
38103 #else
38104 # include <assert.h>
38105 #endif
38106
38107 #undef $ac_func
38108
38109 /* Override any GCC internal prototype to avoid an error.
38110 Use char because int might match the return type of a GCC
38111 builtin and then its argument prototype would still apply. */
38112 #ifdef __cplusplus
38113 extern "C"
38114 #endif
38115 char $ac_func ();
38116 /* The GNU C library defines this for functions which it implements
38117 to always fail with ENOSYS. Some functions are actually named
38118 something starting with __ and the normal name is an alias. */
38119 #if defined __stub_$ac_func || defined __stub___$ac_func
38120 choke me
38121 #endif
38122
38123 int
38124 main ()
38125 {
38126 return $ac_func ();
38127 ;
38128 return 0;
38129 }
38130 _ACEOF
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (ac_try="$ac_link"
38133 case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38135 *) ac_try_echo=$ac_try;;
38136 esac
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_link") 2>conftest.er1
38139 ac_status=$?
38140 grep -v '^ *+' conftest.er1 >conftest.err
38141 rm -f conftest.er1
38142 cat conftest.err >&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } && {
38145 test -z "$ac_c_werror_flag" ||
38146 test ! -s conftest.err
38147 } && test -s conftest$ac_exeext &&
38148 $as_test_x conftest$ac_exeext; then
38149 eval "$as_ac_var=yes"
38150 else
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.$ac_ext >&5
38153
38154 eval "$as_ac_var=no"
38155 fi
38156
38157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38158 conftest$ac_exeext conftest.$ac_ext
38159 fi
38160 ac_res=`eval echo '${'$as_ac_var'}'`
38161 { echo "$as_me:$LINENO: result: $ac_res" >&5
38162 echo "${ECHO_T}$ac_res" >&6; }
38163 if test `eval echo '${'$as_ac_var'}'` = yes; then
38164 cat >>confdefs.h <<_ACEOF
38165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38166 _ACEOF
38167
38168 fi
38169 done
38170
38171
38172 if test "$ac_cv_func_vsnprintf" = "yes"; then
38173 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38174 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38175 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 else
38178
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185
38186 #include <stdio.h>
38187 #include <stdarg.h>
38188 #ifdef __MSL__
38189 #if __MSL__ >= 0x6000
38190 namespace std {}
38191 using namespace std;
38192 #endif
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198
38199 char *buf;
38200 va_list ap;
38201 vsnprintf(buf, 10u, "%s", ap);
38202
38203 ;
38204 return 0;
38205 }
38206 _ACEOF
38207 rm -f conftest.$ac_objext
38208 if { (ac_try="$ac_compile"
38209 case "(($ac_try" in
38210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38212 esac
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_compile") 2>conftest.er1
38215 ac_status=$?
38216 grep -v '^ *+' conftest.er1 >conftest.err
38217 rm -f conftest.er1
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } && {
38221 test -z "$ac_c_werror_flag" ||
38222 test ! -s conftest.err
38223 } && test -s conftest.$ac_objext; then
38224 wx_cv_func_vsnprintf_decl=yes
38225 else
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38228
38229 wx_cv_func_vsnprintf_decl=no
38230
38231 fi
38232
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38234
38235
38236 fi
38237 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38238 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38239
38240 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38241 cat >>confdefs.h <<\_ACEOF
38242 #define HAVE_VSNPRINTF_DECL 1
38243 _ACEOF
38244
38245
38246 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38247 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38248 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 else
38251
38252 cat >conftest.$ac_ext <<_ACEOF
38253 /* confdefs.h. */
38254 _ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38258
38259 #include <stdio.h>
38260 #include <stdarg.h>
38261 #ifdef __MSL__
38262 #if __MSL__ >= 0x6000
38263 namespace std {}
38264 using namespace std;
38265 #endif
38266 #endif
38267
38268 int
38269 main ()
38270 {
38271
38272 char *buf;
38273 va_list ap;
38274 const char *fmt = "%s";
38275 vsnprintf(buf, 10u, fmt, ap);
38276
38277 ;
38278 return 0;
38279 }
38280 _ACEOF
38281 rm -f conftest.$ac_objext
38282 if { (ac_try="$ac_compile"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38285 *) ac_try_echo=$ac_try;;
38286 esac
38287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_compile") 2>conftest.er1
38289 ac_status=$?
38290 grep -v '^ *+' conftest.er1 >conftest.err
38291 rm -f conftest.er1
38292 cat conftest.err >&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest.$ac_objext; then
38298 wx_cv_func_broken_vsnprintf_decl=no
38299 else
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38302
38303 wx_cv_func_broken_vsnprintf_decl=yes
38304
38305 fi
38306
38307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38308
38309
38310 fi
38311 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38312 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38313
38314 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38317 _ACEOF
38318
38319 fi
38320 fi
38321 fi
38322
38323 if test "$ac_cv_func_snprintf" = "yes"; then
38324 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38325 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38326 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38328 else
38329
38330 cat >conftest.$ac_ext <<_ACEOF
38331 /* confdefs.h. */
38332 _ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38336
38337 #include <stdio.h>
38338 #include <stdarg.h>
38339 #ifdef __MSL__
38340 #if __MSL__ >= 0x6000
38341 namespace std {}
38342 using namespace std;
38343 #endif
38344 #endif
38345
38346 int
38347 main ()
38348 {
38349
38350 char *buf;
38351 snprintf(buf, 10u, "%s", "wx");
38352
38353 ;
38354 return 0;
38355 }
38356 _ACEOF
38357 rm -f conftest.$ac_objext
38358 if { (ac_try="$ac_compile"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38362 esac
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_compile") 2>conftest.er1
38365 ac_status=$?
38366 grep -v '^ *+' conftest.er1 >conftest.err
38367 rm -f conftest.er1
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest.$ac_objext; then
38374 wx_cv_func_snprintf_decl=yes
38375 else
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38378
38379 wx_cv_func_snprintf_decl=no
38380
38381 fi
38382
38383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38384
38385
38386 fi
38387 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38388 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38389
38390 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define HAVE_SNPRINTF_DECL 1
38393 _ACEOF
38394
38395 fi
38396
38397 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38398
38399 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38400 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38401 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38403 else
38404
38405 if test "$cross_compiling" = yes; then
38406
38407 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38408 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38409 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38410 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38411 wx_cv_func_snprintf_pos_params=no
38412
38413
38414 else
38415 cat >conftest.$ac_ext <<_ACEOF
38416 /* confdefs.h. */
38417 _ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421
38422 #include <stdio.h>
38423
38424 int main (void)
38425 {
38426 char buffer[128];
38427 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38428 if (strcmp ("2 3 1", buffer) == 0)
38429 exit (0);
38430 exit (1);
38431 }
38432
38433 _ACEOF
38434 rm -f conftest$ac_exeext
38435 if { (ac_try="$ac_link"
38436 case "(($ac_try" in
38437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38438 *) ac_try_echo=$ac_try;;
38439 esac
38440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38441 (eval "$ac_link") 2>&5
38442 ac_status=$?
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38445 { (case "(($ac_try" in
38446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38447 *) ac_try_echo=$ac_try;;
38448 esac
38449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38450 (eval "$ac_try") 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 wx_cv_func_snprintf_pos_params=no
38455 else
38456 echo "$as_me: program exited with status $ac_status" >&5
38457 echo "$as_me: failed program was:" >&5
38458 sed 's/^/| /' conftest.$ac_ext >&5
38459
38460 ( exit $ac_status )
38461 wx_cv_func_snprintf_pos_params=yes
38462 fi
38463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38464 fi
38465
38466
38467
38468
38469 fi
38470 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38471 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38472
38473 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38474 cat >>confdefs.h <<\_ACEOF
38475 #define HAVE_UNIX98_PRINTF 1
38476 _ACEOF
38477
38478 fi
38479 fi
38480 fi
38481
38482 if test "$wxUSE_UNICODE" = yes; then
38483
38484 wchar_headers="#include <stdio.h>
38485 #include <wchar.h>"
38486 case "${host}" in
38487 *-*-solaris2* )
38488
38489 for ac_header in widec.h
38490 do
38491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497 cat >conftest.$ac_ext <<_ACEOF
38498 /* confdefs.h. */
38499 _ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503 $ac_includes_default
38504
38505 #include <$ac_header>
38506 _ACEOF
38507 rm -f conftest.$ac_objext
38508 if { (ac_try="$ac_compile"
38509 case "(($ac_try" in
38510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38511 *) ac_try_echo=$ac_try;;
38512 esac
38513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38514 (eval "$ac_compile") 2>conftest.er1
38515 ac_status=$?
38516 grep -v '^ *+' conftest.er1 >conftest.err
38517 rm -f conftest.er1
38518 cat conftest.err >&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } && {
38521 test -z "$ac_c_werror_flag" ||
38522 test ! -s conftest.err
38523 } && test -s conftest.$ac_objext; then
38524 eval "$as_ac_Header=yes"
38525 else
38526 echo "$as_me: failed program was:" >&5
38527 sed 's/^/| /' conftest.$ac_ext >&5
38528
38529 eval "$as_ac_Header=no"
38530 fi
38531
38532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38533 fi
38534 ac_res=`eval echo '${'$as_ac_Header'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38538 cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38540 _ACEOF
38541
38542 fi
38543
38544 done
38545
38546 if test "$ac_cv_header_widec_h" = "yes"; then
38547 wchar_headers="$wchar_headers
38548 #include <widec.h>"
38549 fi
38550 esac
38551
38552
38553 for wx_func in putws fputws wprintf vswprintf
38554 do
38555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38557 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 else
38560
38561 cat >conftest.$ac_ext <<_ACEOF
38562
38563 /* confdefs.h. */
38564 _ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568
38569 $wchar_headers
38570 $ac_includes_default
38571
38572 int
38573 main ()
38574 {
38575
38576 #ifndef $wx_func
38577 &$wx_func;
38578 #endif
38579
38580
38581 ;
38582 return 0;
38583 }
38584
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38591 esac
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 eval wx_cv_func_$wx_func=yes
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 eval wx_cv_func_$wx_func=no
38610 fi
38611
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38614
38615 fi
38616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38617 { echo "$as_me:$LINENO: result: $ac_res" >&5
38618 echo "${ECHO_T}$ac_res" >&6; }
38619
38620 if eval test \$wx_cv_func_$wx_func = yes
38621 then
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38624 _ACEOF
38625
38626
38627 else
38628 :
38629
38630 fi
38631 done
38632
38633
38634 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38635 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 #include <wchar.h>
38643 int
38644 main ()
38645 {
38646 &_vsnwprintf;
38647 ;
38648 return 0;
38649 }
38650 _ACEOF
38651 rm -f conftest.$ac_objext
38652 if { (ac_try="$ac_compile"
38653 case "(($ac_try" in
38654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38655 *) ac_try_echo=$ac_try;;
38656 esac
38657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38658 (eval "$ac_compile") 2>conftest.er1
38659 ac_status=$?
38660 grep -v '^ *+' conftest.er1 >conftest.err
38661 rm -f conftest.er1
38662 cat conftest.err >&5
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); } && {
38665 test -z "$ac_c_werror_flag" ||
38666 test ! -s conftest.err
38667 } && test -s conftest.$ac_objext; then
38668 { echo "$as_me:$LINENO: result: yes" >&5
38669 echo "${ECHO_T}yes" >&6; }
38670 cat >>confdefs.h <<\_ACEOF
38671 #define HAVE__VSNWPRINTF 1
38672 _ACEOF
38673
38674 else
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38677
38678 { echo "$as_me:$LINENO: result: no" >&5
38679 echo "${ECHO_T}no" >&6; }
38680 fi
38681
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38683 fi
38684
38685 if test "$wxUSE_FILE" = "yes"; then
38686
38687 for wx_func in fsync
38688 do
38689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38691 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 else
38694
38695 cat >conftest.$ac_ext <<_ACEOF
38696
38697 /* confdefs.h. */
38698 _ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38702
38703
38704 $ac_includes_default
38705
38706 int
38707 main ()
38708 {
38709
38710 #ifndef $wx_func
38711 &$wx_func;
38712 #endif
38713
38714
38715 ;
38716 return 0;
38717 }
38718
38719 _ACEOF
38720 rm -f conftest.$ac_objext conftest$ac_exeext
38721 if { (ac_try="$ac_link"
38722 case "(($ac_try" in
38723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38724 *) ac_try_echo=$ac_try;;
38725 esac
38726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38727 (eval "$ac_link") 2>conftest.er1
38728 ac_status=$?
38729 grep -v '^ *+' conftest.er1 >conftest.err
38730 rm -f conftest.er1
38731 cat conftest.err >&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } && {
38734 test -z "$ac_c_werror_flag" ||
38735 test ! -s conftest.err
38736 } && test -s conftest$ac_exeext &&
38737 $as_test_x conftest$ac_exeext; then
38738 eval wx_cv_func_$wx_func=yes
38739 else
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38742
38743 eval wx_cv_func_$wx_func=no
38744 fi
38745
38746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38747 conftest$ac_exeext conftest.$ac_ext
38748
38749 fi
38750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38751 { echo "$as_me:$LINENO: result: $ac_res" >&5
38752 echo "${ECHO_T}$ac_res" >&6; }
38753
38754 if eval test \$wx_cv_func_$wx_func = yes
38755 then
38756 cat >>confdefs.h <<_ACEOF
38757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38758 _ACEOF
38759
38760
38761 else
38762 :
38763
38764 fi
38765 done
38766
38767 fi
38768
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38774
38775
38776 for wx_func in round
38777 do
38778 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38779 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38780 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 else
38783
38784 cat >conftest.$ac_ext <<_ACEOF
38785
38786 /* confdefs.h. */
38787 _ACEOF
38788 cat confdefs.h >>conftest.$ac_ext
38789 cat >>conftest.$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38791
38792 #include <math.h>
38793 $ac_includes_default
38794
38795 int
38796 main ()
38797 {
38798
38799 #ifndef $wx_func
38800 &$wx_func;
38801 #endif
38802
38803
38804 ;
38805 return 0;
38806 }
38807
38808 _ACEOF
38809 rm -f conftest.$ac_objext conftest$ac_exeext
38810 if { (ac_try="$ac_link"
38811 case "(($ac_try" in
38812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38813 *) ac_try_echo=$ac_try;;
38814 esac
38815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38816 (eval "$ac_link") 2>conftest.er1
38817 ac_status=$?
38818 grep -v '^ *+' conftest.er1 >conftest.err
38819 rm -f conftest.er1
38820 cat conftest.err >&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } && {
38823 test -z "$ac_cxx_werror_flag" ||
38824 test ! -s conftest.err
38825 } && test -s conftest$ac_exeext &&
38826 $as_test_x conftest$ac_exeext; then
38827 eval wx_cv_func_$wx_func=yes
38828 else
38829 echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.$ac_ext >&5
38831
38832 eval wx_cv_func_$wx_func=no
38833 fi
38834
38835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38836 conftest$ac_exeext conftest.$ac_ext
38837
38838 fi
38839 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38840 { echo "$as_me:$LINENO: result: $ac_res" >&5
38841 echo "${ECHO_T}$ac_res" >&6; }
38842
38843 if eval test \$wx_cv_func_$wx_func = yes
38844 then
38845 cat >>confdefs.h <<_ACEOF
38846 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38847 _ACEOF
38848
38849
38850 else
38851 :
38852
38853 fi
38854 done
38855
38856 ac_ext=c
38857 ac_cpp='$CPP $CPPFLAGS'
38858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38861
38862
38863 if test "$TOOLKIT" != "MSW"; then
38864
38865
38866
38867
38868
38869 # Check whether --with-libiconv-prefix was given.
38870 if test "${with_libiconv_prefix+set}" = set; then
38871 withval=$with_libiconv_prefix;
38872 for dir in `echo "$withval" | tr : ' '`; do
38873 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38874 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38875 done
38876
38877 fi
38878
38879
38880 { echo "$as_me:$LINENO: checking for iconv" >&5
38881 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38882 if test "${am_cv_func_iconv+set}" = set; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38884 else
38885
38886 am_cv_func_iconv="no, consider installing GNU libiconv"
38887 am_cv_lib_iconv=no
38888 cat >conftest.$ac_ext <<_ACEOF
38889 /* confdefs.h. */
38890 _ACEOF
38891 cat confdefs.h >>conftest.$ac_ext
38892 cat >>conftest.$ac_ext <<_ACEOF
38893 /* end confdefs.h. */
38894 #include <stdlib.h>
38895 #include <iconv.h>
38896 int
38897 main ()
38898 {
38899 iconv_t cd = iconv_open("","");
38900 iconv(cd,NULL,NULL,NULL,NULL);
38901 iconv_close(cd);
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 rm -f conftest.$ac_objext conftest$ac_exeext
38907 if { (ac_try="$ac_link"
38908 case "(($ac_try" in
38909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38910 *) ac_try_echo=$ac_try;;
38911 esac
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_link") 2>conftest.er1
38914 ac_status=$?
38915 grep -v '^ *+' conftest.er1 >conftest.err
38916 rm -f conftest.er1
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_c_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest$ac_exeext &&
38923 $as_test_x conftest$ac_exeext; then
38924 am_cv_func_iconv=yes
38925 else
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38928
38929
38930 fi
38931
38932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38933 conftest$ac_exeext conftest.$ac_ext
38934 if test "$am_cv_func_iconv" != yes; then
38935 am_save_LIBS="$LIBS"
38936 LIBS="$LIBS -liconv"
38937 cat >conftest.$ac_ext <<_ACEOF
38938 /* confdefs.h. */
38939 _ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 #include <stdlib.h>
38944 #include <iconv.h>
38945 int
38946 main ()
38947 {
38948 iconv_t cd = iconv_open("","");
38949 iconv(cd,NULL,NULL,NULL,NULL);
38950 iconv_close(cd);
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38960 esac
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38963 ac_status=$?
38964 grep -v '^ *+' conftest.er1 >conftest.err
38965 rm -f conftest.er1
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 am_cv_lib_iconv=yes
38974 am_cv_func_iconv=yes
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979
38980 fi
38981
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38984 LIBS="$am_save_LIBS"
38985 fi
38986
38987 fi
38988 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38989 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38990 if test "$am_cv_func_iconv" = yes; then
38991
38992 cat >>confdefs.h <<\_ACEOF
38993 #define HAVE_ICONV 1
38994 _ACEOF
38995
38996 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38997 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38998 if test "${wx_cv_func_iconv_const+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39000 else
39001 cat >conftest.$ac_ext <<_ACEOF
39002 /* confdefs.h. */
39003 _ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39007
39008 #include <stdlib.h>
39009 #include <iconv.h>
39010 extern
39011 #ifdef __cplusplus
39012 "C"
39013 #endif
39014 #if defined(__STDC__) || defined(__cplusplus)
39015 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39016 #else
39017 size_t iconv();
39018 #endif
39019
39020 int
39021 main ()
39022 {
39023
39024 ;
39025 return 0;
39026 }
39027 _ACEOF
39028 rm -f conftest.$ac_objext
39029 if { (ac_try="$ac_compile"
39030 case "(($ac_try" in
39031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39032 *) ac_try_echo=$ac_try;;
39033 esac
39034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39035 (eval "$ac_compile") 2>conftest.er1
39036 ac_status=$?
39037 grep -v '^ *+' conftest.er1 >conftest.err
39038 rm -f conftest.er1
39039 cat conftest.err >&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); } && {
39042 test -z "$ac_c_werror_flag" ||
39043 test ! -s conftest.err
39044 } && test -s conftest.$ac_objext; then
39045 wx_cv_func_iconv_const="no"
39046 else
39047 echo "$as_me: failed program was:" >&5
39048 sed 's/^/| /' conftest.$ac_ext >&5
39049
39050 wx_cv_func_iconv_const="yes"
39051
39052 fi
39053
39054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39055
39056 fi
39057 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39058 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39059
39060 iconv_const=
39061 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39062 iconv_const="const"
39063 fi
39064
39065
39066 cat >>confdefs.h <<_ACEOF
39067 #define ICONV_CONST $iconv_const
39068 _ACEOF
39069
39070 fi
39071 LIBICONV=
39072 if test "$am_cv_lib_iconv" = yes; then
39073 LIBICONV="-liconv"
39074 fi
39075
39076
39077 LIBS="$LIBICONV $LIBS"
39078
39079 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39080
39081 for ac_func in sigaction
39082 do
39083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39087 echo $ECHO_N "(cached) $ECHO_C" >&6
39088 else
39089 cat >conftest.$ac_ext <<_ACEOF
39090 /* confdefs.h. */
39091 _ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39097 #define $ac_func innocuous_$ac_func
39098
39099 /* System header to define __stub macros and hopefully few prototypes,
39100 which can conflict with char $ac_func (); below.
39101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39102 <limits.h> exists even on freestanding compilers. */
39103
39104 #ifdef __STDC__
39105 # include <limits.h>
39106 #else
39107 # include <assert.h>
39108 #endif
39109
39110 #undef $ac_func
39111
39112 /* Override any GCC internal prototype to avoid an error.
39113 Use char because int might match the return type of a GCC
39114 builtin and then its argument prototype would still apply. */
39115 #ifdef __cplusplus
39116 extern "C"
39117 #endif
39118 char $ac_func ();
39119 /* The GNU C library defines this for functions which it implements
39120 to always fail with ENOSYS. Some functions are actually named
39121 something starting with __ and the normal name is an alias. */
39122 #if defined __stub_$ac_func || defined __stub___$ac_func
39123 choke me
39124 #endif
39125
39126 int
39127 main ()
39128 {
39129 return $ac_func ();
39130 ;
39131 return 0;
39132 }
39133 _ACEOF
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (ac_try="$ac_link"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39139 esac
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_link") 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest$ac_exeext &&
39151 $as_test_x conftest$ac_exeext; then
39152 eval "$as_ac_var=yes"
39153 else
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39156
39157 eval "$as_ac_var=no"
39158 fi
39159
39160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39161 conftest$ac_exeext conftest.$ac_ext
39162 fi
39163 ac_res=`eval echo '${'$as_ac_var'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39166 if test `eval echo '${'$as_ac_var'}'` = yes; then
39167 cat >>confdefs.h <<_ACEOF
39168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39169 _ACEOF
39170
39171 fi
39172 done
39173
39174
39175 if test "$ac_cv_func_sigaction" = "no"; then
39176 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39177 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39178 wxUSE_ON_FATAL_EXCEPTION=no
39179 fi
39180
39181 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39182 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39183 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39184 if test "${wx_cv_type_sa_handler+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 else
39187
39188 ac_ext=cpp
39189 ac_cpp='$CXXCPP $CPPFLAGS'
39190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39193
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <signal.h>
39201 int
39202 main ()
39203 {
39204
39205 extern void testSigHandler(int);
39206
39207 struct sigaction sa;
39208 sa.sa_handler = testSigHandler;
39209
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext
39215 if { (ac_try="$ac_compile"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39219 esac
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_compile") 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_cxx_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest.$ac_objext; then
39231
39232 wx_cv_type_sa_handler=int
39233
39234 else
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39237
39238
39239 wx_cv_type_sa_handler=void
39240
39241 fi
39242
39243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39244 ac_ext=c
39245 ac_cpp='$CPP $CPPFLAGS'
39246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39249
39250
39251 fi
39252 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39253 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39254
39255 cat >>confdefs.h <<_ACEOF
39256 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39257 _ACEOF
39258
39259 fi
39260 fi
39261
39262 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39263 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39264 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39265 if test "${wx_cv_func_backtrace+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39268
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39274
39275 cat >conftest.$ac_ext <<_ACEOF
39276 /* confdefs.h. */
39277 _ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 #include <execinfo.h>
39282 int
39283 main ()
39284 {
39285
39286 void *trace[1];
39287 char **messages;
39288
39289 backtrace(trace, 1);
39290 messages = backtrace_symbols(trace, 1);
39291
39292 ;
39293 return 0;
39294 }
39295 _ACEOF
39296 rm -f conftest.$ac_objext
39297 if { (ac_try="$ac_compile"
39298 case "(($ac_try" in
39299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39300 *) ac_try_echo=$ac_try;;
39301 esac
39302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39303 (eval "$ac_compile") 2>conftest.er1
39304 ac_status=$?
39305 grep -v '^ *+' conftest.er1 >conftest.err
39306 rm -f conftest.er1
39307 cat conftest.err >&5
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); } && {
39310 test -z "$ac_cxx_werror_flag" ||
39311 test ! -s conftest.err
39312 } && test -s conftest.$ac_objext; then
39313 wx_cv_func_backtrace=yes
39314 else
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39317
39318 wx_cv_func_backtrace=no
39319
39320 fi
39321
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323 ac_ext=c
39324 ac_cpp='$CPP $CPPFLAGS'
39325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39328
39329
39330
39331 fi
39332 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39333 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39334
39335
39336 if test "$wx_cv_func_backtrace" = "no"; then
39337 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39338 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39339 wxUSE_STACKWALKER=no
39340 else
39341 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39342 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39343 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39344 echo $ECHO_N "(cached) $ECHO_C" >&6
39345 else
39346
39347 ac_ext=cpp
39348 ac_cpp='$CXXCPP $CPPFLAGS'
39349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39352
39353 cat >conftest.$ac_ext <<_ACEOF
39354 /* confdefs.h. */
39355 _ACEOF
39356 cat confdefs.h >>conftest.$ac_ext
39357 cat >>conftest.$ac_ext <<_ACEOF
39358 /* end confdefs.h. */
39359 #include <cxxabi.h>
39360 int
39361 main ()
39362 {
39363
39364 int rc;
39365 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39366
39367 ;
39368 return 0;
39369 }
39370 _ACEOF
39371 rm -f conftest.$ac_objext conftest$ac_exeext
39372 if { (ac_try="$ac_link"
39373 case "(($ac_try" in
39374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39375 *) ac_try_echo=$ac_try;;
39376 esac
39377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39378 (eval "$ac_link") 2>conftest.er1
39379 ac_status=$?
39380 grep -v '^ *+' conftest.er1 >conftest.err
39381 rm -f conftest.er1
39382 cat conftest.err >&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } && {
39385 test -z "$ac_cxx_werror_flag" ||
39386 test ! -s conftest.err
39387 } && test -s conftest$ac_exeext &&
39388 $as_test_x conftest$ac_exeext; then
39389 wx_cv_func_cxa_demangle=yes
39390 else
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39393
39394 wx_cv_func_cxa_demangle=no
39395
39396 fi
39397
39398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39399 conftest$ac_exeext conftest.$ac_ext
39400 ac_ext=c
39401 ac_cpp='$CPP $CPPFLAGS'
39402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39405
39406
39407
39408 fi
39409 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39410 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39411
39412 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define HAVE_CXA_DEMANGLE 1
39415 _ACEOF
39416
39417 fi
39418 fi
39419 fi
39420
39421 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39422 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39423 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39424 wxUSE_STACKWALKER=no
39425 fi
39426
39427
39428
39429
39430 for ac_func in mkstemp mktemp
39431 do
39432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39436 echo $ECHO_N "(cached) $ECHO_C" >&6
39437 else
39438 cat >conftest.$ac_ext <<_ACEOF
39439 /* confdefs.h. */
39440 _ACEOF
39441 cat confdefs.h >>conftest.$ac_ext
39442 cat >>conftest.$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39446 #define $ac_func innocuous_$ac_func
39447
39448 /* System header to define __stub macros and hopefully few prototypes,
39449 which can conflict with char $ac_func (); below.
39450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39451 <limits.h> exists even on freestanding compilers. */
39452
39453 #ifdef __STDC__
39454 # include <limits.h>
39455 #else
39456 # include <assert.h>
39457 #endif
39458
39459 #undef $ac_func
39460
39461 /* Override any GCC internal prototype to avoid an error.
39462 Use char because int might match the return type of a GCC
39463 builtin and then its argument prototype would still apply. */
39464 #ifdef __cplusplus
39465 extern "C"
39466 #endif
39467 char $ac_func ();
39468 /* The GNU C library defines this for functions which it implements
39469 to always fail with ENOSYS. Some functions are actually named
39470 something starting with __ and the normal name is an alias. */
39471 #if defined __stub_$ac_func || defined __stub___$ac_func
39472 choke me
39473 #endif
39474
39475 int
39476 main ()
39477 {
39478 return $ac_func ();
39479 ;
39480 return 0;
39481 }
39482 _ACEOF
39483 rm -f conftest.$ac_objext conftest$ac_exeext
39484 if { (ac_try="$ac_link"
39485 case "(($ac_try" in
39486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39487 *) ac_try_echo=$ac_try;;
39488 esac
39489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39490 (eval "$ac_link") 2>conftest.er1
39491 ac_status=$?
39492 grep -v '^ *+' conftest.er1 >conftest.err
39493 rm -f conftest.er1
39494 cat conftest.err >&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } && {
39497 test -z "$ac_c_werror_flag" ||
39498 test ! -s conftest.err
39499 } && test -s conftest$ac_exeext &&
39500 $as_test_x conftest$ac_exeext; then
39501 eval "$as_ac_var=yes"
39502 else
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.$ac_ext >&5
39505
39506 eval "$as_ac_var=no"
39507 fi
39508
39509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39510 conftest$ac_exeext conftest.$ac_ext
39511 fi
39512 ac_res=`eval echo '${'$as_ac_var'}'`
39513 { echo "$as_me:$LINENO: result: $ac_res" >&5
39514 echo "${ECHO_T}$ac_res" >&6; }
39515 if test `eval echo '${'$as_ac_var'}'` = yes; then
39516 cat >>confdefs.h <<_ACEOF
39517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39518 _ACEOF
39519 break
39520 fi
39521 done
39522
39523
39524 { echo "$as_me:$LINENO: checking for statfs" >&5
39525 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_statfs+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 else
39529 cat >conftest.$ac_ext <<_ACEOF
39530 /* confdefs.h. */
39531 _ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535
39536 #if defined(__BSD__)
39537 #include <sys/param.h>
39538 #include <sys/mount.h>
39539 #else
39540 #include <sys/vfs.h>
39541 #endif
39542
39543 int
39544 main ()
39545 {
39546
39547 long l;
39548 struct statfs fs;
39549 statfs("/", &fs);
39550 l = fs.f_bsize;
39551 l += fs.f_blocks;
39552 l += fs.f_bavail;
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_statfs=yes
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 wx_cv_func_statfs=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_statfs" >&5
39588 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39589
39590 if test "$wx_cv_func_statfs" = "yes"; then
39591 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39592 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39593 if test "${wx_cv_func_statfs_decl+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 #if defined(__BSD__)
39610 #include <sys/param.h>
39611 #include <sys/mount.h>
39612 #else
39613 #include <sys/vfs.h>
39614 #endif
39615
39616 int
39617 main ()
39618 {
39619
39620 struct statfs fs;
39621 statfs("", &fs);
39622
39623 ;
39624 return 0;
39625 }
39626 _ACEOF
39627 rm -f conftest.$ac_objext
39628 if { (ac_try="$ac_compile"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39631 *) ac_try_echo=$ac_try;;
39632 esac
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_compile") 2>conftest.er1
39635 ac_status=$?
39636 grep -v '^ *+' conftest.er1 >conftest.err
39637 rm -f conftest.er1
39638 cat conftest.err >&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_cxx_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest.$ac_objext; then
39644 wx_cv_func_statfs_decl=yes
39645 else
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39648
39649 wx_cv_func_statfs_decl=no
39650
39651 fi
39652
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_ext=c
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39659
39660
39661 fi
39662 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39663 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39664
39665 if test "$wx_cv_func_statfs_decl" = "yes"; then
39666 cat >>confdefs.h <<\_ACEOF
39667 #define HAVE_STATFS_DECL 1
39668 _ACEOF
39669
39670 fi
39671
39672 wx_cv_type_statvfs_t="struct statfs"
39673 cat >>confdefs.h <<\_ACEOF
39674 #define HAVE_STATFS 1
39675 _ACEOF
39676
39677 else
39678 { echo "$as_me:$LINENO: checking for statvfs" >&5
39679 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39680 if test "${wx_cv_func_statvfs+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39682 else
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h. */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689
39690 #include <stddef.h>
39691 #include <sys/statvfs.h>
39692
39693 int
39694 main ()
39695 {
39696
39697 statvfs("/", NULL);
39698
39699 ;
39700 return 0;
39701 }
39702 _ACEOF
39703 rm -f conftest.$ac_objext
39704 if { (ac_try="$ac_compile"
39705 case "(($ac_try" in
39706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39707 *) ac_try_echo=$ac_try;;
39708 esac
39709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39710 (eval "$ac_compile") 2>conftest.er1
39711 ac_status=$?
39712 grep -v '^ *+' conftest.er1 >conftest.err
39713 rm -f conftest.er1
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } && {
39717 test -z "$ac_c_werror_flag" ||
39718 test ! -s conftest.err
39719 } && test -s conftest.$ac_objext; then
39720 wx_cv_func_statvfs=yes
39721 else
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39724
39725 wx_cv_func_statvfs=no
39726
39727 fi
39728
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39730
39731 fi
39732 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39733 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39734
39735 if test "$wx_cv_func_statvfs" = "yes"; then
39736 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39737 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39738 if test "${wx_cv_type_statvfs_t+set}" = set; then
39739 echo $ECHO_N "(cached) $ECHO_C" >&6
39740 else
39741 ac_ext=cpp
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39746
39747 cat >conftest.$ac_ext <<_ACEOF
39748 /* confdefs.h. */
39749 _ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39753
39754 #include <sys/statvfs.h>
39755
39756 int
39757 main ()
39758 {
39759
39760 long l;
39761 statvfs_t fs;
39762 statvfs("/", &fs);
39763 l = fs.f_bsize;
39764 l += fs.f_blocks;
39765 l += fs.f_bavail;
39766
39767 ;
39768 return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39776 esac
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39779 ac_status=$?
39780 grep -v '^ *+' conftest.er1 >conftest.err
39781 rm -f conftest.er1
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_cxx_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_type_statvfs_t=statvfs_t
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793
39794 cat >conftest.$ac_ext <<_ACEOF
39795 /* confdefs.h. */
39796 _ACEOF
39797 cat confdefs.h >>conftest.$ac_ext
39798 cat >>conftest.$ac_ext <<_ACEOF
39799 /* end confdefs.h. */
39800
39801 #include <sys/statvfs.h>
39802
39803 int
39804 main ()
39805 {
39806
39807 long l;
39808 struct statvfs fs;
39809 statvfs("/", &fs);
39810 l = fs.f_bsize;
39811 l += fs.f_blocks;
39812 l += fs.f_bavail;
39813
39814 ;
39815 return 0;
39816 }
39817 _ACEOF
39818 rm -f conftest.$ac_objext
39819 if { (ac_try="$ac_compile"
39820 case "(($ac_try" in
39821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39822 *) ac_try_echo=$ac_try;;
39823 esac
39824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39825 (eval "$ac_compile") 2>conftest.er1
39826 ac_status=$?
39827 grep -v '^ *+' conftest.er1 >conftest.err
39828 rm -f conftest.er1
39829 cat conftest.err >&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && {
39832 test -z "$ac_cxx_werror_flag" ||
39833 test ! -s conftest.err
39834 } && test -s conftest.$ac_objext; then
39835 wx_cv_type_statvfs_t="struct statvfs"
39836 else
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39839
39840 wx_cv_type_statvfs_t="unknown"
39841
39842 fi
39843
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845
39846
39847 fi
39848
39849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39850 ac_ext=c
39851 ac_cpp='$CPP $CPPFLAGS'
39852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855
39856
39857 fi
39858 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39859 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39860
39861 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define HAVE_STATVFS 1
39864 _ACEOF
39865
39866 fi
39867 else
39868 wx_cv_type_statvfs_t="unknown"
39869 fi
39870 fi
39871
39872 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39873 cat >>confdefs.h <<_ACEOF
39874 #define WX_STATFS_T $wx_cv_type_statvfs_t
39875 _ACEOF
39876
39877 else
39878 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39879 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39880 fi
39881
39882 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39883
39884
39885 for ac_func in fcntl flock
39886 do
39887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39891 echo $ECHO_N "(cached) $ECHO_C" >&6
39892 else
39893 cat >conftest.$ac_ext <<_ACEOF
39894 /* confdefs.h. */
39895 _ACEOF
39896 cat confdefs.h >>conftest.$ac_ext
39897 cat >>conftest.$ac_ext <<_ACEOF
39898 /* end confdefs.h. */
39899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39901 #define $ac_func innocuous_$ac_func
39902
39903 /* System header to define __stub macros and hopefully few prototypes,
39904 which can conflict with char $ac_func (); below.
39905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39906 <limits.h> exists even on freestanding compilers. */
39907
39908 #ifdef __STDC__
39909 # include <limits.h>
39910 #else
39911 # include <assert.h>
39912 #endif
39913
39914 #undef $ac_func
39915
39916 /* Override any GCC internal prototype to avoid an error.
39917 Use char because int might match the return type of a GCC
39918 builtin and then its argument prototype would still apply. */
39919 #ifdef __cplusplus
39920 extern "C"
39921 #endif
39922 char $ac_func ();
39923 /* The GNU C library defines this for functions which it implements
39924 to always fail with ENOSYS. Some functions are actually named
39925 something starting with __ and the normal name is an alias. */
39926 #if defined __stub_$ac_func || defined __stub___$ac_func
39927 choke me
39928 #endif
39929
39930 int
39931 main ()
39932 {
39933 return $ac_func ();
39934 ;
39935 return 0;
39936 }
39937 _ACEOF
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (ac_try="$ac_link"
39940 case "(($ac_try" in
39941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39942 *) ac_try_echo=$ac_try;;
39943 esac
39944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39945 (eval "$ac_link") 2>conftest.er1
39946 ac_status=$?
39947 grep -v '^ *+' conftest.er1 >conftest.err
39948 rm -f conftest.er1
39949 cat conftest.err >&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); } && {
39952 test -z "$ac_c_werror_flag" ||
39953 test ! -s conftest.err
39954 } && test -s conftest$ac_exeext &&
39955 $as_test_x conftest$ac_exeext; then
39956 eval "$as_ac_var=yes"
39957 else
39958 echo "$as_me: failed program was:" >&5
39959 sed 's/^/| /' conftest.$ac_ext >&5
39960
39961 eval "$as_ac_var=no"
39962 fi
39963
39964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39965 conftest$ac_exeext conftest.$ac_ext
39966 fi
39967 ac_res=`eval echo '${'$as_ac_var'}'`
39968 { echo "$as_me:$LINENO: result: $ac_res" >&5
39969 echo "${ECHO_T}$ac_res" >&6; }
39970 if test `eval echo '${'$as_ac_var'}'` = yes; then
39971 cat >>confdefs.h <<_ACEOF
39972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39973 _ACEOF
39974 break
39975 fi
39976 done
39977
39978
39979 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39980 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39981 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39982 wxUSE_SNGLINST_CHECKER=no
39983 fi
39984 fi
39985
39986
39987
39988 for ac_func in setenv putenv
39989 do
39990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39995 else
39996 cat >conftest.$ac_ext <<_ACEOF
39997 /* confdefs.h. */
39998 _ACEOF
39999 cat confdefs.h >>conftest.$ac_ext
40000 cat >>conftest.$ac_ext <<_ACEOF
40001 /* end confdefs.h. */
40002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40004 #define $ac_func innocuous_$ac_func
40005
40006 /* System header to define __stub macros and hopefully few prototypes,
40007 which can conflict with char $ac_func (); below.
40008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40009 <limits.h> exists even on freestanding compilers. */
40010
40011 #ifdef __STDC__
40012 # include <limits.h>
40013 #else
40014 # include <assert.h>
40015 #endif
40016
40017 #undef $ac_func
40018
40019 /* Override any GCC internal prototype to avoid an error.
40020 Use char because int might match the return type of a GCC
40021 builtin and then its argument prototype would still apply. */
40022 #ifdef __cplusplus
40023 extern "C"
40024 #endif
40025 char $ac_func ();
40026 /* The GNU C library defines this for functions which it implements
40027 to always fail with ENOSYS. Some functions are actually named
40028 something starting with __ and the normal name is an alias. */
40029 #if defined __stub_$ac_func || defined __stub___$ac_func
40030 choke me
40031 #endif
40032
40033 int
40034 main ()
40035 {
40036 return $ac_func ();
40037 ;
40038 return 0;
40039 }
40040 _ACEOF
40041 rm -f conftest.$ac_objext conftest$ac_exeext
40042 if { (ac_try="$ac_link"
40043 case "(($ac_try" in
40044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40045 *) ac_try_echo=$ac_try;;
40046 esac
40047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40048 (eval "$ac_link") 2>conftest.er1
40049 ac_status=$?
40050 grep -v '^ *+' conftest.er1 >conftest.err
40051 rm -f conftest.er1
40052 cat conftest.err >&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); } && {
40055 test -z "$ac_c_werror_flag" ||
40056 test ! -s conftest.err
40057 } && test -s conftest$ac_exeext &&
40058 $as_test_x conftest$ac_exeext; then
40059 eval "$as_ac_var=yes"
40060 else
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.$ac_ext >&5
40063
40064 eval "$as_ac_var=no"
40065 fi
40066
40067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40068 conftest$ac_exeext conftest.$ac_ext
40069 fi
40070 ac_res=`eval echo '${'$as_ac_var'}'`
40071 { echo "$as_me:$LINENO: result: $ac_res" >&5
40072 echo "${ECHO_T}$ac_res" >&6; }
40073 if test `eval echo '${'$as_ac_var'}'` = yes; then
40074 cat >>confdefs.h <<_ACEOF
40075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40076 _ACEOF
40077 break
40078 fi
40079 done
40080
40081 if test "$ac_cv_func_setenv" = "yes"; then
40082
40083 for ac_func in unsetenv
40084 do
40085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40089 echo $ECHO_N "(cached) $ECHO_C" >&6
40090 else
40091 cat >conftest.$ac_ext <<_ACEOF
40092 /* confdefs.h. */
40093 _ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40099 #define $ac_func innocuous_$ac_func
40100
40101 /* System header to define __stub macros and hopefully few prototypes,
40102 which can conflict with char $ac_func (); below.
40103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40104 <limits.h> exists even on freestanding compilers. */
40105
40106 #ifdef __STDC__
40107 # include <limits.h>
40108 #else
40109 # include <assert.h>
40110 #endif
40111
40112 #undef $ac_func
40113
40114 /* Override any GCC internal prototype to avoid an error.
40115 Use char because int might match the return type of a GCC
40116 builtin and then its argument prototype would still apply. */
40117 #ifdef __cplusplus
40118 extern "C"
40119 #endif
40120 char $ac_func ();
40121 /* The GNU C library defines this for functions which it implements
40122 to always fail with ENOSYS. Some functions are actually named
40123 something starting with __ and the normal name is an alias. */
40124 #if defined __stub_$ac_func || defined __stub___$ac_func
40125 choke me
40126 #endif
40127
40128 int
40129 main ()
40130 {
40131 return $ac_func ();
40132 ;
40133 return 0;
40134 }
40135 _ACEOF
40136 rm -f conftest.$ac_objext conftest$ac_exeext
40137 if { (ac_try="$ac_link"
40138 case "(($ac_try" in
40139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40140 *) ac_try_echo=$ac_try;;
40141 esac
40142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40143 (eval "$ac_link") 2>conftest.er1
40144 ac_status=$?
40145 grep -v '^ *+' conftest.er1 >conftest.err
40146 rm -f conftest.er1
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } && {
40150 test -z "$ac_c_werror_flag" ||
40151 test ! -s conftest.err
40152 } && test -s conftest$ac_exeext &&
40153 $as_test_x conftest$ac_exeext; then
40154 eval "$as_ac_var=yes"
40155 else
40156 echo "$as_me: failed program was:" >&5
40157 sed 's/^/| /' conftest.$ac_ext >&5
40158
40159 eval "$as_ac_var=no"
40160 fi
40161
40162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40163 conftest$ac_exeext conftest.$ac_ext
40164 fi
40165 ac_res=`eval echo '${'$as_ac_var'}'`
40166 { echo "$as_me:$LINENO: result: $ac_res" >&5
40167 echo "${ECHO_T}$ac_res" >&6; }
40168 if test `eval echo '${'$as_ac_var'}'` = yes; then
40169 cat >>confdefs.h <<_ACEOF
40170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40171 _ACEOF
40172
40173 fi
40174 done
40175
40176 fi
40177
40178 HAVE_SOME_SLEEP_FUNC=0
40179 if test "$USE_BEOS" = 1; then
40180 cat >>confdefs.h <<\_ACEOF
40181 #define HAVE_SLEEP 1
40182 _ACEOF
40183
40184 HAVE_SOME_SLEEP_FUNC=1
40185 fi
40186
40187 if test "$USE_DARWIN" = 1; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define HAVE_USLEEP 1
40190 _ACEOF
40191
40192 HAVE_SOME_SLEEP_FUNC=1
40193 fi
40194
40195 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40196 POSIX4_LINK=
40197
40198 for ac_func in nanosleep
40199 do
40200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40205 else
40206 cat >conftest.$ac_ext <<_ACEOF
40207 /* confdefs.h. */
40208 _ACEOF
40209 cat confdefs.h >>conftest.$ac_ext
40210 cat >>conftest.$ac_ext <<_ACEOF
40211 /* end confdefs.h. */
40212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40214 #define $ac_func innocuous_$ac_func
40215
40216 /* System header to define __stub macros and hopefully few prototypes,
40217 which can conflict with char $ac_func (); below.
40218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40219 <limits.h> exists even on freestanding compilers. */
40220
40221 #ifdef __STDC__
40222 # include <limits.h>
40223 #else
40224 # include <assert.h>
40225 #endif
40226
40227 #undef $ac_func
40228
40229 /* Override any GCC internal prototype to avoid an error.
40230 Use char because int might match the return type of a GCC
40231 builtin and then its argument prototype would still apply. */
40232 #ifdef __cplusplus
40233 extern "C"
40234 #endif
40235 char $ac_func ();
40236 /* The GNU C library defines this for functions which it implements
40237 to always fail with ENOSYS. Some functions are actually named
40238 something starting with __ and the normal name is an alias. */
40239 #if defined __stub_$ac_func || defined __stub___$ac_func
40240 choke me
40241 #endif
40242
40243 int
40244 main ()
40245 {
40246 return $ac_func ();
40247 ;
40248 return 0;
40249 }
40250 _ACEOF
40251 rm -f conftest.$ac_objext conftest$ac_exeext
40252 if { (ac_try="$ac_link"
40253 case "(($ac_try" in
40254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40255 *) ac_try_echo=$ac_try;;
40256 esac
40257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40258 (eval "$ac_link") 2>conftest.er1
40259 ac_status=$?
40260 grep -v '^ *+' conftest.er1 >conftest.err
40261 rm -f conftest.er1
40262 cat conftest.err >&5
40263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40264 (exit $ac_status); } && {
40265 test -z "$ac_c_werror_flag" ||
40266 test ! -s conftest.err
40267 } && test -s conftest$ac_exeext &&
40268 $as_test_x conftest$ac_exeext; then
40269 eval "$as_ac_var=yes"
40270 else
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.$ac_ext >&5
40273
40274 eval "$as_ac_var=no"
40275 fi
40276
40277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40278 conftest$ac_exeext conftest.$ac_ext
40279 fi
40280 ac_res=`eval echo '${'$as_ac_var'}'`
40281 { echo "$as_me:$LINENO: result: $ac_res" >&5
40282 echo "${ECHO_T}$ac_res" >&6; }
40283 if test `eval echo '${'$as_ac_var'}'` = yes; then
40284 cat >>confdefs.h <<_ACEOF
40285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40286 _ACEOF
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_NANOSLEEP 1
40289 _ACEOF
40290
40291 else
40292
40293 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40294 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40295 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 else
40298 ac_check_lib_save_LIBS=$LIBS
40299 LIBS="-lposix4 $LIBS"
40300 cat >conftest.$ac_ext <<_ACEOF
40301 /* confdefs.h. */
40302 _ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40306
40307 /* Override any GCC internal prototype to avoid an error.
40308 Use char because int might match the return type of a GCC
40309 builtin and then its argument prototype would still apply. */
40310 #ifdef __cplusplus
40311 extern "C"
40312 #endif
40313 char nanosleep ();
40314 int
40315 main ()
40316 {
40317 return nanosleep ();
40318 ;
40319 return 0;
40320 }
40321 _ACEOF
40322 rm -f conftest.$ac_objext conftest$ac_exeext
40323 if { (ac_try="$ac_link"
40324 case "(($ac_try" in
40325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40326 *) ac_try_echo=$ac_try;;
40327 esac
40328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40329 (eval "$ac_link") 2>conftest.er1
40330 ac_status=$?
40331 grep -v '^ *+' conftest.er1 >conftest.err
40332 rm -f conftest.er1
40333 cat conftest.err >&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } && {
40336 test -z "$ac_c_werror_flag" ||
40337 test ! -s conftest.err
40338 } && test -s conftest$ac_exeext &&
40339 $as_test_x conftest$ac_exeext; then
40340 ac_cv_lib_posix4_nanosleep=yes
40341 else
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.$ac_ext >&5
40344
40345 ac_cv_lib_posix4_nanosleep=no
40346 fi
40347
40348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40349 conftest$ac_exeext conftest.$ac_ext
40350 LIBS=$ac_check_lib_save_LIBS
40351 fi
40352 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40353 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40354 if test $ac_cv_lib_posix4_nanosleep = yes; then
40355
40356 cat >>confdefs.h <<\_ACEOF
40357 #define HAVE_NANOSLEEP 1
40358 _ACEOF
40359
40360 POSIX4_LINK=" -lposix4"
40361
40362 else
40363
40364
40365 for wx_func in usleep
40366 do
40367 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40368 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40369 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40371 else
40372
40373 cat >conftest.$ac_ext <<_ACEOF
40374
40375 /* confdefs.h. */
40376 _ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40380
40381
40382 $ac_includes_default
40383
40384 int
40385 main ()
40386 {
40387
40388 #ifndef $wx_func
40389 &$wx_func;
40390 #endif
40391
40392
40393 ;
40394 return 0;
40395 }
40396
40397 _ACEOF
40398 rm -f conftest.$ac_objext conftest$ac_exeext
40399 if { (ac_try="$ac_link"
40400 case "(($ac_try" in
40401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40402 *) ac_try_echo=$ac_try;;
40403 esac
40404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40405 (eval "$ac_link") 2>conftest.er1
40406 ac_status=$?
40407 grep -v '^ *+' conftest.er1 >conftest.err
40408 rm -f conftest.er1
40409 cat conftest.err >&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); } && {
40412 test -z "$ac_c_werror_flag" ||
40413 test ! -s conftest.err
40414 } && test -s conftest$ac_exeext &&
40415 $as_test_x conftest$ac_exeext; then
40416 eval wx_cv_func_$wx_func=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 eval wx_cv_func_$wx_func=no
40422 fi
40423
40424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40425 conftest$ac_exeext conftest.$ac_ext
40426
40427 fi
40428 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40429 { echo "$as_me:$LINENO: result: $ac_res" >&5
40430 echo "${ECHO_T}$ac_res" >&6; }
40431
40432 if eval test \$wx_cv_func_$wx_func = yes
40433 then
40434 cat >>confdefs.h <<_ACEOF
40435 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40436 _ACEOF
40437
40438
40439 else
40440 :
40441 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40442 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40443
40444 fi
40445 done
40446
40447
40448
40449 fi
40450
40451
40452
40453 fi
40454 done
40455
40456 fi
40457
40458
40459 for wx_func in uname
40460 do
40461 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40463 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40464 echo $ECHO_N "(cached) $ECHO_C" >&6
40465 else
40466
40467 cat >conftest.$ac_ext <<_ACEOF
40468
40469 /* confdefs.h. */
40470 _ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474
40475 #include <sys/utsname.h>
40476 $ac_includes_default
40477
40478 int
40479 main ()
40480 {
40481
40482 #ifndef $wx_func
40483 &$wx_func;
40484 #endif
40485
40486
40487 ;
40488 return 0;
40489 }
40490
40491 _ACEOF
40492 rm -f conftest.$ac_objext conftest$ac_exeext
40493 if { (ac_try="$ac_link"
40494 case "(($ac_try" in
40495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40496 *) ac_try_echo=$ac_try;;
40497 esac
40498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40499 (eval "$ac_link") 2>conftest.er1
40500 ac_status=$?
40501 grep -v '^ *+' conftest.er1 >conftest.err
40502 rm -f conftest.er1
40503 cat conftest.err >&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } && {
40506 test -z "$ac_c_werror_flag" ||
40507 test ! -s conftest.err
40508 } && test -s conftest$ac_exeext &&
40509 $as_test_x conftest$ac_exeext; then
40510 eval wx_cv_func_$wx_func=yes
40511 else
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40514
40515 eval wx_cv_func_$wx_func=no
40516 fi
40517
40518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40519 conftest$ac_exeext conftest.$ac_ext
40520
40521 fi
40522 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40523 { echo "$as_me:$LINENO: result: $ac_res" >&5
40524 echo "${ECHO_T}$ac_res" >&6; }
40525
40526 if eval test \$wx_cv_func_$wx_func = yes
40527 then
40528 cat >>confdefs.h <<_ACEOF
40529 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40530 _ACEOF
40531
40532
40533 else
40534 :
40535
40536 fi
40537 done
40538
40539 if test "$wx_cv_func_uname" != yes; then
40540
40541 for wx_func in gethostname
40542 do
40543 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40544 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40545 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40546 echo $ECHO_N "(cached) $ECHO_C" >&6
40547 else
40548
40549 cat >conftest.$ac_ext <<_ACEOF
40550
40551 /* confdefs.h. */
40552 _ACEOF
40553 cat confdefs.h >>conftest.$ac_ext
40554 cat >>conftest.$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40556
40557
40558 $ac_includes_default
40559
40560 int
40561 main ()
40562 {
40563
40564 #ifndef $wx_func
40565 &$wx_func;
40566 #endif
40567
40568
40569 ;
40570 return 0;
40571 }
40572
40573 _ACEOF
40574 rm -f conftest.$ac_objext conftest$ac_exeext
40575 if { (ac_try="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40579 esac
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 eval wx_cv_func_$wx_func=yes
40593 else
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40596
40597 eval wx_cv_func_$wx_func=no
40598 fi
40599
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40602
40603 fi
40604 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40605 { echo "$as_me:$LINENO: result: $ac_res" >&5
40606 echo "${ECHO_T}$ac_res" >&6; }
40607
40608 if eval test \$wx_cv_func_$wx_func = yes
40609 then
40610 cat >>confdefs.h <<_ACEOF
40611 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40612 _ACEOF
40613
40614
40615 else
40616 :
40617
40618 fi
40619 done
40620
40621 fi
40622
40623
40624 for wx_func in strtok_r
40625 do
40626 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40627 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40628 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40629 echo $ECHO_N "(cached) $ECHO_C" >&6
40630 else
40631
40632 cat >conftest.$ac_ext <<_ACEOF
40633
40634 /* confdefs.h. */
40635 _ACEOF
40636 cat confdefs.h >>conftest.$ac_ext
40637 cat >>conftest.$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40639
40640 #define _REENTRANT
40641 $ac_includes_default
40642
40643 int
40644 main ()
40645 {
40646
40647 #ifndef $wx_func
40648 &$wx_func;
40649 #endif
40650
40651
40652 ;
40653 return 0;
40654 }
40655
40656 _ACEOF
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (ac_try="$ac_link"
40659 case "(($ac_try" in
40660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40661 *) ac_try_echo=$ac_try;;
40662 esac
40663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40664 (eval "$ac_link") 2>conftest.er1
40665 ac_status=$?
40666 grep -v '^ *+' conftest.er1 >conftest.err
40667 rm -f conftest.er1
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } && {
40671 test -z "$ac_c_werror_flag" ||
40672 test ! -s conftest.err
40673 } && test -s conftest$ac_exeext &&
40674 $as_test_x conftest$ac_exeext; then
40675 eval wx_cv_func_$wx_func=yes
40676 else
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40679
40680 eval wx_cv_func_$wx_func=no
40681 fi
40682
40683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40684 conftest$ac_exeext conftest.$ac_ext
40685
40686 fi
40687 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40688 { echo "$as_me:$LINENO: result: $ac_res" >&5
40689 echo "${ECHO_T}$ac_res" >&6; }
40690
40691 if eval test \$wx_cv_func_$wx_func = yes
40692 then
40693 cat >>confdefs.h <<_ACEOF
40694 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40695 _ACEOF
40696
40697
40698 else
40699 :
40700
40701 fi
40702 done
40703
40704
40705 INET_LINK=
40706
40707 for ac_func in inet_addr
40708 do
40709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40714 else
40715 cat >conftest.$ac_ext <<_ACEOF
40716 /* confdefs.h. */
40717 _ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40723 #define $ac_func innocuous_$ac_func
40724
40725 /* System header to define __stub macros and hopefully few prototypes,
40726 which can conflict with char $ac_func (); below.
40727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40728 <limits.h> exists even on freestanding compilers. */
40729
40730 #ifdef __STDC__
40731 # include <limits.h>
40732 #else
40733 # include <assert.h>
40734 #endif
40735
40736 #undef $ac_func
40737
40738 /* Override any GCC internal prototype to avoid an error.
40739 Use char because int might match the return type of a GCC
40740 builtin and then its argument prototype would still apply. */
40741 #ifdef __cplusplus
40742 extern "C"
40743 #endif
40744 char $ac_func ();
40745 /* The GNU C library defines this for functions which it implements
40746 to always fail with ENOSYS. Some functions are actually named
40747 something starting with __ and the normal name is an alias. */
40748 #if defined __stub_$ac_func || defined __stub___$ac_func
40749 choke me
40750 #endif
40751
40752 int
40753 main ()
40754 {
40755 return $ac_func ();
40756 ;
40757 return 0;
40758 }
40759 _ACEOF
40760 rm -f conftest.$ac_objext conftest$ac_exeext
40761 if { (ac_try="$ac_link"
40762 case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40764 *) ac_try_echo=$ac_try;;
40765 esac
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_link") 2>conftest.er1
40768 ac_status=$?
40769 grep -v '^ *+' conftest.er1 >conftest.err
40770 rm -f conftest.er1
40771 cat conftest.err >&5
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); } && {
40774 test -z "$ac_c_werror_flag" ||
40775 test ! -s conftest.err
40776 } && test -s conftest$ac_exeext &&
40777 $as_test_x conftest$ac_exeext; then
40778 eval "$as_ac_var=yes"
40779 else
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40782
40783 eval "$as_ac_var=no"
40784 fi
40785
40786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40787 conftest$ac_exeext conftest.$ac_ext
40788 fi
40789 ac_res=`eval echo '${'$as_ac_var'}'`
40790 { echo "$as_me:$LINENO: result: $ac_res" >&5
40791 echo "${ECHO_T}$ac_res" >&6; }
40792 if test `eval echo '${'$as_ac_var'}'` = yes; then
40793 cat >>confdefs.h <<_ACEOF
40794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40795 _ACEOF
40796 cat >>confdefs.h <<\_ACEOF
40797 #define HAVE_INET_ADDR 1
40798 _ACEOF
40799
40800 else
40801
40802 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40803 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40804 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 else
40807 ac_check_lib_save_LIBS=$LIBS
40808 LIBS="-lnsl $LIBS"
40809 cat >conftest.$ac_ext <<_ACEOF
40810 /* confdefs.h. */
40811 _ACEOF
40812 cat confdefs.h >>conftest.$ac_ext
40813 cat >>conftest.$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40815
40816 /* Override any GCC internal prototype to avoid an error.
40817 Use char because int might match the return type of a GCC
40818 builtin and then its argument prototype would still apply. */
40819 #ifdef __cplusplus
40820 extern "C"
40821 #endif
40822 char inet_addr ();
40823 int
40824 main ()
40825 {
40826 return inet_addr ();
40827 ;
40828 return 0;
40829 }
40830 _ACEOF
40831 rm -f conftest.$ac_objext conftest$ac_exeext
40832 if { (ac_try="$ac_link"
40833 case "(($ac_try" in
40834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40835 *) ac_try_echo=$ac_try;;
40836 esac
40837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40838 (eval "$ac_link") 2>conftest.er1
40839 ac_status=$?
40840 grep -v '^ *+' conftest.er1 >conftest.err
40841 rm -f conftest.er1
40842 cat conftest.err >&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } && {
40845 test -z "$ac_c_werror_flag" ||
40846 test ! -s conftest.err
40847 } && test -s conftest$ac_exeext &&
40848 $as_test_x conftest$ac_exeext; then
40849 ac_cv_lib_nsl_inet_addr=yes
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40853
40854 ac_cv_lib_nsl_inet_addr=no
40855 fi
40856
40857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40858 conftest$ac_exeext conftest.$ac_ext
40859 LIBS=$ac_check_lib_save_LIBS
40860 fi
40861 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40862 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40863 if test $ac_cv_lib_nsl_inet_addr = yes; then
40864 INET_LINK="nsl"
40865 else
40866
40867 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40868 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40869 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40870 echo $ECHO_N "(cached) $ECHO_C" >&6
40871 else
40872 ac_check_lib_save_LIBS=$LIBS
40873 LIBS="-lresolv $LIBS"
40874 cat >conftest.$ac_ext <<_ACEOF
40875 /* confdefs.h. */
40876 _ACEOF
40877 cat confdefs.h >>conftest.$ac_ext
40878 cat >>conftest.$ac_ext <<_ACEOF
40879 /* end confdefs.h. */
40880
40881 /* Override any GCC internal prototype to avoid an error.
40882 Use char because int might match the return type of a GCC
40883 builtin and then its argument prototype would still apply. */
40884 #ifdef __cplusplus
40885 extern "C"
40886 #endif
40887 char inet_addr ();
40888 int
40889 main ()
40890 {
40891 return inet_addr ();
40892 ;
40893 return 0;
40894 }
40895 _ACEOF
40896 rm -f conftest.$ac_objext conftest$ac_exeext
40897 if { (ac_try="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40901 esac
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40904 ac_status=$?
40905 grep -v '^ *+' conftest.er1 >conftest.err
40906 rm -f conftest.er1
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 ac_cv_lib_resolv_inet_addr=yes
40915 else
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40918
40919 ac_cv_lib_resolv_inet_addr=no
40920 fi
40921
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40924 LIBS=$ac_check_lib_save_LIBS
40925 fi
40926 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40927 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40928 if test $ac_cv_lib_resolv_inet_addr = yes; then
40929 INET_LINK="resolv"
40930 else
40931
40932 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40933 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40934 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40936 else
40937 ac_check_lib_save_LIBS=$LIBS
40938 LIBS="-lsocket $LIBS"
40939 cat >conftest.$ac_ext <<_ACEOF
40940 /* confdefs.h. */
40941 _ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945
40946 /* Override any GCC internal prototype to avoid an error.
40947 Use char because int might match the return type of a GCC
40948 builtin and then its argument prototype would still apply. */
40949 #ifdef __cplusplus
40950 extern "C"
40951 #endif
40952 char inet_addr ();
40953 int
40954 main ()
40955 {
40956 return inet_addr ();
40957 ;
40958 return 0;
40959 }
40960 _ACEOF
40961 rm -f conftest.$ac_objext conftest$ac_exeext
40962 if { (ac_try="$ac_link"
40963 case "(($ac_try" in
40964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40965 *) ac_try_echo=$ac_try;;
40966 esac
40967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40968 (eval "$ac_link") 2>conftest.er1
40969 ac_status=$?
40970 grep -v '^ *+' conftest.er1 >conftest.err
40971 rm -f conftest.er1
40972 cat conftest.err >&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } && {
40975 test -z "$ac_c_werror_flag" ||
40976 test ! -s conftest.err
40977 } && test -s conftest$ac_exeext &&
40978 $as_test_x conftest$ac_exeext; then
40979 ac_cv_lib_socket_inet_addr=yes
40980 else
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.$ac_ext >&5
40983
40984 ac_cv_lib_socket_inet_addr=no
40985 fi
40986
40987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40988 conftest$ac_exeext conftest.$ac_ext
40989 LIBS=$ac_check_lib_save_LIBS
40990 fi
40991 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40992 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40993 if test $ac_cv_lib_socket_inet_addr = yes; then
40994 INET_LINK="socket"
40995
40996 fi
40997
40998
40999
41000 fi
41001
41002
41003
41004 fi
41005
41006
41007
41008 fi
41009 done
41010
41011
41012
41013 for ac_func in inet_aton
41014 do
41015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41020 else
41021 cat >conftest.$ac_ext <<_ACEOF
41022 /* confdefs.h. */
41023 _ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41030
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41035
41036 #ifdef __STDC__
41037 # include <limits.h>
41038 #else
41039 # include <assert.h>
41040 #endif
41041
41042 #undef $ac_func
41043
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41047 #ifdef __cplusplus
41048 extern "C"
41049 #endif
41050 char $ac_func ();
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41055 choke me
41056 #endif
41057
41058 int
41059 main ()
41060 {
41061 return $ac_func ();
41062 ;
41063 return 0;
41064 }
41065 _ACEOF
41066 rm -f conftest.$ac_objext conftest$ac_exeext
41067 if { (ac_try="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41071 esac
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41074 ac_status=$?
41075 grep -v '^ *+' conftest.er1 >conftest.err
41076 rm -f conftest.er1
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41085 else
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41088
41089 eval "$as_ac_var=no"
41090 fi
41091
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41094 fi
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41101 _ACEOF
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_INET_ATON 1
41104 _ACEOF
41105
41106 else
41107
41108 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41109 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41110 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41111 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41113 else
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-l$INET_LINK $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41117 /* confdefs.h. */
41118 _ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41122
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41126 #ifdef __cplusplus
41127 extern "C"
41128 #endif
41129 char inet_aton ();
41130 int
41131 main ()
41132 {
41133 return inet_aton ();
41134 ;
41135 return 0;
41136 }
41137 _ACEOF
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41142 *) ac_try_echo=$ac_try;;
41143 esac
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41146 ac_status=$?
41147 grep -v '^ *+' conftest.er1 >conftest.err
41148 rm -f conftest.er1
41149 cat conftest.err >&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest$ac_exeext &&
41155 $as_test_x conftest$ac_exeext; then
41156 eval "$as_ac_Lib=yes"
41157 else
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41160
41161 eval "$as_ac_Lib=no"
41162 fi
41163
41164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41165 conftest$ac_exeext conftest.$ac_ext
41166 LIBS=$ac_check_lib_save_LIBS
41167 fi
41168 ac_res=`eval echo '${'$as_ac_Lib'}'`
41169 { echo "$as_me:$LINENO: result: $ac_res" >&5
41170 echo "${ECHO_T}$ac_res" >&6; }
41171 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41172 cat >>confdefs.h <<\_ACEOF
41173 #define HAVE_INET_ATON 1
41174 _ACEOF
41175
41176 fi
41177
41178
41179 fi
41180 done
41181
41182
41183 if test "x$INET_LINK" != "x"; then
41184 cat >>confdefs.h <<\_ACEOF
41185 #define HAVE_INET_ADDR 1
41186 _ACEOF
41187
41188 INET_LINK=" -l$INET_LINK"
41189 fi
41190
41191
41192 for wx_func in fdopen
41193 do
41194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 else
41199
41200 cat >conftest.$ac_ext <<_ACEOF
41201
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207
41208
41209 $ac_includes_default
41210
41211 int
41212 main ()
41213 {
41214
41215 #ifndef $wx_func
41216 &$wx_func;
41217 #endif
41218
41219
41220 ;
41221 return 0;
41222 }
41223
41224 _ACEOF
41225 rm -f conftest.$ac_objext conftest$ac_exeext
41226 if { (ac_try="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41230 esac
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41233 ac_status=$?
41234 grep -v '^ *+' conftest.er1 >conftest.err
41235 rm -f conftest.er1
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } && {
41239 test -z "$ac_c_werror_flag" ||
41240 test ! -s conftest.err
41241 } && test -s conftest$ac_exeext &&
41242 $as_test_x conftest$ac_exeext; then
41243 eval wx_cv_func_$wx_func=yes
41244 else
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41247
41248 eval wx_cv_func_$wx_func=no
41249 fi
41250
41251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41252 conftest$ac_exeext conftest.$ac_ext
41253
41254 fi
41255 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41256 { echo "$as_me:$LINENO: result: $ac_res" >&5
41257 echo "${ECHO_T}$ac_res" >&6; }
41258
41259 if eval test \$wx_cv_func_$wx_func = yes
41260 then
41261 cat >>confdefs.h <<_ACEOF
41262 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41263 _ACEOF
41264
41265
41266 else
41267 :
41268
41269 fi
41270 done
41271
41272
41273 if test "$wxUSE_TARSTREAM" = "yes"; then
41274
41275 for wx_func in sysconf
41276 do
41277 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41278 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41279 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41280 echo $ECHO_N "(cached) $ECHO_C" >&6
41281 else
41282
41283 cat >conftest.$ac_ext <<_ACEOF
41284
41285 /* confdefs.h. */
41286 _ACEOF
41287 cat confdefs.h >>conftest.$ac_ext
41288 cat >>conftest.$ac_ext <<_ACEOF
41289 /* end confdefs.h. */
41290
41291
41292 $ac_includes_default
41293
41294 int
41295 main ()
41296 {
41297
41298 #ifndef $wx_func
41299 &$wx_func;
41300 #endif
41301
41302
41303 ;
41304 return 0;
41305 }
41306
41307 _ACEOF
41308 rm -f conftest.$ac_objext conftest$ac_exeext
41309 if { (ac_try="$ac_link"
41310 case "(($ac_try" in
41311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41312 *) ac_try_echo=$ac_try;;
41313 esac
41314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41315 (eval "$ac_link") 2>conftest.er1
41316 ac_status=$?
41317 grep -v '^ *+' conftest.er1 >conftest.err
41318 rm -f conftest.er1
41319 cat conftest.err >&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); } && {
41322 test -z "$ac_c_werror_flag" ||
41323 test ! -s conftest.err
41324 } && test -s conftest$ac_exeext &&
41325 $as_test_x conftest$ac_exeext; then
41326 eval wx_cv_func_$wx_func=yes
41327 else
41328 echo "$as_me: failed program was:" >&5
41329 sed 's/^/| /' conftest.$ac_ext >&5
41330
41331 eval wx_cv_func_$wx_func=no
41332 fi
41333
41334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41335 conftest$ac_exeext conftest.$ac_ext
41336
41337 fi
41338 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41339 { echo "$as_me:$LINENO: result: $ac_res" >&5
41340 echo "${ECHO_T}$ac_res" >&6; }
41341
41342 if eval test \$wx_cv_func_$wx_func = yes
41343 then
41344 cat >>confdefs.h <<_ACEOF
41345 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41346 _ACEOF
41347
41348
41349 else
41350 :
41351
41352 fi
41353 done
41354
41355
41356 for wx_func in getpwuid_r
41357 do
41358 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41359 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41360 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41361 echo $ECHO_N "(cached) $ECHO_C" >&6
41362 else
41363
41364 cat >conftest.$ac_ext <<_ACEOF
41365
41366 /* confdefs.h. */
41367 _ACEOF
41368 cat confdefs.h >>conftest.$ac_ext
41369 cat >>conftest.$ac_ext <<_ACEOF
41370 /* end confdefs.h. */
41371
41372 #define _REENTRANT
41373 #include <pwd.h>
41374 $ac_includes_default
41375
41376 int
41377 main ()
41378 {
41379
41380 #ifndef $wx_func
41381 &$wx_func;
41382 #endif
41383
41384
41385 ;
41386 return 0;
41387 }
41388
41389 _ACEOF
41390 rm -f conftest.$ac_objext conftest$ac_exeext
41391 if { (ac_try="$ac_link"
41392 case "(($ac_try" in
41393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41394 *) ac_try_echo=$ac_try;;
41395 esac
41396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41397 (eval "$ac_link") 2>conftest.er1
41398 ac_status=$?
41399 grep -v '^ *+' conftest.er1 >conftest.err
41400 rm -f conftest.er1
41401 cat conftest.err >&5
41402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41403 (exit $ac_status); } && {
41404 test -z "$ac_c_werror_flag" ||
41405 test ! -s conftest.err
41406 } && test -s conftest$ac_exeext &&
41407 $as_test_x conftest$ac_exeext; then
41408 eval wx_cv_func_$wx_func=yes
41409 else
41410 echo "$as_me: failed program was:" >&5
41411 sed 's/^/| /' conftest.$ac_ext >&5
41412
41413 eval wx_cv_func_$wx_func=no
41414 fi
41415
41416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41417 conftest$ac_exeext conftest.$ac_ext
41418
41419 fi
41420 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41421 { echo "$as_me:$LINENO: result: $ac_res" >&5
41422 echo "${ECHO_T}$ac_res" >&6; }
41423
41424 if eval test \$wx_cv_func_$wx_func = yes
41425 then
41426 cat >>confdefs.h <<_ACEOF
41427 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41428 _ACEOF
41429
41430
41431 else
41432 :
41433
41434 fi
41435 done
41436
41437
41438 for wx_func in getgrgid_r
41439 do
41440 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41441 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41442 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41444 else
41445
41446 cat >conftest.$ac_ext <<_ACEOF
41447
41448 /* confdefs.h. */
41449 _ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41453
41454 #define _REENTRANT
41455 #include <grp.h>
41456 $ac_includes_default
41457
41458 int
41459 main ()
41460 {
41461
41462 #ifndef $wx_func
41463 &$wx_func;
41464 #endif
41465
41466
41467 ;
41468 return 0;
41469 }
41470
41471 _ACEOF
41472 rm -f conftest.$ac_objext conftest$ac_exeext
41473 if { (ac_try="$ac_link"
41474 case "(($ac_try" in
41475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41476 *) ac_try_echo=$ac_try;;
41477 esac
41478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41479 (eval "$ac_link") 2>conftest.er1
41480 ac_status=$?
41481 grep -v '^ *+' conftest.er1 >conftest.err
41482 rm -f conftest.er1
41483 cat conftest.err >&5
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); } && {
41486 test -z "$ac_c_werror_flag" ||
41487 test ! -s conftest.err
41488 } && test -s conftest$ac_exeext &&
41489 $as_test_x conftest$ac_exeext; then
41490 eval wx_cv_func_$wx_func=yes
41491 else
41492 echo "$as_me: failed program was:" >&5
41493 sed 's/^/| /' conftest.$ac_ext >&5
41494
41495 eval wx_cv_func_$wx_func=no
41496 fi
41497
41498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41499 conftest$ac_exeext conftest.$ac_ext
41500
41501 fi
41502 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41503 { echo "$as_me:$LINENO: result: $ac_res" >&5
41504 echo "${ECHO_T}$ac_res" >&6; }
41505
41506 if eval test \$wx_cv_func_$wx_func = yes
41507 then
41508 cat >>confdefs.h <<_ACEOF
41509 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41510 _ACEOF
41511
41512
41513 else
41514 :
41515
41516 fi
41517 done
41518
41519 fi
41520
41521 fi
41522
41523
41524
41525 cat >confcache <<\_ACEOF
41526 # This file is a shell script that caches the results of configure
41527 # tests run on this system so they can be shared between configure
41528 # scripts and configure runs, see configure's option --config-cache.
41529 # It is not useful on other systems. If it contains results you don't
41530 # want to keep, you may remove or edit it.
41531 #
41532 # config.status only pays attention to the cache file if you give it
41533 # the --recheck option to rerun configure.
41534 #
41535 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41536 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41537 # following values.
41538
41539 _ACEOF
41540
41541 # The following way of writing the cache mishandles newlines in values,
41542 # but we know of no workaround that is simple, portable, and efficient.
41543 # So, we kill variables containing newlines.
41544 # Ultrix sh set writes to stderr and can't be redirected directly,
41545 # and sets the high bit in the cache file unless we assign to the vars.
41546 (
41547 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41548 eval ac_val=\$$ac_var
41549 case $ac_val in #(
41550 *${as_nl}*)
41551 case $ac_var in #(
41552 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41553 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41554 esac
41555 case $ac_var in #(
41556 _ | IFS | as_nl) ;; #(
41557 *) $as_unset $ac_var ;;
41558 esac ;;
41559 esac
41560 done
41561
41562 (set) 2>&1 |
41563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41564 *${as_nl}ac_space=\ *)
41565 # `set' does not quote correctly, so add quotes (double-quote
41566 # substitution turns \\\\ into \\, and sed turns \\ into \).
41567 sed -n \
41568 "s/'/'\\\\''/g;
41569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41570 ;; #(
41571 *)
41572 # `set' quotes correctly as required by POSIX, so do not add quotes.
41573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41574 ;;
41575 esac |
41576 sort
41577 ) |
41578 sed '
41579 /^ac_cv_env_/b end
41580 t clear
41581 :clear
41582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41583 t end
41584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41585 :end' >>confcache
41586 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41587 if test -w "$cache_file"; then
41588 test "x$cache_file" != "x/dev/null" &&
41589 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41590 echo "$as_me: updating cache $cache_file" >&6;}
41591 cat confcache >$cache_file
41592 else
41593 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41594 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41595 fi
41596 fi
41597 rm -f confcache
41598
41599
41600 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41601
41602
41603 THREADS_LINK=
41604 THREADS_CFLAGS=
41605
41606 if test "$wxUSE_THREADS" = "yes" ; then
41607 if test "$USE_BEOS" = 1; then
41608 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41609 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41610 wxUSE_THREADS="no"
41611 fi
41612 fi
41613
41614 if test "$wxUSE_THREADS" = "yes" ; then
41615
41616
41617 THREAD_OPTS="-pthread"
41618 if test "x$SUNCXX" = xyes; then
41619 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41620 fi
41621
41622 case "${host}" in
41623 *-*-solaris2* | *-*-sunos4* )
41624 if test "x$GCC" = "xyes"; then
41625 THREAD_OPTS="-pthreads $THREAD_OPTS"
41626 fi
41627 ;;
41628 *-*-freebsd*)
41629 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41630 ;;
41631 *-*-darwin* | *-*-cygwin* )
41632 THREAD_OPTS=""
41633 ;;
41634 *-*-aix*)
41635 THREAD_OPTS="pthreads"
41636 ;;
41637 *-hp-hpux* )
41638 if test "x$GCC" = "xyes"; then
41639 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41640 THREAD_OPTS=""
41641 else
41642 THREAD_OPTS="-mt"
41643 fi
41644 ;;
41645
41646 *-*-irix* )
41647 if test "x$GCC" = "xyes"; then
41648 THREAD_OPTS=""
41649 fi
41650 ;;
41651
41652 *-*-*UnixWare*)
41653 if test "x$GCC" != "xyes"; then
41654 THREAD_OPTS="-Ethread"
41655 fi
41656 ;;
41657 esac
41658
41659 THREAD_OPTS="$THREAD_OPTS pthread none"
41660
41661 THREADS_OK=no
41662 for flag in $THREAD_OPTS; do
41663 case $flag in
41664 none)
41665 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41666 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41667 ;;
41668
41669 -*)
41670 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41671 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41672 THREADS_CFLAGS="$flag"
41673 ;;
41674
41675 *)
41676 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41677 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41678 THREADS_LINK="-l$flag"
41679 ;;
41680 esac
41681
41682 save_LIBS="$LIBS"
41683 save_CFLAGS="$CFLAGS"
41684 LIBS="$THREADS_LINK $LIBS"
41685 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41686
41687 cat >conftest.$ac_ext <<_ACEOF
41688 /* confdefs.h. */
41689 _ACEOF
41690 cat confdefs.h >>conftest.$ac_ext
41691 cat >>conftest.$ac_ext <<_ACEOF
41692 /* end confdefs.h. */
41693 #include <pthread.h>
41694 int
41695 main ()
41696 {
41697 pthread_create(0,0,0,0);
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41707 esac
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest$ac_exeext &&
41719 $as_test_x conftest$ac_exeext; then
41720 THREADS_OK=yes
41721 else
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41724
41725
41726 fi
41727
41728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41729 conftest$ac_exeext conftest.$ac_ext
41730
41731 LIBS="$save_LIBS"
41732 CFLAGS="$save_CFLAGS"
41733
41734 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41735 echo "${ECHO_T}$THREADS_OK" >&6; }
41736 if test "x$THREADS_OK" = "xyes"; then
41737 break;
41738 fi
41739
41740 THREADS_LINK=""
41741 THREADS_CFLAGS=""
41742 done
41743
41744 if test "x$THREADS_OK" != "xyes"; then
41745 wxUSE_THREADS=no
41746 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41747 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41748 else
41749 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41750 LIBS="$THREADS_LINK $LIBS"
41751
41752 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41753 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41754 flag=no
41755 case "${host}" in
41756 *-aix*)
41757 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41758 flag="-D_THREAD_SAFE"
41759 ;;
41760 *-freebsd*)
41761 flag="-D_THREAD_SAFE"
41762 ;;
41763 *-hp-hpux* )
41764 flag="-D_REENTRANT"
41765 if test "x$GCC" != "xyes"; then
41766 flag="$flag -D_RWSTD_MULTI_THREAD"
41767 fi
41768 ;;
41769 *solaris* | alpha*-osf*)
41770 flag="-D_REENTRANT"
41771 ;;
41772 esac
41773 { echo "$as_me:$LINENO: result: ${flag}" >&5
41774 echo "${ECHO_T}${flag}" >&6; }
41775 if test "x$flag" != xno; then
41776 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41777 fi
41778
41779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41780 fi
41781 fi
41782
41783 if test "$wxUSE_THREADS" = "yes" ; then
41784
41785 for ac_func in thr_setconcurrency
41786 do
41787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41791 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793 cat >conftest.$ac_ext <<_ACEOF
41794 /* confdefs.h. */
41795 _ACEOF
41796 cat confdefs.h >>conftest.$ac_ext
41797 cat >>conftest.$ac_ext <<_ACEOF
41798 /* end confdefs.h. */
41799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41801 #define $ac_func innocuous_$ac_func
41802
41803 /* System header to define __stub macros and hopefully few prototypes,
41804 which can conflict with char $ac_func (); below.
41805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41806 <limits.h> exists even on freestanding compilers. */
41807
41808 #ifdef __STDC__
41809 # include <limits.h>
41810 #else
41811 # include <assert.h>
41812 #endif
41813
41814 #undef $ac_func
41815
41816 /* Override any GCC internal prototype to avoid an error.
41817 Use char because int might match the return type of a GCC
41818 builtin and then its argument prototype would still apply. */
41819 #ifdef __cplusplus
41820 extern "C"
41821 #endif
41822 char $ac_func ();
41823 /* The GNU C library defines this for functions which it implements
41824 to always fail with ENOSYS. Some functions are actually named
41825 something starting with __ and the normal name is an alias. */
41826 #if defined __stub_$ac_func || defined __stub___$ac_func
41827 choke me
41828 #endif
41829
41830 int
41831 main ()
41832 {
41833 return $ac_func ();
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41843 esac
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 eval "$as_ac_var=yes"
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41860
41861 eval "$as_ac_var=no"
41862 fi
41863
41864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41865 conftest$ac_exeext conftest.$ac_ext
41866 fi
41867 ac_res=`eval echo '${'$as_ac_var'}'`
41868 { echo "$as_me:$LINENO: result: $ac_res" >&5
41869 echo "${ECHO_T}$ac_res" >&6; }
41870 if test `eval echo '${'$as_ac_var'}'` = yes; then
41871 cat >>confdefs.h <<_ACEOF
41872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41873 _ACEOF
41874
41875 fi
41876 done
41877
41878
41879 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41880 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41881 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41882 echo $ECHO_N "(cached) $ECHO_C" >&6
41883 else
41884
41885 ac_ext=cpp
41886 ac_cpp='$CXXCPP $CPPFLAGS'
41887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41890
41891 cat >conftest.$ac_ext <<_ACEOF
41892 /* confdefs.h. */
41893 _ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h. */
41897 #include <pthread.h>
41898 void ThreadCleanupFunc(void *p);
41899
41900 int
41901 main ()
41902 {
41903
41904 void *p;
41905 pthread_cleanup_push(ThreadCleanupFunc, p);
41906 pthread_cleanup_pop(0);
41907
41908 ;
41909 return 0;
41910 }
41911 _ACEOF
41912 rm -f conftest.$ac_objext
41913 if { (ac_try="$ac_compile"
41914 case "(($ac_try" in
41915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41916 *) ac_try_echo=$ac_try;;
41917 esac
41918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41919 (eval "$ac_compile") 2>conftest.er1
41920 ac_status=$?
41921 grep -v '^ *+' conftest.er1 >conftest.err
41922 rm -f conftest.er1
41923 cat conftest.err >&5
41924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41925 (exit $ac_status); } && {
41926 test -z "$ac_cxx_werror_flag" ||
41927 test ! -s conftest.err
41928 } && test -s conftest.$ac_objext; then
41929
41930 wx_cv_func_pthread_cleanup=yes
41931
41932 else
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41935
41936
41937 wx_cv_func_pthread_cleanup=no
41938
41939
41940 fi
41941
41942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41943 ac_ext=c
41944 ac_cpp='$CPP $CPPFLAGS'
41945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41948
41949
41950 fi
41951 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41952 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41953 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxHAVE_PTHREAD_CLEANUP 1
41956 _ACEOF
41957
41958 fi
41959
41960
41961 for ac_header in sched.h
41962 do
41963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41967 echo $ECHO_N "(cached) $ECHO_C" >&6
41968 else
41969 cat >conftest.$ac_ext <<_ACEOF
41970 /* confdefs.h. */
41971 _ACEOF
41972 cat confdefs.h >>conftest.$ac_ext
41973 cat >>conftest.$ac_ext <<_ACEOF
41974 /* end confdefs.h. */
41975 $ac_includes_default
41976
41977 #include <$ac_header>
41978 _ACEOF
41979 rm -f conftest.$ac_objext
41980 if { (ac_try="$ac_compile"
41981 case "(($ac_try" in
41982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41983 *) ac_try_echo=$ac_try;;
41984 esac
41985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41986 (eval "$ac_compile") 2>conftest.er1
41987 ac_status=$?
41988 grep -v '^ *+' conftest.er1 >conftest.err
41989 rm -f conftest.er1
41990 cat conftest.err >&5
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); } && {
41993 test -z "$ac_c_werror_flag" ||
41994 test ! -s conftest.err
41995 } && test -s conftest.$ac_objext; then
41996 eval "$as_ac_Header=yes"
41997 else
41998 echo "$as_me: failed program was:" >&5
41999 sed 's/^/| /' conftest.$ac_ext >&5
42000
42001 eval "$as_ac_Header=no"
42002 fi
42003
42004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42005 fi
42006 ac_res=`eval echo '${'$as_ac_Header'}'`
42007 { echo "$as_me:$LINENO: result: $ac_res" >&5
42008 echo "${ECHO_T}$ac_res" >&6; }
42009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42010 cat >>confdefs.h <<_ACEOF
42011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42012 _ACEOF
42013
42014 fi
42015
42016 done
42017
42018 if test "$ac_cv_header_sched_h" = "yes"; then
42019 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42020 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42021 if test "${ac_cv_func_sched_yield+set}" = set; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 else
42024 cat >conftest.$ac_ext <<_ACEOF
42025 /* confdefs.h. */
42026 _ACEOF
42027 cat confdefs.h >>conftest.$ac_ext
42028 cat >>conftest.$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42030 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42032 #define sched_yield innocuous_sched_yield
42033
42034 /* System header to define __stub macros and hopefully few prototypes,
42035 which can conflict with char sched_yield (); below.
42036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42037 <limits.h> exists even on freestanding compilers. */
42038
42039 #ifdef __STDC__
42040 # include <limits.h>
42041 #else
42042 # include <assert.h>
42043 #endif
42044
42045 #undef sched_yield
42046
42047 /* Override any GCC internal prototype to avoid an error.
42048 Use char because int might match the return type of a GCC
42049 builtin and then its argument prototype would still apply. */
42050 #ifdef __cplusplus
42051 extern "C"
42052 #endif
42053 char sched_yield ();
42054 /* The GNU C library defines this for functions which it implements
42055 to always fail with ENOSYS. Some functions are actually named
42056 something starting with __ and the normal name is an alias. */
42057 #if defined __stub_sched_yield || defined __stub___sched_yield
42058 choke me
42059 #endif
42060
42061 int
42062 main ()
42063 {
42064 return sched_yield ();
42065 ;
42066 return 0;
42067 }
42068 _ACEOF
42069 rm -f conftest.$ac_objext conftest$ac_exeext
42070 if { (ac_try="$ac_link"
42071 case "(($ac_try" in
42072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42073 *) ac_try_echo=$ac_try;;
42074 esac
42075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42076 (eval "$ac_link") 2>conftest.er1
42077 ac_status=$?
42078 grep -v '^ *+' conftest.er1 >conftest.err
42079 rm -f conftest.er1
42080 cat conftest.err >&5
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); } && {
42083 test -z "$ac_c_werror_flag" ||
42084 test ! -s conftest.err
42085 } && test -s conftest$ac_exeext &&
42086 $as_test_x conftest$ac_exeext; then
42087 ac_cv_func_sched_yield=yes
42088 else
42089 echo "$as_me: failed program was:" >&5
42090 sed 's/^/| /' conftest.$ac_ext >&5
42091
42092 ac_cv_func_sched_yield=no
42093 fi
42094
42095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42096 conftest$ac_exeext conftest.$ac_ext
42097 fi
42098 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42099 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42100 if test $ac_cv_func_sched_yield = yes; then
42101 cat >>confdefs.h <<\_ACEOF
42102 #define HAVE_SCHED_YIELD 1
42103 _ACEOF
42104
42105 else
42106
42107 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42108 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42109 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42110 echo $ECHO_N "(cached) $ECHO_C" >&6
42111 else
42112 ac_check_lib_save_LIBS=$LIBS
42113 LIBS="-lposix4 $LIBS"
42114 cat >conftest.$ac_ext <<_ACEOF
42115 /* confdefs.h. */
42116 _ACEOF
42117 cat confdefs.h >>conftest.$ac_ext
42118 cat >>conftest.$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42120
42121 /* Override any GCC internal prototype to avoid an error.
42122 Use char because int might match the return type of a GCC
42123 builtin and then its argument prototype would still apply. */
42124 #ifdef __cplusplus
42125 extern "C"
42126 #endif
42127 char sched_yield ();
42128 int
42129 main ()
42130 {
42131 return sched_yield ();
42132 ;
42133 return 0;
42134 }
42135 _ACEOF
42136 rm -f conftest.$ac_objext conftest$ac_exeext
42137 if { (ac_try="$ac_link"
42138 case "(($ac_try" in
42139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42140 *) ac_try_echo=$ac_try;;
42141 esac
42142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42143 (eval "$ac_link") 2>conftest.er1
42144 ac_status=$?
42145 grep -v '^ *+' conftest.er1 >conftest.err
42146 rm -f conftest.er1
42147 cat conftest.err >&5
42148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42149 (exit $ac_status); } && {
42150 test -z "$ac_c_werror_flag" ||
42151 test ! -s conftest.err
42152 } && test -s conftest$ac_exeext &&
42153 $as_test_x conftest$ac_exeext; then
42154 ac_cv_lib_posix4_sched_yield=yes
42155 else
42156 echo "$as_me: failed program was:" >&5
42157 sed 's/^/| /' conftest.$ac_ext >&5
42158
42159 ac_cv_lib_posix4_sched_yield=no
42160 fi
42161
42162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42163 conftest$ac_exeext conftest.$ac_ext
42164 LIBS=$ac_check_lib_save_LIBS
42165 fi
42166 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42167 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42168 if test $ac_cv_lib_posix4_sched_yield = yes; then
42169 cat >>confdefs.h <<\_ACEOF
42170 #define HAVE_SCHED_YIELD 1
42171 _ACEOF
42172 POSIX4_LINK=" -lposix4"
42173 else
42174 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42175 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42176
42177 fi
42178
42179
42180
42181 fi
42182
42183 fi
42184
42185 HAVE_PRIOR_FUNCS=0
42186 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42187 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42188 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42189 echo $ECHO_N "(cached) $ECHO_C" >&6
42190 else
42191 cat >conftest.$ac_ext <<_ACEOF
42192 /* confdefs.h. */
42193 _ACEOF
42194 cat confdefs.h >>conftest.$ac_ext
42195 cat >>conftest.$ac_ext <<_ACEOF
42196 /* end confdefs.h. */
42197 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42199 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42200
42201 /* System header to define __stub macros and hopefully few prototypes,
42202 which can conflict with char pthread_attr_getschedpolicy (); below.
42203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42204 <limits.h> exists even on freestanding compilers. */
42205
42206 #ifdef __STDC__
42207 # include <limits.h>
42208 #else
42209 # include <assert.h>
42210 #endif
42211
42212 #undef pthread_attr_getschedpolicy
42213
42214 /* Override any GCC internal prototype to avoid an error.
42215 Use char because int might match the return type of a GCC
42216 builtin and then its argument prototype would still apply. */
42217 #ifdef __cplusplus
42218 extern "C"
42219 #endif
42220 char pthread_attr_getschedpolicy ();
42221 /* The GNU C library defines this for functions which it implements
42222 to always fail with ENOSYS. Some functions are actually named
42223 something starting with __ and the normal name is an alias. */
42224 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42225 choke me
42226 #endif
42227
42228 int
42229 main ()
42230 {
42231 return pthread_attr_getschedpolicy ();
42232 ;
42233 return 0;
42234 }
42235 _ACEOF
42236 rm -f conftest.$ac_objext conftest$ac_exeext
42237 if { (ac_try="$ac_link"
42238 case "(($ac_try" in
42239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42240 *) ac_try_echo=$ac_try;;
42241 esac
42242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42243 (eval "$ac_link") 2>conftest.er1
42244 ac_status=$?
42245 grep -v '^ *+' conftest.er1 >conftest.err
42246 rm -f conftest.er1
42247 cat conftest.err >&5
42248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42249 (exit $ac_status); } && {
42250 test -z "$ac_c_werror_flag" ||
42251 test ! -s conftest.err
42252 } && test -s conftest$ac_exeext &&
42253 $as_test_x conftest$ac_exeext; then
42254 ac_cv_func_pthread_attr_getschedpolicy=yes
42255 else
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.$ac_ext >&5
42258
42259 ac_cv_func_pthread_attr_getschedpolicy=no
42260 fi
42261
42262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42263 conftest$ac_exeext conftest.$ac_ext
42264 fi
42265 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42266 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42267 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42268 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42269 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42270 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 else
42273 cat >conftest.$ac_ext <<_ACEOF
42274 /* confdefs.h. */
42275 _ACEOF
42276 cat confdefs.h >>conftest.$ac_ext
42277 cat >>conftest.$ac_ext <<_ACEOF
42278 /* end confdefs.h. */
42279 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42281 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42282
42283 /* System header to define __stub macros and hopefully few prototypes,
42284 which can conflict with char pthread_attr_setschedparam (); below.
42285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42286 <limits.h> exists even on freestanding compilers. */
42287
42288 #ifdef __STDC__
42289 # include <limits.h>
42290 #else
42291 # include <assert.h>
42292 #endif
42293
42294 #undef pthread_attr_setschedparam
42295
42296 /* Override any GCC internal prototype to avoid an error.
42297 Use char because int might match the return type of a GCC
42298 builtin and then its argument prototype would still apply. */
42299 #ifdef __cplusplus
42300 extern "C"
42301 #endif
42302 char pthread_attr_setschedparam ();
42303 /* The GNU C library defines this for functions which it implements
42304 to always fail with ENOSYS. Some functions are actually named
42305 something starting with __ and the normal name is an alias. */
42306 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42307 choke me
42308 #endif
42309
42310 int
42311 main ()
42312 {
42313 return pthread_attr_setschedparam ();
42314 ;
42315 return 0;
42316 }
42317 _ACEOF
42318 rm -f conftest.$ac_objext conftest$ac_exeext
42319 if { (ac_try="$ac_link"
42320 case "(($ac_try" in
42321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42322 *) ac_try_echo=$ac_try;;
42323 esac
42324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42325 (eval "$ac_link") 2>conftest.er1
42326 ac_status=$?
42327 grep -v '^ *+' conftest.er1 >conftest.err
42328 rm -f conftest.er1
42329 cat conftest.err >&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } && {
42332 test -z "$ac_c_werror_flag" ||
42333 test ! -s conftest.err
42334 } && test -s conftest$ac_exeext &&
42335 $as_test_x conftest$ac_exeext; then
42336 ac_cv_func_pthread_attr_setschedparam=yes
42337 else
42338 echo "$as_me: failed program was:" >&5
42339 sed 's/^/| /' conftest.$ac_ext >&5
42340
42341 ac_cv_func_pthread_attr_setschedparam=no
42342 fi
42343
42344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42345 conftest$ac_exeext conftest.$ac_ext
42346 fi
42347 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42348 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42349 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42350 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42351 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42352 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355 cat >conftest.$ac_ext <<_ACEOF
42356 /* confdefs.h. */
42357 _ACEOF
42358 cat confdefs.h >>conftest.$ac_ext
42359 cat >>conftest.$ac_ext <<_ACEOF
42360 /* end confdefs.h. */
42361 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42363 #define sched_get_priority_max innocuous_sched_get_priority_max
42364
42365 /* System header to define __stub macros and hopefully few prototypes,
42366 which can conflict with char sched_get_priority_max (); below.
42367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42368 <limits.h> exists even on freestanding compilers. */
42369
42370 #ifdef __STDC__
42371 # include <limits.h>
42372 #else
42373 # include <assert.h>
42374 #endif
42375
42376 #undef sched_get_priority_max
42377
42378 /* Override any GCC internal prototype to avoid an error.
42379 Use char because int might match the return type of a GCC
42380 builtin and then its argument prototype would still apply. */
42381 #ifdef __cplusplus
42382 extern "C"
42383 #endif
42384 char sched_get_priority_max ();
42385 /* The GNU C library defines this for functions which it implements
42386 to always fail with ENOSYS. Some functions are actually named
42387 something starting with __ and the normal name is an alias. */
42388 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42389 choke me
42390 #endif
42391
42392 int
42393 main ()
42394 {
42395 return sched_get_priority_max ();
42396 ;
42397 return 0;
42398 }
42399 _ACEOF
42400 rm -f conftest.$ac_objext conftest$ac_exeext
42401 if { (ac_try="$ac_link"
42402 case "(($ac_try" in
42403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42404 *) ac_try_echo=$ac_try;;
42405 esac
42406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42407 (eval "$ac_link") 2>conftest.er1
42408 ac_status=$?
42409 grep -v '^ *+' conftest.er1 >conftest.err
42410 rm -f conftest.er1
42411 cat conftest.err >&5
42412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42413 (exit $ac_status); } && {
42414 test -z "$ac_c_werror_flag" ||
42415 test ! -s conftest.err
42416 } && test -s conftest$ac_exeext &&
42417 $as_test_x conftest$ac_exeext; then
42418 ac_cv_func_sched_get_priority_max=yes
42419 else
42420 echo "$as_me: failed program was:" >&5
42421 sed 's/^/| /' conftest.$ac_ext >&5
42422
42423 ac_cv_func_sched_get_priority_max=no
42424 fi
42425
42426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42427 conftest$ac_exeext conftest.$ac_ext
42428 fi
42429 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42430 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42431 if test $ac_cv_func_sched_get_priority_max = yes; then
42432 HAVE_PRIOR_FUNCS=1
42433 else
42434 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42435 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42436 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42438 else
42439 ac_check_lib_save_LIBS=$LIBS
42440 LIBS="-lposix4 $LIBS"
42441 cat >conftest.$ac_ext <<_ACEOF
42442 /* confdefs.h. */
42443 _ACEOF
42444 cat confdefs.h >>conftest.$ac_ext
42445 cat >>conftest.$ac_ext <<_ACEOF
42446 /* end confdefs.h. */
42447
42448 /* Override any GCC internal prototype to avoid an error.
42449 Use char because int might match the return type of a GCC
42450 builtin and then its argument prototype would still apply. */
42451 #ifdef __cplusplus
42452 extern "C"
42453 #endif
42454 char sched_get_priority_max ();
42455 int
42456 main ()
42457 {
42458 return sched_get_priority_max ();
42459 ;
42460 return 0;
42461 }
42462 _ACEOF
42463 rm -f conftest.$ac_objext conftest$ac_exeext
42464 if { (ac_try="$ac_link"
42465 case "(($ac_try" in
42466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42467 *) ac_try_echo=$ac_try;;
42468 esac
42469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42470 (eval "$ac_link") 2>conftest.er1
42471 ac_status=$?
42472 grep -v '^ *+' conftest.er1 >conftest.err
42473 rm -f conftest.er1
42474 cat conftest.err >&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); } && {
42477 test -z "$ac_c_werror_flag" ||
42478 test ! -s conftest.err
42479 } && test -s conftest$ac_exeext &&
42480 $as_test_x conftest$ac_exeext; then
42481 ac_cv_lib_posix4_sched_get_priority_max=yes
42482 else
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42485
42486 ac_cv_lib_posix4_sched_get_priority_max=no
42487 fi
42488
42489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42490 conftest$ac_exeext conftest.$ac_ext
42491 LIBS=$ac_check_lib_save_LIBS
42492 fi
42493 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42494 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42495 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42496
42497 HAVE_PRIOR_FUNCS=1
42498 POSIX4_LINK=" -lposix4"
42499
42500 fi
42501
42502
42503 fi
42504
42505
42506 fi
42507
42508
42509 fi
42510
42511
42512 if test "$HAVE_PRIOR_FUNCS" = 1; then
42513 cat >>confdefs.h <<\_ACEOF
42514 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42515 _ACEOF
42516
42517 else
42518 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42519 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42520 fi
42521
42522 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42523 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42524 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42525 echo $ECHO_N "(cached) $ECHO_C" >&6
42526 else
42527 cat >conftest.$ac_ext <<_ACEOF
42528 /* confdefs.h. */
42529 _ACEOF
42530 cat confdefs.h >>conftest.$ac_ext
42531 cat >>conftest.$ac_ext <<_ACEOF
42532 /* end confdefs.h. */
42533 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42535 #define pthread_cancel innocuous_pthread_cancel
42536
42537 /* System header to define __stub macros and hopefully few prototypes,
42538 which can conflict with char pthread_cancel (); below.
42539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42540 <limits.h> exists even on freestanding compilers. */
42541
42542 #ifdef __STDC__
42543 # include <limits.h>
42544 #else
42545 # include <assert.h>
42546 #endif
42547
42548 #undef pthread_cancel
42549
42550 /* Override any GCC internal prototype to avoid an error.
42551 Use char because int might match the return type of a GCC
42552 builtin and then its argument prototype would still apply. */
42553 #ifdef __cplusplus
42554 extern "C"
42555 #endif
42556 char pthread_cancel ();
42557 /* The GNU C library defines this for functions which it implements
42558 to always fail with ENOSYS. Some functions are actually named
42559 something starting with __ and the normal name is an alias. */
42560 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42561 choke me
42562 #endif
42563
42564 int
42565 main ()
42566 {
42567 return pthread_cancel ();
42568 ;
42569 return 0;
42570 }
42571 _ACEOF
42572 rm -f conftest.$ac_objext conftest$ac_exeext
42573 if { (ac_try="$ac_link"
42574 case "(($ac_try" in
42575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42576 *) ac_try_echo=$ac_try;;
42577 esac
42578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42579 (eval "$ac_link") 2>conftest.er1
42580 ac_status=$?
42581 grep -v '^ *+' conftest.er1 >conftest.err
42582 rm -f conftest.er1
42583 cat conftest.err >&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); } && {
42586 test -z "$ac_c_werror_flag" ||
42587 test ! -s conftest.err
42588 } && test -s conftest$ac_exeext &&
42589 $as_test_x conftest$ac_exeext; then
42590 ac_cv_func_pthread_cancel=yes
42591 else
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42594
42595 ac_cv_func_pthread_cancel=no
42596 fi
42597
42598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42599 conftest$ac_exeext conftest.$ac_ext
42600 fi
42601 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42602 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42603 if test $ac_cv_func_pthread_cancel = yes; then
42604 cat >>confdefs.h <<\_ACEOF
42605 #define HAVE_PTHREAD_CANCEL 1
42606 _ACEOF
42607
42608 else
42609 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42610 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42611 fi
42612
42613
42614 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42615 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42616 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42617 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 else
42619 cat >conftest.$ac_ext <<_ACEOF
42620 /* confdefs.h. */
42621 _ACEOF
42622 cat confdefs.h >>conftest.$ac_ext
42623 cat >>conftest.$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42625 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42627 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42628
42629 /* System header to define __stub macros and hopefully few prototypes,
42630 which can conflict with char pthread_mutex_timedlock (); below.
42631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42632 <limits.h> exists even on freestanding compilers. */
42633
42634 #ifdef __STDC__
42635 # include <limits.h>
42636 #else
42637 # include <assert.h>
42638 #endif
42639
42640 #undef pthread_mutex_timedlock
42641
42642 /* Override any GCC internal prototype to avoid an error.
42643 Use char because int might match the return type of a GCC
42644 builtin and then its argument prototype would still apply. */
42645 #ifdef __cplusplus
42646 extern "C"
42647 #endif
42648 char pthread_mutex_timedlock ();
42649 /* The GNU C library defines this for functions which it implements
42650 to always fail with ENOSYS. Some functions are actually named
42651 something starting with __ and the normal name is an alias. */
42652 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42653 choke me
42654 #endif
42655
42656 int
42657 main ()
42658 {
42659 return pthread_mutex_timedlock ();
42660 ;
42661 return 0;
42662 }
42663 _ACEOF
42664 rm -f conftest.$ac_objext conftest$ac_exeext
42665 if { (ac_try="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42668 *) ac_try_echo=$ac_try;;
42669 esac
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42672 ac_status=$?
42673 grep -v '^ *+' conftest.er1 >conftest.err
42674 rm -f conftest.er1
42675 cat conftest.err >&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest$ac_exeext &&
42681 $as_test_x conftest$ac_exeext; then
42682 ac_cv_func_pthread_mutex_timedlock=yes
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42686
42687 ac_cv_func_pthread_mutex_timedlock=no
42688 fi
42689
42690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42691 conftest$ac_exeext conftest.$ac_ext
42692 fi
42693 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42694 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42695 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42698 _ACEOF
42699
42700 else
42701 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42702 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42703 fi
42704
42705
42706 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42707 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42708 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42709 echo $ECHO_N "(cached) $ECHO_C" >&6
42710 else
42711 cat >conftest.$ac_ext <<_ACEOF
42712 /* confdefs.h. */
42713 _ACEOF
42714 cat confdefs.h >>conftest.$ac_ext
42715 cat >>conftest.$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42717 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42719 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42720
42721 /* System header to define __stub macros and hopefully few prototypes,
42722 which can conflict with char pthread_attr_setstacksize (); below.
42723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42724 <limits.h> exists even on freestanding compilers. */
42725
42726 #ifdef __STDC__
42727 # include <limits.h>
42728 #else
42729 # include <assert.h>
42730 #endif
42731
42732 #undef pthread_attr_setstacksize
42733
42734 /* Override any GCC internal prototype to avoid an error.
42735 Use char because int might match the return type of a GCC
42736 builtin and then its argument prototype would still apply. */
42737 #ifdef __cplusplus
42738 extern "C"
42739 #endif
42740 char pthread_attr_setstacksize ();
42741 /* The GNU C library defines this for functions which it implements
42742 to always fail with ENOSYS. Some functions are actually named
42743 something starting with __ and the normal name is an alias. */
42744 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42745 choke me
42746 #endif
42747
42748 int
42749 main ()
42750 {
42751 return pthread_attr_setstacksize ();
42752 ;
42753 return 0;
42754 }
42755 _ACEOF
42756 rm -f conftest.$ac_objext conftest$ac_exeext
42757 if { (ac_try="$ac_link"
42758 case "(($ac_try" in
42759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42760 *) ac_try_echo=$ac_try;;
42761 esac
42762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42763 (eval "$ac_link") 2>conftest.er1
42764 ac_status=$?
42765 grep -v '^ *+' conftest.er1 >conftest.err
42766 rm -f conftest.er1
42767 cat conftest.err >&5
42768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42769 (exit $ac_status); } && {
42770 test -z "$ac_c_werror_flag" ||
42771 test ! -s conftest.err
42772 } && test -s conftest$ac_exeext &&
42773 $as_test_x conftest$ac_exeext; then
42774 ac_cv_func_pthread_attr_setstacksize=yes
42775 else
42776 echo "$as_me: failed program was:" >&5
42777 sed 's/^/| /' conftest.$ac_ext >&5
42778
42779 ac_cv_func_pthread_attr_setstacksize=no
42780 fi
42781
42782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42783 conftest$ac_exeext conftest.$ac_ext
42784 fi
42785 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42786 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42787 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42788 cat >>confdefs.h <<\_ACEOF
42789 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42790 _ACEOF
42791
42792 fi
42793
42794
42795
42796 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42797 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42798 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42799 echo $ECHO_N "(cached) $ECHO_C" >&6
42800 else
42801
42802 cat >conftest.$ac_ext <<_ACEOF
42803 /* confdefs.h. */
42804 _ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42808 #include <pthread.h>
42809 int
42810 main ()
42811 {
42812
42813 pthread_mutexattr_t attr;
42814 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42815
42816 ;
42817 return 0;
42818 }
42819 _ACEOF
42820 rm -f conftest.$ac_objext
42821 if { (ac_try="$ac_compile"
42822 case "(($ac_try" in
42823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42824 *) ac_try_echo=$ac_try;;
42825 esac
42826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42827 (eval "$ac_compile") 2>conftest.er1
42828 ac_status=$?
42829 grep -v '^ *+' conftest.er1 >conftest.err
42830 rm -f conftest.er1
42831 cat conftest.err >&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); } && {
42834 test -z "$ac_c_werror_flag" ||
42835 test ! -s conftest.err
42836 } && test -s conftest.$ac_objext; then
42837 wx_cv_type_pthread_mutexattr_t=yes
42838 else
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42841
42842 wx_cv_type_pthread_mutexattr_t=no
42843
42844 fi
42845
42846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42847
42848 fi
42849 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42850 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42851
42852 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42853 cat >>confdefs.h <<\_ACEOF
42854 #define HAVE_PTHREAD_MUTEXATTR_T 1
42855 _ACEOF
42856
42857
42858 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42859 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42860 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 else
42863
42864 cat >conftest.$ac_ext <<_ACEOF
42865 /* confdefs.h. */
42866 _ACEOF
42867 cat confdefs.h >>conftest.$ac_ext
42868 cat >>conftest.$ac_ext <<_ACEOF
42869 /* end confdefs.h. */
42870 #include <pthread.h>
42871 int
42872 main ()
42873 {
42874
42875 pthread_mutexattr_t attr;
42876 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42877
42878 ;
42879 return 0;
42880 }
42881 _ACEOF
42882 rm -f conftest.$ac_objext
42883 if { (ac_try="$ac_compile"
42884 case "(($ac_try" in
42885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42886 *) ac_try_echo=$ac_try;;
42887 esac
42888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42889 (eval "$ac_compile") 2>conftest.er1
42890 ac_status=$?
42891 grep -v '^ *+' conftest.er1 >conftest.err
42892 rm -f conftest.er1
42893 cat conftest.err >&5
42894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42895 (exit $ac_status); } && {
42896 test -z "$ac_c_werror_flag" ||
42897 test ! -s conftest.err
42898 } && test -s conftest.$ac_objext; then
42899 wx_cv_func_pthread_mutexattr_settype_decl=yes
42900 else
42901 echo "$as_me: failed program was:" >&5
42902 sed 's/^/| /' conftest.$ac_ext >&5
42903
42904 wx_cv_func_pthread_mutexattr_settype_decl=no
42905
42906 fi
42907
42908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42909
42910 fi
42911 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42912 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42913 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42914 cat >>confdefs.h <<\_ACEOF
42915 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42916 _ACEOF
42917
42918 fi
42919 else
42920 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42921 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42922 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42923 echo $ECHO_N "(cached) $ECHO_C" >&6
42924 else
42925
42926 cat >conftest.$ac_ext <<_ACEOF
42927 /* confdefs.h. */
42928 _ACEOF
42929 cat confdefs.h >>conftest.$ac_ext
42930 cat >>conftest.$ac_ext <<_ACEOF
42931 /* end confdefs.h. */
42932 #include <pthread.h>
42933 int
42934 main ()
42935 {
42936
42937 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42938
42939 ;
42940 return 0;
42941 }
42942 _ACEOF
42943 rm -f conftest.$ac_objext
42944 if { (ac_try="$ac_compile"
42945 case "(($ac_try" in
42946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42947 *) ac_try_echo=$ac_try;;
42948 esac
42949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42950 (eval "$ac_compile") 2>conftest.er1
42951 ac_status=$?
42952 grep -v '^ *+' conftest.er1 >conftest.err
42953 rm -f conftest.er1
42954 cat conftest.err >&5
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); } && {
42957 test -z "$ac_c_werror_flag" ||
42958 test ! -s conftest.err
42959 } && test -s conftest.$ac_objext; then
42960
42961 wx_cv_type_pthread_rec_mutex_init=yes
42962
42963 else
42964 echo "$as_me: failed program was:" >&5
42965 sed 's/^/| /' conftest.$ac_ext >&5
42966
42967
42968 wx_cv_type_pthread_rec_mutex_init=no
42969
42970
42971 fi
42972
42973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42974
42975 fi
42976 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42977 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42978 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42979 cat >>confdefs.h <<\_ACEOF
42980 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42981 _ACEOF
42982
42983 else
42984 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42985 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42986 fi
42987 fi
42988 fi
42989
42990 else
42991 if test "$wxUSE_THREADS" = "yes" ; then
42992 case "${host}" in
42993 *-*-mingw32* )
42994 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42995 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42996 if test "${wx_cv_cflags_mthread+set}" = set; then
42997 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 else
42999
43000 CFLAGS_OLD="$CFLAGS"
43001 CFLAGS="-mthreads $CFLAGS"
43002 cat >conftest.$ac_ext <<_ACEOF
43003 /* confdefs.h. */
43004 _ACEOF
43005 cat confdefs.h >>conftest.$ac_ext
43006 cat >>conftest.$ac_ext <<_ACEOF
43007 /* end confdefs.h. */
43008
43009 int
43010 main ()
43011 {
43012
43013 ;
43014 return 0;
43015 }
43016 _ACEOF
43017 rm -f conftest.$ac_objext
43018 if { (ac_try="$ac_compile"
43019 case "(($ac_try" in
43020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43021 *) ac_try_echo=$ac_try;;
43022 esac
43023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43024 (eval "$ac_compile") 2>conftest.er1
43025 ac_status=$?
43026 grep -v '^ *+' conftest.er1 >conftest.err
43027 rm -f conftest.er1
43028 cat conftest.err >&5
43029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43030 (exit $ac_status); } && {
43031 test -z "$ac_c_werror_flag" ||
43032 test ! -s conftest.err
43033 } && test -s conftest.$ac_objext; then
43034 wx_cv_cflags_mthread=yes
43035 else
43036 echo "$as_me: failed program was:" >&5
43037 sed 's/^/| /' conftest.$ac_ext >&5
43038
43039 wx_cv_cflags_mthread=no
43040
43041 fi
43042
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044
43045
43046 fi
43047 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43048 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43049
43050 if test "$wx_cv_cflags_mthread" = "yes"; then
43051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43052 LDFLAGS="$LDFLAGS -mthreads"
43053 else
43054 CFLAGS="$CFLAGS_OLD"
43055 fi
43056 ;;
43057 *-pc-os2*emx )
43058 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43059 LDFLAGS="$LDFLAGS -Zmt"
43060 ;;
43061 esac
43062 fi
43063 fi
43064
43065 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43066 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43067 if test "${ac_cv_func_localtime_r+set}" = set; then
43068 echo $ECHO_N "(cached) $ECHO_C" >&6
43069 else
43070 cat >conftest.$ac_ext <<_ACEOF
43071 /* confdefs.h. */
43072 _ACEOF
43073 cat confdefs.h >>conftest.$ac_ext
43074 cat >>conftest.$ac_ext <<_ACEOF
43075 /* end confdefs.h. */
43076 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43078 #define localtime_r innocuous_localtime_r
43079
43080 /* System header to define __stub macros and hopefully few prototypes,
43081 which can conflict with char localtime_r (); below.
43082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43083 <limits.h> exists even on freestanding compilers. */
43084
43085 #ifdef __STDC__
43086 # include <limits.h>
43087 #else
43088 # include <assert.h>
43089 #endif
43090
43091 #undef localtime_r
43092
43093 /* Override any GCC internal prototype to avoid an error.
43094 Use char because int might match the return type of a GCC
43095 builtin and then its argument prototype would still apply. */
43096 #ifdef __cplusplus
43097 extern "C"
43098 #endif
43099 char localtime_r ();
43100 /* The GNU C library defines this for functions which it implements
43101 to always fail with ENOSYS. Some functions are actually named
43102 something starting with __ and the normal name is an alias. */
43103 #if defined __stub_localtime_r || defined __stub___localtime_r
43104 choke me
43105 #endif
43106
43107 int
43108 main ()
43109 {
43110 return localtime_r ();
43111 ;
43112 return 0;
43113 }
43114 _ACEOF
43115 rm -f conftest.$ac_objext conftest$ac_exeext
43116 if { (ac_try="$ac_link"
43117 case "(($ac_try" in
43118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43119 *) ac_try_echo=$ac_try;;
43120 esac
43121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43122 (eval "$ac_link") 2>conftest.er1
43123 ac_status=$?
43124 grep -v '^ *+' conftest.er1 >conftest.err
43125 rm -f conftest.er1
43126 cat conftest.err >&5
43127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43128 (exit $ac_status); } && {
43129 test -z "$ac_c_werror_flag" ||
43130 test ! -s conftest.err
43131 } && test -s conftest$ac_exeext &&
43132 $as_test_x conftest$ac_exeext; then
43133 ac_cv_func_localtime_r=yes
43134 else
43135 echo "$as_me: failed program was:" >&5
43136 sed 's/^/| /' conftest.$ac_ext >&5
43137
43138 ac_cv_func_localtime_r=no
43139 fi
43140
43141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43142 conftest$ac_exeext conftest.$ac_ext
43143 fi
43144 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43145 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43146 if test $ac_cv_func_localtime_r = yes; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define HAVE_LOCALTIME_R 1
43149 _ACEOF
43150
43151 fi
43152
43153 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43154 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43155 if test "${ac_cv_func_gmtime_r+set}" = set; then
43156 echo $ECHO_N "(cached) $ECHO_C" >&6
43157 else
43158 cat >conftest.$ac_ext <<_ACEOF
43159 /* confdefs.h. */
43160 _ACEOF
43161 cat confdefs.h >>conftest.$ac_ext
43162 cat >>conftest.$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43166 #define gmtime_r innocuous_gmtime_r
43167
43168 /* System header to define __stub macros and hopefully few prototypes,
43169 which can conflict with char gmtime_r (); below.
43170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43171 <limits.h> exists even on freestanding compilers. */
43172
43173 #ifdef __STDC__
43174 # include <limits.h>
43175 #else
43176 # include <assert.h>
43177 #endif
43178
43179 #undef gmtime_r
43180
43181 /* Override any GCC internal prototype to avoid an error.
43182 Use char because int might match the return type of a GCC
43183 builtin and then its argument prototype would still apply. */
43184 #ifdef __cplusplus
43185 extern "C"
43186 #endif
43187 char gmtime_r ();
43188 /* The GNU C library defines this for functions which it implements
43189 to always fail with ENOSYS. Some functions are actually named
43190 something starting with __ and the normal name is an alias. */
43191 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43192 choke me
43193 #endif
43194
43195 int
43196 main ()
43197 {
43198 return gmtime_r ();
43199 ;
43200 return 0;
43201 }
43202 _ACEOF
43203 rm -f conftest.$ac_objext conftest$ac_exeext
43204 if { (ac_try="$ac_link"
43205 case "(($ac_try" in
43206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43208 esac
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_link") 2>conftest.er1
43211 ac_status=$?
43212 grep -v '^ *+' conftest.er1 >conftest.err
43213 rm -f conftest.er1
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } && {
43217 test -z "$ac_c_werror_flag" ||
43218 test ! -s conftest.err
43219 } && test -s conftest$ac_exeext &&
43220 $as_test_x conftest$ac_exeext; then
43221 ac_cv_func_gmtime_r=yes
43222 else
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43225
43226 ac_cv_func_gmtime_r=no
43227 fi
43228
43229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43230 conftest$ac_exeext conftest.$ac_ext
43231 fi
43232 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43233 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43234 if test $ac_cv_func_gmtime_r = yes; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define HAVE_GMTIME_R 1
43237 _ACEOF
43238
43239 fi
43240
43241
43242
43243
43244 ac_ext=c
43245 ac_cpp='$CPP $CPPFLAGS'
43246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43249
43250 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43251 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43252
43253 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43254 echo $ECHO_N "(cached) $ECHO_C" >&6
43255 else
43256
43257
43258 ################################################################
43259
43260 ac_cv_func_which_gethostbyname_r=unknown
43261
43262 #
43263 # ONE ARGUMENT (sanity check)
43264 #
43265
43266 # This should fail, as there is no variant of gethostbyname_r() that takes
43267 # a single argument. If it actually compiles, then we can assume that
43268 # netdb.h is not declaring the function, and the compiler is thereby
43269 # assuming an implicit prototype. In which case, we're out of luck.
43270 #
43271 cat >conftest.$ac_ext <<_ACEOF
43272 /* confdefs.h. */
43273 _ACEOF
43274 cat confdefs.h >>conftest.$ac_ext
43275 cat >>conftest.$ac_ext <<_ACEOF
43276 /* end confdefs.h. */
43277 #include <netdb.h>
43278 int
43279 main ()
43280 {
43281
43282 char *name = "www.gnu.org";
43283 (void)gethostbyname_r(name) /* ; */
43284
43285 ;
43286 return 0;
43287 }
43288 _ACEOF
43289 rm -f conftest.$ac_objext
43290 if { (ac_try="$ac_compile"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43294 esac
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_compile") 2>conftest.er1
43297 ac_status=$?
43298 grep -v '^ *+' conftest.er1 >conftest.err
43299 rm -f conftest.er1
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest.$ac_objext; then
43306 ac_cv_func_which_gethostbyname_r=no
43307 else
43308 echo "$as_me: failed program was:" >&5
43309 sed 's/^/| /' conftest.$ac_ext >&5
43310
43311
43312 fi
43313
43314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43315
43316 #
43317 # SIX ARGUMENTS
43318 # (e.g. Linux)
43319 #
43320
43321 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43322
43323 cat >conftest.$ac_ext <<_ACEOF
43324 /* confdefs.h. */
43325 _ACEOF
43326 cat confdefs.h >>conftest.$ac_ext
43327 cat >>conftest.$ac_ext <<_ACEOF
43328 /* end confdefs.h. */
43329 #include <netdb.h>
43330 int
43331 main ()
43332 {
43333
43334 char *name = "www.gnu.org";
43335 struct hostent ret, *retp;
43336 char buf[1024];
43337 int buflen = 1024;
43338 int my_h_errno;
43339 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43340
43341 ;
43342 return 0;
43343 }
43344 _ACEOF
43345 rm -f conftest.$ac_objext
43346 if { (ac_try="$ac_compile"
43347 case "(($ac_try" in
43348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43349 *) ac_try_echo=$ac_try;;
43350 esac
43351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43352 (eval "$ac_compile") 2>conftest.er1
43353 ac_status=$?
43354 grep -v '^ *+' conftest.er1 >conftest.err
43355 rm -f conftest.er1
43356 cat conftest.err >&5
43357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358 (exit $ac_status); } && {
43359 test -z "$ac_c_werror_flag" ||
43360 test ! -s conftest.err
43361 } && test -s conftest.$ac_objext; then
43362 ac_cv_func_which_gethostbyname_r=six
43363 else
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43366
43367
43368 fi
43369
43370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43371
43372 fi
43373
43374 #
43375 # FIVE ARGUMENTS
43376 # (e.g. Solaris)
43377 #
43378
43379 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43380
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 #include <netdb.h>
43388 int
43389 main ()
43390 {
43391
43392 char *name = "www.gnu.org";
43393 struct hostent ret;
43394 char buf[1024];
43395 int buflen = 1024;
43396 int my_h_errno;
43397 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43398
43399 ;
43400 return 0;
43401 }
43402 _ACEOF
43403 rm -f conftest.$ac_objext
43404 if { (ac_try="$ac_compile"
43405 case "(($ac_try" in
43406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43407 *) ac_try_echo=$ac_try;;
43408 esac
43409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43410 (eval "$ac_compile") 2>conftest.er1
43411 ac_status=$?
43412 grep -v '^ *+' conftest.er1 >conftest.err
43413 rm -f conftest.er1
43414 cat conftest.err >&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } && {
43417 test -z "$ac_c_werror_flag" ||
43418 test ! -s conftest.err
43419 } && test -s conftest.$ac_objext; then
43420 ac_cv_func_which_gethostbyname_r=five
43421 else
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.$ac_ext >&5
43424
43425
43426 fi
43427
43428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43429
43430 fi
43431
43432 #
43433 # THREE ARGUMENTS
43434 # (e.g. AIX, HP-UX, Tru64)
43435 #
43436
43437 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43438
43439 cat >conftest.$ac_ext <<_ACEOF
43440 /* confdefs.h. */
43441 _ACEOF
43442 cat confdefs.h >>conftest.$ac_ext
43443 cat >>conftest.$ac_ext <<_ACEOF
43444 /* end confdefs.h. */
43445 #include <netdb.h>
43446 int
43447 main ()
43448 {
43449
43450 char *name = "www.gnu.org";
43451 struct hostent ret;
43452 struct hostent_data data;
43453 (void)gethostbyname_r(name, &ret, &data) /* ; */
43454
43455 ;
43456 return 0;
43457 }
43458 _ACEOF
43459 rm -f conftest.$ac_objext
43460 if { (ac_try="$ac_compile"
43461 case "(($ac_try" in
43462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43463 *) ac_try_echo=$ac_try;;
43464 esac
43465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43466 (eval "$ac_compile") 2>conftest.er1
43467 ac_status=$?
43468 grep -v '^ *+' conftest.er1 >conftest.err
43469 rm -f conftest.er1
43470 cat conftest.err >&5
43471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472 (exit $ac_status); } && {
43473 test -z "$ac_c_werror_flag" ||
43474 test ! -s conftest.err
43475 } && test -s conftest.$ac_objext; then
43476 ac_cv_func_which_gethostbyname_r=three
43477 else
43478 echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43480
43481
43482 fi
43483
43484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43485
43486 fi
43487
43488 ################################################################
43489
43490
43491 fi
43492
43493 case "$ac_cv_func_which_gethostbyname_r" in
43494 three)
43495 { echo "$as_me:$LINENO: result: three" >&5
43496 echo "${ECHO_T}three" >&6; }
43497 cat >>confdefs.h <<\_ACEOF
43498 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43499 _ACEOF
43500
43501 ;;
43502
43503 five)
43504 { echo "$as_me:$LINENO: result: five" >&5
43505 echo "${ECHO_T}five" >&6; }
43506 cat >>confdefs.h <<\_ACEOF
43507 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43508 _ACEOF
43509
43510 ;;
43511
43512 six)
43513 { echo "$as_me:$LINENO: result: six" >&5
43514 echo "${ECHO_T}six" >&6; }
43515 cat >>confdefs.h <<\_ACEOF
43516 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43517 _ACEOF
43518
43519 ;;
43520
43521 no)
43522 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43523 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43524 ;;
43525
43526 unknown)
43527 { echo "$as_me:$LINENO: result: can't tell" >&5
43528 echo "${ECHO_T}can't tell" >&6; }
43529 ;;
43530
43531 *)
43532 { { echo "$as_me:$LINENO: error: internal error" >&5
43533 echo "$as_me: error: internal error" >&2;}
43534 { (exit 1); exit 1; }; }
43535 ;;
43536 esac
43537
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43543
43544
43545
43546 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43547 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43548 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43549 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43550 if test "${ac_cv_func_gethostbyname+set}" = set; then
43551 echo $ECHO_N "(cached) $ECHO_C" >&6
43552 else
43553 cat >conftest.$ac_ext <<_ACEOF
43554 /* confdefs.h. */
43555 _ACEOF
43556 cat confdefs.h >>conftest.$ac_ext
43557 cat >>conftest.$ac_ext <<_ACEOF
43558 /* end confdefs.h. */
43559 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43561 #define gethostbyname innocuous_gethostbyname
43562
43563 /* System header to define __stub macros and hopefully few prototypes,
43564 which can conflict with char gethostbyname (); below.
43565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43566 <limits.h> exists even on freestanding compilers. */
43567
43568 #ifdef __STDC__
43569 # include <limits.h>
43570 #else
43571 # include <assert.h>
43572 #endif
43573
43574 #undef gethostbyname
43575
43576 /* Override any GCC internal prototype to avoid an error.
43577 Use char because int might match the return type of a GCC
43578 builtin and then its argument prototype would still apply. */
43579 #ifdef __cplusplus
43580 extern "C"
43581 #endif
43582 char gethostbyname ();
43583 /* The GNU C library defines this for functions which it implements
43584 to always fail with ENOSYS. Some functions are actually named
43585 something starting with __ and the normal name is an alias. */
43586 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43587 choke me
43588 #endif
43589
43590 int
43591 main ()
43592 {
43593 return gethostbyname ();
43594 ;
43595 return 0;
43596 }
43597 _ACEOF
43598 rm -f conftest.$ac_objext conftest$ac_exeext
43599 if { (ac_try="$ac_link"
43600 case "(($ac_try" in
43601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43602 *) ac_try_echo=$ac_try;;
43603 esac
43604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43605 (eval "$ac_link") 2>conftest.er1
43606 ac_status=$?
43607 grep -v '^ *+' conftest.er1 >conftest.err
43608 rm -f conftest.er1
43609 cat conftest.err >&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); } && {
43612 test -z "$ac_c_werror_flag" ||
43613 test ! -s conftest.err
43614 } && test -s conftest$ac_exeext &&
43615 $as_test_x conftest$ac_exeext; then
43616 ac_cv_func_gethostbyname=yes
43617 else
43618 echo "$as_me: failed program was:" >&5
43619 sed 's/^/| /' conftest.$ac_ext >&5
43620
43621 ac_cv_func_gethostbyname=no
43622 fi
43623
43624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43625 conftest$ac_exeext conftest.$ac_ext
43626 fi
43627 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43628 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43629 if test $ac_cv_func_gethostbyname = yes; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define HAVE_GETHOSTBYNAME 1
43632 _ACEOF
43633
43634 fi
43635
43636 fi
43637
43638 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43639 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43640 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43641 echo $ECHO_N "(cached) $ECHO_C" >&6
43642 else
43643
43644 ac_ext=cpp
43645 ac_cpp='$CXXCPP $CPPFLAGS'
43646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43649
43650
43651 cat >conftest.$ac_ext <<_ACEOF
43652 /* confdefs.h. */
43653 _ACEOF
43654 cat confdefs.h >>conftest.$ac_ext
43655 cat >>conftest.$ac_ext <<_ACEOF
43656 /* end confdefs.h. */
43657 #include <netdb.h>
43658 int
43659 main ()
43660 {
43661
43662 char *name;
43663 char *proto;
43664 struct servent *se, *res;
43665 char buffer[2048];
43666 int buflen = 2048;
43667 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43668
43669 ;
43670 return 0;
43671 }
43672 _ACEOF
43673 rm -f conftest.$ac_objext
43674 if { (ac_try="$ac_compile"
43675 case "(($ac_try" in
43676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43677 *) ac_try_echo=$ac_try;;
43678 esac
43679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43680 (eval "$ac_compile") 2>conftest.er1
43681 ac_status=$?
43682 grep -v '^ *+' conftest.er1 >conftest.err
43683 rm -f conftest.er1
43684 cat conftest.err >&5
43685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686 (exit $ac_status); } && {
43687 test -z "$ac_cxx_werror_flag" ||
43688 test ! -s conftest.err
43689 } && test -s conftest.$ac_objext; then
43690 ac_cv_func_which_getservbyname_r=six
43691 else
43692 echo "$as_me: failed program was:" >&5
43693 sed 's/^/| /' conftest.$ac_ext >&5
43694
43695
43696 cat >conftest.$ac_ext <<_ACEOF
43697 /* confdefs.h. */
43698 _ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43702 #include <netdb.h>
43703 int
43704 main ()
43705 {
43706
43707 char *name;
43708 char *proto;
43709 struct servent *se;
43710 char buffer[2048];
43711 int buflen = 2048;
43712 (void) getservbyname_r(name, proto, se, buffer, buflen)
43713
43714 ;
43715 return 0;
43716 }
43717 _ACEOF
43718 rm -f conftest.$ac_objext
43719 if { (ac_try="$ac_compile"
43720 case "(($ac_try" in
43721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43722 *) ac_try_echo=$ac_try;;
43723 esac
43724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43725 (eval "$ac_compile") 2>conftest.er1
43726 ac_status=$?
43727 grep -v '^ *+' conftest.er1 >conftest.err
43728 rm -f conftest.er1
43729 cat conftest.err >&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } && {
43732 test -z "$ac_cxx_werror_flag" ||
43733 test ! -s conftest.err
43734 } && test -s conftest.$ac_objext; then
43735 ac_cv_func_which_getservbyname_r=five
43736 else
43737 echo "$as_me: failed program was:" >&5
43738 sed 's/^/| /' conftest.$ac_ext >&5
43739
43740
43741 cat >conftest.$ac_ext <<_ACEOF
43742 /* confdefs.h. */
43743 _ACEOF
43744 cat confdefs.h >>conftest.$ac_ext
43745 cat >>conftest.$ac_ext <<_ACEOF
43746 /* end confdefs.h. */
43747 #include <netdb.h>
43748 int
43749 main ()
43750 {
43751
43752 char *name;
43753 char *proto;
43754 struct servent *se;
43755 struct servent_data data;
43756 (void) getservbyname_r(name, proto, se, &data);
43757
43758 ;
43759 return 0;
43760 }
43761 _ACEOF
43762 rm -f conftest.$ac_objext
43763 if { (ac_try="$ac_compile"
43764 case "(($ac_try" in
43765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43766 *) ac_try_echo=$ac_try;;
43767 esac
43768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43769 (eval "$ac_compile") 2>conftest.er1
43770 ac_status=$?
43771 grep -v '^ *+' conftest.er1 >conftest.err
43772 rm -f conftest.er1
43773 cat conftest.err >&5
43774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775 (exit $ac_status); } && {
43776 test -z "$ac_cxx_werror_flag" ||
43777 test ! -s conftest.err
43778 } && test -s conftest.$ac_objext; then
43779 ac_cv_func_which_getservbyname_r=four
43780 else
43781 echo "$as_me: failed program was:" >&5
43782 sed 's/^/| /' conftest.$ac_ext >&5
43783
43784 ac_cv_func_which_getservbyname_r=no
43785
43786 fi
43787
43788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43789
43790
43791 fi
43792
43793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43794
43795
43796 fi
43797
43798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43799 ac_ext=c
43800 ac_cpp='$CPP $CPPFLAGS'
43801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43804
43805
43806
43807 fi
43808 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43809 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43810
43811 if test $ac_cv_func_which_getservbyname_r = six; then
43812 cat >>confdefs.h <<\_ACEOF
43813 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43814 _ACEOF
43815
43816 elif test $ac_cv_func_which_getservbyname_r = five; then
43817 cat >>confdefs.h <<\_ACEOF
43818 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43819 _ACEOF
43820
43821 elif test $ac_cv_func_which_getservbyname_r = four; then
43822 cat >>confdefs.h <<\_ACEOF
43823 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43824 _ACEOF
43825
43826 fi
43827
43828
43829 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43830 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43831
43832 for ac_func in getservbyname
43833 do
43834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43839 else
43840 cat >conftest.$ac_ext <<_ACEOF
43841 /* confdefs.h. */
43842 _ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43848 #define $ac_func innocuous_$ac_func
43849
43850 /* System header to define __stub macros and hopefully few prototypes,
43851 which can conflict with char $ac_func (); below.
43852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43853 <limits.h> exists even on freestanding compilers. */
43854
43855 #ifdef __STDC__
43856 # include <limits.h>
43857 #else
43858 # include <assert.h>
43859 #endif
43860
43861 #undef $ac_func
43862
43863 /* Override any GCC internal prototype to avoid an error.
43864 Use char because int might match the return type of a GCC
43865 builtin and then its argument prototype would still apply. */
43866 #ifdef __cplusplus
43867 extern "C"
43868 #endif
43869 char $ac_func ();
43870 /* The GNU C library defines this for functions which it implements
43871 to always fail with ENOSYS. Some functions are actually named
43872 something starting with __ and the normal name is an alias. */
43873 #if defined __stub_$ac_func || defined __stub___$ac_func
43874 choke me
43875 #endif
43876
43877 int
43878 main ()
43879 {
43880 return $ac_func ();
43881 ;
43882 return 0;
43883 }
43884 _ACEOF
43885 rm -f conftest.$ac_objext conftest$ac_exeext
43886 if { (ac_try="$ac_link"
43887 case "(($ac_try" in
43888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43889 *) ac_try_echo=$ac_try;;
43890 esac
43891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43892 (eval "$ac_link") 2>conftest.er1
43893 ac_status=$?
43894 grep -v '^ *+' conftest.er1 >conftest.err
43895 rm -f conftest.er1
43896 cat conftest.err >&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); } && {
43899 test -z "$ac_c_werror_flag" ||
43900 test ! -s conftest.err
43901 } && test -s conftest$ac_exeext &&
43902 $as_test_x conftest$ac_exeext; then
43903 eval "$as_ac_var=yes"
43904 else
43905 echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.$ac_ext >&5
43907
43908 eval "$as_ac_var=no"
43909 fi
43910
43911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43912 conftest$ac_exeext conftest.$ac_ext
43913 fi
43914 ac_res=`eval echo '${'$as_ac_var'}'`
43915 { echo "$as_me:$LINENO: result: $ac_res" >&5
43916 echo "${ECHO_T}$ac_res" >&6; }
43917 if test `eval echo '${'$as_ac_var'}'` = yes; then
43918 cat >>confdefs.h <<_ACEOF
43919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43920 _ACEOF
43921 cat >>confdefs.h <<\_ACEOF
43922 #define HAVE_GETSERVBYNAME 1
43923 _ACEOF
43924
43925 fi
43926 done
43927
43928 fi
43929
43930 if test "$wxUSE_THREADS" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_THREADS 1
43933 _ACEOF
43934
43935
43936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43937 else
43938 if test "$wx_cv_func_strtok_r" = "yes"; then
43939 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43940 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43941 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43942 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43943 { echo "$as_me:$LINENO: result: yes" >&5
43944 echo "${ECHO_T}yes" >&6; }
43945 else
43946 { echo "$as_me:$LINENO: result: no" >&5
43947 echo "${ECHO_T}no" >&6; }
43948 fi
43949 fi
43950 fi
43951
43952 if test "$WXGTK20" = 1 ; then
43953 cat >>confdefs.h <<_ACEOF
43954 #define __WXGTK20__ $WXGTK20
43955 _ACEOF
43956
43957 WXGTK12=1
43958 fi
43959
43960 if test "$WXGTK12" = 1 ; then
43961 cat >>confdefs.h <<_ACEOF
43962 #define __WXGTK12__ $WXGTK12
43963 _ACEOF
43964
43965 fi
43966
43967 if test "$WXGTK127" = 1 ; then
43968 cat >>confdefs.h <<_ACEOF
43969 #define __WXGTK127__ $WXGTK127
43970 _ACEOF
43971
43972 fi
43973
43974 if test "$WXGPE" = 1 ; then
43975 cat >>confdefs.h <<_ACEOF
43976 #define __WXGPE__ $WXGPE
43977 _ACEOF
43978
43979 fi
43980
43981 DEBUG_CFLAGS=
43982 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43983 DEBUG_CFLAGS="-g"
43984 wxUSE_OPTIMISE=no
43985 fi
43986
43987 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43988 wxUSE_DEBUG_INFO=yes
43989 if test "$GCC" = yes; then
43990 DEBUG_CFLAGS="-ggdb"
43991 fi
43992 fi
43993
43994 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43995 cat >>confdefs.h <<\_ACEOF
43996 #define WXDEBUG 1
43997 _ACEOF
43998
43999 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44000 else
44001 if test "$wxUSE_GTK" = 1 ; then
44002 if test "x$wxGTK_VERSION" = "x1" ; then
44003 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44004 fi
44005 fi
44006 fi
44007
44008 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_MEMORY_TRACING 1
44011 _ACEOF
44012
44013 cat >>confdefs.h <<\_ACEOF
44014 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44015 _ACEOF
44016
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_DEBUG_NEW_ALWAYS 1
44019 _ACEOF
44020
44021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44022 fi
44023
44024 if test "$wxUSE_DMALLOC" = "yes" ; then
44025 DMALLOC_LIBS="-ldmallocthcxx"
44026 fi
44027
44028 PROFILE_FLAGS=
44029 if test "$wxUSE_PROFILE" = "yes" ; then
44030 PROFILE_FLAGS=" -pg"
44031 fi
44032
44033 if test "$GCC" = "yes" ; then
44034 if test "$wxUSE_NO_RTTI" = "yes" ; then
44035 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44036 fi
44037 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44038 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44039 fi
44040 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44041 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44042 fi
44043
44044 case "${host}" in
44045 powerpc*-*-aix* )
44046 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44047 ;;
44048 *-hppa* )
44049 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44050 ;;
44051 esac
44052 fi
44053
44054 OPTIMISE_CFLAGS=
44055 if test "$wxUSE_OPTIMISE" = "no" ; then
44056 if test "$GCC" = yes ; then
44057 OPTIMISE_CFLAGS="-O0"
44058 fi
44059 else
44060 if test "$GCC" = yes ; then
44061 case "${host}" in
44062 *-pc-os2_emx | *-pc-os2-emx )
44063 OPTIMISE_CFLAGS="-O2"
44064 ;;
44065 *)
44066 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44067 ;;
44068 esac
44069 else
44070 OPTIMISE_CFLAGS="-O"
44071 fi
44072 fi
44073
44074
44075 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define WXWIN_COMPATIBILITY_2_6 1
44078 _ACEOF
44079
44080
44081 WXWIN_COMPATIBILITY_2_8="yes"
44082 fi
44083
44084 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define WXWIN_COMPATIBILITY_2_8 1
44087 _ACEOF
44088
44089 fi
44090
44091
44092 if test "$wxUSE_GUI" = "yes"; then
44093 cat >>confdefs.h <<\_ACEOF
44094 #define wxUSE_GUI 1
44095 _ACEOF
44096
44097
44098 fi
44099
44100
44101 if test "$wxUSE_UNIX" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_UNIX 1
44104 _ACEOF
44105
44106 fi
44107
44108
44109 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44110
44111 HAVE_DL_FUNCS=0
44112 HAVE_SHL_FUNCS=0
44113 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44114 if test "$USE_DARWIN" = 1; then
44115 HAVE_DL_FUNCS=1
44116 elif test "$USE_DOS" = 1; then
44117 HAVE_DL_FUNCS=0
44118 else
44119
44120 for ac_func in dlopen
44121 do
44122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44126 echo $ECHO_N "(cached) $ECHO_C" >&6
44127 else
44128 cat >conftest.$ac_ext <<_ACEOF
44129 /* confdefs.h. */
44130 _ACEOF
44131 cat confdefs.h >>conftest.$ac_ext
44132 cat >>conftest.$ac_ext <<_ACEOF
44133 /* end confdefs.h. */
44134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44136 #define $ac_func innocuous_$ac_func
44137
44138 /* System header to define __stub macros and hopefully few prototypes,
44139 which can conflict with char $ac_func (); below.
44140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44141 <limits.h> exists even on freestanding compilers. */
44142
44143 #ifdef __STDC__
44144 # include <limits.h>
44145 #else
44146 # include <assert.h>
44147 #endif
44148
44149 #undef $ac_func
44150
44151 /* Override any GCC internal prototype to avoid an error.
44152 Use char because int might match the return type of a GCC
44153 builtin and then its argument prototype would still apply. */
44154 #ifdef __cplusplus
44155 extern "C"
44156 #endif
44157 char $ac_func ();
44158 /* The GNU C library defines this for functions which it implements
44159 to always fail with ENOSYS. Some functions are actually named
44160 something starting with __ and the normal name is an alias. */
44161 #if defined __stub_$ac_func || defined __stub___$ac_func
44162 choke me
44163 #endif
44164
44165 int
44166 main ()
44167 {
44168 return $ac_func ();
44169 ;
44170 return 0;
44171 }
44172 _ACEOF
44173 rm -f conftest.$ac_objext conftest$ac_exeext
44174 if { (ac_try="$ac_link"
44175 case "(($ac_try" in
44176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44177 *) ac_try_echo=$ac_try;;
44178 esac
44179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44180 (eval "$ac_link") 2>conftest.er1
44181 ac_status=$?
44182 grep -v '^ *+' conftest.er1 >conftest.err
44183 rm -f conftest.er1
44184 cat conftest.err >&5
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); } && {
44187 test -z "$ac_c_werror_flag" ||
44188 test ! -s conftest.err
44189 } && test -s conftest$ac_exeext &&
44190 $as_test_x conftest$ac_exeext; then
44191 eval "$as_ac_var=yes"
44192 else
44193 echo "$as_me: failed program was:" >&5
44194 sed 's/^/| /' conftest.$ac_ext >&5
44195
44196 eval "$as_ac_var=no"
44197 fi
44198
44199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44200 conftest$ac_exeext conftest.$ac_ext
44201 fi
44202 ac_res=`eval echo '${'$as_ac_var'}'`
44203 { echo "$as_me:$LINENO: result: $ac_res" >&5
44204 echo "${ECHO_T}$ac_res" >&6; }
44205 if test `eval echo '${'$as_ac_var'}'` = yes; then
44206 cat >>confdefs.h <<_ACEOF
44207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44208 _ACEOF
44209
44210 cat >>confdefs.h <<\_ACEOF
44211 #define HAVE_DLOPEN 1
44212 _ACEOF
44213
44214 HAVE_DL_FUNCS=1
44215
44216 else
44217
44218 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44219 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44220 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44222 else
44223 ac_check_lib_save_LIBS=$LIBS
44224 LIBS="-ldl $LIBS"
44225 cat >conftest.$ac_ext <<_ACEOF
44226 /* confdefs.h. */
44227 _ACEOF
44228 cat confdefs.h >>conftest.$ac_ext
44229 cat >>conftest.$ac_ext <<_ACEOF
44230 /* end confdefs.h. */
44231
44232 /* Override any GCC internal prototype to avoid an error.
44233 Use char because int might match the return type of a GCC
44234 builtin and then its argument prototype would still apply. */
44235 #ifdef __cplusplus
44236 extern "C"
44237 #endif
44238 char dlopen ();
44239 int
44240 main ()
44241 {
44242 return dlopen ();
44243 ;
44244 return 0;
44245 }
44246 _ACEOF
44247 rm -f conftest.$ac_objext conftest$ac_exeext
44248 if { (ac_try="$ac_link"
44249 case "(($ac_try" in
44250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44251 *) ac_try_echo=$ac_try;;
44252 esac
44253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44254 (eval "$ac_link") 2>conftest.er1
44255 ac_status=$?
44256 grep -v '^ *+' conftest.er1 >conftest.err
44257 rm -f conftest.er1
44258 cat conftest.err >&5
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); } && {
44261 test -z "$ac_c_werror_flag" ||
44262 test ! -s conftest.err
44263 } && test -s conftest$ac_exeext &&
44264 $as_test_x conftest$ac_exeext; then
44265 ac_cv_lib_dl_dlopen=yes
44266 else
44267 echo "$as_me: failed program was:" >&5
44268 sed 's/^/| /' conftest.$ac_ext >&5
44269
44270 ac_cv_lib_dl_dlopen=no
44271 fi
44272
44273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44274 conftest$ac_exeext conftest.$ac_ext
44275 LIBS=$ac_check_lib_save_LIBS
44276 fi
44277 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44278 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44279 if test $ac_cv_lib_dl_dlopen = yes; then
44280
44281 cat >>confdefs.h <<\_ACEOF
44282 #define HAVE_DLOPEN 1
44283 _ACEOF
44284
44285 HAVE_DL_FUNCS=1
44286 DL_LINK=" -ldl$DL_LINK"
44287
44288 else
44289
44290
44291 for ac_func in shl_load
44292 do
44293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44297 echo $ECHO_N "(cached) $ECHO_C" >&6
44298 else
44299 cat >conftest.$ac_ext <<_ACEOF
44300 /* confdefs.h. */
44301 _ACEOF
44302 cat confdefs.h >>conftest.$ac_ext
44303 cat >>conftest.$ac_ext <<_ACEOF
44304 /* end confdefs.h. */
44305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44307 #define $ac_func innocuous_$ac_func
44308
44309 /* System header to define __stub macros and hopefully few prototypes,
44310 which can conflict with char $ac_func (); below.
44311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44312 <limits.h> exists even on freestanding compilers. */
44313
44314 #ifdef __STDC__
44315 # include <limits.h>
44316 #else
44317 # include <assert.h>
44318 #endif
44319
44320 #undef $ac_func
44321
44322 /* Override any GCC internal prototype to avoid an error.
44323 Use char because int might match the return type of a GCC
44324 builtin and then its argument prototype would still apply. */
44325 #ifdef __cplusplus
44326 extern "C"
44327 #endif
44328 char $ac_func ();
44329 /* The GNU C library defines this for functions which it implements
44330 to always fail with ENOSYS. Some functions are actually named
44331 something starting with __ and the normal name is an alias. */
44332 #if defined __stub_$ac_func || defined __stub___$ac_func
44333 choke me
44334 #endif
44335
44336 int
44337 main ()
44338 {
44339 return $ac_func ();
44340 ;
44341 return 0;
44342 }
44343 _ACEOF
44344 rm -f conftest.$ac_objext conftest$ac_exeext
44345 if { (ac_try="$ac_link"
44346 case "(($ac_try" in
44347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44348 *) ac_try_echo=$ac_try;;
44349 esac
44350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44351 (eval "$ac_link") 2>conftest.er1
44352 ac_status=$?
44353 grep -v '^ *+' conftest.er1 >conftest.err
44354 rm -f conftest.er1
44355 cat conftest.err >&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } && {
44358 test -z "$ac_c_werror_flag" ||
44359 test ! -s conftest.err
44360 } && test -s conftest$ac_exeext &&
44361 $as_test_x conftest$ac_exeext; then
44362 eval "$as_ac_var=yes"
44363 else
44364 echo "$as_me: failed program was:" >&5
44365 sed 's/^/| /' conftest.$ac_ext >&5
44366
44367 eval "$as_ac_var=no"
44368 fi
44369
44370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44371 conftest$ac_exeext conftest.$ac_ext
44372 fi
44373 ac_res=`eval echo '${'$as_ac_var'}'`
44374 { echo "$as_me:$LINENO: result: $ac_res" >&5
44375 echo "${ECHO_T}$ac_res" >&6; }
44376 if test `eval echo '${'$as_ac_var'}'` = yes; then
44377 cat >>confdefs.h <<_ACEOF
44378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44379 _ACEOF
44380
44381 cat >>confdefs.h <<\_ACEOF
44382 #define HAVE_SHL_LOAD 1
44383 _ACEOF
44384
44385 HAVE_SHL_FUNCS=1
44386
44387 else
44388
44389 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44390 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44391 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44392 echo $ECHO_N "(cached) $ECHO_C" >&6
44393 else
44394 ac_check_lib_save_LIBS=$LIBS
44395 LIBS="-lshl_load $LIBS"
44396 cat >conftest.$ac_ext <<_ACEOF
44397 /* confdefs.h. */
44398 _ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44402
44403 /* Override any GCC internal prototype to avoid an error.
44404 Use char because int might match the return type of a GCC
44405 builtin and then its argument prototype would still apply. */
44406 #ifdef __cplusplus
44407 extern "C"
44408 #endif
44409 char dld ();
44410 int
44411 main ()
44412 {
44413 return dld ();
44414 ;
44415 return 0;
44416 }
44417 _ACEOF
44418 rm -f conftest.$ac_objext conftest$ac_exeext
44419 if { (ac_try="$ac_link"
44420 case "(($ac_try" in
44421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44422 *) ac_try_echo=$ac_try;;
44423 esac
44424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44425 (eval "$ac_link") 2>conftest.er1
44426 ac_status=$?
44427 grep -v '^ *+' conftest.er1 >conftest.err
44428 rm -f conftest.er1
44429 cat conftest.err >&5
44430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44431 (exit $ac_status); } && {
44432 test -z "$ac_c_werror_flag" ||
44433 test ! -s conftest.err
44434 } && test -s conftest$ac_exeext &&
44435 $as_test_x conftest$ac_exeext; then
44436 ac_cv_lib_shl_load_dld=yes
44437 else
44438 echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.$ac_ext >&5
44440
44441 ac_cv_lib_shl_load_dld=no
44442 fi
44443
44444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44445 conftest$ac_exeext conftest.$ac_ext
44446 LIBS=$ac_check_lib_save_LIBS
44447 fi
44448 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44449 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44450 if test $ac_cv_lib_shl_load_dld = yes; then
44451
44452 HAVE_SHL_FUNCS=1
44453 DL_LINK=" -ldld$DL_LINK"
44454
44455 fi
44456
44457
44458 fi
44459 done
44460
44461
44462 fi
44463
44464
44465 fi
44466 done
44467
44468
44469 if test "$HAVE_DL_FUNCS" = 1; then
44470
44471 for ac_func in dlerror
44472 do
44473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44477 echo $ECHO_N "(cached) $ECHO_C" >&6
44478 else
44479 cat >conftest.$ac_ext <<_ACEOF
44480 /* confdefs.h. */
44481 _ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44487 #define $ac_func innocuous_$ac_func
44488
44489 /* System header to define __stub macros and hopefully few prototypes,
44490 which can conflict with char $ac_func (); below.
44491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44492 <limits.h> exists even on freestanding compilers. */
44493
44494 #ifdef __STDC__
44495 # include <limits.h>
44496 #else
44497 # include <assert.h>
44498 #endif
44499
44500 #undef $ac_func
44501
44502 /* Override any GCC internal prototype to avoid an error.
44503 Use char because int might match the return type of a GCC
44504 builtin and then its argument prototype would still apply. */
44505 #ifdef __cplusplus
44506 extern "C"
44507 #endif
44508 char $ac_func ();
44509 /* The GNU C library defines this for functions which it implements
44510 to always fail with ENOSYS. Some functions are actually named
44511 something starting with __ and the normal name is an alias. */
44512 #if defined __stub_$ac_func || defined __stub___$ac_func
44513 choke me
44514 #endif
44515
44516 int
44517 main ()
44518 {
44519 return $ac_func ();
44520 ;
44521 return 0;
44522 }
44523 _ACEOF
44524 rm -f conftest.$ac_objext conftest$ac_exeext
44525 if { (ac_try="$ac_link"
44526 case "(($ac_try" in
44527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44528 *) ac_try_echo=$ac_try;;
44529 esac
44530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44531 (eval "$ac_link") 2>conftest.er1
44532 ac_status=$?
44533 grep -v '^ *+' conftest.er1 >conftest.err
44534 rm -f conftest.er1
44535 cat conftest.err >&5
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); } && {
44538 test -z "$ac_c_werror_flag" ||
44539 test ! -s conftest.err
44540 } && test -s conftest$ac_exeext &&
44541 $as_test_x conftest$ac_exeext; then
44542 eval "$as_ac_var=yes"
44543 else
44544 echo "$as_me: failed program was:" >&5
44545 sed 's/^/| /' conftest.$ac_ext >&5
44546
44547 eval "$as_ac_var=no"
44548 fi
44549
44550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44551 conftest$ac_exeext conftest.$ac_ext
44552 fi
44553 ac_res=`eval echo '${'$as_ac_var'}'`
44554 { echo "$as_me:$LINENO: result: $ac_res" >&5
44555 echo "${ECHO_T}$ac_res" >&6; }
44556 if test `eval echo '${'$as_ac_var'}'` = yes; then
44557 cat >>confdefs.h <<_ACEOF
44558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44559 _ACEOF
44560 cat >>confdefs.h <<\_ACEOF
44561 #define HAVE_DLERROR 1
44562 _ACEOF
44563
44564 else
44565
44566 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44567 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44568 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 else
44571 ac_check_lib_save_LIBS=$LIBS
44572 LIBS="-ldl $LIBS"
44573 cat >conftest.$ac_ext <<_ACEOF
44574 /* confdefs.h. */
44575 _ACEOF
44576 cat confdefs.h >>conftest.$ac_ext
44577 cat >>conftest.$ac_ext <<_ACEOF
44578 /* end confdefs.h. */
44579
44580 /* Override any GCC internal prototype to avoid an error.
44581 Use char because int might match the return type of a GCC
44582 builtin and then its argument prototype would still apply. */
44583 #ifdef __cplusplus
44584 extern "C"
44585 #endif
44586 char dlerror ();
44587 int
44588 main ()
44589 {
44590 return dlerror ();
44591 ;
44592 return 0;
44593 }
44594 _ACEOF
44595 rm -f conftest.$ac_objext conftest$ac_exeext
44596 if { (ac_try="$ac_link"
44597 case "(($ac_try" in
44598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44600 esac
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_link") 2>conftest.er1
44603 ac_status=$?
44604 grep -v '^ *+' conftest.er1 >conftest.err
44605 rm -f conftest.er1
44606 cat conftest.err >&5
44607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44608 (exit $ac_status); } && {
44609 test -z "$ac_c_werror_flag" ||
44610 test ! -s conftest.err
44611 } && test -s conftest$ac_exeext &&
44612 $as_test_x conftest$ac_exeext; then
44613 ac_cv_lib_dl_dlerror=yes
44614 else
44615 echo "$as_me: failed program was:" >&5
44616 sed 's/^/| /' conftest.$ac_ext >&5
44617
44618 ac_cv_lib_dl_dlerror=no
44619 fi
44620
44621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44622 conftest$ac_exeext conftest.$ac_ext
44623 LIBS=$ac_check_lib_save_LIBS
44624 fi
44625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44626 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44627 if test $ac_cv_lib_dl_dlerror = yes; then
44628 cat >>confdefs.h <<\_ACEOF
44629 #define HAVE_DLERROR 1
44630 _ACEOF
44631
44632 fi
44633
44634
44635
44636 fi
44637 done
44638
44639 fi
44640 fi
44641
44642 if test "$HAVE_DL_FUNCS" = 0; then
44643 if test "$HAVE_SHL_FUNCS" = 0; then
44644 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44645 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44646 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44647 wxUSE_DYNAMIC_LOADER=no
44648 wxUSE_DYNLIB_CLASS=no
44649 else
44650 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44651 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44652 fi
44653 fi
44654 fi
44655 fi
44656 fi
44657
44658 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_DYNAMIC_LOADER 1
44661 _ACEOF
44662
44663 fi
44664 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_DYNLIB_CLASS 1
44667 _ACEOF
44668
44669 fi
44670
44671
44672
44673 if test "$wxUSE_PLUGINS" = "yes" ; then
44674 if test "$wxUSE_SHARED" = "no" ; then
44675 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44676 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44677 wxUSE_PLUGINS=no
44678 fi
44679 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44680 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44681 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44682 wxUSE_PLUGINS=no
44683 fi
44684 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44685 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44686 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44687 wxUSE_PLUGINS=no
44688 fi
44689 if test "$wxUSE_PLUGINS" = "yes" ; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_PLUGINS 1
44692 _ACEOF
44693
44694 fi
44695 fi
44696
44697
44698 if test "$wxUSE_STL" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_STL 1
44701 _ACEOF
44702
44703 fi
44704
44705 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_EXTENDED_RTTI 1
44708 _ACEOF
44709
44710 fi
44711
44712 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44713 cat >>confdefs.h <<\_ACEOF
44714 #define wxUSE_APPLE_IEEE 1
44715 _ACEOF
44716
44717 fi
44718
44719 if test "$wxUSE_TIMER" = "yes"; then
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_TIMER 1
44722 _ACEOF
44723
44724 fi
44725
44726 if test "$USE_UNIX" = "1" ; then
44727 if test "$wxUSE_MGL" != 1; then
44728 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44729 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44730 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44731 echo $ECHO_N "(cached) $ECHO_C" >&6
44732 else
44733
44734 cat >conftest.$ac_ext <<_ACEOF
44735 /* confdefs.h. */
44736 _ACEOF
44737 cat confdefs.h >>conftest.$ac_ext
44738 cat >>conftest.$ac_ext <<_ACEOF
44739 /* end confdefs.h. */
44740
44741 #include <sys/ioctl.h>
44742 #include <sys/soundcard.h>
44743
44744 int
44745 main ()
44746 {
44747
44748 ioctl(0, SNDCTL_DSP_SPEED, 0);
44749
44750 ;
44751 return 0;
44752 }
44753 _ACEOF
44754 rm -f conftest.$ac_objext conftest$ac_exeext
44755 if { (ac_try="$ac_link"
44756 case "(($ac_try" in
44757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44758 *) ac_try_echo=$ac_try;;
44759 esac
44760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44761 (eval "$ac_link") 2>conftest.er1
44762 ac_status=$?
44763 grep -v '^ *+' conftest.er1 >conftest.err
44764 rm -f conftest.er1
44765 cat conftest.err >&5
44766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767 (exit $ac_status); } && {
44768 test -z "$ac_c_werror_flag" ||
44769 test ! -s conftest.err
44770 } && test -s conftest$ac_exeext &&
44771 $as_test_x conftest$ac_exeext; then
44772 ac_cv_header_sys_soundcard=yes
44773 else
44774 echo "$as_me: failed program was:" >&5
44775 sed 's/^/| /' conftest.$ac_ext >&5
44776
44777
44778 saveLibs="$LIBS"
44779 LIBS="$saveLibs -lossaudio"
44780 cat >conftest.$ac_ext <<_ACEOF
44781 /* confdefs.h. */
44782 _ACEOF
44783 cat confdefs.h >>conftest.$ac_ext
44784 cat >>conftest.$ac_ext <<_ACEOF
44785 /* end confdefs.h. */
44786
44787 #include <sys/ioctl.h>
44788 #include <sys/soundcard.h>
44789
44790 int
44791 main ()
44792 {
44793
44794 ioctl(0, SNDCTL_DSP_SPEED, 0);
44795
44796 ;
44797 return 0;
44798 }
44799 _ACEOF
44800 rm -f conftest.$ac_objext conftest$ac_exeext
44801 if { (ac_try="$ac_link"
44802 case "(($ac_try" in
44803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44804 *) ac_try_echo=$ac_try;;
44805 esac
44806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44807 (eval "$ac_link") 2>conftest.er1
44808 ac_status=$?
44809 grep -v '^ *+' conftest.er1 >conftest.err
44810 rm -f conftest.er1
44811 cat conftest.err >&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); } && {
44814 test -z "$ac_c_werror_flag" ||
44815 test ! -s conftest.err
44816 } && test -s conftest$ac_exeext &&
44817 $as_test_x conftest$ac_exeext; then
44818 ac_cv_header_sys_soundcard=yes
44819 else
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.$ac_ext >&5
44822
44823
44824 LIBS="$saveLibs"
44825 ac_cv_header_sys_soundcard=no
44826
44827
44828 fi
44829
44830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44831 conftest$ac_exeext conftest.$ac_ext
44832
44833
44834 fi
44835
44836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44837 conftest$ac_exeext conftest.$ac_ext
44838
44839 fi
44840 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44841 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44842 fi
44843
44844 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define HAVE_SYS_SOUNDCARD_H 1
44847 _ACEOF
44848
44849 fi
44850 fi
44851
44852 WITH_PLUGIN_SDL=0
44853 if test "$wxUSE_SOUND" = "yes"; then
44854 if test "$USE_UNIX" = "1" ; then
44855 if test "$wxUSE_LIBSDL" != "no"; then
44856
44857 # Check whether --with-sdl-prefix was given.
44858 if test "${with_sdl_prefix+set}" = set; then
44859 withval=$with_sdl_prefix; sdl_prefix="$withval"
44860 else
44861 sdl_prefix=""
44862 fi
44863
44864
44865 # Check whether --with-sdl-exec-prefix was given.
44866 if test "${with_sdl_exec_prefix+set}" = set; then
44867 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44868 else
44869 sdl_exec_prefix=""
44870 fi
44871
44872 # Check whether --enable-sdltest was given.
44873 if test "${enable_sdltest+set}" = set; then
44874 enableval=$enable_sdltest;
44875 else
44876 enable_sdltest=yes
44877 fi
44878
44879
44880 if test x$sdl_exec_prefix != x ; then
44881 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44882 if test x${SDL_CONFIG+set} != xset ; then
44883 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44884 fi
44885 fi
44886 if test x$sdl_prefix != x ; then
44887 sdl_args="$sdl_args --prefix=$sdl_prefix"
44888 if test x${SDL_CONFIG+set} != xset ; then
44889 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44890 fi
44891 fi
44892
44893 if test "x$prefix" != xNONE; then
44894 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44895 fi
44896 # Extract the first word of "sdl-config", so it can be a program name with args.
44897 set dummy sdl-config; ac_word=$2
44898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44900 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44901 echo $ECHO_N "(cached) $ECHO_C" >&6
44902 else
44903 case $SDL_CONFIG in
44904 [\\/]* | ?:[\\/]*)
44905 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44906 ;;
44907 *)
44908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44909 for as_dir in $PATH
44910 do
44911 IFS=$as_save_IFS
44912 test -z "$as_dir" && as_dir=.
44913 for ac_exec_ext in '' $ac_executable_extensions; do
44914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44915 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44917 break 2
44918 fi
44919 done
44920 done
44921 IFS=$as_save_IFS
44922
44923 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44924 ;;
44925 esac
44926 fi
44927 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44928 if test -n "$SDL_CONFIG"; then
44929 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44930 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44931 else
44932 { echo "$as_me:$LINENO: result: no" >&5
44933 echo "${ECHO_T}no" >&6; }
44934 fi
44935
44936
44937 min_sdl_version=1.2.0
44938 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44939 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44940 no_sdl=""
44941 if test "$SDL_CONFIG" = "no" ; then
44942 no_sdl=yes
44943 else
44944 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44945 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44946
44947 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44949 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44951 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44953 if test "x$enable_sdltest" = "xyes" ; then
44954 ac_save_CFLAGS="$CFLAGS"
44955 ac_save_CXXFLAGS="$CXXFLAGS"
44956 ac_save_LIBS="$LIBS"
44957 CFLAGS="$CFLAGS $SDL_CFLAGS"
44958 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44959 LIBS="$LIBS $SDL_LIBS"
44960 rm -f conf.sdltest
44961 if test "$cross_compiling" = yes; then
44962 echo $ac_n "cross compiling; assumed OK... $ac_c"
44963 else
44964 cat >conftest.$ac_ext <<_ACEOF
44965 /* confdefs.h. */
44966 _ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970
44971 #include <stdio.h>
44972 #include <stdlib.h>
44973 #include <string.h>
44974 #include "SDL.h"
44975
44976 char*
44977 my_strdup (char *str)
44978 {
44979 char *new_str;
44980
44981 if (str)
44982 {
44983 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44984 strcpy (new_str, str);
44985 }
44986 else
44987 new_str = NULL;
44988
44989 return new_str;
44990 }
44991
44992 int main (int argc, char *argv[])
44993 {
44994 int major, minor, micro;
44995 char *tmp_version;
44996
44997 /* This hangs on some systems (?)
44998 system ("touch conf.sdltest");
44999 */
45000 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45001
45002 /* HP/UX 9 (%@#!) writes to sscanf strings */
45003 tmp_version = my_strdup("$min_sdl_version");
45004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
45005 printf("%s, bad version string\n", "$min_sdl_version");
45006 exit(1);
45007 }
45008
45009 if (($sdl_major_version > major) ||
45010 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45011 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45012 {
45013 return 0;
45014 }
45015 else
45016 {
45017 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45018 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45019 printf("*** best to upgrade to the required version.\n");
45020 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45021 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45022 printf("*** config.cache before re-running configure\n");
45023 return 1;
45024 }
45025 }
45026
45027
45028 _ACEOF
45029 rm -f conftest$ac_exeext
45030 if { (ac_try="$ac_link"
45031 case "(($ac_try" in
45032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45033 *) ac_try_echo=$ac_try;;
45034 esac
45035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45036 (eval "$ac_link") 2>&5
45037 ac_status=$?
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45040 { (case "(($ac_try" in
45041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45042 *) ac_try_echo=$ac_try;;
45043 esac
45044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45045 (eval "$ac_try") 2>&5
45046 ac_status=$?
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 :
45050 else
45051 echo "$as_me: program exited with status $ac_status" >&5
45052 echo "$as_me: failed program was:" >&5
45053 sed 's/^/| /' conftest.$ac_ext >&5
45054
45055 ( exit $ac_status )
45056 no_sdl=yes
45057 fi
45058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45059 fi
45060
45061
45062 CFLAGS="$ac_save_CFLAGS"
45063 CXXFLAGS="$ac_save_CXXFLAGS"
45064 LIBS="$ac_save_LIBS"
45065 fi
45066 fi
45067 if test "x$no_sdl" = x ; then
45068 { echo "$as_me:$LINENO: result: yes" >&5
45069 echo "${ECHO_T}yes" >&6; }
45070
45071 EXTRALIBS_SDL="$SDL_LIBS"
45072 CFLAGS="$SDL_CFLAGS $CFLAGS"
45073 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_LIBSDL 1
45076 _ACEOF
45077
45078
45079 else
45080 { echo "$as_me:$LINENO: result: no" >&5
45081 echo "${ECHO_T}no" >&6; }
45082 if test "$SDL_CONFIG" = "no" ; then
45083 echo "*** The sdl-config script installed by SDL could not be found"
45084 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45085 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45086 echo "*** full path to sdl-config."
45087 else
45088 if test -f conf.sdltest ; then
45089 :
45090 else
45091 echo "*** Could not run SDL test program, checking why..."
45092 CFLAGS="$CFLAGS $SDL_CFLAGS"
45093 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45094 LIBS="$LIBS $SDL_LIBS"
45095 cat >conftest.$ac_ext <<_ACEOF
45096 /* confdefs.h. */
45097 _ACEOF
45098 cat confdefs.h >>conftest.$ac_ext
45099 cat >>conftest.$ac_ext <<_ACEOF
45100 /* end confdefs.h. */
45101
45102 #include <stdio.h>
45103 #include "SDL.h"
45104
45105 int main(int argc, char *argv[])
45106 { return 0; }
45107 #undef main
45108 #define main K_and_R_C_main
45109
45110 int
45111 main ()
45112 {
45113 return 0;
45114 ;
45115 return 0;
45116 }
45117 _ACEOF
45118 rm -f conftest.$ac_objext conftest$ac_exeext
45119 if { (ac_try="$ac_link"
45120 case "(($ac_try" in
45121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45122 *) ac_try_echo=$ac_try;;
45123 esac
45124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45125 (eval "$ac_link") 2>conftest.er1
45126 ac_status=$?
45127 grep -v '^ *+' conftest.er1 >conftest.err
45128 rm -f conftest.er1
45129 cat conftest.err >&5
45130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45131 (exit $ac_status); } && {
45132 test -z "$ac_c_werror_flag" ||
45133 test ! -s conftest.err
45134 } && test -s conftest$ac_exeext &&
45135 $as_test_x conftest$ac_exeext; then
45136 echo "*** The test program compiled, but did not run. This usually means"
45137 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45138 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45139 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45140 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45141 echo "*** is required on your system"
45142 echo "***"
45143 echo "*** If you have an old version installed, it is best to remove it, although"
45144 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45145 else
45146 echo "$as_me: failed program was:" >&5
45147 sed 's/^/| /' conftest.$ac_ext >&5
45148
45149 echo "*** The test program failed to compile or link. See the file config.log for the"
45150 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45151 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45152 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45153 fi
45154
45155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45156 conftest$ac_exeext conftest.$ac_ext
45157 CFLAGS="$ac_save_CFLAGS"
45158 CXXFLAGS="$ac_save_CXXFLAGS"
45159 LIBS="$ac_save_LIBS"
45160 fi
45161 fi
45162 SDL_CFLAGS=""
45163 SDL_LIBS=""
45164 wxUSE_LIBSDL="no"
45165 fi
45166
45167
45168 rm -f conf.sdltest
45169
45170 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45171 WITH_PLUGIN_SDL=1
45172 fi
45173 fi
45174 else
45175 if test "$wxUSE_MGL" = 1; then
45176 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45177 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45178 wxUSE_SOUND="no"
45179 fi
45180 fi
45181 fi
45182
45183 if test "$wxUSE_SOUND" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_SOUND 1
45186 _ACEOF
45187
45188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45189 fi
45190
45191 if test "$WXGTK20" = 1; then
45192
45193
45194 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45195 if test -n "$ac_tool_prefix"; then
45196 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45197 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45201 echo $ECHO_N "(cached) $ECHO_C" >&6
45202 else
45203 case $PKG_CONFIG in
45204 [\\/]* | ?:[\\/]*)
45205 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45206 ;;
45207 *)
45208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45209 for as_dir in $PATH
45210 do
45211 IFS=$as_save_IFS
45212 test -z "$as_dir" && as_dir=.
45213 for ac_exec_ext in '' $ac_executable_extensions; do
45214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45215 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45217 break 2
45218 fi
45219 done
45220 done
45221 IFS=$as_save_IFS
45222
45223 ;;
45224 esac
45225 fi
45226 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45227 if test -n "$PKG_CONFIG"; then
45228 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45229 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45230 else
45231 { echo "$as_me:$LINENO: result: no" >&5
45232 echo "${ECHO_T}no" >&6; }
45233 fi
45234
45235
45236 fi
45237 if test -z "$ac_cv_path_PKG_CONFIG"; then
45238 ac_pt_PKG_CONFIG=$PKG_CONFIG
45239 # Extract the first word of "pkg-config", so it can be a program name with args.
45240 set dummy pkg-config; ac_word=$2
45241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45243 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45244 echo $ECHO_N "(cached) $ECHO_C" >&6
45245 else
45246 case $ac_pt_PKG_CONFIG in
45247 [\\/]* | ?:[\\/]*)
45248 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45249 ;;
45250 *)
45251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45252 for as_dir in $PATH
45253 do
45254 IFS=$as_save_IFS
45255 test -z "$as_dir" && as_dir=.
45256 for ac_exec_ext in '' $ac_executable_extensions; do
45257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45258 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45260 break 2
45261 fi
45262 done
45263 done
45264 IFS=$as_save_IFS
45265
45266 ;;
45267 esac
45268 fi
45269 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45270 if test -n "$ac_pt_PKG_CONFIG"; then
45271 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45272 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45273 else
45274 { echo "$as_me:$LINENO: result: no" >&5
45275 echo "${ECHO_T}no" >&6; }
45276 fi
45277
45278 if test "x$ac_pt_PKG_CONFIG" = x; then
45279 PKG_CONFIG=""
45280 else
45281 case $cross_compiling:$ac_tool_warned in
45282 yes:)
45283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45284 whose name does not start with the host triplet. If you think this
45285 configuration is useful to you, please write to autoconf@gnu.org." >&5
45286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45287 whose name does not start with the host triplet. If you think this
45288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45289 ac_tool_warned=yes ;;
45290 esac
45291 PKG_CONFIG=$ac_pt_PKG_CONFIG
45292 fi
45293 else
45294 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45295 fi
45296
45297 fi
45298 if test -n "$PKG_CONFIG"; then
45299 _pkg_min_version=0.9.0
45300 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45301 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45302 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45303 { echo "$as_me:$LINENO: result: yes" >&5
45304 echo "${ECHO_T}yes" >&6; }
45305 else
45306 { echo "$as_me:$LINENO: result: no" >&5
45307 echo "${ECHO_T}no" >&6; }
45308 PKG_CONFIG=""
45309 fi
45310
45311 fi
45312
45313 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45314
45315 if test "$wxUSE_GTKPRINT" = "yes" ; then
45316
45317
45318 pkg_failed=no
45319 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45320 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
45321
45322 if test -n "$PKG_CONFIG"; then
45323 if test -n "$GTKPRINT_CFLAGS"; then
45324 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
45325 else
45326 if test -n "$PKG_CONFIG" && \
45327 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45328 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45329 ac_status=$?
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); }; then
45332 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45333 else
45334 pkg_failed=yes
45335 fi
45336 fi
45337 else
45338 pkg_failed=untried
45339 fi
45340 if test -n "$PKG_CONFIG"; then
45341 if test -n "$GTKPRINT_LIBS"; then
45342 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45343 else
45344 if test -n "$PKG_CONFIG" && \
45345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45346 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45347 ac_status=$?
45348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349 (exit $ac_status); }; then
45350 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45351 else
45352 pkg_failed=yes
45353 fi
45354 fi
45355 else
45356 pkg_failed=untried
45357 fi
45358
45359
45360
45361 if test $pkg_failed = yes; then
45362
45363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45364 _pkg_short_errors_supported=yes
45365 else
45366 _pkg_short_errors_supported=no
45367 fi
45368 if test $_pkg_short_errors_supported = yes; then
45369 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45370 else
45371 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45372 fi
45373 # Put the nasty error message in config.log where it belongs
45374 echo "$GTKPRINT_PKG_ERRORS" >&5
45375
45376
45377 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45378 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45379 wxUSE_GTKPRINT="no"
45380
45381
45382 elif test $pkg_failed = untried; then
45383
45384 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45385 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45386 wxUSE_GTKPRINT="no"
45387
45388
45389 else
45390 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45391 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45392 { echo "$as_me:$LINENO: result: yes" >&5
45393 echo "${ECHO_T}yes" >&6; }
45394
45395 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45396 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_GTKPRINT 1
45399 _ACEOF
45400
45401
45402 fi
45403 fi
45404
45405 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45406
45407
45408 pkg_failed=no
45409 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45410 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45411
45412 if test -n "$PKG_CONFIG"; then
45413 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45414 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45415 else
45416 if test -n "$PKG_CONFIG" && \
45417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45418 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45419 ac_status=$?
45420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45421 (exit $ac_status); }; then
45422 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45423 else
45424 pkg_failed=yes
45425 fi
45426 fi
45427 else
45428 pkg_failed=untried
45429 fi
45430 if test -n "$PKG_CONFIG"; then
45431 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45432 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45433 else
45434 if test -n "$PKG_CONFIG" && \
45435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45436 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45437 ac_status=$?
45438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45439 (exit $ac_status); }; then
45440 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45441 else
45442 pkg_failed=yes
45443 fi
45444 fi
45445 else
45446 pkg_failed=untried
45447 fi
45448
45449
45450
45451 if test $pkg_failed = yes; then
45452
45453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45454 _pkg_short_errors_supported=yes
45455 else
45456 _pkg_short_errors_supported=no
45457 fi
45458 if test $_pkg_short_errors_supported = yes; then
45459 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45460 else
45461 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45462 fi
45463 # Put the nasty error message in config.log where it belongs
45464 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45465
45466
45467 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45468 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45469 wxUSE_LIBGNOMEPRINT="no"
45470
45471
45472 elif test $pkg_failed = untried; then
45473
45474 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45475 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45476 wxUSE_LIBGNOMEPRINT="no"
45477
45478
45479 else
45480 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45481 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45482 { echo "$as_me:$LINENO: result: yes" >&5
45483 echo "${ECHO_T}yes" >&6; }
45484
45485 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45486 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LIBGNOMEPRINT 1
45489 _ACEOF
45490
45491
45492 fi
45493 fi
45494 fi
45495
45496 if test "$wxUSE_MIMETYPE" = "yes" ; then
45497 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45498
45499
45500 pkg_failed=no
45501 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45502 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45503
45504 if test -n "$PKG_CONFIG"; then
45505 if test -n "$GNOMEVFS_CFLAGS"; then
45506 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45507 else
45508 if test -n "$PKG_CONFIG" && \
45509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45510 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45511 ac_status=$?
45512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513 (exit $ac_status); }; then
45514 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45515 else
45516 pkg_failed=yes
45517 fi
45518 fi
45519 else
45520 pkg_failed=untried
45521 fi
45522 if test -n "$PKG_CONFIG"; then
45523 if test -n "$GNOMEVFS_LIBS"; then
45524 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45525 else
45526 if test -n "$PKG_CONFIG" && \
45527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45528 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45529 ac_status=$?
45530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45531 (exit $ac_status); }; then
45532 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45533 else
45534 pkg_failed=yes
45535 fi
45536 fi
45537 else
45538 pkg_failed=untried
45539 fi
45540
45541
45542
45543 if test $pkg_failed = yes; then
45544
45545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45546 _pkg_short_errors_supported=yes
45547 else
45548 _pkg_short_errors_supported=no
45549 fi
45550 if test $_pkg_short_errors_supported = yes; then
45551 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45552 else
45553 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45554 fi
45555 # Put the nasty error message in config.log where it belongs
45556 echo "$GNOMEVFS_PKG_ERRORS" >&5
45557
45558
45559 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45560 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45561 wxUSE_LIBGNOMEVFS="no"
45562
45563
45564 elif test $pkg_failed = untried; then
45565
45566 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45567 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45568 wxUSE_LIBGNOMEVFS="no"
45569
45570
45571 else
45572 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45573 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45574 { echo "$as_me:$LINENO: result: yes" >&5
45575 echo "${ECHO_T}yes" >&6; }
45576
45577 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45578 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_LIBGNOMEVFS 1
45581 _ACEOF
45582
45583
45584 fi
45585 fi
45586 fi
45587
45588 if test "$wxUSE_LIBHILDON" = "yes" ; then
45589
45590 pkg_failed=no
45591 { echo "$as_me:$LINENO: checking for HILDON" >&5
45592 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45593
45594 if test -n "$PKG_CONFIG"; then
45595 if test -n "$HILDON_CFLAGS"; then
45596 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45597 else
45598 if test -n "$PKG_CONFIG" && \
45599 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45600 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45601 ac_status=$?
45602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45603 (exit $ac_status); }; then
45604 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45605 else
45606 pkg_failed=yes
45607 fi
45608 fi
45609 else
45610 pkg_failed=untried
45611 fi
45612 if test -n "$PKG_CONFIG"; then
45613 if test -n "$HILDON_LIBS"; then
45614 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45615 else
45616 if test -n "$PKG_CONFIG" && \
45617 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45618 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45619 ac_status=$?
45620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621 (exit $ac_status); }; then
45622 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45623 else
45624 pkg_failed=yes
45625 fi
45626 fi
45627 else
45628 pkg_failed=untried
45629 fi
45630
45631
45632
45633 if test $pkg_failed = yes; then
45634
45635 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45636 _pkg_short_errors_supported=yes
45637 else
45638 _pkg_short_errors_supported=no
45639 fi
45640 if test $_pkg_short_errors_supported = yes; then
45641 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45642 else
45643 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45644 fi
45645 # Put the nasty error message in config.log where it belongs
45646 echo "$HILDON_PKG_ERRORS" >&5
45647
45648
45649 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45650 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45651 wxUSE_LIBHILDON="no"
45652
45653
45654 elif test $pkg_failed = untried; then
45655
45656 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45657 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45658 wxUSE_LIBHILDON="no"
45659
45660
45661 else
45662 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45663 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45664 { echo "$as_me:$LINENO: result: yes" >&5
45665 echo "${ECHO_T}yes" >&6; }
45666
45667 EXTRALIBS_HILDON="$HILDON_LIBS"
45668 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45669 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_LIBHILDON 1
45672 _ACEOF
45673
45674
45675 fi
45676 fi
45677 fi
45678
45679 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_CMDLINE_PARSER 1
45682 _ACEOF
45683
45684 fi
45685
45686 if test "$wxUSE_STOPWATCH" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_STOPWATCH 1
45689 _ACEOF
45690
45691 fi
45692
45693 if test "$wxUSE_DATETIME" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_DATETIME 1
45696 _ACEOF
45697
45698 fi
45699
45700 if test "$wxUSE_FILE" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_FILE 1
45703 _ACEOF
45704
45705 fi
45706
45707 if test "$wxUSE_FFILE" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_FFILE 1
45710 _ACEOF
45711
45712 fi
45713
45714 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45715 if test "$wxUSE_STREAMS" != yes; then
45716 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45717 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45718 wxUSE_ARCHIVE_STREAMS=no
45719 else
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_ARCHIVE_STREAMS 1
45722 _ACEOF
45723
45724 fi
45725 fi
45726
45727 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45728 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45729 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45730 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45731 elif test "$wxUSE_ZLIB" = "no"; then
45732 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45733 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45734 else
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_ZIPSTREAM 1
45737 _ACEOF
45738
45739 fi
45740 fi
45741
45742 if test "$wxUSE_TARSTREAM" = "yes"; then
45743 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45744 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45745 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45746 else
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_TARSTREAM 1
45749 _ACEOF
45750
45751 fi
45752 fi
45753
45754 if test "$wxUSE_FILESYSTEM" = "yes"; then
45755 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45756 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45757 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45758 wxUSE_FILESYSTEM=no
45759 else
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_FILESYSTEM 1
45762 _ACEOF
45763
45764 fi
45765 fi
45766
45767 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45768 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45769 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45770 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45771 else
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_FS_ARCHIVE 1
45774 _ACEOF
45775
45776 fi
45777 fi
45778
45779 if test "$wxUSE_FS_ZIP" = "yes"; then
45780 if test "$wxUSE_FS_ARCHIVE" != yes; then
45781 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45782 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45783 else
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FS_ZIP 1
45786 _ACEOF
45787
45788 fi
45789 fi
45790
45791 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45792 if test "$USE_UNIX" != 1; then
45793 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45794 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45795 wxUSE_ON_FATAL_EXCEPTION=no
45796 else
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_ON_FATAL_EXCEPTION 1
45799 _ACEOF
45800
45801 fi
45802 fi
45803
45804 if test "$wxUSE_STACKWALKER" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_STACKWALKER 1
45807 _ACEOF
45808
45809 fi
45810
45811 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45812 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45813 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45814 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45815 wxUSE_DEBUGREPORT=no
45816 else
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_DEBUGREPORT 1
45819 _ACEOF
45820
45821 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45823 fi
45824 fi
45825 fi
45826
45827 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_SNGLINST_CHECKER 1
45830 _ACEOF
45831
45832 fi
45833
45834 if test "$wxUSE_BUSYINFO" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_BUSYINFO 1
45837 _ACEOF
45838
45839 fi
45840
45841 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_STD_IOSTREAM 1
45844 _ACEOF
45845
45846 fi
45847
45848 if test "$wxUSE_STD_STRING" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_STD_STRING 1
45851 _ACEOF
45852
45853 fi
45854
45855 if test "$wxUSE_STDPATHS" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_STDPATHS 1
45858 _ACEOF
45859
45860 fi
45861
45862 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_TEXTBUFFER 1
45865 _ACEOF
45866
45867 fi
45868
45869 if test "$wxUSE_TEXTFILE" = "yes"; then
45870 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45871 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45872 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45873 else
45874 cat >>confdefs.h <<\_ACEOF
45875 #define wxUSE_TEXTFILE 1
45876 _ACEOF
45877
45878 fi
45879 fi
45880
45881 if test "$wxUSE_CONFIG" = "yes" ; then
45882 if test "$wxUSE_TEXTFILE" != "yes"; then
45883 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45884 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45885 else
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_CONFIG 1
45888 _ACEOF
45889
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_CONFIG_NATIVE 1
45892 _ACEOF
45893
45894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45895 fi
45896 fi
45897
45898 if test "$wxUSE_INTL" = "yes" ; then
45899 if test "$wxUSE_FILE" != "yes"; then
45900 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45901 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45902 else
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_INTL 1
45905 _ACEOF
45906
45907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45908 GUIDIST="$GUIDIST INTL_DIST"
45909 fi
45910 fi
45911
45912 if test "$wxUSE_LOG" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_LOG 1
45915 _ACEOF
45916
45917
45918 if test "$wxUSE_LOGGUI" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_LOGGUI 1
45921 _ACEOF
45922
45923 fi
45924
45925 if test "$wxUSE_LOGWINDOW" = "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_LOGWINDOW 1
45928 _ACEOF
45929
45930 fi
45931
45932 if test "$wxUSE_LOGDIALOG" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_LOG_DIALOG 1
45935 _ACEOF
45936
45937 fi
45938
45939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45940 fi
45941
45942 if test "$wxUSE_LONGLONG" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_LONGLONG 1
45945 _ACEOF
45946
45947 fi
45948
45949 if test "$wxUSE_GEOMETRY" = "yes"; then
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_GEOMETRY 1
45952 _ACEOF
45953
45954 fi
45955
45956 if test "$wxUSE_BASE64" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_BASE64 1
45959 _ACEOF
45960
45961 fi
45962
45963 if test "$wxUSE_STREAMS" = "yes" ; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_STREAMS 1
45966 _ACEOF
45967
45968 fi
45969
45970 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_PRINTF_POS_PARAMS 1
45973 _ACEOF
45974
45975 fi
45976
45977 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_OBJC_UNIQUIFYING 1
45980 _ACEOF
45981
45982 fi
45983
45984
45985 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_CONSOLE_EVENTLOOP 1
45988 _ACEOF
45989
45990
45991 if test "$wxUSE_UNIX" = "yes"; then
45992 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_SELECT_DISPATCHER 1
45995 _ACEOF
45996
45997 fi
45998
45999 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46000
46001 for ac_header in sys/epoll.h
46002 do
46003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46007 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 else
46009 cat >conftest.$ac_ext <<_ACEOF
46010 /* confdefs.h. */
46011 _ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015 $ac_includes_default
46016
46017 #include <$ac_header>
46018 _ACEOF
46019 rm -f conftest.$ac_objext
46020 if { (ac_try="$ac_compile"
46021 case "(($ac_try" in
46022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46023 *) ac_try_echo=$ac_try;;
46024 esac
46025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46026 (eval "$ac_compile") 2>conftest.er1
46027 ac_status=$?
46028 grep -v '^ *+' conftest.er1 >conftest.err
46029 rm -f conftest.er1
46030 cat conftest.err >&5
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); } && {
46033 test -z "$ac_c_werror_flag" ||
46034 test ! -s conftest.err
46035 } && test -s conftest.$ac_objext; then
46036 eval "$as_ac_Header=yes"
46037 else
46038 echo "$as_me: failed program was:" >&5
46039 sed 's/^/| /' conftest.$ac_ext >&5
46040
46041 eval "$as_ac_Header=no"
46042 fi
46043
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 fi
46046 ac_res=`eval echo '${'$as_ac_Header'}'`
46047 { echo "$as_me:$LINENO: result: $ac_res" >&5
46048 echo "${ECHO_T}$ac_res" >&6; }
46049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46050 cat >>confdefs.h <<_ACEOF
46051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46052 _ACEOF
46053
46054 fi
46055
46056 done
46057
46058 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_EPOLL_DISPATCHER 1
46061 _ACEOF
46062
46063 else
46064 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46065 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46066 fi
46067 fi
46068 fi
46069 fi
46070
46071
46072
46073
46074 for ac_func in gettimeofday ftime
46075 do
46076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46077 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46080 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 else
46082 cat >conftest.$ac_ext <<_ACEOF
46083 /* confdefs.h. */
46084 _ACEOF
46085 cat confdefs.h >>conftest.$ac_ext
46086 cat >>conftest.$ac_ext <<_ACEOF
46087 /* end confdefs.h. */
46088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46090 #define $ac_func innocuous_$ac_func
46091
46092 /* System header to define __stub macros and hopefully few prototypes,
46093 which can conflict with char $ac_func (); below.
46094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46095 <limits.h> exists even on freestanding compilers. */
46096
46097 #ifdef __STDC__
46098 # include <limits.h>
46099 #else
46100 # include <assert.h>
46101 #endif
46102
46103 #undef $ac_func
46104
46105 /* Override any GCC internal prototype to avoid an error.
46106 Use char because int might match the return type of a GCC
46107 builtin and then its argument prototype would still apply. */
46108 #ifdef __cplusplus
46109 extern "C"
46110 #endif
46111 char $ac_func ();
46112 /* The GNU C library defines this for functions which it implements
46113 to always fail with ENOSYS. Some functions are actually named
46114 something starting with __ and the normal name is an alias. */
46115 #if defined __stub_$ac_func || defined __stub___$ac_func
46116 choke me
46117 #endif
46118
46119 int
46120 main ()
46121 {
46122 return $ac_func ();
46123 ;
46124 return 0;
46125 }
46126 _ACEOF
46127 rm -f conftest.$ac_objext conftest$ac_exeext
46128 if { (ac_try="$ac_link"
46129 case "(($ac_try" in
46130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46131 *) ac_try_echo=$ac_try;;
46132 esac
46133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46134 (eval "$ac_link") 2>conftest.er1
46135 ac_status=$?
46136 grep -v '^ *+' conftest.er1 >conftest.err
46137 rm -f conftest.er1
46138 cat conftest.err >&5
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); } && {
46141 test -z "$ac_c_werror_flag" ||
46142 test ! -s conftest.err
46143 } && test -s conftest$ac_exeext &&
46144 $as_test_x conftest$ac_exeext; then
46145 eval "$as_ac_var=yes"
46146 else
46147 echo "$as_me: failed program was:" >&5
46148 sed 's/^/| /' conftest.$ac_ext >&5
46149
46150 eval "$as_ac_var=no"
46151 fi
46152
46153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46154 conftest$ac_exeext conftest.$ac_ext
46155 fi
46156 ac_res=`eval echo '${'$as_ac_var'}'`
46157 { echo "$as_me:$LINENO: result: $ac_res" >&5
46158 echo "${ECHO_T}$ac_res" >&6; }
46159 if test `eval echo '${'$as_ac_var'}'` = yes; then
46160 cat >>confdefs.h <<_ACEOF
46161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46162 _ACEOF
46163 break
46164 fi
46165 done
46166
46167
46168 if test "$ac_cv_func_gettimeofday" = "yes"; then
46169 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46170 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46171 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46172 echo $ECHO_N "(cached) $ECHO_C" >&6
46173 else
46174
46175 cat >conftest.$ac_ext <<_ACEOF
46176 /* confdefs.h. */
46177 _ACEOF
46178 cat confdefs.h >>conftest.$ac_ext
46179 cat >>conftest.$ac_ext <<_ACEOF
46180 /* end confdefs.h. */
46181
46182 #include <sys/time.h>
46183 #include <unistd.h>
46184
46185 int
46186 main ()
46187 {
46188
46189 struct timeval tv;
46190 gettimeofday(&tv, NULL);
46191
46192 ;
46193 return 0;
46194 }
46195 _ACEOF
46196 rm -f conftest.$ac_objext
46197 if { (ac_try="$ac_compile"
46198 case "(($ac_try" in
46199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46200 *) ac_try_echo=$ac_try;;
46201 esac
46202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46203 (eval "$ac_compile") 2>conftest.er1
46204 ac_status=$?
46205 grep -v '^ *+' conftest.er1 >conftest.err
46206 rm -f conftest.er1
46207 cat conftest.err >&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); } && {
46210 test -z "$ac_c_werror_flag" ||
46211 test ! -s conftest.err
46212 } && test -s conftest.$ac_objext; then
46213 wx_cv_func_gettimeofday_has_2_args=yes
46214 else
46215 echo "$as_me: failed program was:" >&5
46216 sed 's/^/| /' conftest.$ac_ext >&5
46217
46218 cat >conftest.$ac_ext <<_ACEOF
46219 /* confdefs.h. */
46220 _ACEOF
46221 cat confdefs.h >>conftest.$ac_ext
46222 cat >>conftest.$ac_ext <<_ACEOF
46223 /* end confdefs.h. */
46224
46225 #include <sys/time.h>
46226 #include <unistd.h>
46227
46228 int
46229 main ()
46230 {
46231
46232 struct timeval tv;
46233 gettimeofday(&tv);
46234
46235 ;
46236 return 0;
46237 }
46238 _ACEOF
46239 rm -f conftest.$ac_objext
46240 if { (ac_try="$ac_compile"
46241 case "(($ac_try" in
46242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46243 *) ac_try_echo=$ac_try;;
46244 esac
46245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46246 (eval "$ac_compile") 2>conftest.er1
46247 ac_status=$?
46248 grep -v '^ *+' conftest.er1 >conftest.err
46249 rm -f conftest.er1
46250 cat conftest.err >&5
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); } && {
46253 test -z "$ac_c_werror_flag" ||
46254 test ! -s conftest.err
46255 } && test -s conftest.$ac_objext; then
46256 wx_cv_func_gettimeofday_has_2_args=no
46257 else
46258 echo "$as_me: failed program was:" >&5
46259 sed 's/^/| /' conftest.$ac_ext >&5
46260
46261
46262 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46263 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46264 wx_cv_func_gettimeofday_has_2_args=unknown
46265
46266
46267 fi
46268
46269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46270
46271 fi
46272
46273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46274
46275 fi
46276 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46277 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46278
46279 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define WX_GETTIMEOFDAY_NO_TZ 1
46282 _ACEOF
46283
46284 fi
46285 fi
46286
46287 if test "$wxUSE_DATETIME" = "yes"; then
46288 { echo "$as_me:$LINENO: checking for strptime" >&5
46289 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46290 if test "${ac_cv_func_strptime+set}" = set; then
46291 echo $ECHO_N "(cached) $ECHO_C" >&6
46292 else
46293 cat >conftest.$ac_ext <<_ACEOF
46294 /* confdefs.h. */
46295 _ACEOF
46296 cat confdefs.h >>conftest.$ac_ext
46297 cat >>conftest.$ac_ext <<_ACEOF
46298 /* end confdefs.h. */
46299 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46301 #define strptime innocuous_strptime
46302
46303 /* System header to define __stub macros and hopefully few prototypes,
46304 which can conflict with char strptime (); below.
46305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46306 <limits.h> exists even on freestanding compilers. */
46307
46308 #ifdef __STDC__
46309 # include <limits.h>
46310 #else
46311 # include <assert.h>
46312 #endif
46313
46314 #undef strptime
46315
46316 /* Override any GCC internal prototype to avoid an error.
46317 Use char because int might match the return type of a GCC
46318 builtin and then its argument prototype would still apply. */
46319 #ifdef __cplusplus
46320 extern "C"
46321 #endif
46322 char strptime ();
46323 /* The GNU C library defines this for functions which it implements
46324 to always fail with ENOSYS. Some functions are actually named
46325 something starting with __ and the normal name is an alias. */
46326 #if defined __stub_strptime || defined __stub___strptime
46327 choke me
46328 #endif
46329
46330 int
46331 main ()
46332 {
46333 return strptime ();
46334 ;
46335 return 0;
46336 }
46337 _ACEOF
46338 rm -f conftest.$ac_objext conftest$ac_exeext
46339 if { (ac_try="$ac_link"
46340 case "(($ac_try" in
46341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46342 *) ac_try_echo=$ac_try;;
46343 esac
46344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46345 (eval "$ac_link") 2>conftest.er1
46346 ac_status=$?
46347 grep -v '^ *+' conftest.er1 >conftest.err
46348 rm -f conftest.er1
46349 cat conftest.err >&5
46350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351 (exit $ac_status); } && {
46352 test -z "$ac_c_werror_flag" ||
46353 test ! -s conftest.err
46354 } && test -s conftest$ac_exeext &&
46355 $as_test_x conftest$ac_exeext; then
46356 ac_cv_func_strptime=yes
46357 else
46358 echo "$as_me: failed program was:" >&5
46359 sed 's/^/| /' conftest.$ac_ext >&5
46360
46361 ac_cv_func_strptime=no
46362 fi
46363
46364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46365 conftest$ac_exeext conftest.$ac_ext
46366 fi
46367 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46368 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46369
46370 if test "$ac_cv_func_strptime" = "yes"; then
46371 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46372 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46373 if test "${wx_cv_func_strptime_decl+set}" = set; then
46374 echo $ECHO_N "(cached) $ECHO_C" >&6
46375 else
46376
46377 ac_ext=cpp
46378 ac_cpp='$CXXCPP $CPPFLAGS'
46379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46382
46383 cat >conftest.$ac_ext <<_ACEOF
46384 /* confdefs.h. */
46385 _ACEOF
46386 cat confdefs.h >>conftest.$ac_ext
46387 cat >>conftest.$ac_ext <<_ACEOF
46388 /* end confdefs.h. */
46389
46390 #include <time.h>
46391
46392 int
46393 main ()
46394 {
46395
46396 struct tm t;
46397 strptime("foo", "bar", &t);
46398
46399 ;
46400 return 0;
46401 }
46402 _ACEOF
46403 rm -f conftest.$ac_objext
46404 if { (ac_try="$ac_compile"
46405 case "(($ac_try" in
46406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46407 *) ac_try_echo=$ac_try;;
46408 esac
46409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46410 (eval "$ac_compile") 2>conftest.er1
46411 ac_status=$?
46412 grep -v '^ *+' conftest.er1 >conftest.err
46413 rm -f conftest.er1
46414 cat conftest.err >&5
46415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416 (exit $ac_status); } && {
46417 test -z "$ac_cxx_werror_flag" ||
46418 test ! -s conftest.err
46419 } && test -s conftest.$ac_objext; then
46420 wx_cv_func_strptime_decl=yes
46421 else
46422 echo "$as_me: failed program was:" >&5
46423 sed 's/^/| /' conftest.$ac_ext >&5
46424
46425 wx_cv_func_strptime_decl=no
46426
46427 fi
46428
46429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435
46436
46437
46438 fi
46439 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46440 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46441 fi
46442 if test "$wx_cv_func_strptime_decl" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define HAVE_STRPTIME_DECL 1
46445 _ACEOF
46446
46447 else
46448 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46449 fi
46450 if test "$ac_cv_func_strptime" = "yes"; then
46451 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46452 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46453 if test "${wx_cv_func_strptime_ok+set}" = set; then
46454 echo $ECHO_N "(cached) $ECHO_C" >&6
46455 else
46456 if test "$cross_compiling" = yes; then
46457 wx_cv_func_strptime_ok=no
46458
46459 else
46460 cat >conftest.$ac_ext <<_ACEOF
46461
46462 #include <stdlib.h>
46463 #include <time.h>
46464 #include "confdefs.h"
46465
46466 $wx_strptime_decl
46467
46468 int main()
46469 {
46470 struct tm t;
46471 return !!strptime("", "%x", &t);
46472 }
46473
46474 _ACEOF
46475 rm -f conftest$ac_exeext
46476 if { (ac_try="$ac_link"
46477 case "(($ac_try" in
46478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46479 *) ac_try_echo=$ac_try;;
46480 esac
46481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46482 (eval "$ac_link") 2>&5
46483 ac_status=$?
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46486 { (case "(($ac_try" in
46487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46488 *) ac_try_echo=$ac_try;;
46489 esac
46490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46491 (eval "$ac_try") 2>&5
46492 ac_status=$?
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; }; then
46495 wx_cv_func_strptime_ok=yes
46496 else
46497 echo "$as_me: program exited with status $ac_status" >&5
46498 echo "$as_me: failed program was:" >&5
46499 sed 's/^/| /' conftest.$ac_ext >&5
46500
46501 ( exit $ac_status )
46502 wx_cv_func_strptime_ok=no
46503 fi
46504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46505 fi
46506
46507
46508
46509 fi
46510 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46511 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46512
46513 if test "$wx_cv_func_strptime_ok" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define HAVE_STRPTIME 1
46516 _ACEOF
46517
46518 fi
46519 fi
46520
46521 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46522 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46523 if test "${wx_cv_var_timezone+set}" = set; then
46524 echo $ECHO_N "(cached) $ECHO_C" >&6
46525 else
46526
46527 ac_ext=cpp
46528 ac_cpp='$CXXCPP $CPPFLAGS'
46529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46532
46533 cat >conftest.$ac_ext <<_ACEOF
46534 /* confdefs.h. */
46535 _ACEOF
46536 cat confdefs.h >>conftest.$ac_ext
46537 cat >>conftest.$ac_ext <<_ACEOF
46538 /* end confdefs.h. */
46539
46540 #include <time.h>
46541
46542 int
46543 main ()
46544 {
46545
46546 int tz;
46547 tz = timezone;
46548
46549 ;
46550 return 0;
46551 }
46552 _ACEOF
46553 rm -f conftest.$ac_objext
46554 if { (ac_try="$ac_compile"
46555 case "(($ac_try" in
46556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46557 *) ac_try_echo=$ac_try;;
46558 esac
46559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46560 (eval "$ac_compile") 2>conftest.er1
46561 ac_status=$?
46562 grep -v '^ *+' conftest.er1 >conftest.err
46563 rm -f conftest.er1
46564 cat conftest.err >&5
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); } && {
46567 test -z "$ac_cxx_werror_flag" ||
46568 test ! -s conftest.err
46569 } && test -s conftest.$ac_objext; then
46570
46571 wx_cv_var_timezone=timezone
46572
46573 else
46574 echo "$as_me: failed program was:" >&5
46575 sed 's/^/| /' conftest.$ac_ext >&5
46576
46577
46578 cat >conftest.$ac_ext <<_ACEOF
46579 /* confdefs.h. */
46580 _ACEOF
46581 cat confdefs.h >>conftest.$ac_ext
46582 cat >>conftest.$ac_ext <<_ACEOF
46583 /* end confdefs.h. */
46584
46585 #include <time.h>
46586
46587 int
46588 main ()
46589 {
46590
46591 int tz;
46592 tz = _timezone;
46593
46594 ;
46595 return 0;
46596 }
46597 _ACEOF
46598 rm -f conftest.$ac_objext
46599 if { (ac_try="$ac_compile"
46600 case "(($ac_try" in
46601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46602 *) ac_try_echo=$ac_try;;
46603 esac
46604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46605 (eval "$ac_compile") 2>conftest.er1
46606 ac_status=$?
46607 grep -v '^ *+' conftest.er1 >conftest.err
46608 rm -f conftest.er1
46609 cat conftest.err >&5
46610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46611 (exit $ac_status); } && {
46612 test -z "$ac_cxx_werror_flag" ||
46613 test ! -s conftest.err
46614 } && test -s conftest.$ac_objext; then
46615
46616 wx_cv_var_timezone=_timezone
46617
46618 else
46619 echo "$as_me: failed program was:" >&5
46620 sed 's/^/| /' conftest.$ac_ext >&5
46621
46622
46623 cat >conftest.$ac_ext <<_ACEOF
46624 /* confdefs.h. */
46625 _ACEOF
46626 cat confdefs.h >>conftest.$ac_ext
46627 cat >>conftest.$ac_ext <<_ACEOF
46628 /* end confdefs.h. */
46629
46630 #include <time.h>
46631
46632 int
46633 main ()
46634 {
46635
46636 int tz;
46637 tz = __timezone;
46638
46639 ;
46640 return 0;
46641 }
46642 _ACEOF
46643 rm -f conftest.$ac_objext
46644 if { (ac_try="$ac_compile"
46645 case "(($ac_try" in
46646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46647 *) ac_try_echo=$ac_try;;
46648 esac
46649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46650 (eval "$ac_compile") 2>conftest.er1
46651 ac_status=$?
46652 grep -v '^ *+' conftest.er1 >conftest.err
46653 rm -f conftest.er1
46654 cat conftest.err >&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); } && {
46657 test -z "$ac_cxx_werror_flag" ||
46658 test ! -s conftest.err
46659 } && test -s conftest.$ac_objext; then
46660
46661 wx_cv_var_timezone=__timezone
46662
46663 else
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.$ac_ext >&5
46666
46667
46668 if test "$USE_DOS" = 0 ; then
46669 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46670 echo "$as_me: WARNING: no timezone variable" >&2;}
46671 fi
46672
46673
46674 fi
46675
46676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46677
46678
46679 fi
46680
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682
46683
46684 fi
46685
46686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46687 ac_ext=c
46688 ac_cpp='$CPP $CPPFLAGS'
46689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46692
46693
46694
46695 fi
46696 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46697 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46698
46699 if test "x$wx_cv_var_timezone" != x ; then
46700 cat >>confdefs.h <<_ACEOF
46701 #define WX_TIMEZONE $wx_cv_var_timezone
46702 _ACEOF
46703
46704 fi
46705
46706
46707 for ac_func in localtime
46708 do
46709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46713 echo $ECHO_N "(cached) $ECHO_C" >&6
46714 else
46715 cat >conftest.$ac_ext <<_ACEOF
46716 /* confdefs.h. */
46717 _ACEOF
46718 cat confdefs.h >>conftest.$ac_ext
46719 cat >>conftest.$ac_ext <<_ACEOF
46720 /* end confdefs.h. */
46721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46723 #define $ac_func innocuous_$ac_func
46724
46725 /* System header to define __stub macros and hopefully few prototypes,
46726 which can conflict with char $ac_func (); below.
46727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46728 <limits.h> exists even on freestanding compilers. */
46729
46730 #ifdef __STDC__
46731 # include <limits.h>
46732 #else
46733 # include <assert.h>
46734 #endif
46735
46736 #undef $ac_func
46737
46738 /* Override any GCC internal prototype to avoid an error.
46739 Use char because int might match the return type of a GCC
46740 builtin and then its argument prototype would still apply. */
46741 #ifdef __cplusplus
46742 extern "C"
46743 #endif
46744 char $ac_func ();
46745 /* The GNU C library defines this for functions which it implements
46746 to always fail with ENOSYS. Some functions are actually named
46747 something starting with __ and the normal name is an alias. */
46748 #if defined __stub_$ac_func || defined __stub___$ac_func
46749 choke me
46750 #endif
46751
46752 int
46753 main ()
46754 {
46755 return $ac_func ();
46756 ;
46757 return 0;
46758 }
46759 _ACEOF
46760 rm -f conftest.$ac_objext conftest$ac_exeext
46761 if { (ac_try="$ac_link"
46762 case "(($ac_try" in
46763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46764 *) ac_try_echo=$ac_try;;
46765 esac
46766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46767 (eval "$ac_link") 2>conftest.er1
46768 ac_status=$?
46769 grep -v '^ *+' conftest.er1 >conftest.err
46770 rm -f conftest.er1
46771 cat conftest.err >&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); } && {
46774 test -z "$ac_c_werror_flag" ||
46775 test ! -s conftest.err
46776 } && test -s conftest$ac_exeext &&
46777 $as_test_x conftest$ac_exeext; then
46778 eval "$as_ac_var=yes"
46779 else
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 eval "$as_ac_var=no"
46784 fi
46785
46786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46787 conftest$ac_exeext conftest.$ac_ext
46788 fi
46789 ac_res=`eval echo '${'$as_ac_var'}'`
46790 { echo "$as_me:$LINENO: result: $ac_res" >&5
46791 echo "${ECHO_T}$ac_res" >&6; }
46792 if test `eval echo '${'$as_ac_var'}'` = yes; then
46793 cat >>confdefs.h <<_ACEOF
46794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46795 _ACEOF
46796
46797 fi
46798 done
46799
46800
46801 if test "$ac_cv_func_localtime" = "yes"; then
46802 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46803 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46804 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46805 echo $ECHO_N "(cached) $ECHO_C" >&6
46806 else
46807
46808 cat >conftest.$ac_ext <<_ACEOF
46809 /* confdefs.h. */
46810 _ACEOF
46811 cat confdefs.h >>conftest.$ac_ext
46812 cat >>conftest.$ac_ext <<_ACEOF
46813 /* end confdefs.h. */
46814
46815 #include <time.h>
46816
46817 int
46818 main ()
46819 {
46820
46821 struct tm tm;
46822 tm.tm_gmtoff++;
46823
46824 ;
46825 return 0;
46826 }
46827 _ACEOF
46828 rm -f conftest.$ac_objext
46829 if { (ac_try="$ac_compile"
46830 case "(($ac_try" in
46831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46832 *) ac_try_echo=$ac_try;;
46833 esac
46834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46835 (eval "$ac_compile") 2>conftest.er1
46836 ac_status=$?
46837 grep -v '^ *+' conftest.er1 >conftest.err
46838 rm -f conftest.er1
46839 cat conftest.err >&5
46840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841 (exit $ac_status); } && {
46842 test -z "$ac_c_werror_flag" ||
46843 test ! -s conftest.err
46844 } && test -s conftest.$ac_objext; then
46845
46846 wx_cv_struct_tm_has_gmtoff=yes
46847
46848 else
46849 echo "$as_me: failed program was:" >&5
46850 sed 's/^/| /' conftest.$ac_ext >&5
46851
46852 wx_cv_struct_tm_has_gmtoff=no
46853
46854 fi
46855
46856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46857
46858 fi
46859 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46860 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46861 fi
46862
46863 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define WX_GMTOFF_IN_TM 1
46866 _ACEOF
46867
46868 fi
46869
46870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46871 fi
46872
46873
46874 if test "$wxUSE_SOCKETS" = "yes"; then
46875 if test "$wxUSE_MGL" = "1"; then
46876 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46877 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46878 wxUSE_SOCKETS="no"
46879 fi
46880 fi
46881
46882 if test "$wxUSE_SOCKETS" = "yes"; then
46883 if test "$TOOLKIT" != "MSW"; then
46884 { echo "$as_me:$LINENO: checking for socket" >&5
46885 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46886 if test "${ac_cv_func_socket+set}" = set; then
46887 echo $ECHO_N "(cached) $ECHO_C" >&6
46888 else
46889 cat >conftest.$ac_ext <<_ACEOF
46890 /* confdefs.h. */
46891 _ACEOF
46892 cat confdefs.h >>conftest.$ac_ext
46893 cat >>conftest.$ac_ext <<_ACEOF
46894 /* end confdefs.h. */
46895 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46897 #define socket innocuous_socket
46898
46899 /* System header to define __stub macros and hopefully few prototypes,
46900 which can conflict with char socket (); below.
46901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46902 <limits.h> exists even on freestanding compilers. */
46903
46904 #ifdef __STDC__
46905 # include <limits.h>
46906 #else
46907 # include <assert.h>
46908 #endif
46909
46910 #undef socket
46911
46912 /* Override any GCC internal prototype to avoid an error.
46913 Use char because int might match the return type of a GCC
46914 builtin and then its argument prototype would still apply. */
46915 #ifdef __cplusplus
46916 extern "C"
46917 #endif
46918 char socket ();
46919 /* The GNU C library defines this for functions which it implements
46920 to always fail with ENOSYS. Some functions are actually named
46921 something starting with __ and the normal name is an alias. */
46922 #if defined __stub_socket || defined __stub___socket
46923 choke me
46924 #endif
46925
46926 int
46927 main ()
46928 {
46929 return socket ();
46930 ;
46931 return 0;
46932 }
46933 _ACEOF
46934 rm -f conftest.$ac_objext conftest$ac_exeext
46935 if { (ac_try="$ac_link"
46936 case "(($ac_try" in
46937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46938 *) ac_try_echo=$ac_try;;
46939 esac
46940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46941 (eval "$ac_link") 2>conftest.er1
46942 ac_status=$?
46943 grep -v '^ *+' conftest.er1 >conftest.err
46944 rm -f conftest.er1
46945 cat conftest.err >&5
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); } && {
46948 test -z "$ac_c_werror_flag" ||
46949 test ! -s conftest.err
46950 } && test -s conftest$ac_exeext &&
46951 $as_test_x conftest$ac_exeext; then
46952 ac_cv_func_socket=yes
46953 else
46954 echo "$as_me: failed program was:" >&5
46955 sed 's/^/| /' conftest.$ac_ext >&5
46956
46957 ac_cv_func_socket=no
46958 fi
46959
46960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46961 conftest$ac_exeext conftest.$ac_ext
46962 fi
46963 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46964 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46965 if test $ac_cv_func_socket = yes; then
46966 :
46967 else
46968
46969 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46970 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46971 if test "${ac_cv_lib_socket_socket+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46974 ac_check_lib_save_LIBS=$LIBS
46975 LIBS="-lsocket $LIBS"
46976 cat >conftest.$ac_ext <<_ACEOF
46977 /* confdefs.h. */
46978 _ACEOF
46979 cat confdefs.h >>conftest.$ac_ext
46980 cat >>conftest.$ac_ext <<_ACEOF
46981 /* end confdefs.h. */
46982
46983 /* Override any GCC internal prototype to avoid an error.
46984 Use char because int might match the return type of a GCC
46985 builtin and then its argument prototype would still apply. */
46986 #ifdef __cplusplus
46987 extern "C"
46988 #endif
46989 char socket ();
46990 int
46991 main ()
46992 {
46993 return socket ();
46994 ;
46995 return 0;
46996 }
46997 _ACEOF
46998 rm -f conftest.$ac_objext conftest$ac_exeext
46999 if { (ac_try="$ac_link"
47000 case "(($ac_try" in
47001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47002 *) ac_try_echo=$ac_try;;
47003 esac
47004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47005 (eval "$ac_link") 2>conftest.er1
47006 ac_status=$?
47007 grep -v '^ *+' conftest.er1 >conftest.err
47008 rm -f conftest.er1
47009 cat conftest.err >&5
47010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011 (exit $ac_status); } && {
47012 test -z "$ac_c_werror_flag" ||
47013 test ! -s conftest.err
47014 } && test -s conftest$ac_exeext &&
47015 $as_test_x conftest$ac_exeext; then
47016 ac_cv_lib_socket_socket=yes
47017 else
47018 echo "$as_me: failed program was:" >&5
47019 sed 's/^/| /' conftest.$ac_ext >&5
47020
47021 ac_cv_lib_socket_socket=no
47022 fi
47023
47024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47025 conftest$ac_exeext conftest.$ac_ext
47026 LIBS=$ac_check_lib_save_LIBS
47027 fi
47028 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47029 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47030 if test $ac_cv_lib_socket_socket = yes; then
47031 if test "$INET_LINK" != " -lsocket"; then
47032 INET_LINK="$INET_LINK -lsocket"
47033 fi
47034 else
47035
47036 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47037 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47038 wxUSE_SOCKETS=no
47039
47040
47041 fi
47042
47043
47044
47045 fi
47046
47047 fi
47048 fi
47049
47050 if test "$wxUSE_SOCKETS" = "yes" ; then
47051 if test "$TOOLKIT" != "MSW"; then
47052 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47053 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47054 if test "${wx_cv_type_getsockname3+set}" = set; then
47055 echo $ECHO_N "(cached) $ECHO_C" >&6
47056 else
47057
47058 ac_ext=cpp
47059 ac_cpp='$CXXCPP $CPPFLAGS'
47060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47063
47064 cat >conftest.$ac_ext <<_ACEOF
47065 /* confdefs.h. */
47066 _ACEOF
47067 cat confdefs.h >>conftest.$ac_ext
47068 cat >>conftest.$ac_ext <<_ACEOF
47069 /* end confdefs.h. */
47070
47071 #include <sys/types.h>
47072 #include <sys/socket.h>
47073
47074 int
47075 main ()
47076 {
47077
47078 socklen_t len;
47079 getsockname(0, 0, &len);
47080
47081 ;
47082 return 0;
47083 }
47084 _ACEOF
47085 rm -f conftest.$ac_objext
47086 if { (ac_try="$ac_compile"
47087 case "(($ac_try" in
47088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47089 *) ac_try_echo=$ac_try;;
47090 esac
47091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47092 (eval "$ac_compile") 2>conftest.er1
47093 ac_status=$?
47094 grep -v '^ *+' conftest.er1 >conftest.err
47095 rm -f conftest.er1
47096 cat conftest.err >&5
47097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47098 (exit $ac_status); } && {
47099 test -z "$ac_cxx_werror_flag" ||
47100 test ! -s conftest.err
47101 } && test -s conftest.$ac_objext; then
47102 wx_cv_type_getsockname3=socklen_t
47103 else
47104 echo "$as_me: failed program was:" >&5
47105 sed 's/^/| /' conftest.$ac_ext >&5
47106
47107
47108 CFLAGS_OLD="$CFLAGS"
47109 if test "$GCC" = yes ; then
47110 CFLAGS="-Werror $CFLAGS"
47111 fi
47112
47113 cat >conftest.$ac_ext <<_ACEOF
47114 /* confdefs.h. */
47115 _ACEOF
47116 cat confdefs.h >>conftest.$ac_ext
47117 cat >>conftest.$ac_ext <<_ACEOF
47118 /* end confdefs.h. */
47119
47120 #include <sys/types.h>
47121 #include <sys/socket.h>
47122
47123 int
47124 main ()
47125 {
47126
47127 size_t len;
47128 getsockname(0, 0, &len);
47129
47130 ;
47131 return 0;
47132 }
47133 _ACEOF
47134 rm -f conftest.$ac_objext
47135 if { (ac_try="$ac_compile"
47136 case "(($ac_try" in
47137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47138 *) ac_try_echo=$ac_try;;
47139 esac
47140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47141 (eval "$ac_compile") 2>conftest.er1
47142 ac_status=$?
47143 grep -v '^ *+' conftest.er1 >conftest.err
47144 rm -f conftest.er1
47145 cat conftest.err >&5
47146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147 (exit $ac_status); } && {
47148 test -z "$ac_cxx_werror_flag" ||
47149 test ! -s conftest.err
47150 } && test -s conftest.$ac_objext; then
47151 wx_cv_type_getsockname3=size_t
47152 else
47153 echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.$ac_ext >&5
47155
47156 cat >conftest.$ac_ext <<_ACEOF
47157 /* confdefs.h. */
47158 _ACEOF
47159 cat confdefs.h >>conftest.$ac_ext
47160 cat >>conftest.$ac_ext <<_ACEOF
47161 /* end confdefs.h. */
47162
47163 #include <sys/types.h>
47164 #include <sys/socket.h>
47165
47166 int
47167 main ()
47168 {
47169
47170 int len;
47171 getsockname(0, 0, &len);
47172
47173 ;
47174 return 0;
47175 }
47176 _ACEOF
47177 rm -f conftest.$ac_objext
47178 if { (ac_try="$ac_compile"
47179 case "(($ac_try" in
47180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47181 *) ac_try_echo=$ac_try;;
47182 esac
47183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47184 (eval "$ac_compile") 2>conftest.er1
47185 ac_status=$?
47186 grep -v '^ *+' conftest.er1 >conftest.err
47187 rm -f conftest.er1
47188 cat conftest.err >&5
47189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190 (exit $ac_status); } && {
47191 test -z "$ac_cxx_werror_flag" ||
47192 test ! -s conftest.err
47193 } && test -s conftest.$ac_objext; then
47194 wx_cv_type_getsockname3=int
47195 else
47196 echo "$as_me: failed program was:" >&5
47197 sed 's/^/| /' conftest.$ac_ext >&5
47198
47199 wx_cv_type_getsockname3=unknown
47200
47201 fi
47202
47203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47204
47205 fi
47206
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208
47209 CFLAGS="$CFLAGS_OLD"
47210
47211
47212 fi
47213
47214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47215 ac_ext=c
47216 ac_cpp='$CPP $CPPFLAGS'
47217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47220
47221
47222 fi
47223 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47224 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47225
47226 if test "$wx_cv_type_getsockname3" = "unknown"; then
47227 wxUSE_SOCKETS=no
47228 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47229 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47230 else
47231 cat >>confdefs.h <<_ACEOF
47232 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47233 _ACEOF
47234
47235 fi
47236 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47237 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47238 if test "${wx_cv_type_getsockopt5+set}" = set; then
47239 echo $ECHO_N "(cached) $ECHO_C" >&6
47240 else
47241
47242 ac_ext=cpp
47243 ac_cpp='$CXXCPP $CPPFLAGS'
47244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47247
47248 cat >conftest.$ac_ext <<_ACEOF
47249 /* confdefs.h. */
47250 _ACEOF
47251 cat confdefs.h >>conftest.$ac_ext
47252 cat >>conftest.$ac_ext <<_ACEOF
47253 /* end confdefs.h. */
47254
47255 #include <sys/types.h>
47256 #include <sys/socket.h>
47257
47258 int
47259 main ()
47260 {
47261
47262 socklen_t len;
47263 getsockopt(0, 0, 0, 0, &len);
47264
47265 ;
47266 return 0;
47267 }
47268 _ACEOF
47269 rm -f conftest.$ac_objext
47270 if { (ac_try="$ac_compile"
47271 case "(($ac_try" in
47272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47273 *) ac_try_echo=$ac_try;;
47274 esac
47275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47276 (eval "$ac_compile") 2>conftest.er1
47277 ac_status=$?
47278 grep -v '^ *+' conftest.er1 >conftest.err
47279 rm -f conftest.er1
47280 cat conftest.err >&5
47281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47282 (exit $ac_status); } && {
47283 test -z "$ac_cxx_werror_flag" ||
47284 test ! -s conftest.err
47285 } && test -s conftest.$ac_objext; then
47286 wx_cv_type_getsockopt5=socklen_t
47287 else
47288 echo "$as_me: failed program was:" >&5
47289 sed 's/^/| /' conftest.$ac_ext >&5
47290
47291
47292 cat >conftest.$ac_ext <<_ACEOF
47293 /* confdefs.h. */
47294 _ACEOF
47295 cat confdefs.h >>conftest.$ac_ext
47296 cat >>conftest.$ac_ext <<_ACEOF
47297 /* end confdefs.h. */
47298
47299 #include <sys/types.h>
47300 #include <sys/socket.h>
47301
47302 int
47303 main ()
47304 {
47305
47306 size_t len;
47307 getsockopt(0, 0, 0, 0, &len);
47308
47309 ;
47310 return 0;
47311 }
47312 _ACEOF
47313 rm -f conftest.$ac_objext
47314 if { (ac_try="$ac_compile"
47315 case "(($ac_try" in
47316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47317 *) ac_try_echo=$ac_try;;
47318 esac
47319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47320 (eval "$ac_compile") 2>conftest.er1
47321 ac_status=$?
47322 grep -v '^ *+' conftest.er1 >conftest.err
47323 rm -f conftest.er1
47324 cat conftest.err >&5
47325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47326 (exit $ac_status); } && {
47327 test -z "$ac_cxx_werror_flag" ||
47328 test ! -s conftest.err
47329 } && test -s conftest.$ac_objext; then
47330 wx_cv_type_getsockopt5=size_t
47331 else
47332 echo "$as_me: failed program was:" >&5
47333 sed 's/^/| /' conftest.$ac_ext >&5
47334
47335 cat >conftest.$ac_ext <<_ACEOF
47336 /* confdefs.h. */
47337 _ACEOF
47338 cat confdefs.h >>conftest.$ac_ext
47339 cat >>conftest.$ac_ext <<_ACEOF
47340 /* end confdefs.h. */
47341
47342 #include <sys/types.h>
47343 #include <sys/socket.h>
47344
47345 int
47346 main ()
47347 {
47348
47349 int len;
47350 getsockopt(0, 0, 0, 0, &len);
47351
47352 ;
47353 return 0;
47354 }
47355 _ACEOF
47356 rm -f conftest.$ac_objext
47357 if { (ac_try="$ac_compile"
47358 case "(($ac_try" in
47359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47360 *) ac_try_echo=$ac_try;;
47361 esac
47362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47363 (eval "$ac_compile") 2>conftest.er1
47364 ac_status=$?
47365 grep -v '^ *+' conftest.er1 >conftest.err
47366 rm -f conftest.er1
47367 cat conftest.err >&5
47368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47369 (exit $ac_status); } && {
47370 test -z "$ac_cxx_werror_flag" ||
47371 test ! -s conftest.err
47372 } && test -s conftest.$ac_objext; then
47373 wx_cv_type_getsockopt5=int
47374 else
47375 echo "$as_me: failed program was:" >&5
47376 sed 's/^/| /' conftest.$ac_ext >&5
47377
47378 wx_cv_type_getsockopt5=unknown
47379
47380 fi
47381
47382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47383
47384 fi
47385
47386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47387
47388
47389 fi
47390
47391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47392 ac_ext=c
47393 ac_cpp='$CPP $CPPFLAGS'
47394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47397
47398
47399 fi
47400 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47401 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47402
47403 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47404 wxUSE_SOCKETS=no
47405 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47406 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47407 else
47408 cat >>confdefs.h <<_ACEOF
47409 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47410 _ACEOF
47411
47412 fi
47413 fi
47414 fi
47415
47416 if test "$wxUSE_SOCKETS" = "yes" ; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_SOCKETS 1
47419 _ACEOF
47420
47421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47422 fi
47423
47424 if test "$wxUSE_PROTOCOL" = "yes"; then
47425 if test "$wxUSE_SOCKETS" != "yes"; then
47426 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47427 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47428 wxUSE_PROTOCOL=no
47429 fi
47430 fi
47431
47432 if test "$wxUSE_PROTOCOL" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_PROTOCOL 1
47435 _ACEOF
47436
47437
47438 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_PROTOCOL_HTTP 1
47441 _ACEOF
47442
47443 fi
47444 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_PROTOCOL_FTP 1
47447 _ACEOF
47448
47449 fi
47450 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_PROTOCOL_FILE 1
47453 _ACEOF
47454
47455 fi
47456 else
47457 if test "$wxUSE_FS_INET" = "yes"; then
47458 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47459 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47460 wxUSE_FS_INET="no"
47461 fi
47462 fi
47463
47464 if test "$wxUSE_URL" = "yes"; then
47465 if test "$wxUSE_PROTOCOL" != "yes"; then
47466 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47467 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47468 wxUSE_URL=no
47469 fi
47470 if test "$wxUSE_URL" = "yes"; then
47471 cat >>confdefs.h <<\_ACEOF
47472 #define wxUSE_URL 1
47473 _ACEOF
47474
47475 fi
47476 fi
47477
47478 if test "$wxUSE_VARIANT" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_VARIANT 1
47481 _ACEOF
47482
47483 fi
47484
47485 if test "$wxUSE_FS_INET" = "yes"; then
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_FS_INET 1
47488 _ACEOF
47489
47490 fi
47491
47492
47493 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47494 wxUSE_JOYSTICK=no
47495
47496 if test "$TOOLKIT" = "MSW"; then
47497 wxUSE_JOYSTICK=yes
47498
47499 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47500 if test "$USE_DARWIN" = 1; then
47501 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47502 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47503 ac_ext=cpp
47504 ac_cpp='$CXXCPP $CPPFLAGS'
47505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47508
47509 cat >conftest.$ac_ext <<_ACEOF
47510 /* confdefs.h. */
47511 _ACEOF
47512 cat confdefs.h >>conftest.$ac_ext
47513 cat >>conftest.$ac_ext <<_ACEOF
47514 /* end confdefs.h. */
47515 #include <IOKit/hid/IOHIDLib.h>
47516 int
47517 main ()
47518 {
47519 IOHIDQueueInterface *qi = NULL;
47520 IOHIDCallbackFunction cb = NULL;
47521 qi->setEventCallout(NULL, cb, NULL, NULL);
47522 ;
47523 return 0;
47524 }
47525 _ACEOF
47526 rm -f conftest.$ac_objext
47527 if { (ac_try="$ac_compile"
47528 case "(($ac_try" in
47529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47530 *) ac_try_echo=$ac_try;;
47531 esac
47532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47533 (eval "$ac_compile") 2>conftest.er1
47534 ac_status=$?
47535 grep -v '^ *+' conftest.er1 >conftest.err
47536 rm -f conftest.er1
47537 cat conftest.err >&5
47538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47539 (exit $ac_status); } && {
47540 test -z "$ac_cxx_werror_flag" ||
47541 test ! -s conftest.err
47542 } && test -s conftest.$ac_objext; then
47543 wxUSE_JOYSTICK=yes
47544
47545 else
47546 echo "$as_me: failed program was:" >&5
47547 sed 's/^/| /' conftest.$ac_ext >&5
47548
47549
47550 fi
47551
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47558
47559 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47560 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47561 fi
47562
47563 else
47564 if test "$wxUSE_MGL" != "1"; then
47565
47566 for ac_header in linux/joystick.h
47567 do
47568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47572 echo $ECHO_N "(cached) $ECHO_C" >&6
47573 else
47574 cat >conftest.$ac_ext <<_ACEOF
47575 /* confdefs.h. */
47576 _ACEOF
47577 cat confdefs.h >>conftest.$ac_ext
47578 cat >>conftest.$ac_ext <<_ACEOF
47579 /* end confdefs.h. */
47580 $ac_includes_default
47581
47582 #include <$ac_header>
47583 _ACEOF
47584 rm -f conftest.$ac_objext
47585 if { (ac_try="$ac_compile"
47586 case "(($ac_try" in
47587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47588 *) ac_try_echo=$ac_try;;
47589 esac
47590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47591 (eval "$ac_compile") 2>conftest.er1
47592 ac_status=$?
47593 grep -v '^ *+' conftest.er1 >conftest.err
47594 rm -f conftest.er1
47595 cat conftest.err >&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } && {
47598 test -z "$ac_c_werror_flag" ||
47599 test ! -s conftest.err
47600 } && test -s conftest.$ac_objext; then
47601 eval "$as_ac_Header=yes"
47602 else
47603 echo "$as_me: failed program was:" >&5
47604 sed 's/^/| /' conftest.$ac_ext >&5
47605
47606 eval "$as_ac_Header=no"
47607 fi
47608
47609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47610 fi
47611 ac_res=`eval echo '${'$as_ac_Header'}'`
47612 { echo "$as_me:$LINENO: result: $ac_res" >&5
47613 echo "${ECHO_T}$ac_res" >&6; }
47614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47615 cat >>confdefs.h <<_ACEOF
47616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47617 _ACEOF
47618 wxUSE_JOYSTICK=yes
47619 fi
47620
47621 done
47622
47623 fi
47624 fi
47625
47626 if test "$wxUSE_JOYSTICK" = "yes"; then
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_JOYSTICK 1
47629 _ACEOF
47630
47631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47632 else
47633 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47634 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47635 fi
47636 fi
47637
47638
47639
47640 if test "$wxUSE_FONTENUM" = "yes" ; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_FONTENUM 1
47643 _ACEOF
47644
47645 fi
47646
47647 if test "$wxUSE_FONTMAP" = "yes" ; then
47648 cat >>confdefs.h <<\_ACEOF
47649 #define wxUSE_FONTMAP 1
47650 _ACEOF
47651
47652 fi
47653
47654 if test "$wxUSE_UNICODE" = "yes" ; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_UNICODE 1
47657 _ACEOF
47658
47659
47660 if test "$USE_WIN32" != 1; then
47661 wxUSE_UNICODE_MSLU=no
47662 fi
47663
47664 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47665 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47666 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47667 if test "${ac_cv_lib_unicows_main+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 else
47670 ac_check_lib_save_LIBS=$LIBS
47671 LIBS="-lunicows $LIBS"
47672 cat >conftest.$ac_ext <<_ACEOF
47673 /* confdefs.h. */
47674 _ACEOF
47675 cat confdefs.h >>conftest.$ac_ext
47676 cat >>conftest.$ac_ext <<_ACEOF
47677 /* end confdefs.h. */
47678
47679
47680 int
47681 main ()
47682 {
47683 return main ();
47684 ;
47685 return 0;
47686 }
47687 _ACEOF
47688 rm -f conftest.$ac_objext conftest$ac_exeext
47689 if { (ac_try="$ac_link"
47690 case "(($ac_try" in
47691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47692 *) ac_try_echo=$ac_try;;
47693 esac
47694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47695 (eval "$ac_link") 2>conftest.er1
47696 ac_status=$?
47697 grep -v '^ *+' conftest.er1 >conftest.err
47698 rm -f conftest.er1
47699 cat conftest.err >&5
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); } && {
47702 test -z "$ac_c_werror_flag" ||
47703 test ! -s conftest.err
47704 } && test -s conftest$ac_exeext &&
47705 $as_test_x conftest$ac_exeext; then
47706 ac_cv_lib_unicows_main=yes
47707 else
47708 echo "$as_me: failed program was:" >&5
47709 sed 's/^/| /' conftest.$ac_ext >&5
47710
47711 ac_cv_lib_unicows_main=no
47712 fi
47713
47714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47715 conftest$ac_exeext conftest.$ac_ext
47716 LIBS=$ac_check_lib_save_LIBS
47717 fi
47718 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47719 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47720 if test $ac_cv_lib_unicows_main = yes; then
47721
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_UNICODE_MSLU 1
47724 _ACEOF
47725
47726
47727 else
47728
47729 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47730 Applications will only run on Windows NT/2000/XP!" >&5
47731 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47732 Applications will only run on Windows NT/2000/XP!" >&2;}
47733 wxUSE_UNICODE_MSLU=no
47734
47735 fi
47736
47737 fi
47738 fi
47739
47740 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_UNICODE_UTF8 1
47743 _ACEOF
47744
47745
47746 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_UTF8_LOCALE_ONLY 1
47749 _ACEOF
47750
47751 fi
47752 fi
47753
47754
47755 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_CONSTRAINTS 1
47758 _ACEOF
47759
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47761 fi
47762
47763 if test "$wxUSE_MDI" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_MDI 1
47766 _ACEOF
47767
47768
47769 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_MDI_ARCHITECTURE 1
47772 _ACEOF
47773
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47775 fi
47776 fi
47777
47778 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47781 _ACEOF
47782
47783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47784 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47786 fi
47787 fi
47788
47789 if test "$wxUSE_HELP" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_HELP 1
47792 _ACEOF
47793
47794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47795
47796 if test "$wxUSE_MSW" = 1; then
47797 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_MS_HTML_HELP 1
47800 _ACEOF
47801
47802 fi
47803 fi
47804
47805 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47806 if test "$wxUSE_HTML" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_WXHTML_HELP 1
47809 _ACEOF
47810
47811 else
47812 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47813 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47814 wxUSE_WXHTML_HELP=no
47815 fi
47816 fi
47817 fi
47818
47819 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47820 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47821 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47822 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47823 else
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_PRINTING_ARCHITECTURE 1
47826 _ACEOF
47827
47828 fi
47829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47830 fi
47831
47832 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_POSTSCRIPT 1
47835 _ACEOF
47836
47837 fi
47838
47839 cat >>confdefs.h <<\_ACEOF
47840 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47841 _ACEOF
47842
47843
47844 if test "$wxUSE_SVG" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_SVG 1
47847 _ACEOF
47848
47849 fi
47850
47851
47852 if test "$wxUSE_METAFILE" = "yes"; then
47853 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47854 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47855 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47856 wxUSE_METAFILE=no
47857 fi
47858 fi
47859
47860
47861 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47862 -o "$wxUSE_CLIPBOARD" = "yes" \
47863 -o "$wxUSE_OLE" = "yes" \
47864 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47865 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47866 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47867 if test "${ac_cv_header_ole2_h+set}" = set; then
47868 echo $ECHO_N "(cached) $ECHO_C" >&6
47869 else
47870 cat >conftest.$ac_ext <<_ACEOF
47871 /* confdefs.h. */
47872 _ACEOF
47873 cat confdefs.h >>conftest.$ac_ext
47874 cat >>conftest.$ac_ext <<_ACEOF
47875 /* end confdefs.h. */
47876
47877
47878 #include <ole2.h>
47879 _ACEOF
47880 rm -f conftest.$ac_objext
47881 if { (ac_try="$ac_compile"
47882 case "(($ac_try" in
47883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47884 *) ac_try_echo=$ac_try;;
47885 esac
47886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47887 (eval "$ac_compile") 2>conftest.er1
47888 ac_status=$?
47889 grep -v '^ *+' conftest.er1 >conftest.err
47890 rm -f conftest.er1
47891 cat conftest.err >&5
47892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47893 (exit $ac_status); } && {
47894 test -z "$ac_c_werror_flag" ||
47895 test ! -s conftest.err
47896 } && test -s conftest.$ac_objext; then
47897 ac_cv_header_ole2_h=yes
47898 else
47899 echo "$as_me: failed program was:" >&5
47900 sed 's/^/| /' conftest.$ac_ext >&5
47901
47902 ac_cv_header_ole2_h=no
47903 fi
47904
47905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47906 fi
47907 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47908 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47909
47910
47911
47912 if test "$ac_cv_header_ole2_h" = "yes" ; then
47913 if test "$GCC" = yes ; then
47914 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47915 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47916 cat >conftest.$ac_ext <<_ACEOF
47917 /* confdefs.h. */
47918 _ACEOF
47919 cat confdefs.h >>conftest.$ac_ext
47920 cat >>conftest.$ac_ext <<_ACEOF
47921 /* end confdefs.h. */
47922 #include <windows.h>
47923 #include <ole2.h>
47924 int
47925 main ()
47926 {
47927
47928 ;
47929 return 0;
47930 }
47931 _ACEOF
47932 rm -f conftest.$ac_objext
47933 if { (ac_try="$ac_compile"
47934 case "(($ac_try" in
47935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47936 *) ac_try_echo=$ac_try;;
47937 esac
47938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47939 (eval "$ac_compile") 2>conftest.er1
47940 ac_status=$?
47941 grep -v '^ *+' conftest.er1 >conftest.err
47942 rm -f conftest.er1
47943 cat conftest.err >&5
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); } && {
47946 test -z "$ac_c_werror_flag" ||
47947 test ! -s conftest.err
47948 } && test -s conftest.$ac_objext; then
47949 { echo "$as_me:$LINENO: result: no" >&5
47950 echo "${ECHO_T}no" >&6; }
47951 else
47952 echo "$as_me: failed program was:" >&5
47953 sed 's/^/| /' conftest.$ac_ext >&5
47954
47955 { echo "$as_me:$LINENO: result: yes" >&5
47956 echo "${ECHO_T}yes" >&6; }
47957 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47958 fi
47959
47960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47961 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47962 if test "$wxUSE_OLE" = "yes" ; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_OLE 1
47965 _ACEOF
47966
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_OLE_AUTOMATION 1
47969 _ACEOF
47970
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_ACTIVEX 1
47973 _ACEOF
47974
47975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47976 fi
47977 fi
47978
47979 if test "$wxUSE_DATAOBJ" = "yes" ; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_DATAOBJ 1
47982 _ACEOF
47983
47984 fi
47985 else
47986 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47987 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47988
47989 wxUSE_CLIPBOARD=no
47990 wxUSE_DRAG_AND_DROP=no
47991 wxUSE_DATAOBJ=no
47992 wxUSE_OLE=no
47993 fi
47994
47995 if test "$wxUSE_METAFILE" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_METAFILE 1
47998 _ACEOF
47999
48000
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_ENH_METAFILE 1
48003 _ACEOF
48004
48005 fi
48006 fi
48007
48008 if test "$wxUSE_IPC" = "yes"; then
48009 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48010 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48011 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48012 wxUSE_IPC=no
48013 fi
48014
48015 if test "$wxUSE_IPC" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_IPC 1
48018 _ACEOF
48019
48020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48021 fi
48022 fi
48023
48024 if test "$wxUSE_DATAOBJ" = "yes"; then
48025 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48026 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48027 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48028 wxUSE_DATAOBJ=no
48029 else
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_DATAOBJ 1
48032 _ACEOF
48033
48034 fi
48035 else
48036 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48037 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48038 wxUSE_CLIPBOARD=no
48039 wxUSE_DRAG_AND_DROP=no
48040 fi
48041
48042 if test "$wxUSE_CLIPBOARD" = "yes"; then
48043 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48044 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48045 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48046 wxUSE_CLIPBOARD=no
48047 fi
48048
48049 if test "$wxUSE_CLIPBOARD" = "yes"; then
48050 cat >>confdefs.h <<\_ACEOF
48051 #define wxUSE_CLIPBOARD 1
48052 _ACEOF
48053
48054 fi
48055 fi
48056
48057 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48058 if test "$wxUSE_GTK" = 1; then
48059 if test "$WXGTK12" != 1; then
48060 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48061 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48062 wxUSE_DRAG_AND_DROP=no
48063 fi
48064 fi
48065
48066 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48067 "$wxUSE_DFB" = 1; then
48068 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48069 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48070 wxUSE_DRAG_AND_DROP=no
48071 fi
48072
48073 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_DRAG_AND_DROP 1
48076 _ACEOF
48077
48078 fi
48079
48080 fi
48081
48082 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48084 fi
48085
48086 if test "$wxUSE_SPLINES" = "yes" ; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_SPLINES 1
48089 _ACEOF
48090
48091 fi
48092
48093 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48094 cat >>confdefs.h <<\_ACEOF
48095 #define wxUSE_MOUSEWHEEL 1
48096 _ACEOF
48097
48098 fi
48099
48100
48101 USES_CONTROLS=0
48102 if test "$wxUSE_CONTROLS" = "yes"; then
48103 USES_CONTROLS=1
48104 fi
48105
48106 if test "$wxUSE_ACCEL" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_ACCEL 1
48109 _ACEOF
48110
48111 USES_CONTROLS=1
48112 fi
48113
48114 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_ANIMATIONCTRL 1
48117 _ACEOF
48118
48119 USES_CONTROLS=1
48120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48121 fi
48122
48123 if test "$wxUSE_BUTTON" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_BUTTON 1
48126 _ACEOF
48127
48128 USES_CONTROLS=1
48129 fi
48130
48131 if test "$wxUSE_BMPBUTTON" = "yes"; then
48132 cat >>confdefs.h <<\_ACEOF
48133 #define wxUSE_BMPBUTTON 1
48134 _ACEOF
48135
48136 USES_CONTROLS=1
48137 fi
48138
48139 if test "$wxUSE_CALCTRL" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_CALENDARCTRL 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48146 fi
48147
48148 if test "$wxUSE_CARET" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_CARET 1
48151 _ACEOF
48152
48153 USES_CONTROLS=1
48154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48155 fi
48156
48157 if test "$wxUSE_COLLPANE" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_COLLPANE 1
48160 _ACEOF
48161
48162 USES_CONTROLS=1
48163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48164 fi
48165
48166 if test "$wxUSE_COMBOBOX" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_COMBOBOX 1
48169 _ACEOF
48170
48171 USES_CONTROLS=1
48172 fi
48173
48174 if test "$wxUSE_COMBOCTRL" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_COMBOCTRL 1
48177 _ACEOF
48178
48179 USES_CONTROLS=1
48180 fi
48181
48182 if test "$wxUSE_CHOICE" = "yes"; then
48183 cat >>confdefs.h <<\_ACEOF
48184 #define wxUSE_CHOICE 1
48185 _ACEOF
48186
48187 USES_CONTROLS=1
48188 fi
48189
48190 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48191 cat >>confdefs.h <<\_ACEOF
48192 #define wxUSE_CHOICEBOOK 1
48193 _ACEOF
48194
48195 USES_CONTROLS=1
48196 fi
48197
48198 if test "$wxUSE_CHECKBOX" = "yes"; then
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_CHECKBOX 1
48201 _ACEOF
48202
48203 USES_CONTROLS=1
48204 fi
48205
48206 if test "$wxUSE_CHECKLST" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_CHECKLISTBOX 1
48209 _ACEOF
48210
48211 USES_CONTROLS=1
48212 fi
48213
48214 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_COLOURPICKERCTRL 1
48217 _ACEOF
48218
48219 USES_CONTROLS=1
48220 fi
48221
48222 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_DATEPICKCTRL 1
48225 _ACEOF
48226
48227 USES_CONTROLS=1
48228 fi
48229
48230 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_DIRPICKERCTRL 1
48233 _ACEOF
48234
48235 USES_CONTROLS=1
48236 fi
48237
48238 if test "$wxUSE_FILECTRL" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_FILECTRL 1
48241 _ACEOF
48242
48243 USES_CONTROLS=1
48244 fi
48245
48246 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_FILEPICKERCTRL 1
48249 _ACEOF
48250
48251 USES_CONTROLS=1
48252 fi
48253
48254 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48255 cat >>confdefs.h <<\_ACEOF
48256 #define wxUSE_FONTPICKERCTRL 1
48257 _ACEOF
48258
48259 USES_CONTROLS=1
48260 fi
48261
48262 if test "$wxUSE_DISPLAY" = "yes"; then
48263 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48264 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48265 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48266 wxUSE_DISPLAY=no
48267 else
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_DISPLAY 1
48270 _ACEOF
48271
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48273 fi
48274 fi
48275
48276 if test "$wxUSE_DETECT_SM" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_DETECT_SM 1
48279 _ACEOF
48280
48281 fi
48282
48283 if test "$wxUSE_GAUGE" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_GAUGE 1
48286 _ACEOF
48287
48288 USES_CONTROLS=1
48289 fi
48290
48291 if test "$wxUSE_GRID" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_GRID 1
48294 _ACEOF
48295
48296 USES_CONTROLS=1
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48298 fi
48299
48300 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_HYPERLINKCTRL 1
48303 _ACEOF
48304
48305 USES_CONTROLS=1
48306 fi
48307
48308 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_BITMAPCOMBOBOX 1
48311 _ACEOF
48312
48313 USES_CONTROLS=1
48314 fi
48315
48316 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_DATAVIEWCTRL 1
48319 _ACEOF
48320
48321 USES_CONTROLS=1
48322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48323 fi
48324
48325 if test "$wxUSE_IMAGLIST" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_IMAGLIST 1
48328 _ACEOF
48329
48330 fi
48331
48332 if test "$wxUSE_LISTBOOK" = "yes"; then
48333 cat >>confdefs.h <<\_ACEOF
48334 #define wxUSE_LISTBOOK 1
48335 _ACEOF
48336
48337 USES_CONTROLS=1
48338 fi
48339
48340 if test "$wxUSE_LISTBOX" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_LISTBOX 1
48343 _ACEOF
48344
48345 USES_CONTROLS=1
48346 fi
48347
48348 if test "$wxUSE_LISTCTRL" = "yes"; then
48349 if test "$wxUSE_IMAGLIST" = "yes"; then
48350 cat >>confdefs.h <<\_ACEOF
48351 #define wxUSE_LISTCTRL 1
48352 _ACEOF
48353
48354 USES_CONTROLS=1
48355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48356 else
48357 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48358 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48359 fi
48360 fi
48361
48362 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_EDITABLELISTBOX 1
48365 _ACEOF
48366
48367 USES_CONTROLS=1
48368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48369 fi
48370
48371 if test "$wxUSE_NOTEBOOK" = "yes"; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_NOTEBOOK 1
48374 _ACEOF
48375
48376 USES_CONTROLS=1
48377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48378 fi
48379
48380 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48381 cat >>confdefs.h <<\_ACEOF
48382 #define wxUSE_ODCOMBOBOX 1
48383 _ACEOF
48384
48385 USES_CONTROLS=1
48386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48387 fi
48388
48389 if test "$wxUSE_RADIOBOX" = "yes"; then
48390 cat >>confdefs.h <<\_ACEOF
48391 #define wxUSE_RADIOBOX 1
48392 _ACEOF
48393
48394 USES_CONTROLS=1
48395 fi
48396
48397 if test "$wxUSE_RADIOBTN" = "yes"; then
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_RADIOBTN 1
48400 _ACEOF
48401
48402 USES_CONTROLS=1
48403 fi
48404
48405 if test "$wxUSE_SASH" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_SASH 1
48408 _ACEOF
48409
48410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48411 fi
48412
48413 if test "$wxUSE_SCROLLBAR" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_SCROLLBAR 1
48416 _ACEOF
48417
48418 USES_CONTROLS=1
48419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48420 fi
48421
48422 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48423 cat >>confdefs.h <<\_ACEOF
48424 #define wxUSE_SEARCHCTRL 1
48425 _ACEOF
48426
48427 USES_CONTROLS=1
48428 fi
48429
48430 if test "$wxUSE_SLIDER" = "yes"; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_SLIDER 1
48433 _ACEOF
48434
48435 USES_CONTROLS=1
48436 fi
48437
48438 if test "$wxUSE_SPINBTN" = "yes"; then
48439 cat >>confdefs.h <<\_ACEOF
48440 #define wxUSE_SPINBTN 1
48441 _ACEOF
48442
48443 USES_CONTROLS=1
48444 fi
48445
48446 if test "$wxUSE_SPINCTRL" = "yes"; then
48447 cat >>confdefs.h <<\_ACEOF
48448 #define wxUSE_SPINCTRL 1
48449 _ACEOF
48450
48451 USES_CONTROLS=1
48452 fi
48453
48454 if test "$wxUSE_SPLITTER" = "yes"; then
48455 cat >>confdefs.h <<\_ACEOF
48456 #define wxUSE_SPLITTER 1
48457 _ACEOF
48458
48459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48460 fi
48461
48462 if test "$wxUSE_STATBMP" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_STATBMP 1
48465 _ACEOF
48466
48467 USES_CONTROLS=1
48468 fi
48469
48470 if test "$wxUSE_STATBOX" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_STATBOX 1
48473 _ACEOF
48474
48475 USES_CONTROLS=1
48476 fi
48477
48478 if test "$wxUSE_STATTEXT" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_STATTEXT 1
48481 _ACEOF
48482
48483 USES_CONTROLS=1
48484 fi
48485
48486 if test "$wxUSE_STATLINE" = "yes"; then
48487 cat >>confdefs.h <<\_ACEOF
48488 #define wxUSE_STATLINE 1
48489 _ACEOF
48490
48491 USES_CONTROLS=1
48492 fi
48493
48494 if test "$wxUSE_STATUSBAR" = "yes"; then
48495 cat >>confdefs.h <<\_ACEOF
48496 #define wxUSE_NATIVE_STATUSBAR 1
48497 _ACEOF
48498
48499 cat >>confdefs.h <<\_ACEOF
48500 #define wxUSE_STATUSBAR 1
48501 _ACEOF
48502
48503 USES_CONTROLS=1
48504
48505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48506 fi
48507
48508 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48509 cat >>confdefs.h <<\_ACEOF
48510 #define wxUSE_TAB_DIALOG 1
48511 _ACEOF
48512
48513 fi
48514
48515 if test "$wxUSE_TEXTCTRL" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_TEXTCTRL 1
48518 _ACEOF
48519
48520 USES_CONTROLS=1
48521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48522 fi
48523
48524 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48525 if test "$wxUSE_COCOA" = 1 ; then
48526 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48527 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48528 wxUSE_TOGGLEBTN=no
48529 fi
48530
48531 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48532 cat >>confdefs.h <<\_ACEOF
48533 #define wxUSE_TOGGLEBTN 1
48534 _ACEOF
48535
48536 USES_CONTROLS=1
48537 fi
48538 fi
48539
48540 if test "$wxUSE_TOOLBAR" = "yes"; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_TOOLBAR 1
48543 _ACEOF
48544
48545 USES_CONTROLS=1
48546
48547 if test "$wxUSE_UNIVERSAL" = "yes"; then
48548 wxUSE_TOOLBAR_NATIVE="no"
48549 else
48550 wxUSE_TOOLBAR_NATIVE="yes"
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_TOOLBAR_NATIVE 1
48553 _ACEOF
48554
48555 fi
48556
48557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48558 fi
48559
48560 if test "$wxUSE_TOOLTIPS" = "yes"; then
48561 if test "$wxUSE_MOTIF" = 1; then
48562 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48563 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48564 else
48565 if test "$wxUSE_UNIVERSAL" = "yes"; then
48566 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48567 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48568 else
48569 cat >>confdefs.h <<\_ACEOF
48570 #define wxUSE_TOOLTIPS 1
48571 _ACEOF
48572
48573 fi
48574 fi
48575 fi
48576
48577 if test "$wxUSE_TREEBOOK" = "yes"; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_TREEBOOK 1
48580 _ACEOF
48581
48582 USES_CONTROLS=1
48583 fi
48584
48585 if test "$wxUSE_TOOLBOOK" = "yes"; then
48586 cat >>confdefs.h <<\_ACEOF
48587 #define wxUSE_TOOLBOOK 1
48588 _ACEOF
48589
48590 USES_CONTROLS=1
48591 fi
48592
48593 if test "$wxUSE_TREECTRL" = "yes"; then
48594 if test "$wxUSE_IMAGLIST" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_TREECTRL 1
48597 _ACEOF
48598
48599 USES_CONTROLS=1
48600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48601 else
48602 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48603 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48604 fi
48605 fi
48606
48607 if test "$wxUSE_POPUPWIN" = "yes"; then
48608 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48609 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48610 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48611 else
48612 if test "$wxUSE_PM" = 1; then
48613 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48614 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48615 else
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_POPUPWIN 1
48618 _ACEOF
48619
48620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48621
48622 USES_CONTROLS=1
48623 fi
48624 fi
48625 fi
48626
48627 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48629 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48630 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48631 else
48632 cat >>confdefs.h <<\_ACEOF
48633 #define wxUSE_DIALUP_MANAGER 1
48634 _ACEOF
48635
48636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48637 fi
48638 fi
48639
48640 if test "$wxUSE_TIPWINDOW" = "yes"; then
48641 if test "$wxUSE_PM" = 1; then
48642 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48643 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48644 else
48645 cat >>confdefs.h <<\_ACEOF
48646 #define wxUSE_TIPWINDOW 1
48647 _ACEOF
48648
48649 fi
48650 fi
48651
48652 if test "$USES_CONTROLS" = 1; then
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_CONTROLS 1
48655 _ACEOF
48656
48657 fi
48658
48659
48660 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_ACCESSIBILITY 1
48663 _ACEOF
48664
48665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48666 fi
48667
48668 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48669 cat >>confdefs.h <<\_ACEOF
48670 #define wxUSE_DRAGIMAGE 1
48671 _ACEOF
48672
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48674 fi
48675
48676 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48677 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48678 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48679 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48680 else
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_EXCEPTIONS 1
48683 _ACEOF
48684
48685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48686 fi
48687 fi
48688
48689 USE_HTML=0
48690 if test "$wxUSE_HTML" = "yes"; then
48691 cat >>confdefs.h <<\_ACEOF
48692 #define wxUSE_HTML 1
48693 _ACEOF
48694
48695 USE_HTML=1
48696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48697 if test "$wxUSE_MAC" = 1; then
48698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48699 fi
48700 fi
48701 if test "$wxUSE_WEBKIT" = "yes"; then
48702 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48703 old_CPPFLAGS="$CPPFLAGS"
48704 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48705 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48706 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48707 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48708 echo $ECHO_N "(cached) $ECHO_C" >&6
48709 else
48710 cat >conftest.$ac_ext <<_ACEOF
48711 /* confdefs.h. */
48712 _ACEOF
48713 cat confdefs.h >>conftest.$ac_ext
48714 cat >>conftest.$ac_ext <<_ACEOF
48715 /* end confdefs.h. */
48716
48717 #include <Carbon/Carbon.h>
48718 #include <WebKit/WebKit.h>
48719
48720
48721 #include <WebKit/HIWebView.h>
48722 _ACEOF
48723 rm -f conftest.$ac_objext
48724 if { (ac_try="$ac_compile"
48725 case "(($ac_try" in
48726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48727 *) ac_try_echo=$ac_try;;
48728 esac
48729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48730 (eval "$ac_compile") 2>conftest.er1
48731 ac_status=$?
48732 grep -v '^ *+' conftest.er1 >conftest.err
48733 rm -f conftest.er1
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } && {
48737 test -z "$ac_c_werror_flag" ||
48738 test ! -s conftest.err
48739 } && test -s conftest.$ac_objext; then
48740 ac_cv_header_WebKit_HIWebView_h=yes
48741 else
48742 echo "$as_me: failed program was:" >&5
48743 sed 's/^/| /' conftest.$ac_ext >&5
48744
48745 ac_cv_header_WebKit_HIWebView_h=no
48746 fi
48747
48748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48749 fi
48750 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48751 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48752 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48753
48754 cat >>confdefs.h <<\_ACEOF
48755 #define wxUSE_WEBKIT 1
48756 _ACEOF
48757
48758 WEBKIT_LINK="-framework WebKit"
48759
48760 else
48761
48762 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48763 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48764 wxUSE_WEBKIT=no
48765
48766 fi
48767
48768
48769 CPPFLAGS="$old_CPPFLAGS"
48770 elif test "$wxUSE_COCOA" = 1; then
48771 cat >>confdefs.h <<\_ACEOF
48772 #define wxUSE_WEBKIT 1
48773 _ACEOF
48774
48775 else
48776 wxUSE_WEBKIT=no
48777 fi
48778 fi
48779
48780 USE_XRC=0
48781 if test "$wxUSE_XRC" = "yes"; then
48782 if test "$wxUSE_XML" != "yes"; then
48783 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48784 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48785 wxUSE_XRC=no
48786 else
48787 cat >>confdefs.h <<\_ACEOF
48788 #define wxUSE_XRC 1
48789 _ACEOF
48790
48791 USE_XRC=1
48792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48793 fi
48794 fi
48795
48796 USE_AUI=0
48797 if test "$wxUSE_AUI" = "yes"; then
48798 cat >>confdefs.h <<\_ACEOF
48799 #define wxUSE_AUI 1
48800 _ACEOF
48801
48802 USE_AUI=1
48803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48804 fi
48805
48806 USE_STC=0
48807 if test "$wxUSE_STC" = "yes"; then
48808 cat >>confdefs.h <<\_ACEOF
48809 #define wxUSE_STC 1
48810 _ACEOF
48811
48812 USE_STC=1
48813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48814 fi
48815
48816 if test "$wxUSE_MENUS" = "yes"; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_MENUS 1
48819 _ACEOF
48820
48821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48822 fi
48823
48824 if test "$wxUSE_METAFILE" = "yes"; then
48825 cat >>confdefs.h <<\_ACEOF
48826 #define wxUSE_METAFILE 1
48827 _ACEOF
48828
48829 fi
48830
48831 if test "$wxUSE_MIMETYPE" = "yes"; then
48832 cat >>confdefs.h <<\_ACEOF
48833 #define wxUSE_MIMETYPE 1
48834 _ACEOF
48835
48836 fi
48837
48838 if test "$wxUSE_MINIFRAME" = "yes"; then
48839 cat >>confdefs.h <<\_ACEOF
48840 #define wxUSE_MINIFRAME 1
48841 _ACEOF
48842
48843 fi
48844
48845 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48846 cat >>confdefs.h <<\_ACEOF
48847 #define wxUSE_SYSTEM_OPTIONS 1
48848 _ACEOF
48849
48850 fi
48851
48852 if test "$wxUSE_TASKBARICON" = "yes"; then
48853 cat >>confdefs.h <<\_ACEOF
48854 #define wxUSE_TASKBARICON 1
48855 _ACEOF
48856
48857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48858 fi
48859
48860
48861 if test "$wxUSE_VALIDATORS" = "yes"; then
48862 cat >>confdefs.h <<\_ACEOF
48863 #define wxUSE_VALIDATORS 1
48864 _ACEOF
48865
48866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48867 fi
48868
48869 if test "$wxUSE_PALETTE" = "yes" ; then
48870 if test "$wxUSE_DFB" = 1; then
48871 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48872 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48873 wxUSE_PALETTE=no
48874 else
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_PALETTE 1
48877 _ACEOF
48878
48879 fi
48880 fi
48881
48882 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48883 LIBS=" -lunicows $LIBS"
48884 fi
48885
48886 USE_RICHTEXT=0
48887 if test "$wxUSE_RICHTEXT" = "yes"; then
48888 cat >>confdefs.h <<\_ACEOF
48889 #define wxUSE_RICHTEXT 1
48890 _ACEOF
48891
48892 USE_RICHTEXT=1
48893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48894 fi
48895
48896
48897 if test "$wxUSE_IMAGE" = "yes" ; then
48898 cat >>confdefs.h <<\_ACEOF
48899 #define wxUSE_IMAGE 1
48900 _ACEOF
48901
48902
48903 if test "$wxUSE_GIF" = "yes" ; then
48904 cat >>confdefs.h <<\_ACEOF
48905 #define wxUSE_GIF 1
48906 _ACEOF
48907
48908 fi
48909
48910 if test "$wxUSE_PCX" = "yes" ; then
48911 cat >>confdefs.h <<\_ACEOF
48912 #define wxUSE_PCX 1
48913 _ACEOF
48914
48915 fi
48916
48917 if test "$wxUSE_TGA" = "yes" ; then
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_TGA 1
48920 _ACEOF
48921
48922 fi
48923
48924 if test "$wxUSE_IFF" = "yes" ; then
48925 cat >>confdefs.h <<\_ACEOF
48926 #define wxUSE_IFF 1
48927 _ACEOF
48928
48929 fi
48930
48931 if test "$wxUSE_PNM" = "yes" ; then
48932 cat >>confdefs.h <<\_ACEOF
48933 #define wxUSE_PNM 1
48934 _ACEOF
48935
48936 fi
48937
48938 if test "$wxUSE_XPM" = "yes" ; then
48939 cat >>confdefs.h <<\_ACEOF
48940 #define wxUSE_XPM 1
48941 _ACEOF
48942
48943 fi
48944
48945 if test "$wxUSE_ICO_CUR" = "yes" ; then
48946 cat >>confdefs.h <<\_ACEOF
48947 #define wxUSE_ICO_CUR 1
48948 _ACEOF
48949
48950 fi
48951 fi
48952
48953
48954 if test "$wxUSE_ABOUTDLG" = "yes"; then
48955 cat >>confdefs.h <<\_ACEOF
48956 #define wxUSE_ABOUTDLG 1
48957 _ACEOF
48958
48959 fi
48960
48961 if test "$wxUSE_CHOICEDLG" = "yes"; then
48962 cat >>confdefs.h <<\_ACEOF
48963 #define wxUSE_CHOICEDLG 1
48964 _ACEOF
48965
48966 fi
48967
48968 if test "$wxUSE_COLOURDLG" = "yes"; then
48969 cat >>confdefs.h <<\_ACEOF
48970 #define wxUSE_COLOURDLG 1
48971 _ACEOF
48972
48973 fi
48974
48975 if test "$wxUSE_FILEDLG" = "yes"; then
48976 cat >>confdefs.h <<\_ACEOF
48977 #define wxUSE_FILEDLG 1
48978 _ACEOF
48979
48980 fi
48981
48982 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48983 cat >>confdefs.h <<\_ACEOF
48984 #define wxUSE_FINDREPLDLG 1
48985 _ACEOF
48986
48987 fi
48988
48989 if test "$wxUSE_FONTDLG" = "yes"; then
48990 cat >>confdefs.h <<\_ACEOF
48991 #define wxUSE_FONTDLG 1
48992 _ACEOF
48993
48994 fi
48995
48996 if test "$wxUSE_DIRDLG" = "yes"; then
48997 if test "$wxUSE_TREECTRL" != "yes"; then
48998 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48999 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49000 else
49001 cat >>confdefs.h <<\_ACEOF
49002 #define wxUSE_DIRDLG 1
49003 _ACEOF
49004
49005 fi
49006 fi
49007
49008 if test "$wxUSE_MSGDLG" = "yes"; then
49009 cat >>confdefs.h <<\_ACEOF
49010 #define wxUSE_MSGDLG 1
49011 _ACEOF
49012
49013 fi
49014
49015 if test "$wxUSE_NUMBERDLG" = "yes"; then
49016 cat >>confdefs.h <<\_ACEOF
49017 #define wxUSE_NUMBERDLG 1
49018 _ACEOF
49019
49020 fi
49021
49022 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49023 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49024 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49025 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49026 else
49027 cat >>confdefs.h <<\_ACEOF
49028 #define wxUSE_PROGRESSDLG 1
49029 _ACEOF
49030
49031 fi
49032 fi
49033
49034 if test "$wxUSE_SPLASH" = "yes"; then
49035 cat >>confdefs.h <<\_ACEOF
49036 #define wxUSE_SPLASH 1
49037 _ACEOF
49038
49039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49040 fi
49041
49042 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49043 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49044 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49045 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49046 else
49047 cat >>confdefs.h <<\_ACEOF
49048 #define wxUSE_STARTUP_TIPS 1
49049 _ACEOF
49050
49051 fi
49052 fi
49053
49054 if test "$wxUSE_TEXTDLG" = "yes"; then
49055 cat >>confdefs.h <<\_ACEOF
49056 #define wxUSE_TEXTDLG 1
49057 _ACEOF
49058
49059 fi
49060
49061 if test "$wxUSE_WIZARDDLG" = "yes"; then
49062 cat >>confdefs.h <<\_ACEOF
49063 #define wxUSE_WIZARDDLG 1
49064 _ACEOF
49065
49066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49067 fi
49068
49069
49070 if test "$wxUSE_MSW" = 1 ; then
49071
49072 if test "$wxUSE_DC_CACHEING" = "yes"; then
49073 cat >>confdefs.h <<\_ACEOF
49074 #define wxUSE_DC_CACHEING 1
49075 _ACEOF
49076
49077 fi
49078
49079 if test "$wxUSE_DIB" = "yes"; then
49080 cat >>confdefs.h <<\_ACEOF
49081 #define wxUSE_WXDIB 1
49082 _ACEOF
49083
49084 fi
49085
49086 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49087 cat >>confdefs.h <<\_ACEOF
49088 #define wxUSE_OWNER_DRAWN 1
49089 _ACEOF
49090
49091 fi
49092
49093 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49094 cat >>confdefs.h <<\_ACEOF
49095 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49096 _ACEOF
49097
49098 fi
49099
49100 if test "$wxUSE_UXTHEME" = "yes"; then
49101 cat >>confdefs.h <<\_ACEOF
49102 #define wxUSE_UXTHEME 1
49103 _ACEOF
49104
49105 fi
49106
49107 fi
49108
49109
49110 if test "$USE_WIN32" = 1 ; then
49111 if test "$wxUSE_INICONF" = "yes"; then
49112 cat >>confdefs.h <<\_ACEOF
49113 #define wxUSE_INICONF 1
49114 _ACEOF
49115
49116 fi
49117
49118 if test "$wxUSE_REGKEY" = "yes"; then
49119 cat >>confdefs.h <<\_ACEOF
49120 #define wxUSE_REGKEY 1
49121 _ACEOF
49122
49123 fi
49124 fi
49125
49126
49127 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49128 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49129 cat >>confdefs.h <<\_ACEOF
49130 #define wxUSE_GRAPHICS_CONTEXT 1
49131 _ACEOF
49132
49133 elif test "$wxUSE_GTK" != 1; then
49134 cat >>confdefs.h <<\_ACEOF
49135 #define wxUSE_GRAPHICS_CONTEXT 1
49136 _ACEOF
49137
49138 else
49139
49140 pkg_failed=no
49141 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49142 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49143
49144 if test -n "$PKG_CONFIG"; then
49145 if test -n "$CAIRO_CFLAGS"; then
49146 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49147 else
49148 if test -n "$PKG_CONFIG" && \
49149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49150 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49151 ac_status=$?
49152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49153 (exit $ac_status); }; then
49154 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49155 else
49156 pkg_failed=yes
49157 fi
49158 fi
49159 else
49160 pkg_failed=untried
49161 fi
49162 if test -n "$PKG_CONFIG"; then
49163 if test -n "$CAIRO_LIBS"; then
49164 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49165 else
49166 if test -n "$PKG_CONFIG" && \
49167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49168 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49169 ac_status=$?
49170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49171 (exit $ac_status); }; then
49172 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49173 else
49174 pkg_failed=yes
49175 fi
49176 fi
49177 else
49178 pkg_failed=untried
49179 fi
49180
49181
49182
49183 if test $pkg_failed = yes; then
49184
49185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49186 _pkg_short_errors_supported=yes
49187 else
49188 _pkg_short_errors_supported=no
49189 fi
49190 if test $_pkg_short_errors_supported = yes; then
49191 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49192 else
49193 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49194 fi
49195 # Put the nasty error message in config.log where it belongs
49196 echo "$CAIRO_PKG_ERRORS" >&5
49197
49198 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49199 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49200
49201 elif test $pkg_failed = untried; then
49202 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49203 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49204
49205 else
49206 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49207 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49208 { echo "$as_me:$LINENO: result: yes" >&5
49209 echo "${ECHO_T}yes" >&6; }
49210 cat >>confdefs.h <<\_ACEOF
49211 #define wxUSE_GRAPHICS_CONTEXT 1
49212 _ACEOF
49213
49214 fi
49215 fi
49216 fi
49217
49218
49219 USE_MEDIA=0
49220
49221 if test "$wxUSE_MEDIACTRL" = "yes"; then
49222 USE_MEDIA=1
49223
49224 if test "$wxUSE_GTK" = 1; then
49225 wxUSE_GSTREAMER="no"
49226
49227 GST_VERSION_MAJOR=0
49228 GST_VERSION_MINOR=10
49229 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49230
49231 if test "$wxUSE_GSTREAMER8" = "no"; then
49232
49233 pkg_failed=no
49234 { echo "$as_me:$LINENO: checking for GST" >&5
49235 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49236
49237 if test -n "$PKG_CONFIG"; then
49238 if test -n "$GST_CFLAGS"; then
49239 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49240 else
49241 if test -n "$PKG_CONFIG" && \
49242 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49243 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49244 ac_status=$?
49245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49246 (exit $ac_status); }; then
49247 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49248 else
49249 pkg_failed=yes
49250 fi
49251 fi
49252 else
49253 pkg_failed=untried
49254 fi
49255 if test -n "$PKG_CONFIG"; then
49256 if test -n "$GST_LIBS"; then
49257 pkg_cv_GST_LIBS="$GST_LIBS"
49258 else
49259 if test -n "$PKG_CONFIG" && \
49260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49261 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49262 ac_status=$?
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); }; then
49265 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49266 else
49267 pkg_failed=yes
49268 fi
49269 fi
49270 else
49271 pkg_failed=untried
49272 fi
49273
49274
49275
49276 if test $pkg_failed = yes; then
49277
49278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49279 _pkg_short_errors_supported=yes
49280 else
49281 _pkg_short_errors_supported=no
49282 fi
49283 if test $_pkg_short_errors_supported = yes; then
49284 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49285 else
49286 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49287 fi
49288 # Put the nasty error message in config.log where it belongs
49289 echo "$GST_PKG_ERRORS" >&5
49290
49291
49292 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49293 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49294 GST_VERSION_MINOR=8
49295
49296
49297 elif test $pkg_failed = untried; then
49298
49299 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49300 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49301 GST_VERSION_MINOR=8
49302
49303
49304 else
49305 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49306 GST_LIBS=$pkg_cv_GST_LIBS
49307 { echo "$as_me:$LINENO: result: yes" >&5
49308 echo "${ECHO_T}yes" >&6; }
49309
49310 wxUSE_GSTREAMER="yes"
49311 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49312
49313 fi
49314 else
49315 GST_VERSION_MINOR=8
49316 fi
49317
49318 if test $GST_VERSION_MINOR = "8"; then
49319 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49320
49321 pkg_failed=no
49322 { echo "$as_me:$LINENO: checking for GST" >&5
49323 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49324
49325 if test -n "$PKG_CONFIG"; then
49326 if test -n "$GST_CFLAGS"; then
49327 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49328 else
49329 if test -n "$PKG_CONFIG" && \
49330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49331 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49332 ac_status=$?
49333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49334 (exit $ac_status); }; then
49335 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49336 else
49337 pkg_failed=yes
49338 fi
49339 fi
49340 else
49341 pkg_failed=untried
49342 fi
49343 if test -n "$PKG_CONFIG"; then
49344 if test -n "$GST_LIBS"; then
49345 pkg_cv_GST_LIBS="$GST_LIBS"
49346 else
49347 if test -n "$PKG_CONFIG" && \
49348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49349 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49350 ac_status=$?
49351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 (exit $ac_status); }; then
49353 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49354 else
49355 pkg_failed=yes
49356 fi
49357 fi
49358 else
49359 pkg_failed=untried
49360 fi
49361
49362
49363
49364 if test $pkg_failed = yes; then
49365
49366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49367 _pkg_short_errors_supported=yes
49368 else
49369 _pkg_short_errors_supported=no
49370 fi
49371 if test $_pkg_short_errors_supported = yes; then
49372 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49373 else
49374 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49375 fi
49376 # Put the nasty error message in config.log where it belongs
49377 echo "$GST_PKG_ERRORS" >&5
49378
49379
49380 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49381 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49382
49383 elif test $pkg_failed = untried; then
49384
49385 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49386 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49387
49388 else
49389 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49390 GST_LIBS=$pkg_cv_GST_LIBS
49391 { echo "$as_me:$LINENO: result: yes" >&5
49392 echo "${ECHO_T}yes" >&6; }
49393 wxUSE_GSTREAMER="yes"
49394 fi
49395 fi
49396
49397
49398 if test "$wxUSE_GSTREAMER" = "yes"; then
49399 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49400 LIBS="$GST_LIBS $LIBS"
49401
49402 cat >>confdefs.h <<\_ACEOF
49403 #define wxUSE_GSTREAMER 1
49404 _ACEOF
49405
49406 else
49407 USE_MEDIA=0
49408 fi
49409 fi
49410
49411 if test $USE_MEDIA = 1; then
49412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49413 cat >>confdefs.h <<\_ACEOF
49414 #define wxUSE_MEDIACTRL 1
49415 _ACEOF
49416
49417 fi
49418 fi
49419
49420
49421 if test "$cross_compiling" = "yes"; then
49422 OSINFO="\"$host\""
49423 else
49424 OSINFO=`uname -s -r -m`
49425 OSINFO="\"$OSINFO\""
49426 fi
49427
49428 cat >>confdefs.h <<_ACEOF
49429 #define WXWIN_OS_DESCRIPTION $OSINFO
49430 _ACEOF
49431
49432
49433
49434 if test "x$prefix" != "xNONE"; then
49435 wxPREFIX=$prefix
49436 else
49437 wxPREFIX=$ac_default_prefix
49438 fi
49439
49440 cat >>confdefs.h <<_ACEOF
49441 #define wxINSTALL_PREFIX "$wxPREFIX"
49442 _ACEOF
49443
49444
49445
49446
49447 STD_BASE_LIBS="base"
49448 STD_GUI_LIBS=""
49449 BUILT_WX_LIBS="base"
49450 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49451
49452 if test "$wxUSE_SOCKETS" = "yes" ; then
49453 STD_BASE_LIBS="net $STD_BASE_LIBS"
49454 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49455 fi
49456 if test "$wxUSE_ODBC" != "no" ; then
49457 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49458 fi
49459 if test "$wxUSE_XML" = "yes" ; then
49460 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49461 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49462 fi
49463
49464 if test "$wxUSE_GUI" = "yes"; then
49465 STD_GUI_LIBS="adv core"
49466 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49467
49468 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49469 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49470 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49471 fi
49472 if test "$wxUSE_ODBC" != "no" ; then
49473 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49474 fi
49475 if test "$wxUSE_HTML" = "yes" ; then
49476 STD_GUI_LIBS="html $STD_GUI_LIBS"
49477 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49478 fi
49479 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49480 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49481 fi
49482 if test "$wxUSE_OPENGL" = "yes" ; then
49483 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49484 fi
49485 if test "$wxUSE_AUI" = "yes" ; then
49486 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49487 fi
49488 if test "$wxUSE_STC" = "yes" ; then
49489 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49490 fi
49491 if test "$wxUSE_XRC" = "yes" ; then
49492 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49493 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49494 fi
49495 fi
49496
49497
49498
49499
49500
49501
49502
49503
49504 if test "$wxUSE_MAC" = 1 ; then
49505 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49506 if test "$USE_DARWIN" = 1; then
49507 LDFLAGS="$LDFLAGS -framework QuickTime"
49508 else
49509 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49510 fi
49511 fi
49512 if test "$USE_DARWIN" = 1; then
49513 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49514 else
49515 LDFLAGS="$LDFLAGS -lCarbonLib"
49516 fi
49517 fi
49518 if test "$wxUSE_COCOA" = 1 ; then
49519 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49520 if test "$wxUSE_MEDIACTRL" = "yes"; then
49521 LDFLAGS="$LDFLAGS -framework QuickTime"
49522 fi
49523 fi
49524 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49525 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49526 fi
49527
49528 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49529
49530 if test "$wxUSE_GUI" = "yes"; then
49531
49532
49533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49534 erase event exec font image minimal mobile \
49535 mobile/wxedit mobile/styles render \
49536 shaped svg taborder vscroll widgets"
49537
49538 if test "$wxUSE_MONOLITHIC" != "yes"; then
49539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49540 fi
49541 if test "$TOOLKIT" = "MSW"; then
49542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49543 if test "$wxUSE_UNIVERSAL" != "yes"; then
49544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49545 fi
49546 fi
49547 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49549 fi
49550 else
49551 SAMPLES_SUBDIRS="console"
49552 fi
49553
49554
49555 if test "x$INTELCC" = "xyes" ; then
49556 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49557 elif test "$GCC" = yes ; then
49558 CWARNINGS="-Wall -Wundef"
49559 fi
49560
49561 if test "x$INTELCXX" = "xyes" ; then
49562 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49563 elif test "$GXX" = yes ; then
49564 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49565 fi
49566
49567
49568 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49569 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49570
49571
49572 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49573 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49574 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49575 $CPPFLAGS `
49576
49577 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49578 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49579 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49580
49581 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49582
49583
49584 if test "x$MWCC" = "xyes"; then
49585
49586 CC="$CC -cwd source -I-"
49587 CXX="$CXX -cwd source -I-"
49588 fi
49589
49590
49591 LIBS=`echo $LIBS`
49592 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49593 EXTRALIBS_XML="$EXPAT_LINK"
49594 EXTRALIBS_HTML="$MSPACK_LINK"
49595 EXTRALIBS_ODBC="$ODBC_LINK"
49596 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49597 if test "$wxUSE_GUI" = "yes"; then
49598 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49599 fi
49600 if test "$wxUSE_OPENGL" = "yes"; then
49601 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49602 fi
49603
49604 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49605
49606 WXCONFIG_LIBS="$LIBS"
49607
49608 if test "$wxUSE_REGEX" = "builtin" ; then
49609 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49610 fi
49611 if test "$wxUSE_EXPAT" = "builtin" ; then
49612 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49613 fi
49614 if test "$wxUSE_ODBC" = "builtin" ; then
49615 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49616 fi
49617 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49618 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49619 fi
49620 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49621 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49622 fi
49623 if test "$wxUSE_LIBPNG" = "builtin" ; then
49624 wxconfig_3rdparty="png $wxconfig_3rdparty"
49625 fi
49626 if test "$wxUSE_ZLIB" = "builtin" ; then
49627 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49628 fi
49629
49630 for i in $wxconfig_3rdparty ; do
49631 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49632 done
49633
49634
49635 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49636 WXUNIV=1
49637
49638 case "$wxUNIV_THEMES" in
49639 ''|all)
49640 cat >>confdefs.h <<\_ACEOF
49641 #define wxUSE_ALL_THEMES 1
49642 _ACEOF
49643
49644 ;;
49645
49646 *)
49647 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49648 cat >>confdefs.h <<_ACEOF
49649 #define wxUSE_THEME_$t 1
49650 _ACEOF
49651
49652 done
49653 esac
49654 else
49655 WXUNIV=0
49656 fi
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666 if test $wxUSE_MONOLITHIC = "yes" ; then
49667 MONOLITHIC=1
49668 else
49669 MONOLITHIC=0
49670 fi
49671
49672 if test $wxUSE_PLUGINS = "yes" ; then
49673 USE_PLUGINS=1
49674 else
49675 USE_PLUGINS=0
49676 fi
49677
49678 if test $wxUSE_ODBC != "no" ; then
49679 USE_ODBC=1
49680 else
49681 USE_ODBC=0
49682 fi
49683
49684 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49685 USE_QA=1
49686 else
49687 USE_QA=0
49688 fi
49689
49690 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49691 OFFICIAL_BUILD=1
49692 else
49693 OFFICIAL_BUILD=0
49694 fi
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49723
49724
49725
49726
49727
49728
49729
49730
49731 case "$TOOLKIT" in
49732 GTK)
49733 TOOLKIT_DESC="GTK+"
49734 if test "$WXGTK20" = 1; then
49735 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49736 if test "$wxUSE_GTKPRINT" = "yes" ; then
49737 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49738 fi
49739 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49740 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49741 fi
49742 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49743 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49744 fi
49745 if test "$wxUSE_LIBHILDON" = "yes"; then
49746 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49747 fi
49748
49749 if test "$TOOLKIT_EXTRA" != ""; then
49750 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49751 fi
49752 fi
49753 ;;
49754
49755 ?*)
49756 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49757 ;;
49758
49759 *)
49760 TOOLKIT_DESC="base only"
49761 ;;
49762 esac
49763
49764 if test "$wxUSE_WINE" = "yes"; then
49765 BAKEFILE_FORCE_PLATFORM=win32
49766 fi
49767
49768 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49769 then
49770 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49771 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49772 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49773 echo $ECHO_N "(cached) $ECHO_C" >&6
49774 else
49775
49776 echo '#include <stdio.h>
49777 const wchar_t test_var[] = L"awidetest";' > conftest.h
49778
49779 echo '#include "conftest.h"
49780 int main()
49781 {
49782 printf("%ls", test_var);
49783 return 0;
49784 }' > conftest.cpp
49785
49786 wx_cv_gcc_pch_bug="pch not supported"
49787
49788 if $CXX conftest.h >/dev/null 2>&1
49789 then
49790 wx_cv_gcc_pch_bug=
49791
49792 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49793 then
49794 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49795 grep awidetest >/dev/null
49796 then
49797 wx_cv_gcc_pch_bug=no
49798 else
49799 wx_cv_gcc_pch_bug=yes
49800 fi
49801 fi
49802 fi
49803
49804 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49805
49806 fi
49807 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49808 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49809
49810 if test "$wx_cv_gcc_pch_bug" = yes; then
49811 bk_use_pch=no
49812 fi
49813 fi
49814
49815
49816
49817
49818 if test "x$BAKEFILE_HOST" = "x"; then
49819 if test "x${host}" = "x" ; then
49820 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49821 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49822 { (exit 1); exit 1; }; }
49823 fi
49824
49825 BAKEFILE_HOST="${host}"
49826 fi
49827
49828 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49829
49830 if test -n "$ac_tool_prefix"; then
49831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49835 if test "${ac_cv_prog_RANLIB+set}" = set; then
49836 echo $ECHO_N "(cached) $ECHO_C" >&6
49837 else
49838 if test -n "$RANLIB"; then
49839 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49840 else
49841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49842 for as_dir in $PATH
49843 do
49844 IFS=$as_save_IFS
49845 test -z "$as_dir" && as_dir=.
49846 for ac_exec_ext in '' $ac_executable_extensions; do
49847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49850 break 2
49851 fi
49852 done
49853 done
49854 IFS=$as_save_IFS
49855
49856 fi
49857 fi
49858 RANLIB=$ac_cv_prog_RANLIB
49859 if test -n "$RANLIB"; then
49860 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49861 echo "${ECHO_T}$RANLIB" >&6; }
49862 else
49863 { echo "$as_me:$LINENO: result: no" >&5
49864 echo "${ECHO_T}no" >&6; }
49865 fi
49866
49867
49868 fi
49869 if test -z "$ac_cv_prog_RANLIB"; then
49870 ac_ct_RANLIB=$RANLIB
49871 # Extract the first word of "ranlib", so it can be a program name with args.
49872 set dummy ranlib; ac_word=$2
49873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49875 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test -n "$ac_ct_RANLIB"; then
49879 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49880 else
49881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49882 for as_dir in $PATH
49883 do
49884 IFS=$as_save_IFS
49885 test -z "$as_dir" && as_dir=.
49886 for ac_exec_ext in '' $ac_executable_extensions; do
49887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49888 ac_cv_prog_ac_ct_RANLIB="ranlib"
49889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 break 2
49891 fi
49892 done
49893 done
49894 IFS=$as_save_IFS
49895
49896 fi
49897 fi
49898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49899 if test -n "$ac_ct_RANLIB"; then
49900 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49901 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49902 else
49903 { echo "$as_me:$LINENO: result: no" >&5
49904 echo "${ECHO_T}no" >&6; }
49905 fi
49906
49907 if test "x$ac_ct_RANLIB" = x; then
49908 RANLIB=":"
49909 else
49910 case $cross_compiling:$ac_tool_warned in
49911 yes:)
49912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49913 whose name does not start with the host triplet. If you think this
49914 configuration is useful to you, please write to autoconf@gnu.org." >&5
49915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49916 whose name does not start with the host triplet. If you think this
49917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49918 ac_tool_warned=yes ;;
49919 esac
49920 RANLIB=$ac_ct_RANLIB
49921 fi
49922 else
49923 RANLIB="$ac_cv_prog_RANLIB"
49924 fi
49925
49926 # Find a good install program. We prefer a C program (faster),
49927 # so one script is as good as another. But avoid the broken or
49928 # incompatible versions:
49929 # SysV /etc/install, /usr/sbin/install
49930 # SunOS /usr/etc/install
49931 # IRIX /sbin/install
49932 # AIX /bin/install
49933 # AmigaOS /C/install, which installs bootblocks on floppy discs
49934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49937 # OS/2's system install, which has a completely different semantic
49938 # ./install, which can be erroneously created by make from ./install.sh.
49939 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49941 if test -z "$INSTALL"; then
49942 if test "${ac_cv_path_install+set}" = set; then
49943 echo $ECHO_N "(cached) $ECHO_C" >&6
49944 else
49945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49946 for as_dir in $PATH
49947 do
49948 IFS=$as_save_IFS
49949 test -z "$as_dir" && as_dir=.
49950 # Account for people who put trailing slashes in PATH elements.
49951 case $as_dir/ in
49952 ./ | .// | /cC/* | \
49953 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49954 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49955 /usr/ucb/* ) ;;
49956 *)
49957 # OSF1 and SCO ODT 3.0 have their own names for install.
49958 # Don't use installbsd from OSF since it installs stuff as root
49959 # by default.
49960 for ac_prog in ginstall scoinst install; do
49961 for ac_exec_ext in '' $ac_executable_extensions; do
49962 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49963 if test $ac_prog = install &&
49964 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49965 # AIX install. It has an incompatible calling convention.
49966 :
49967 elif test $ac_prog = install &&
49968 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49969 # program-specific install script used by HP pwplus--don't use.
49970 :
49971 else
49972 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49973 break 3
49974 fi
49975 fi
49976 done
49977 done
49978 ;;
49979 esac
49980 done
49981 IFS=$as_save_IFS
49982
49983
49984 fi
49985 if test "${ac_cv_path_install+set}" = set; then
49986 INSTALL=$ac_cv_path_install
49987 else
49988 # As a last resort, use the slow shell script. Don't cache a
49989 # value for INSTALL within a source directory, because that will
49990 # break other packages using the cache if that directory is
49991 # removed, or if the value is a relative name.
49992 INSTALL=$ac_install_sh
49993 fi
49994 fi
49995 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49996 echo "${ECHO_T}$INSTALL" >&6; }
49997
49998 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49999 # It thinks the first close brace ends the variable substitution.
50000 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50001
50002 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50003
50004 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50005
50006 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50007 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50008 LN_S=$as_ln_s
50009 if test "$LN_S" = "ln -s"; then
50010 { echo "$as_me:$LINENO: result: yes" >&5
50011 echo "${ECHO_T}yes" >&6; }
50012 else
50013 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50014 echo "${ECHO_T}no, using $LN_S" >&6; }
50015 fi
50016
50017
50018 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50019 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50020 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50021 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50022 echo $ECHO_N "(cached) $ECHO_C" >&6
50023 else
50024 cat >conftest.make <<\_ACEOF
50025 SHELL = /bin/sh
50026 all:
50027 @echo '@@@%%%=$(MAKE)=@@@%%%'
50028 _ACEOF
50029 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50030 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50031 *@@@%%%=?*=@@@%%%*)
50032 eval ac_cv_prog_make_${ac_make}_set=yes;;
50033 *)
50034 eval ac_cv_prog_make_${ac_make}_set=no;;
50035 esac
50036 rm -f conftest.make
50037 fi
50038 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50039 { echo "$as_me:$LINENO: result: yes" >&5
50040 echo "${ECHO_T}yes" >&6; }
50041 SET_MAKE=
50042 else
50043 { echo "$as_me:$LINENO: result: no" >&5
50044 echo "${ECHO_T}no" >&6; }
50045 SET_MAKE="MAKE=${MAKE-make}"
50046 fi
50047
50048
50049
50050 if test "x$SUNCXX" = "xyes"; then
50051 AR=$CXX
50052 AROPTIONS="-xar -o"
50053
50054 elif test "x$SGICC" = "xyes"; then
50055 AR=$CXX
50056 AROPTIONS="-ar -o"
50057
50058 else
50059 if test -n "$ac_tool_prefix"; then
50060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50061 set dummy ${ac_tool_prefix}ar; ac_word=$2
50062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50064 if test "${ac_cv_prog_AR+set}" = set; then
50065 echo $ECHO_N "(cached) $ECHO_C" >&6
50066 else
50067 if test -n "$AR"; then
50068 ac_cv_prog_AR="$AR" # Let the user override the test.
50069 else
50070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50071 for as_dir in $PATH
50072 do
50073 IFS=$as_save_IFS
50074 test -z "$as_dir" && as_dir=.
50075 for ac_exec_ext in '' $ac_executable_extensions; do
50076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50077 ac_cv_prog_AR="${ac_tool_prefix}ar"
50078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50079 break 2
50080 fi
50081 done
50082 done
50083 IFS=$as_save_IFS
50084
50085 fi
50086 fi
50087 AR=$ac_cv_prog_AR
50088 if test -n "$AR"; then
50089 { echo "$as_me:$LINENO: result: $AR" >&5
50090 echo "${ECHO_T}$AR" >&6; }
50091 else
50092 { echo "$as_me:$LINENO: result: no" >&5
50093 echo "${ECHO_T}no" >&6; }
50094 fi
50095
50096
50097 fi
50098 if test -z "$ac_cv_prog_AR"; then
50099 ac_ct_AR=$AR
50100 # Extract the first word of "ar", so it can be a program name with args.
50101 set dummy ar; ac_word=$2
50102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50104 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50105 echo $ECHO_N "(cached) $ECHO_C" >&6
50106 else
50107 if test -n "$ac_ct_AR"; then
50108 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50109 else
50110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50111 for as_dir in $PATH
50112 do
50113 IFS=$as_save_IFS
50114 test -z "$as_dir" && as_dir=.
50115 for ac_exec_ext in '' $ac_executable_extensions; do
50116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50117 ac_cv_prog_ac_ct_AR="ar"
50118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50119 break 2
50120 fi
50121 done
50122 done
50123 IFS=$as_save_IFS
50124
50125 fi
50126 fi
50127 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50128 if test -n "$ac_ct_AR"; then
50129 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50130 echo "${ECHO_T}$ac_ct_AR" >&6; }
50131 else
50132 { echo "$as_me:$LINENO: result: no" >&5
50133 echo "${ECHO_T}no" >&6; }
50134 fi
50135
50136 if test "x$ac_ct_AR" = x; then
50137 AR="ar"
50138 else
50139 case $cross_compiling:$ac_tool_warned in
50140 yes:)
50141 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50142 whose name does not start with the host triplet. If you think this
50143 configuration is useful to you, please write to autoconf@gnu.org." >&5
50144 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50145 whose name does not start with the host triplet. If you think this
50146 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50147 ac_tool_warned=yes ;;
50148 esac
50149 AR=$ac_ct_AR
50150 fi
50151 else
50152 AR="$ac_cv_prog_AR"
50153 fi
50154
50155 AROPTIONS=rcu
50156 fi
50157
50158
50159 if test -n "$ac_tool_prefix"; then
50160 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50161 set dummy ${ac_tool_prefix}strip; ac_word=$2
50162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50164 if test "${ac_cv_prog_STRIP+set}" = set; then
50165 echo $ECHO_N "(cached) $ECHO_C" >&6
50166 else
50167 if test -n "$STRIP"; then
50168 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50169 else
50170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50171 for as_dir in $PATH
50172 do
50173 IFS=$as_save_IFS
50174 test -z "$as_dir" && as_dir=.
50175 for ac_exec_ext in '' $ac_executable_extensions; do
50176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50177 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50179 break 2
50180 fi
50181 done
50182 done
50183 IFS=$as_save_IFS
50184
50185 fi
50186 fi
50187 STRIP=$ac_cv_prog_STRIP
50188 if test -n "$STRIP"; then
50189 { echo "$as_me:$LINENO: result: $STRIP" >&5
50190 echo "${ECHO_T}$STRIP" >&6; }
50191 else
50192 { echo "$as_me:$LINENO: result: no" >&5
50193 echo "${ECHO_T}no" >&6; }
50194 fi
50195
50196
50197 fi
50198 if test -z "$ac_cv_prog_STRIP"; then
50199 ac_ct_STRIP=$STRIP
50200 # Extract the first word of "strip", so it can be a program name with args.
50201 set dummy strip; ac_word=$2
50202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50204 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50205 echo $ECHO_N "(cached) $ECHO_C" >&6
50206 else
50207 if test -n "$ac_ct_STRIP"; then
50208 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50209 else
50210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50211 for as_dir in $PATH
50212 do
50213 IFS=$as_save_IFS
50214 test -z "$as_dir" && as_dir=.
50215 for ac_exec_ext in '' $ac_executable_extensions; do
50216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50217 ac_cv_prog_ac_ct_STRIP="strip"
50218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50219 break 2
50220 fi
50221 done
50222 done
50223 IFS=$as_save_IFS
50224
50225 fi
50226 fi
50227 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50228 if test -n "$ac_ct_STRIP"; then
50229 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50230 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50231 else
50232 { echo "$as_me:$LINENO: result: no" >&5
50233 echo "${ECHO_T}no" >&6; }
50234 fi
50235
50236 if test "x$ac_ct_STRIP" = x; then
50237 STRIP=":"
50238 else
50239 case $cross_compiling:$ac_tool_warned in
50240 yes:)
50241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50242 whose name does not start with the host triplet. If you think this
50243 configuration is useful to you, please write to autoconf@gnu.org." >&5
50244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50245 whose name does not start with the host triplet. If you think this
50246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50247 ac_tool_warned=yes ;;
50248 esac
50249 STRIP=$ac_ct_STRIP
50250 fi
50251 else
50252 STRIP="$ac_cv_prog_STRIP"
50253 fi
50254
50255 if test -n "$ac_tool_prefix"; then
50256 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50257 set dummy ${ac_tool_prefix}nm; ac_word=$2
50258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50260 if test "${ac_cv_prog_NM+set}" = set; then
50261 echo $ECHO_N "(cached) $ECHO_C" >&6
50262 else
50263 if test -n "$NM"; then
50264 ac_cv_prog_NM="$NM" # Let the user override the test.
50265 else
50266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50267 for as_dir in $PATH
50268 do
50269 IFS=$as_save_IFS
50270 test -z "$as_dir" && as_dir=.
50271 for ac_exec_ext in '' $ac_executable_extensions; do
50272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50273 ac_cv_prog_NM="${ac_tool_prefix}nm"
50274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50275 break 2
50276 fi
50277 done
50278 done
50279 IFS=$as_save_IFS
50280
50281 fi
50282 fi
50283 NM=$ac_cv_prog_NM
50284 if test -n "$NM"; then
50285 { echo "$as_me:$LINENO: result: $NM" >&5
50286 echo "${ECHO_T}$NM" >&6; }
50287 else
50288 { echo "$as_me:$LINENO: result: no" >&5
50289 echo "${ECHO_T}no" >&6; }
50290 fi
50291
50292
50293 fi
50294 if test -z "$ac_cv_prog_NM"; then
50295 ac_ct_NM=$NM
50296 # Extract the first word of "nm", so it can be a program name with args.
50297 set dummy nm; ac_word=$2
50298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50300 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50301 echo $ECHO_N "(cached) $ECHO_C" >&6
50302 else
50303 if test -n "$ac_ct_NM"; then
50304 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50305 else
50306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50307 for as_dir in $PATH
50308 do
50309 IFS=$as_save_IFS
50310 test -z "$as_dir" && as_dir=.
50311 for ac_exec_ext in '' $ac_executable_extensions; do
50312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50313 ac_cv_prog_ac_ct_NM="nm"
50314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50315 break 2
50316 fi
50317 done
50318 done
50319 IFS=$as_save_IFS
50320
50321 fi
50322 fi
50323 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50324 if test -n "$ac_ct_NM"; then
50325 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50326 echo "${ECHO_T}$ac_ct_NM" >&6; }
50327 else
50328 { echo "$as_me:$LINENO: result: no" >&5
50329 echo "${ECHO_T}no" >&6; }
50330 fi
50331
50332 if test "x$ac_ct_NM" = x; then
50333 NM=":"
50334 else
50335 case $cross_compiling:$ac_tool_warned in
50336 yes:)
50337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50338 whose name does not start with the host triplet. If you think this
50339 configuration is useful to you, please write to autoconf@gnu.org." >&5
50340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50341 whose name does not start with the host triplet. If you think this
50342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50343 ac_tool_warned=yes ;;
50344 esac
50345 NM=$ac_ct_NM
50346 fi
50347 else
50348 NM="$ac_cv_prog_NM"
50349 fi
50350
50351
50352 case ${BAKEFILE_HOST} in
50353 *-hp-hpux* )
50354 INSTALL_DIR="mkdir -p"
50355 ;;
50356 * )
50357 INSTALL_DIR='$(INSTALL) -d'
50358 ;;
50359 esac
50360
50361
50362 LDFLAGS_GUI=
50363 case ${BAKEFILE_HOST} in
50364 *-*-cygwin* | *-*-mingw32* )
50365 LDFLAGS_GUI="-mwindows"
50366 esac
50367
50368
50369 fi
50370
50371 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50372 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50373 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50374 echo $ECHO_N "(cached) $ECHO_C" >&6
50375 else
50376
50377 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50378 egrep -s GNU > /dev/null); then
50379 bakefile_cv_prog_makeisgnu="yes"
50380 else
50381 bakefile_cv_prog_makeisgnu="no"
50382 fi
50383
50384 fi
50385 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50386 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50387
50388 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50389 IF_GNU_MAKE=""
50390 else
50391 IF_GNU_MAKE="#"
50392 fi
50393
50394
50395
50396 PLATFORM_UNIX=0
50397 PLATFORM_WIN32=0
50398 PLATFORM_MSDOS=0
50399 PLATFORM_MAC=0
50400 PLATFORM_MACOS=0
50401 PLATFORM_MACOSX=0
50402 PLATFORM_OS2=0
50403 PLATFORM_BEOS=0
50404
50405 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50406 case "${BAKEFILE_HOST}" in
50407 *-*-mingw32* )
50408 PLATFORM_WIN32=1
50409 ;;
50410 *-pc-msdosdjgpp )
50411 PLATFORM_MSDOS=1
50412 ;;
50413 *-pc-os2_emx | *-pc-os2-emx )
50414 PLATFORM_OS2=1
50415 ;;
50416 *-*-darwin* )
50417 PLATFORM_MAC=1
50418 PLATFORM_MACOSX=1
50419 ;;
50420 *-*-beos* )
50421 PLATFORM_BEOS=1
50422 ;;
50423 powerpc-apple-macos* )
50424 PLATFORM_MAC=1
50425 PLATFORM_MACOS=1
50426 ;;
50427 * )
50428 PLATFORM_UNIX=1
50429 ;;
50430 esac
50431 else
50432 case "$BAKEFILE_FORCE_PLATFORM" in
50433 win32 )
50434 PLATFORM_WIN32=1
50435 ;;
50436 msdos )
50437 PLATFORM_MSDOS=1
50438 ;;
50439 os2 )
50440 PLATFORM_OS2=1
50441 ;;
50442 darwin )
50443 PLATFORM_MAC=1
50444 PLATFORM_MACOSX=1
50445 ;;
50446 unix )
50447 PLATFORM_UNIX=1
50448 ;;
50449 beos )
50450 PLATFORM_BEOS=1
50451 ;;
50452 * )
50453 ;;
50454 esac
50455 fi
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467 # Check whether --enable-omf was given.
50468 if test "${enable_omf+set}" = set; then
50469 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50470 fi
50471
50472
50473 case "${BAKEFILE_HOST}" in
50474 *-*-darwin* )
50475 if test "x$GCC" = "xyes"; then
50476 CFLAGS="$CFLAGS -fno-common"
50477 CXXFLAGS="$CXXFLAGS -fno-common"
50478 fi
50479 if test "x$XLCC" = "xyes"; then
50480 CFLAGS="$CFLAGS -qnocommon"
50481 CXXFLAGS="$CXXFLAGS -qnocommon"
50482 fi
50483 ;;
50484
50485 *-pc-os2_emx | *-pc-os2-emx )
50486 if test "x$bk_os2_use_omf" = "xyes" ; then
50487 AR=emxomfar
50488 RANLIB=:
50489 LDFLAGS="-Zomf $LDFLAGS"
50490 CFLAGS="-Zomf $CFLAGS"
50491 CXXFLAGS="-Zomf $CXXFLAGS"
50492 OS2_LIBEXT="lib"
50493 else
50494 OS2_LIBEXT="a"
50495 fi
50496 ;;
50497
50498 i*86-*-beos* )
50499 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50500 ;;
50501 esac
50502
50503
50504 SO_SUFFIX="so"
50505 SO_SUFFIX_MODULE="so"
50506 EXEEXT=""
50507 LIBPREFIX="lib"
50508 LIBEXT=".a"
50509 DLLPREFIX="lib"
50510 DLLPREFIX_MODULE=""
50511 DLLIMP_SUFFIX=""
50512 dlldir="$libdir"
50513
50514 case "${BAKEFILE_HOST}" in
50515 *-hp-hpux* )
50516 SO_SUFFIX="sl"
50517 SO_SUFFIX_MODULE="sl"
50518 ;;
50519 *-*-aix* )
50520 SO_SUFFIX="a"
50521 SO_SUFFIX_MODULE="a"
50522 ;;
50523 *-*-cygwin* )
50524 SO_SUFFIX="dll"
50525 SO_SUFFIX_MODULE="dll"
50526 DLLIMP_SUFFIX="dll.a"
50527 EXEEXT=".exe"
50528 DLLPREFIX="cyg"
50529 dlldir="$bindir"
50530 ;;
50531 *-*-mingw32* )
50532 SO_SUFFIX="dll"
50533 SO_SUFFIX_MODULE="dll"
50534 DLLIMP_SUFFIX="dll.a"
50535 EXEEXT=".exe"
50536 DLLPREFIX=""
50537 dlldir="$bindir"
50538 ;;
50539 *-pc-msdosdjgpp )
50540 EXEEXT=".exe"
50541 DLLPREFIX=""
50542 dlldir="$bindir"
50543 ;;
50544 *-pc-os2_emx | *-pc-os2-emx )
50545 SO_SUFFIX="dll"
50546 SO_SUFFIX_MODULE="dll"
50547 DLLIMP_SUFFIX=$OS2_LIBEXT
50548 EXEEXT=".exe"
50549 DLLPREFIX=""
50550 LIBPREFIX=""
50551 LIBEXT=".$OS2_LIBEXT"
50552 dlldir="$bindir"
50553 ;;
50554 *-*-darwin* )
50555 SO_SUFFIX="dylib"
50556 SO_SUFFIX_MODULE="bundle"
50557 ;;
50558 esac
50559
50560 if test "x$DLLIMP_SUFFIX" = "x" ; then
50561 DLLIMP_SUFFIX="$SO_SUFFIX"
50562 fi
50563
50564
50565
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575 PIC_FLAG=""
50576 if test "x$GCC" = "xyes"; then
50577 PIC_FLAG="-fPIC"
50578 fi
50579
50580 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50581 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50582 WINDOWS_IMPLIB=0
50583
50584 case "${BAKEFILE_HOST}" in
50585 *-hp-hpux* )
50586 if test "x$GCC" != "xyes"; then
50587 LDFLAGS="$LDFLAGS -L/usr/lib"
50588
50589 SHARED_LD_CC="${CC} -b -o"
50590 SHARED_LD_CXX="${CXX} -b -o"
50591 PIC_FLAG="+Z"
50592 fi
50593 ;;
50594
50595 *-*-linux* )
50596 if test "$INTELCC" = "yes"; then
50597 PIC_FLAG="-KPIC"
50598 elif test "x$SUNCXX" = "xyes"; then
50599 SHARED_LD_CC="${CC} -G -o"
50600 SHARED_LD_CXX="${CXX} -G -o"
50601 PIC_FLAG="-KPIC"
50602 fi
50603 ;;
50604
50605 *-*-solaris2* )
50606 if test "x$SUNCXX" = xyes ; then
50607 SHARED_LD_CC="${CC} -G -o"
50608 SHARED_LD_CXX="${CXX} -G -o"
50609 PIC_FLAG="-KPIC"
50610 fi
50611 ;;
50612
50613 *-*-darwin* )
50614
50615 D='$'
50616 cat <<EOF >shared-ld-sh
50617 #!/bin/sh
50618 #-----------------------------------------------------------------------------
50619 #-- Name: distrib/mac/shared-ld-sh
50620 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50621 #-- Author: Gilles Depeyrot
50622 #-- Copyright: (c) 2002 Gilles Depeyrot
50623 #-- Licence: any use permitted
50624 #-----------------------------------------------------------------------------
50625
50626 verbose=0
50627 args=""
50628 objects=""
50629 linking_flag="-dynamiclib"
50630 ldargs="-r -keep_private_externs -nostdlib"
50631
50632 while test ${D}# -gt 0; do
50633 case ${D}1 in
50634
50635 -v)
50636 verbose=1
50637 ;;
50638
50639 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50640 # collect these options and values
50641 args="${D}{args} ${D}1 ${D}2"
50642 shift
50643 ;;
50644
50645 -s|-Wl,*)
50646 # collect these load args
50647 ldargs="${D}{ldargs} ${D}1"
50648 ;;
50649
50650 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50651 # collect these options
50652 args="${D}{args} ${D}1"
50653 ;;
50654
50655 -dynamiclib|-bundle)
50656 linking_flag="${D}1"
50657 ;;
50658
50659 -*)
50660 echo "shared-ld: unhandled option '${D}1'"
50661 exit 1
50662 ;;
50663
50664 *.o | *.a | *.dylib)
50665 # collect object files
50666 objects="${D}{objects} ${D}1"
50667 ;;
50668
50669 *)
50670 echo "shared-ld: unhandled argument '${D}1'"
50671 exit 1
50672 ;;
50673
50674 esac
50675 shift
50676 done
50677
50678 status=0
50679
50680 #
50681 # Link one module containing all the others
50682 #
50683 if test ${D}{verbose} = 1; then
50684 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50685 fi
50686 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50687 status=${D}?
50688
50689 #
50690 # Link the shared library from the single module created, but only if the
50691 # previous command didn't fail:
50692 #
50693 if test ${D}{status} = 0; then
50694 if test ${D}{verbose} = 1; then
50695 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50696 fi
50697 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50698 status=${D}?
50699 fi
50700
50701 #
50702 # Remove intermediate module
50703 #
50704 rm -f master.${D}${D}.o
50705
50706 exit ${D}status
50707 EOF
50708
50709 chmod +x shared-ld-sh
50710
50711 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50712 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50713
50714
50715 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50716 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50717 if test "${bakefile_cv_gcc31+set}" = set; then
50718 echo $ECHO_N "(cached) $ECHO_C" >&6
50719 else
50720
50721 cat >conftest.$ac_ext <<_ACEOF
50722 /* confdefs.h. */
50723 _ACEOF
50724 cat confdefs.h >>conftest.$ac_ext
50725 cat >>conftest.$ac_ext <<_ACEOF
50726 /* end confdefs.h. */
50727
50728 int
50729 main ()
50730 {
50731
50732 #if (__GNUC__ < 3) || \
50733 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50734 This is old gcc
50735 #endif
50736
50737 ;
50738 return 0;
50739 }
50740 _ACEOF
50741 rm -f conftest.$ac_objext
50742 if { (ac_try="$ac_compile"
50743 case "(($ac_try" in
50744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50745 *) ac_try_echo=$ac_try;;
50746 esac
50747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50748 (eval "$ac_compile") 2>conftest.er1
50749 ac_status=$?
50750 grep -v '^ *+' conftest.er1 >conftest.err
50751 rm -f conftest.er1
50752 cat conftest.err >&5
50753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50754 (exit $ac_status); } && {
50755 test -z "$ac_c_werror_flag" ||
50756 test ! -s conftest.err
50757 } && test -s conftest.$ac_objext; then
50758
50759 bakefile_cv_gcc31=yes
50760
50761 else
50762 echo "$as_me: failed program was:" >&5
50763 sed 's/^/| /' conftest.$ac_ext >&5
50764
50765
50766 bakefile_cv_gcc31=no
50767
50768
50769 fi
50770
50771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50772
50773 fi
50774 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50775 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50776 if test "$bakefile_cv_gcc31" = "no"; then
50777 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50778 SHARED_LD_CXX="$SHARED_LD_CC"
50779 else
50780 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50781 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50782 fi
50783
50784 if test "x$GCC" == "xyes"; then
50785 PIC_FLAG="-dynamic -fPIC"
50786 fi
50787 if test "x$XLCC" = "xyes"; then
50788 PIC_FLAG="-dynamic -DPIC"
50789 fi
50790 ;;
50791
50792 *-*-aix* )
50793 if test "x$GCC" = "xyes"; then
50794 PIC_FLAG=""
50795
50796 case "${BAKEFILE_HOST}" in
50797 *-*-aix5* )
50798 LD_EXPFULL="-Wl,-bexpfull"
50799 ;;
50800 esac
50801
50802 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50803 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50804 else
50805 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50806 set dummy makeC++SharedLib; ac_word=$2
50807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50809 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50810 echo $ECHO_N "(cached) $ECHO_C" >&6
50811 else
50812 if test -n "$AIX_CXX_LD"; then
50813 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50814 else
50815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50816 for as_dir in $PATH
50817 do
50818 IFS=$as_save_IFS
50819 test -z "$as_dir" && as_dir=.
50820 for ac_exec_ext in '' $ac_executable_extensions; do
50821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50822 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50824 break 2
50825 fi
50826 done
50827 done
50828 IFS=$as_save_IFS
50829
50830 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50831 fi
50832 fi
50833 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50834 if test -n "$AIX_CXX_LD"; then
50835 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50836 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50837 else
50838 { echo "$as_me:$LINENO: result: no" >&5
50839 echo "${ECHO_T}no" >&6; }
50840 fi
50841
50842
50843 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50844 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50845 fi
50846 ;;
50847
50848 *-*-beos* )
50849 SHARED_LD_CC="${LD} -nostart -o"
50850 SHARED_LD_CXX="${LD} -nostart -o"
50851 ;;
50852
50853 *-*-irix* )
50854 if test "x$GCC" != "xyes"; then
50855 PIC_FLAG="-KPIC"
50856 fi
50857 ;;
50858
50859 *-*-cygwin* | *-*-mingw32* )
50860 PIC_FLAG=""
50861 SHARED_LD_CC="\$(CC) -shared -o"
50862 SHARED_LD_CXX="\$(CXX) -shared -o"
50863 WINDOWS_IMPLIB=1
50864 ;;
50865
50866 *-pc-os2_emx | *-pc-os2-emx )
50867 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50868 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50869 PIC_FLAG=""
50870
50871 D='$'
50872 cat <<EOF >dllar.sh
50873 #!/bin/sh
50874 #
50875 # dllar - a tool to build both a .dll and an .a file
50876 # from a set of object (.o) files for EMX/OS2.
50877 #
50878 # Written by Andrew Zabolotny, bit@freya.etu.ru
50879 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50880 #
50881 # This script will accept a set of files on the command line.
50882 # All the public symbols from the .o files will be exported into
50883 # a .DEF file, then linker will be run (through gcc) against them to
50884 # build a shared library consisting of all given .o files. All libraries
50885 # (.a) will be first decompressed into component .o files then act as
50886 # described above. You can optionally give a description (-d "description")
50887 # which will be put into .DLL. To see the list of accepted options (as well
50888 # as command-line format) simply run this program without options. The .DLL
50889 # is built to be imported by name (there is no guarantee that new versions
50890 # of the library you build will have same ordinals for same symbols).
50891 #
50892 # dllar is free software; you can redistribute it and/or modify
50893 # it under the terms of the GNU General Public License as published by
50894 # the Free Software Foundation; either version 2, or (at your option)
50895 # any later version.
50896 #
50897 # dllar is distributed in the hope that it will be useful,
50898 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50899 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50900 # GNU General Public License for more details.
50901 #
50902 # You should have received a copy of the GNU General Public License
50903 # along with dllar; see the file COPYING. If not, write to the Free
50904 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50905 # 02111-1307, USA.
50906
50907 # To successfuly run this program you will need:
50908 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50909 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50910 # - gcc
50911 # (used to build the .dll)
50912 # - emxexp
50913 # (used to create .def file from .o files)
50914 # - emximp
50915 # (used to create .a file from .def file)
50916 # - GNU text utilites (cat, sort, uniq)
50917 # used to process emxexp output
50918 # - GNU file utilities (mv, rm)
50919 # - GNU sed
50920 # - lxlite (optional, see flag below)
50921 # (used for general .dll cleanup)
50922 #
50923
50924 flag_USE_LXLITE=1;
50925
50926 #
50927 # helper functions
50928 # basnam, variant of basename, which does _not_ remove the path, _iff_
50929 # second argument (suffix to remove) is given
50930 basnam(){
50931 case ${D}# in
50932 1)
50933 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50934 ;;
50935 2)
50936 echo ${D}1 | sed 's/'${D}2'${D}//'
50937 ;;
50938 *)
50939 echo "error in basnam ${D}*"
50940 exit 8
50941 ;;
50942 esac
50943 }
50944
50945 # Cleanup temporary files and output
50946 CleanUp() {
50947 cd ${D}curDir
50948 for i in ${D}inputFiles ; do
50949 case ${D}i in
50950 *!)
50951 rm -rf \`basnam ${D}i !\`
50952 ;;
50953 *)
50954 ;;
50955 esac
50956 done
50957
50958 # Kill result in case of failure as there is just to many stupid make/nmake
50959 # things out there which doesn't do this.
50960 if [ ${D}# -eq 0 ]; then
50961 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50962 fi
50963 }
50964
50965 # Print usage and exit script with rc=1.
50966 PrintHelp() {
50967 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50968 echo ' [-name-mangler-script script.sh]'
50969 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50970 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50971 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50972 echo ' [*.o] [*.a]'
50973 echo '*> "output_file" should have no extension.'
50974 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50975 echo ' The import library name is derived from this and is set to "name".a,'
50976 echo ' unless overridden by -import'
50977 echo '*> "importlib_name" should have no extension.'
50978 echo ' If it has the .o, or .a extension, it is automatically removed.'
50979 echo ' This name is used as the import library name and may be longer and'
50980 echo ' more descriptive than the DLL name which has to follow the old '
50981 echo ' 8.3 convention of FAT.'
50982 echo '*> "script.sh may be given to override the output_file name by a'
50983 echo ' different name. It is mainly useful if the regular make process'
50984 echo ' of some package does not take into account OS/2 restriction of'
50985 echo ' DLL name lengths. It takes the importlib name as input and is'
50986 echo ' supposed to procude a shorter name as output. The script should'
50987 echo ' expect to get importlib_name without extension and should produce'
50988 echo ' a (max.) 8 letter name without extension.'
50989 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50990 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50991 echo ' These flags will be put at the start of GCC command line.'
50992 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50993 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50994 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50995 echo ' If the last character of a symbol is "*", all symbols beginning'
50996 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50997 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50998 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50999 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51000 echo ' C runtime DLLs.'
51001 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51002 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51003 echo ' unchanged to GCC at the end of command line.'
51004 echo '*> If you create a DLL from a library and you do not specify -o,'
51005 echo ' the basename for DLL and import library will be set to library name,'
51006 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51007 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51008 echo ' library will be renamed into gcc_s.a.'
51009 echo '--------'
51010 echo 'Example:'
51011 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51012 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51013 CleanUp
51014 exit 1
51015 }
51016
51017 # Execute a command.
51018 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51019 # @Uses Whatever CleanUp() uses.
51020 doCommand() {
51021 echo "${D}*"
51022 eval ${D}*
51023 rcCmd=${D}?
51024
51025 if [ ${D}rcCmd -ne 0 ]; then
51026 echo "command failed, exit code="${D}rcCmd
51027 CleanUp
51028 exit ${D}rcCmd
51029 fi
51030 }
51031
51032 # main routine
51033 # setup globals
51034 cmdLine=${D}*
51035 outFile=""
51036 outimpFile=""
51037 inputFiles=""
51038 renameScript=""
51039 description=""
51040 CC=gcc.exe
51041 CFLAGS="-s -Zcrtdll"
51042 EXTRA_CFLAGS=""
51043 EXPORT_BY_ORDINALS=0
51044 exclude_symbols=""
51045 library_flags=""
51046 curDir=\`pwd\`
51047 curDirS=curDir
51048 case ${D}curDirS in
51049 */)
51050 ;;
51051 *)
51052 curDirS=${D}{curDirS}"/"
51053 ;;
51054 esac
51055 # Parse commandline
51056 libsToLink=0
51057 omfLinking=0
51058 while [ ${D}1 ]; do
51059 case ${D}1 in
51060 -ord*)
51061 EXPORT_BY_ORDINALS=1;
51062 ;;
51063 -o*)
51064 shift
51065 outFile=${D}1
51066 ;;
51067 -i*)
51068 shift
51069 outimpFile=${D}1
51070 ;;
51071 -name-mangler-script)
51072 shift
51073 renameScript=${D}1
51074 ;;
51075 -d*)
51076 shift
51077 description=${D}1
51078 ;;
51079 -f*)
51080 shift
51081 CFLAGS=${D}1
51082 ;;
51083 -c*)
51084 shift
51085 CC=${D}1
51086 ;;
51087 -h*)
51088 PrintHelp
51089 ;;
51090 -ex*)
51091 shift
51092 exclude_symbols=${D}{exclude_symbols}${D}1" "
51093 ;;
51094 -libf*)
51095 shift
51096 library_flags=${D}{library_flags}${D}1" "
51097 ;;
51098 -nocrt*)
51099 CFLAGS="-s"
51100 ;;
51101 -nolxl*)
51102 flag_USE_LXLITE=0
51103 ;;
51104 -* | /*)
51105 case ${D}1 in
51106 -L* | -l*)
51107 libsToLink=1
51108 ;;
51109 -Zomf)
51110 omfLinking=1
51111 ;;
51112 *)
51113 ;;
51114 esac
51115 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51116 ;;
51117 *.dll)
51118 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51119 if [ ${D}omfLinking -eq 1 ]; then
51120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51121 else
51122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51123 fi
51124 ;;
51125 *)
51126 found=0;
51127 if [ ${D}libsToLink -ne 0 ]; then
51128 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51129 else
51130 for file in ${D}1 ; do
51131 if [ -f ${D}file ]; then
51132 inputFiles="${D}{inputFiles} ${D}file"
51133 found=1
51134 fi
51135 done
51136 if [ ${D}found -eq 0 ]; then
51137 echo "ERROR: No file(s) found: "${D}1
51138 exit 8
51139 fi
51140 fi
51141 ;;
51142 esac
51143 shift
51144 done # iterate cmdline words
51145
51146 #
51147 if [ -z "${D}inputFiles" ]; then
51148 echo "dllar: no input files"
51149 PrintHelp
51150 fi
51151
51152 # Now extract all .o files from .a files
51153 newInputFiles=""
51154 for file in ${D}inputFiles ; do
51155 case ${D}file in
51156 *.a | *.lib)
51157 case ${D}file in
51158 *.a)
51159 suffix=".a"
51160 AR="ar"
51161 ;;
51162 *.lib)
51163 suffix=".lib"
51164 AR="emxomfar"
51165 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51166 ;;
51167 *)
51168 ;;
51169 esac
51170 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51171 mkdir ${D}dirname
51172 if [ ${D}? -ne 0 ]; then
51173 echo "Failed to create subdirectory ./${D}dirname"
51174 CleanUp
51175 exit 8;
51176 fi
51177 # Append '!' to indicate archive
51178 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51179 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51180 cd ${D}curDir
51181 found=0;
51182 for subfile in ${D}dirname/*.o* ; do
51183 if [ -f ${D}subfile ]; then
51184 found=1
51185 if [ -s ${D}subfile ]; then
51186 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51187 newInputFiles="${D}newInputFiles ${D}subfile"
51188 fi
51189 fi
51190 done
51191 if [ ${D}found -eq 0 ]; then
51192 echo "WARNING: there are no files in archive \\'${D}file\\'"
51193 fi
51194 ;;
51195 *)
51196 newInputFiles="${D}{newInputFiles} ${D}file"
51197 ;;
51198 esac
51199 done
51200 inputFiles="${D}newInputFiles"
51201
51202 # Output filename(s).
51203 do_backup=0;
51204 if [ -z ${D}outFile ]; then
51205 do_backup=1;
51206 set outFile ${D}inputFiles; outFile=${D}2
51207 fi
51208
51209 # If it is an archive, remove the '!' and the '_%' suffixes
51210 case ${D}outFile in
51211 *_%!)
51212 outFile=\`basnam ${D}outFile _%!\`
51213 ;;
51214 *)
51215 ;;
51216 esac
51217 case ${D}outFile in
51218 *.dll)
51219 outFile=\`basnam ${D}outFile .dll\`
51220 ;;
51221 *.DLL)
51222 outFile=\`basnam ${D}outFile .DLL\`
51223 ;;
51224 *.o)
51225 outFile=\`basnam ${D}outFile .o\`
51226 ;;
51227 *.obj)
51228 outFile=\`basnam ${D}outFile .obj\`
51229 ;;
51230 *.a)
51231 outFile=\`basnam ${D}outFile .a\`
51232 ;;
51233 *.lib)
51234 outFile=\`basnam ${D}outFile .lib\`
51235 ;;
51236 *)
51237 ;;
51238 esac
51239 case ${D}outimpFile in
51240 *.a)
51241 outimpFile=\`basnam ${D}outimpFile .a\`
51242 ;;
51243 *.lib)
51244 outimpFile=\`basnam ${D}outimpFile .lib\`
51245 ;;
51246 *)
51247 ;;
51248 esac
51249 if [ -z ${D}outimpFile ]; then
51250 outimpFile=${D}outFile
51251 fi
51252 defFile="${D}{outFile}.def"
51253 arcFile="${D}{outimpFile}.a"
51254 arcFile2="${D}{outimpFile}.lib"
51255
51256 #create ${D}dllFile as something matching 8.3 restrictions,
51257 if [ -z ${D}renameScript ] ; then
51258 dllFile="${D}outFile"
51259 else
51260 dllFile=\`${D}renameScript ${D}outimpFile\`
51261 fi
51262
51263 if [ ${D}do_backup -ne 0 ] ; then
51264 if [ -f ${D}arcFile ] ; then
51265 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51266 fi
51267 if [ -f ${D}arcFile2 ] ; then
51268 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51269 fi
51270 fi
51271
51272 # Extract public symbols from all the object files.
51273 tmpdefFile=${D}{defFile}_%
51274 rm -f ${D}tmpdefFile
51275 for file in ${D}inputFiles ; do
51276 case ${D}file in
51277 *!)
51278 ;;
51279 *)
51280 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51281 ;;
51282 esac
51283 done
51284
51285 # Create the def file.
51286 rm -f ${D}defFile
51287 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51288 dllFile="${D}{dllFile}.dll"
51289 if [ ! -z ${D}description ]; then
51290 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51291 fi
51292 echo "EXPORTS" >> ${D}defFile
51293
51294 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51295 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51296
51297 # Checks if the export is ok or not.
51298 for word in ${D}exclude_symbols; do
51299 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51300 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51301 done
51302
51303
51304 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51305 sed "=" < ${D}tmpdefFile | \\
51306 sed '
51307 N
51308 : loop
51309 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51310 t loop
51311 ' > ${D}{tmpdefFile}%
51312 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51313 else
51314 rm -f ${D}{tmpdefFile}%
51315 fi
51316 cat ${D}tmpdefFile >> ${D}defFile
51317 rm -f ${D}tmpdefFile
51318
51319 # Do linking, create implib, and apply lxlite.
51320 gccCmdl="";
51321 for file in ${D}inputFiles ; do
51322 case ${D}file in
51323 *!)
51324 ;;
51325 *)
51326 gccCmdl="${D}gccCmdl ${D}file"
51327 ;;
51328 esac
51329 done
51330 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51331 touch "${D}{outFile}.dll"
51332
51333 doCommand "emximp -o ${D}arcFile ${D}defFile"
51334 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51335 add_flags="";
51336 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51337 add_flags="-ynd"
51338 fi
51339 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51340 fi
51341 doCommand "emxomf -s -l ${D}arcFile"
51342
51343 # Successful exit.
51344 CleanUp 1
51345 exit 0
51346 EOF
51347
51348 chmod +x dllar.sh
51349 ;;
51350
51351 powerpc-apple-macos* | \
51352 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51353 *-*-mirbsd* | \
51354 *-*-sunos4* | \
51355 *-*-osf* | \
51356 *-*-dgux5* | \
51357 *-*-sysv5* | \
51358 *-pc-msdosdjgpp )
51359 ;;
51360
51361 *)
51362 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51363 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51364 { (exit 1); exit 1; }; }
51365 esac
51366
51367 if test "x$PIC_FLAG" != "x" ; then
51368 PIC_FLAG="$PIC_FLAG -DPIC"
51369 fi
51370
51371 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51372 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51373 fi
51374 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51375 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51376 fi
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386 USE_SOVERSION=0
51387 USE_SOVERLINUX=0
51388 USE_SOVERSOLARIS=0
51389 USE_SOVERCYGWIN=0
51390 USE_SOSYMLINKS=0
51391 USE_MACVERSION=0
51392 SONAME_FLAG=
51393
51394 case "${BAKEFILE_HOST}" in
51395 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51396 if test "x$SUNCXX" = "xyes"; then
51397 SONAME_FLAG="-h "
51398 else
51399 SONAME_FLAG="-Wl,-soname,"
51400 fi
51401 USE_SOVERSION=1
51402 USE_SOVERLINUX=1
51403 USE_SOSYMLINKS=1
51404 ;;
51405
51406 *-*-solaris2* )
51407 SONAME_FLAG="-h "
51408 USE_SOVERSION=1
51409 USE_SOVERSOLARIS=1
51410 USE_SOSYMLINKS=1
51411 ;;
51412
51413 *-*-darwin* )
51414 USE_MACVERSION=1
51415 USE_SOVERSION=1
51416 USE_SOSYMLINKS=1
51417 ;;
51418
51419 *-*-cygwin* )
51420 USE_SOVERSION=1
51421 USE_SOVERCYGWIN=1
51422 ;;
51423 esac
51424
51425
51426
51427
51428
51429
51430
51431
51432
51433
51434 # Check whether --enable-dependency-tracking was given.
51435 if test "${enable_dependency_tracking+set}" = set; then
51436 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51437 fi
51438
51439
51440 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51441 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51442
51443 BK_DEPS=""
51444 if test "x$bk_use_trackdeps" = "xno" ; then
51445 DEPS_TRACKING=0
51446 { echo "$as_me:$LINENO: result: disabled" >&5
51447 echo "${ECHO_T}disabled" >&6; }
51448 else
51449 DEPS_TRACKING=1
51450
51451 if test "x$GCC" = "xyes"; then
51452 DEPSMODE=gcc
51453 case "${BAKEFILE_HOST}" in
51454 *-*-darwin* )
51455 DEPSFLAG="-no-cpp-precomp -MMD"
51456 ;;
51457 * )
51458 DEPSFLAG="-MMD"
51459 ;;
51460 esac
51461 { echo "$as_me:$LINENO: result: gcc" >&5
51462 echo "${ECHO_T}gcc" >&6; }
51463 elif test "x$MWCC" = "xyes"; then
51464 DEPSMODE=mwcc
51465 DEPSFLAG="-MM"
51466 { echo "$as_me:$LINENO: result: mwcc" >&5
51467 echo "${ECHO_T}mwcc" >&6; }
51468 elif test "x$SUNCC" = "xyes"; then
51469 DEPSMODE=unixcc
51470 DEPSFLAG="-xM1"
51471 { echo "$as_me:$LINENO: result: Sun cc" >&5
51472 echo "${ECHO_T}Sun cc" >&6; }
51473 elif test "x$SGICC" = "xyes"; then
51474 DEPSMODE=unixcc
51475 DEPSFLAG="-M"
51476 { echo "$as_me:$LINENO: result: SGI cc" >&5
51477 echo "${ECHO_T}SGI cc" >&6; }
51478 elif test "x$HPCC" = "xyes"; then
51479 DEPSMODE=unixcc
51480 DEPSFLAG="+make"
51481 { echo "$as_me:$LINENO: result: HP cc" >&5
51482 echo "${ECHO_T}HP cc" >&6; }
51483 elif test "x$COMPAQCC" = "xyes"; then
51484 DEPSMODE=gcc
51485 DEPSFLAG="-MD"
51486 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51487 echo "${ECHO_T}Compaq cc" >&6; }
51488 else
51489 DEPS_TRACKING=0
51490 { echo "$as_me:$LINENO: result: none" >&5
51491 echo "${ECHO_T}none" >&6; }
51492 fi
51493
51494 if test $DEPS_TRACKING = 1 ; then
51495
51496 D='$'
51497 cat <<EOF >bk-deps
51498 #!/bin/sh
51499
51500 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51501 # script. It is used to track C/C++ files dependencies in portable way.
51502 #
51503 # Permission is given to use this file in any way.
51504
51505 DEPSMODE=${DEPSMODE}
51506 DEPSDIR=.deps
51507 DEPSFLAG="${DEPSFLAG}"
51508
51509 mkdir -p ${D}DEPSDIR
51510
51511 if test ${D}DEPSMODE = gcc ; then
51512 ${D}* ${D}{DEPSFLAG}
51513 status=${D}?
51514 if test ${D}{status} != 0 ; then
51515 exit ${D}{status}
51516 fi
51517 # move created file to the location we want it in:
51518 while test ${D}# -gt 0; do
51519 case "${D}1" in
51520 -o )
51521 shift
51522 objfile=${D}1
51523 ;;
51524 -* )
51525 ;;
51526 * )
51527 srcfile=${D}1
51528 ;;
51529 esac
51530 shift
51531 done
51532 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51533 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51534 if test -f ${D}depfile ; then
51535 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51536 rm -f ${D}depfile
51537 else
51538 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51539 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51540 if test ! -f ${D}depfile ; then
51541 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51542 depfile="${D}objfile.d"
51543 fi
51544 if test -f ${D}depfile ; then
51545 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51546 rm -f ${D}depfile
51547 fi
51548 fi
51549 exit 0
51550 elif test ${D}DEPSMODE = mwcc ; then
51551 ${D}* || exit ${D}?
51552 # Run mwcc again with -MM and redirect into the dep file we want
51553 # NOTE: We can't use shift here because we need ${D}* to be valid
51554 prevarg=
51555 for arg in ${D}* ; do
51556 if test "${D}prevarg" = "-o"; then
51557 objfile=${D}arg
51558 else
51559 case "${D}arg" in
51560 -* )
51561 ;;
51562 * )
51563 srcfile=${D}arg
51564 ;;
51565 esac
51566 fi
51567 prevarg="${D}arg"
51568 done
51569 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51570 exit 0
51571 elif test ${D}DEPSMODE = unixcc; then
51572 ${D}* || exit ${D}?
51573 # Run compiler again with deps flag and redirect into the dep file.
51574 # It doesn't work if the '-o FILE' option is used, but without it the
51575 # dependency file will contain the wrong name for the object. So it is
51576 # removed from the command line, and the dep file is fixed with sed.
51577 cmd=""
51578 while test ${D}# -gt 0; do
51579 case "${D}1" in
51580 -o )
51581 shift
51582 objfile=${D}1
51583 ;;
51584 * )
51585 eval arg${D}#=\\${D}1
51586 cmd="${D}cmd \\${D}arg${D}#"
51587 ;;
51588 esac
51589 shift
51590 done
51591 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51592 exit 0
51593 else
51594 ${D}*
51595 exit ${D}?
51596 fi
51597 EOF
51598
51599 chmod +x bk-deps
51600 BK_DEPS="`pwd`/bk-deps"
51601 fi
51602 fi
51603
51604
51605
51606
51607
51608 case ${BAKEFILE_HOST} in
51609 *-*-cygwin* | *-*-mingw32* )
51610 if test -n "$ac_tool_prefix"; then
51611 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51612 set dummy ${ac_tool_prefix}windres; ac_word=$2
51613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51615 if test "${ac_cv_prog_WINDRES+set}" = set; then
51616 echo $ECHO_N "(cached) $ECHO_C" >&6
51617 else
51618 if test -n "$WINDRES"; then
51619 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51620 else
51621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51622 for as_dir in $PATH
51623 do
51624 IFS=$as_save_IFS
51625 test -z "$as_dir" && as_dir=.
51626 for ac_exec_ext in '' $ac_executable_extensions; do
51627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51628 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51630 break 2
51631 fi
51632 done
51633 done
51634 IFS=$as_save_IFS
51635
51636 fi
51637 fi
51638 WINDRES=$ac_cv_prog_WINDRES
51639 if test -n "$WINDRES"; then
51640 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51641 echo "${ECHO_T}$WINDRES" >&6; }
51642 else
51643 { echo "$as_me:$LINENO: result: no" >&5
51644 echo "${ECHO_T}no" >&6; }
51645 fi
51646
51647
51648 fi
51649 if test -z "$ac_cv_prog_WINDRES"; then
51650 ac_ct_WINDRES=$WINDRES
51651 # Extract the first word of "windres", so it can be a program name with args.
51652 set dummy windres; ac_word=$2
51653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51655 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51656 echo $ECHO_N "(cached) $ECHO_C" >&6
51657 else
51658 if test -n "$ac_ct_WINDRES"; then
51659 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51660 else
51661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51662 for as_dir in $PATH
51663 do
51664 IFS=$as_save_IFS
51665 test -z "$as_dir" && as_dir=.
51666 for ac_exec_ext in '' $ac_executable_extensions; do
51667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51668 ac_cv_prog_ac_ct_WINDRES="windres"
51669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51670 break 2
51671 fi
51672 done
51673 done
51674 IFS=$as_save_IFS
51675
51676 fi
51677 fi
51678 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51679 if test -n "$ac_ct_WINDRES"; then
51680 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51681 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51682 else
51683 { echo "$as_me:$LINENO: result: no" >&5
51684 echo "${ECHO_T}no" >&6; }
51685 fi
51686
51687 if test "x$ac_ct_WINDRES" = x; then
51688 WINDRES=""
51689 else
51690 case $cross_compiling:$ac_tool_warned in
51691 yes:)
51692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51693 whose name does not start with the host triplet. If you think this
51694 configuration is useful to you, please write to autoconf@gnu.org." >&5
51695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51696 whose name does not start with the host triplet. If you think this
51697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51698 ac_tool_warned=yes ;;
51699 esac
51700 WINDRES=$ac_ct_WINDRES
51701 fi
51702 else
51703 WINDRES="$ac_cv_prog_WINDRES"
51704 fi
51705
51706 ;;
51707
51708 *-*-darwin* | powerpc-apple-macos* )
51709 # Extract the first word of "Rez", so it can be a program name with args.
51710 set dummy Rez; ac_word=$2
51711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51713 if test "${ac_cv_prog_REZ+set}" = set; then
51714 echo $ECHO_N "(cached) $ECHO_C" >&6
51715 else
51716 if test -n "$REZ"; then
51717 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51718 else
51719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51720 for as_dir in $PATH
51721 do
51722 IFS=$as_save_IFS
51723 test -z "$as_dir" && as_dir=.
51724 for ac_exec_ext in '' $ac_executable_extensions; do
51725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51726 ac_cv_prog_REZ="Rez"
51727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51728 break 2
51729 fi
51730 done
51731 done
51732 IFS=$as_save_IFS
51733
51734 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51735 fi
51736 fi
51737 REZ=$ac_cv_prog_REZ
51738 if test -n "$REZ"; then
51739 { echo "$as_me:$LINENO: result: $REZ" >&5
51740 echo "${ECHO_T}$REZ" >&6; }
51741 else
51742 { echo "$as_me:$LINENO: result: no" >&5
51743 echo "${ECHO_T}no" >&6; }
51744 fi
51745
51746
51747 # Extract the first word of "SetFile", so it can be a program name with args.
51748 set dummy SetFile; ac_word=$2
51749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51751 if test "${ac_cv_prog_SETFILE+set}" = set; then
51752 echo $ECHO_N "(cached) $ECHO_C" >&6
51753 else
51754 if test -n "$SETFILE"; then
51755 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51756 else
51757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51758 for as_dir in $PATH
51759 do
51760 IFS=$as_save_IFS
51761 test -z "$as_dir" && as_dir=.
51762 for ac_exec_ext in '' $ac_executable_extensions; do
51763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51764 ac_cv_prog_SETFILE="SetFile"
51765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51766 break 2
51767 fi
51768 done
51769 done
51770 IFS=$as_save_IFS
51771
51772 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51773 fi
51774 fi
51775 SETFILE=$ac_cv_prog_SETFILE
51776 if test -n "$SETFILE"; then
51777 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51778 echo "${ECHO_T}$SETFILE" >&6; }
51779 else
51780 { echo "$as_me:$LINENO: result: no" >&5
51781 echo "${ECHO_T}no" >&6; }
51782 fi
51783
51784
51785 ;;
51786 esac
51787
51788
51789
51790
51791
51792
51793 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51794
51795
51796 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51797
51798
51799
51800 # Check whether --enable-precomp-headers was given.
51801 if test "${enable_precomp_headers+set}" = set; then
51802 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51803 fi
51804
51805
51806 GCC_PCH=0
51807 ICC_PCH=0
51808 USE_PCH=0
51809 BK_MAKE_PCH=""
51810
51811 case ${BAKEFILE_HOST} in
51812 *-*-cygwin* )
51813 bk_use_pch="no"
51814 ;;
51815 esac
51816
51817 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51818 if test "x$GCC" = "xyes"; then
51819 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51820 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51821 cat >conftest.$ac_ext <<_ACEOF
51822 /* confdefs.h. */
51823 _ACEOF
51824 cat confdefs.h >>conftest.$ac_ext
51825 cat >>conftest.$ac_ext <<_ACEOF
51826 /* end confdefs.h. */
51827
51828 int
51829 main ()
51830 {
51831
51832 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51833 There is no PCH support
51834 #endif
51835 #if (__GNUC__ < 3)
51836 There is no PCH support
51837 #endif
51838 #if (__GNUC__ == 3) && \
51839 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51840 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51841 ( defined(__INTEL_COMPILER) )
51842 There is no PCH support
51843 #endif
51844
51845 ;
51846 return 0;
51847 }
51848 _ACEOF
51849 rm -f conftest.$ac_objext
51850 if { (ac_try="$ac_compile"
51851 case "(($ac_try" in
51852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51853 *) ac_try_echo=$ac_try;;
51854 esac
51855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51856 (eval "$ac_compile") 2>conftest.er1
51857 ac_status=$?
51858 grep -v '^ *+' conftest.er1 >conftest.err
51859 rm -f conftest.er1
51860 cat conftest.err >&5
51861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51862 (exit $ac_status); } && {
51863 test -z "$ac_c_werror_flag" ||
51864 test ! -s conftest.err
51865 } && test -s conftest.$ac_objext; then
51866
51867 { echo "$as_me:$LINENO: result: yes" >&5
51868 echo "${ECHO_T}yes" >&6; }
51869 GCC_PCH=1
51870
51871 else
51872 echo "$as_me: failed program was:" >&5
51873 sed 's/^/| /' conftest.$ac_ext >&5
51874
51875
51876 cat >conftest.$ac_ext <<_ACEOF
51877 /* confdefs.h. */
51878 _ACEOF
51879 cat confdefs.h >>conftest.$ac_ext
51880 cat >>conftest.$ac_ext <<_ACEOF
51881 /* end confdefs.h. */
51882
51883 int
51884 main ()
51885 {
51886
51887 #if !defined(__INTEL_COMPILER) || \
51888 (__INTEL_COMPILER < 800)
51889 There is no PCH support
51890 #endif
51891
51892 ;
51893 return 0;
51894 }
51895 _ACEOF
51896 rm -f conftest.$ac_objext
51897 if { (ac_try="$ac_compile"
51898 case "(($ac_try" in
51899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51900 *) ac_try_echo=$ac_try;;
51901 esac
51902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51903 (eval "$ac_compile") 2>conftest.er1
51904 ac_status=$?
51905 grep -v '^ *+' conftest.er1 >conftest.err
51906 rm -f conftest.er1
51907 cat conftest.err >&5
51908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51909 (exit $ac_status); } && {
51910 test -z "$ac_c_werror_flag" ||
51911 test ! -s conftest.err
51912 } && test -s conftest.$ac_objext; then
51913
51914 { echo "$as_me:$LINENO: result: yes" >&5
51915 echo "${ECHO_T}yes" >&6; }
51916 ICC_PCH=1
51917
51918 else
51919 echo "$as_me: failed program was:" >&5
51920 sed 's/^/| /' conftest.$ac_ext >&5
51921
51922
51923 { echo "$as_me:$LINENO: result: no" >&5
51924 echo "${ECHO_T}no" >&6; }
51925
51926 fi
51927
51928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51929
51930 fi
51931
51932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51933 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51934 USE_PCH=1
51935
51936 D='$'
51937 cat <<EOF >bk-make-pch
51938 #!/bin/sh
51939
51940 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51941 # script. It is used to generated precompiled headers.
51942 #
51943 # Permission is given to use this file in any way.
51944
51945 outfile="${D}{1}"
51946 header="${D}{2}"
51947 shift
51948 shift
51949
51950 compiler=""
51951 headerfile=""
51952
51953 while test ${D}{#} -gt 0; do
51954 add_to_cmdline=1
51955 case "${D}{1}" in
51956 -I* )
51957 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51958 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51959 headerfile="${D}{incdir}/${D}{header}"
51960 fi
51961 ;;
51962 -use-pch|-use_pch )
51963 shift
51964 add_to_cmdline=0
51965 ;;
51966 esac
51967 if test ${D}add_to_cmdline = 1 ; then
51968 compiler="${D}{compiler} ${D}{1}"
51969 fi
51970 shift
51971 done
51972
51973 if test "x${D}{headerfile}" = "x" ; then
51974 echo "error: can't find header ${D}{header} in include paths" >&2
51975 else
51976 if test -f ${D}{outfile} ; then
51977 rm -f ${D}{outfile}
51978 else
51979 mkdir -p \`dirname ${D}{outfile}\`
51980 fi
51981 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51982 mkdir -p .deps
51983 if test "x${GCC_PCH}" = "x1" ; then
51984 # can do this because gcc is >= 3.4:
51985 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51986 elif test "x${ICC_PCH}" = "x1" ; then
51987 filename=pch_gen-${D}${D}
51988 file=${D}{filename}.c
51989 dfile=${D}{filename}.d
51990 cat > ${D}file <<EOT
51991 #include "${D}header"
51992 EOT
51993 # using -MF icc complains about differing command lines in creation/use
51994 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51995 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51996 rm -f ${D}file ${D}dfile ${D}{filename}.o
51997 fi
51998 exit ${D}{?}
51999 fi
52000 EOF
52001
52002 chmod +x bk-make-pch
52003 BK_MAKE_PCH="`pwd`/bk-make-pch"
52004 fi
52005 fi
52006 fi
52007
52008
52009
52010
52011
52012 COND_BUILD_DEBUG="#"
52013 if test "x$BUILD" = "xdebug" ; then
52014 COND_BUILD_DEBUG=""
52015 fi
52016
52017 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52018 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52019 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52020 fi
52021
52022 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52023 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52024 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52025 fi
52026
52027 COND_BUILD_DEBUG_UNICODE_0="#"
52028 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52029 COND_BUILD_DEBUG_UNICODE_0=""
52030 fi
52031
52032 COND_BUILD_DEBUG_UNICODE_1="#"
52033 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52034 COND_BUILD_DEBUG_UNICODE_1=""
52035 fi
52036
52037 COND_BUILD_RELEASE="#"
52038 if test "x$BUILD" = "xrelease" ; then
52039 COND_BUILD_RELEASE=""
52040 fi
52041
52042 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52043 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52044 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52045 fi
52046
52047 COND_BUILD_RELEASE_UNICODE_0="#"
52048 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52049 COND_BUILD_RELEASE_UNICODE_0=""
52050 fi
52051
52052 COND_BUILD_RELEASE_UNICODE_1="#"
52053 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52054 COND_BUILD_RELEASE_UNICODE_1=""
52055 fi
52056
52057 COND_DEBUG_FLAG_1="#"
52058 if test "x$DEBUG_FLAG" = "x1" ; then
52059 COND_DEBUG_FLAG_1=""
52060 fi
52061
52062 COND_DEBUG_INFO_0="#"
52063 if test "x$DEBUG_INFO" = "x0" ; then
52064 COND_DEBUG_INFO_0=""
52065 fi
52066
52067 COND_DEBUG_INFO_1="#"
52068 if test "x$DEBUG_INFO" = "x1" ; then
52069 COND_DEBUG_INFO_1=""
52070 fi
52071
52072 COND_DEPS_TRACKING_0="#"
52073 if test "x$DEPS_TRACKING" = "x0" ; then
52074 COND_DEPS_TRACKING_0=""
52075 fi
52076
52077 COND_DEPS_TRACKING_1="#"
52078 if test "x$DEPS_TRACKING" = "x1" ; then
52079 COND_DEPS_TRACKING_1=""
52080 fi
52081
52082 COND_GCC_PCH_1="#"
52083 if test "x$GCC_PCH" = "x1" ; then
52084 COND_GCC_PCH_1=""
52085 fi
52086
52087 COND_ICC_PCH_1="#"
52088 if test "x$ICC_PCH" = "x1" ; then
52089 COND_ICC_PCH_1=""
52090 fi
52091
52092 COND_MONOLITHIC_0="#"
52093 if test "x$MONOLITHIC" = "x0" ; then
52094 COND_MONOLITHIC_0=""
52095 fi
52096
52097 COND_MONOLITHIC_0_SHARED_0="#"
52098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52099 COND_MONOLITHIC_0_SHARED_0=""
52100 fi
52101
52102 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52104 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52105 fi
52106
52107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52110 fi
52111
52112 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52114 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52115 fi
52116
52117 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52119 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52120 fi
52121
52122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52124 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52125 fi
52126
52127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52128 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52129 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52130 fi
52131
52132 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52133 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52134 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52135 fi
52136
52137 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52138 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52139 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52140 fi
52141
52142 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52144 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52145 fi
52146
52147 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52149 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52150 fi
52151
52152 COND_MONOLITHIC_0_SHARED_1="#"
52153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52154 COND_MONOLITHIC_0_SHARED_1=""
52155 fi
52156
52157 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52159 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52160 fi
52161
52162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52164 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52165 fi
52166
52167 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52169 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52170 fi
52171
52172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52173 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52174 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52175 fi
52176
52177 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52178 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52179 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52180 fi
52181
52182 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52183 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52184 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52185 fi
52186
52187 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52188 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52189 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52190 fi
52191
52192 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52193 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52194 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52195 fi
52196
52197 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52199 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52200 fi
52201
52202 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52204 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52205 fi
52206
52207 COND_MONOLITHIC_0_USE_AUI_1="#"
52208 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52209 COND_MONOLITHIC_0_USE_AUI_1=""
52210 fi
52211
52212 COND_MONOLITHIC_0_USE_GUI_1="#"
52213 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52214 COND_MONOLITHIC_0_USE_GUI_1=""
52215 fi
52216
52217 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52218 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52219 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52220 fi
52221
52222 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52223 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52224 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52225 fi
52226
52227 COND_MONOLITHIC_0_USE_HTML_1="#"
52228 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52229 COND_MONOLITHIC_0_USE_HTML_1=""
52230 fi
52231
52232 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52233 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52234 COND_MONOLITHIC_0_USE_MEDIA_1=""
52235 fi
52236
52237 COND_MONOLITHIC_0_USE_ODBC_1="#"
52238 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52239 COND_MONOLITHIC_0_USE_ODBC_1=""
52240 fi
52241
52242 COND_MONOLITHIC_0_USE_QA_1="#"
52243 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52244 COND_MONOLITHIC_0_USE_QA_1=""
52245 fi
52246
52247 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52248 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52249 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52250 fi
52251
52252 COND_MONOLITHIC_0_USE_STC_1="#"
52253 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52254 COND_MONOLITHIC_0_USE_STC_1=""
52255 fi
52256
52257 COND_MONOLITHIC_0_USE_XRC_1="#"
52258 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52259 COND_MONOLITHIC_0_USE_XRC_1=""
52260 fi
52261
52262 COND_MONOLITHIC_1="#"
52263 if test "x$MONOLITHIC" = "x1" ; then
52264 COND_MONOLITHIC_1=""
52265 fi
52266
52267 COND_MONOLITHIC_1_SHARED_0="#"
52268 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52269 COND_MONOLITHIC_1_SHARED_0=""
52270 fi
52271
52272 COND_MONOLITHIC_1_SHARED_1="#"
52273 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52274 COND_MONOLITHIC_1_SHARED_1=""
52275 fi
52276
52277 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52278 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52279 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52280 fi
52281
52282 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52283 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52284 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52285 fi
52286
52287 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52288 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52289 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52290 fi
52291
52292 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52293 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52294 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52295 fi
52296
52297 COND_PLATFORM_MACOSX_1="#"
52298 if test "x$PLATFORM_MACOSX" = "x1" ; then
52299 COND_PLATFORM_MACOSX_1=""
52300 fi
52301
52302 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52303 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52304 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52305 fi
52306
52307 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52308 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52309 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52310 fi
52311
52312 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52313 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52314 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52315 fi
52316
52317 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52318 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52319 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52320 fi
52321
52322 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52323 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52324 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52325 fi
52326
52327 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52328 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52329 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52330 fi
52331
52332 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52333 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52334 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52335 fi
52336
52337 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52338 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52339 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52340 fi
52341
52342 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52343 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52344 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52345 fi
52346
52347 COND_PLATFORM_MACOS_1="#"
52348 if test "x$PLATFORM_MACOS" = "x1" ; then
52349 COND_PLATFORM_MACOS_1=""
52350 fi
52351
52352 COND_PLATFORM_MAC_1="#"
52353 if test "x$PLATFORM_MAC" = "x1" ; then
52354 COND_PLATFORM_MAC_1=""
52355 fi
52356
52357 COND_PLATFORM_MSDOS_0="#"
52358 if test "x$PLATFORM_MSDOS" = "x0" ; then
52359 COND_PLATFORM_MSDOS_0=""
52360 fi
52361
52362 COND_PLATFORM_MSDOS_1="#"
52363 if test "x$PLATFORM_MSDOS" = "x1" ; then
52364 COND_PLATFORM_MSDOS_1=""
52365 fi
52366
52367 COND_PLATFORM_OS2_1="#"
52368 if test "x$PLATFORM_OS2" = "x1" ; then
52369 COND_PLATFORM_OS2_1=""
52370 fi
52371
52372 COND_PLATFORM_UNIX_0="#"
52373 if test "x$PLATFORM_UNIX" = "x0" ; then
52374 COND_PLATFORM_UNIX_0=""
52375 fi
52376
52377 COND_PLATFORM_UNIX_1="#"
52378 if test "x$PLATFORM_UNIX" = "x1" ; then
52379 COND_PLATFORM_UNIX_1=""
52380 fi
52381
52382 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52383 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52384 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52385 fi
52386
52387 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52388 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52389 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52390 fi
52391
52392 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52393 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52394 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52395 fi
52396
52397 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52398 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52399 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52400 fi
52401
52402 COND_PLATFORM_WIN32_0="#"
52403 if test "x$PLATFORM_WIN32" = "x0" ; then
52404 COND_PLATFORM_WIN32_0=""
52405 fi
52406
52407 COND_PLATFORM_WIN32_1="#"
52408 if test "x$PLATFORM_WIN32" = "x1" ; then
52409 COND_PLATFORM_WIN32_1=""
52410 fi
52411
52412 COND_SHARED_0="#"
52413 if test "x$SHARED" = "x0" ; then
52414 COND_SHARED_0=""
52415 fi
52416
52417 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52418 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52419 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52420 fi
52421
52422 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52423 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52424 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52425 fi
52426
52427 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52428 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52429 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52430 fi
52431
52432 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52433 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52434 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52435 fi
52436
52437 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52438 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52439 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52440 fi
52441
52442 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52443 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52444 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52445 fi
52446
52447 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52448 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52449 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52450 fi
52451
52452 COND_SHARED_0_USE_STC_1="#"
52453 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52454 COND_SHARED_0_USE_STC_1=""
52455 fi
52456
52457 COND_SHARED_0_USE_XRC_1="#"
52458 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52459 COND_SHARED_0_USE_XRC_1=""
52460 fi
52461
52462 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52463 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52464 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52465 fi
52466
52467 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52468 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52469 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52470 fi
52471
52472 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52473 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52474 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52475 fi
52476
52477 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52478 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52479 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52480 fi
52481
52482 COND_SHARED_1="#"
52483 if test "x$SHARED" = "x1" ; then
52484 COND_SHARED_1=""
52485 fi
52486
52487 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52488 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52489 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52490 fi
52491
52492 COND_SHARED_1_USE_XRC_1="#"
52493 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52494 COND_SHARED_1_USE_XRC_1=""
52495 fi
52496
52497 COND_TOOLKIT_="#"
52498 if test "x$TOOLKIT" = "x" ; then
52499 COND_TOOLKIT_=""
52500 fi
52501
52502 COND_TOOLKIT_COCOA="#"
52503 if test "x$TOOLKIT" = "xCOCOA" ; then
52504 COND_TOOLKIT_COCOA=""
52505 fi
52506
52507 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52508 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52509 COND_TOOLKIT_COCOA_USE_GUI_1=""
52510 fi
52511
52512 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52513 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52514 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52515 fi
52516
52517 COND_TOOLKIT_DFB="#"
52518 if test "x$TOOLKIT" = "xDFB" ; then
52519 COND_TOOLKIT_DFB=""
52520 fi
52521
52522 COND_TOOLKIT_DFB_USE_GUI_1="#"
52523 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52524 COND_TOOLKIT_DFB_USE_GUI_1=""
52525 fi
52526
52527 COND_TOOLKIT_GTK="#"
52528 if test "x$TOOLKIT" = "xGTK" ; then
52529 COND_TOOLKIT_GTK=""
52530 fi
52531
52532 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52533 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52534 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52535 fi
52536
52537 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52538 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52539 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52540 fi
52541
52542 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52543 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52544 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52545 fi
52546
52547 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52548 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52549 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52550 fi
52551
52552 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52553 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52554 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52555 fi
52556
52557 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52558 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52559 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52560 fi
52561
52562 COND_TOOLKIT_GTK_USE_GUI_1="#"
52563 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52564 COND_TOOLKIT_GTK_USE_GUI_1=""
52565 fi
52566
52567 COND_TOOLKIT_MAC="#"
52568 if test "x$TOOLKIT" = "xMAC" ; then
52569 COND_TOOLKIT_MAC=""
52570 fi
52571
52572 COND_TOOLKIT_MAC_USE_GUI_1="#"
52573 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52574 COND_TOOLKIT_MAC_USE_GUI_1=""
52575 fi
52576
52577 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52578 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52579 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52580 fi
52581
52582 COND_TOOLKIT_MGL="#"
52583 if test "x$TOOLKIT" = "xMGL" ; then
52584 COND_TOOLKIT_MGL=""
52585 fi
52586
52587 COND_TOOLKIT_MGL_USE_GUI_1="#"
52588 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52589 COND_TOOLKIT_MGL_USE_GUI_1=""
52590 fi
52591
52592 COND_TOOLKIT_MOTIF="#"
52593 if test "x$TOOLKIT" = "xMOTIF" ; then
52594 COND_TOOLKIT_MOTIF=""
52595 fi
52596
52597 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52598 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52599 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52600 fi
52601
52602 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52603 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52604 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52605 fi
52606
52607 COND_TOOLKIT_MSW="#"
52608 if test "x$TOOLKIT" = "xMSW" ; then
52609 COND_TOOLKIT_MSW=""
52610 fi
52611
52612 COND_TOOLKIT_MSW_USE_GUI_1="#"
52613 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52614 COND_TOOLKIT_MSW_USE_GUI_1=""
52615 fi
52616
52617 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52618 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52619 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52620 fi
52621
52622 COND_TOOLKIT_MSW_WXUNIV_0="#"
52623 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52624 COND_TOOLKIT_MSW_WXUNIV_0=""
52625 fi
52626
52627 COND_TOOLKIT_PM="#"
52628 if test "x$TOOLKIT" = "xPM" ; then
52629 COND_TOOLKIT_PM=""
52630 fi
52631
52632 COND_TOOLKIT_PM_USE_GUI_1="#"
52633 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52634 COND_TOOLKIT_PM_USE_GUI_1=""
52635 fi
52636
52637 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52638 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52639 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52640 fi
52641
52642 COND_TOOLKIT_WINCE="#"
52643 if test "x$TOOLKIT" = "xWINCE" ; then
52644 COND_TOOLKIT_WINCE=""
52645 fi
52646
52647 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52648 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52649 COND_TOOLKIT_WINCE_USE_GUI_1=""
52650 fi
52651
52652 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52653 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52654 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52655 fi
52656
52657 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52658 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52659 COND_TOOLKIT_WINCE_WXUNIV_0=""
52660 fi
52661
52662 COND_TOOLKIT_X11="#"
52663 if test "x$TOOLKIT" = "xX11" ; then
52664 COND_TOOLKIT_X11=""
52665 fi
52666
52667 COND_TOOLKIT_X11_USE_GUI_1="#"
52668 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52669 COND_TOOLKIT_X11_USE_GUI_1=""
52670 fi
52671
52672 COND_UNICODE_1="#"
52673 if test "x$UNICODE" = "x1" ; then
52674 COND_UNICODE_1=""
52675 fi
52676
52677 COND_USE_EXCEPTIONS_0="#"
52678 if test "x$USE_EXCEPTIONS" = "x0" ; then
52679 COND_USE_EXCEPTIONS_0=""
52680 fi
52681
52682 COND_USE_EXCEPTIONS_1="#"
52683 if test "x$USE_EXCEPTIONS" = "x1" ; then
52684 COND_USE_EXCEPTIONS_1=""
52685 fi
52686
52687 COND_USE_GUI_0="#"
52688 if test "x$USE_GUI" = "x0" ; then
52689 COND_USE_GUI_0=""
52690 fi
52691
52692 COND_USE_GUI_1="#"
52693 if test "x$USE_GUI" = "x1" ; then
52694 COND_USE_GUI_1=""
52695 fi
52696
52697 COND_USE_GUI_1_USE_OPENGL_1="#"
52698 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52699 COND_USE_GUI_1_USE_OPENGL_1=""
52700 fi
52701
52702 COND_USE_GUI_1_WXUNIV_0="#"
52703 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52704 COND_USE_GUI_1_WXUNIV_0=""
52705 fi
52706
52707 COND_USE_GUI_1_WXUNIV_1="#"
52708 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52709 COND_USE_GUI_1_WXUNIV_1=""
52710 fi
52711
52712 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52713 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52714 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52715 fi
52716
52717 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52718 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52719 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52720 fi
52721
52722 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52723 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52724 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52725 fi
52726
52727 COND_USE_ODBC_1="#"
52728 if test "x$USE_ODBC" = "x1" ; then
52729 COND_USE_ODBC_1=""
52730 fi
52731
52732 COND_USE_OPENGL_1="#"
52733 if test "x$USE_OPENGL" = "x1" ; then
52734 COND_USE_OPENGL_1=""
52735 fi
52736
52737 COND_USE_PCH_1="#"
52738 if test "x$USE_PCH" = "x1" ; then
52739 COND_USE_PCH_1=""
52740 fi
52741
52742 COND_USE_PLUGINS_0="#"
52743 if test "x$USE_PLUGINS" = "x0" ; then
52744 COND_USE_PLUGINS_0=""
52745 fi
52746
52747 COND_USE_RTTI_0="#"
52748 if test "x$USE_RTTI" = "x0" ; then
52749 COND_USE_RTTI_0=""
52750 fi
52751
52752 COND_USE_RTTI_1="#"
52753 if test "x$USE_RTTI" = "x1" ; then
52754 COND_USE_RTTI_1=""
52755 fi
52756
52757 COND_USE_SOSYMLINKS_1="#"
52758 if test "x$USE_SOSYMLINKS" = "x1" ; then
52759 COND_USE_SOSYMLINKS_1=""
52760 fi
52761
52762 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52763 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52764 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52765 fi
52766
52767 COND_USE_SOVERLINUX_1="#"
52768 if test "x$USE_SOVERLINUX" = "x1" ; then
52769 COND_USE_SOVERLINUX_1=""
52770 fi
52771
52772 COND_USE_SOVERSION_0="#"
52773 if test "x$USE_SOVERSION" = "x0" ; then
52774 COND_USE_SOVERSION_0=""
52775 fi
52776
52777 COND_USE_SOVERSOLARIS_1="#"
52778 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52779 COND_USE_SOVERSOLARIS_1=""
52780 fi
52781
52782 COND_USE_STC_1="#"
52783 if test "x$USE_STC" = "x1" ; then
52784 COND_USE_STC_1=""
52785 fi
52786
52787 COND_USE_THREADS_0="#"
52788 if test "x$USE_THREADS" = "x0" ; then
52789 COND_USE_THREADS_0=""
52790 fi
52791
52792 COND_USE_THREADS_1="#"
52793 if test "x$USE_THREADS" = "x1" ; then
52794 COND_USE_THREADS_1=""
52795 fi
52796
52797 COND_USE_XRC_1="#"
52798 if test "x$USE_XRC" = "x1" ; then
52799 COND_USE_XRC_1=""
52800 fi
52801
52802 COND_WINDOWS_IMPLIB_1="#"
52803 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52804 COND_WINDOWS_IMPLIB_1=""
52805 fi
52806
52807 COND_WITH_PLUGIN_SDL_1="#"
52808 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52809 COND_WITH_PLUGIN_SDL_1=""
52810 fi
52811
52812 COND_WXUNIV_0="#"
52813 if test "x$WXUNIV" = "x0" ; then
52814 COND_WXUNIV_0=""
52815 fi
52816
52817 COND_WXUNIV_1="#"
52818 if test "x$WXUNIV" = "x1" ; then
52819 COND_WXUNIV_1=""
52820 fi
52821
52822 COND_WXUSE_EXPAT_BUILTIN="#"
52823 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52824 COND_WXUSE_EXPAT_BUILTIN=""
52825 fi
52826
52827 COND_WXUSE_LIBJPEG_BUILTIN="#"
52828 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52829 COND_WXUSE_LIBJPEG_BUILTIN=""
52830 fi
52831
52832 COND_WXUSE_LIBPNG_BUILTIN="#"
52833 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52834 COND_WXUSE_LIBPNG_BUILTIN=""
52835 fi
52836
52837 COND_WXUSE_LIBTIFF_BUILTIN="#"
52838 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52839 COND_WXUSE_LIBTIFF_BUILTIN=""
52840 fi
52841
52842 COND_WXUSE_ODBC_BUILTIN="#"
52843 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52844 COND_WXUSE_ODBC_BUILTIN=""
52845 fi
52846
52847 COND_WXUSE_REGEX_BUILTIN="#"
52848 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52849 COND_WXUSE_REGEX_BUILTIN=""
52850 fi
52851
52852 COND_WXUSE_ZLIB_BUILTIN="#"
52853 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52854 COND_WXUSE_ZLIB_BUILTIN=""
52855 fi
52856
52857
52858
52859 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52860 { { 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
52861 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;}
52862 { (exit 1); exit 1; }; }
52863 fi
52864
52865 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52866 { { 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
52867 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;}
52868 { (exit 1); exit 1; }; }
52869 fi
52870
52871
52872 case ${INSTALL} in
52873 /* ) # Absolute
52874 ;;
52875 ?:* ) # Drive letter, considered as absolute.
52876 ;;
52877 *)
52878 INSTALL=`pwd`/${INSTALL} ;;
52879 esac
52880
52881 if test "$wxUSE_GUI" = "yes"; then
52882
52883 if test "$wxUSE_MSW" = 1 ; then
52884 if test "x$WINDRES" = "x"; then
52885 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52886 echo "$as_me: error: Required windres program not found" >&2;}
52887 { (exit 1); exit 1; }; }
52888 fi
52889
52890 RESCOMP="$WINDRES"
52891 fi
52892
52893 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52894 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52895 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52896
52897 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52898
52899 # Extract the first word of "DeRez", so it can be a program name with args.
52900 set dummy DeRez; ac_word=$2
52901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52903 if test "${ac_cv_prog_DEREZ+set}" = set; then
52904 echo $ECHO_N "(cached) $ECHO_C" >&6
52905 else
52906 if test -n "$DEREZ"; then
52907 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52908 else
52909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52910 for as_dir in $PATH
52911 do
52912 IFS=$as_save_IFS
52913 test -z "$as_dir" && as_dir=.
52914 for ac_exec_ext in '' $ac_executable_extensions; do
52915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52916 ac_cv_prog_DEREZ="DeRez"
52917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52918 break 2
52919 fi
52920 done
52921 done
52922 IFS=$as_save_IFS
52923
52924 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52925 fi
52926 fi
52927 DEREZ=$ac_cv_prog_DEREZ
52928 if test -n "$DEREZ"; then
52929 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52930 echo "${ECHO_T}$DEREZ" >&6; }
52931 else
52932 { echo "$as_me:$LINENO: result: no" >&5
52933 echo "${ECHO_T}no" >&6; }
52934 fi
52935
52936
52937
52938 MACSETFILE="\$(SETFILE)"
52939
52940 if test "$wxUSE_MAC" = 1; then
52941 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52942 RESCOMP="$REZ"
52943 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52944 else
52945 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52946 RESCOMP="cat /dev/null \| $REZ"
52947 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52948 fi
52949
52950 else
52951 MACSETFILE="@true"
52952
52953 if test "$wxUSE_PM" = 1; then
52954 RESCOMP="emxbind"
52955 WXCONFIG_RESFLAGS="-ep"
52956
52957 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52958 else
52959 POSTLINK_COMMAND="@true"
52960 fi
52961 fi
52962
52963 fi
52964
52965
52966 if test $GCC_PCH = 1
52967 then
52968 if test "$wx_cv_gcc_pch_bug" = yes; then
52969 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52970 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52971 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52972 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52973 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52974 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52975 fi
52976
52977 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52978 fi
52979
52980
52981 if test "$wxUSE_MAC" = 1 ; then
52982 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52983 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52984 mv temp bk-deps
52985 chmod +x bk-deps
52986 fi
52987 fi
52988
52989 if test "$wxUSE_SHARED" = "yes"; then
52990 case "${host}" in
52991 *-pc-os2_emx | *-pc-os2-emx )
52992 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52993 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52994 cp -p ${srcdir}/src/os2/dllnames.sh .
52995 cp -p ${srcdir}/src/os2/dllar.sh .
52996 ;;
52997 esac
52998 fi
52999 if test "$wxUSE_OMF" = "yes"; then
53000 case "${host}" in
53001 *-pc-os2_emx | *-pc-os2-emx )
53002 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53003 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53004 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53005 ;;
53006 esac
53007 fi
53008
53009 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53010
53011
53012 case "${host}" in
53013 *-*-solaris2* )
53014 if "$GCC" = yes; then
53015 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53016 LIBS=`echo $LIBS | sed 's/-mt//'`
53017 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53018 fi
53019 ;;
53020
53021 *-*-linux* )
53022 if test "x$SUNCXX" = xyes; then
53023 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53024 LIBS=`echo $LIBS | sed 's/-pthread//'`
53025 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53026 fi
53027 ;;
53028 esac
53029
53030 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53031 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53032
53033 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53034
53035
53036
53037
53038
53039
53040
53041
53042
53043
53044
53045
53046
53047
53048
53049
53050
53051
53052
53053
53054
53055
53056
53057
53058
53059
53060
53061
53062
53063
53064
53065
53066
53067
53068
53069
53070
53071
53072
53073
53074
53075
53076
53077
53078
53079
53080
53081
53082
53083
53084
53085
53086
53087
53088
53089
53090
53091
53092
53093
53094 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53095 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53096 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53097 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53098 echo $ECHO_N "(cached) $ECHO_C" >&6
53099 else
53100 cat >conftest.make <<\_ACEOF
53101 SHELL = /bin/sh
53102 all:
53103 @echo '@@@%%%=$(MAKE)=@@@%%%'
53104 _ACEOF
53105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53106 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53107 *@@@%%%=?*=@@@%%%*)
53108 eval ac_cv_prog_make_${ac_make}_set=yes;;
53109 *)
53110 eval ac_cv_prog_make_${ac_make}_set=no;;
53111 esac
53112 rm -f conftest.make
53113 fi
53114 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53115 { echo "$as_me:$LINENO: result: yes" >&5
53116 echo "${ECHO_T}yes" >&6; }
53117 SET_MAKE=
53118 else
53119 { echo "$as_me:$LINENO: result: no" >&5
53120 echo "${ECHO_T}no" >&6; }
53121 SET_MAKE="MAKE=${MAKE-make}"
53122 fi
53123
53124
53125
53126 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53127
53128
53129 if test "$USE_WIN32" = 1; then
53130 ac_config_commands="$ac_config_commands
53131 rcdefs.h
53132 "
53133
53134 fi
53135
53136 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53137
53138
53139 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53140
53141
53142 if test "$wx_cv_version_script" = "yes"; then
53143 ac_config_files="$ac_config_files version-script"
53144
53145 fi
53146 ac_config_files="$ac_config_files Makefile"
53147
53148
53149 ac_config_commands="$ac_config_commands wx-config"
53150
53151
53152
53153 if test "$wxWITH_SUBDIRS" != "no"; then
53154 if test "$wxUSE_GUI" = "yes"; then
53155 SUBDIRS="samples demos utils"
53156 else SUBDIRS="samples utils"
53157 fi
53158
53159
53160
53161 # Check whether --with-cppunit-prefix was given.
53162 if test "${with_cppunit_prefix+set}" = set; then
53163 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53164 else
53165 cppunit_config_prefix=""
53166 fi
53167
53168
53169 # Check whether --with-cppunit-exec-prefix was given.
53170 if test "${with_cppunit_exec_prefix+set}" = set; then
53171 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53172 else
53173 cppunit_config_exec_prefix=""
53174 fi
53175
53176
53177 if test x$cppunit_config_exec_prefix != x ; then
53178 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53179 if test x${CPPUNIT_CONFIG+set} != xset ; then
53180 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53181 fi
53182 fi
53183 if test x$cppunit_config_prefix != x ; then
53184 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53185 if test x${CPPUNIT_CONFIG+set} != xset ; then
53186 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53187 fi
53188 fi
53189
53190 # Extract the first word of "cppunit-config", so it can be a program name with args.
53191 set dummy cppunit-config; ac_word=$2
53192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53194 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53195 echo $ECHO_N "(cached) $ECHO_C" >&6
53196 else
53197 case $CPPUNIT_CONFIG in
53198 [\\/]* | ?:[\\/]*)
53199 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53200 ;;
53201 *)
53202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53203 for as_dir in $PATH
53204 do
53205 IFS=$as_save_IFS
53206 test -z "$as_dir" && as_dir=.
53207 for ac_exec_ext in '' $ac_executable_extensions; do
53208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53209 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53211 break 2
53212 fi
53213 done
53214 done
53215 IFS=$as_save_IFS
53216
53217 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53218 ;;
53219 esac
53220 fi
53221 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53222 if test -n "$CPPUNIT_CONFIG"; then
53223 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53224 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53225 else
53226 { echo "$as_me:$LINENO: result: no" >&5
53227 echo "${ECHO_T}no" >&6; }
53228 fi
53229
53230
53231 cppunit_version_min=1.8.0
53232
53233 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53234 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53235 no_cppunit=""
53236 if test "$CPPUNIT_CONFIG" = "no" ; then
53237 { echo "$as_me:$LINENO: result: no" >&5
53238 echo "${ECHO_T}no" >&6; }
53239 no_cppunit=yes
53240 else
53241 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53242 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53243 cppunit_version=`$CPPUNIT_CONFIG --version`
53244
53245 cppunit_major_version=`echo $cppunit_version | \
53246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53247 cppunit_minor_version=`echo $cppunit_version | \
53248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53249 cppunit_micro_version=`echo $cppunit_version | \
53250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53251
53252 cppunit_major_min=`echo $cppunit_version_min | \
53253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53254 cppunit_minor_min=`echo $cppunit_version_min | \
53255 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53256 cppunit_micro_min=`echo $cppunit_version_min | \
53257 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53258
53259 cppunit_version_proper=`expr \
53260 $cppunit_major_version \> $cppunit_major_min \| \
53261 $cppunit_major_version \= $cppunit_major_min \& \
53262 $cppunit_minor_version \> $cppunit_minor_min \| \
53263 $cppunit_major_version \= $cppunit_major_min \& \
53264 $cppunit_minor_version \= $cppunit_minor_min \& \
53265 $cppunit_micro_version \>= $cppunit_micro_min `
53266
53267 if test "$cppunit_version_proper" = "1" ; then
53268 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53269 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53270 else
53271 { echo "$as_me:$LINENO: result: no" >&5
53272 echo "${ECHO_T}no" >&6; }
53273 no_cppunit=yes
53274 fi
53275 fi
53276
53277 if test "x$no_cppunit" = x ; then
53278 SUBDIRS="$SUBDIRS tests"
53279 else
53280 CPPUNIT_CFLAGS=""
53281 CPPUNIT_LIBS=""
53282 :
53283 fi
53284
53285
53286
53287
53288
53289 for subdir in `echo $SUBDIRS`; do
53290 if test -d ${srcdir}/${subdir} ; then
53291 if test "$wxUSE_GUI" = "yes"; then
53292 if test ${subdir} = "samples"; then
53293 makefiles="samples/Makefile.in $makefiles"
53294 for sample in `echo $SAMPLES_SUBDIRS`; do
53295 if test -d $srcdir/samples/$sample; then
53296 makefiles="samples/$sample/Makefile.in $makefiles"
53297 fi
53298 done
53299 else
53300 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53301 eval "disabled=\$$disabled_var"
53302 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53303 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53304 fi
53305 else if test ${subdir} = "samples"; then
53306 makefiles="samples/Makefile.in samples/console/Makefile.in"
53307 elif test ${subdir} = "utils"; then
53308 makefiles=""
53309 for util in HelpGen tex2rtf ; do
53310 if test -d $srcdir/utils/$util ; then
53311 makefiles="utils/$util/Makefile.in \
53312 utils/$util/src/Makefile.in \
53313 $makefiles"
53314 fi
53315 done
53316 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53317 fi
53318 fi
53319
53320 for mkin in $makefiles ; do
53321 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53322 ac_config_files="$ac_config_files $mk"
53323
53324 done
53325 fi
53326 done
53327 fi
53328 cat >confcache <<\_ACEOF
53329 # This file is a shell script that caches the results of configure
53330 # tests run on this system so they can be shared between configure
53331 # scripts and configure runs, see configure's option --config-cache.
53332 # It is not useful on other systems. If it contains results you don't
53333 # want to keep, you may remove or edit it.
53334 #
53335 # config.status only pays attention to the cache file if you give it
53336 # the --recheck option to rerun configure.
53337 #
53338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53340 # following values.
53341
53342 _ACEOF
53343
53344 # The following way of writing the cache mishandles newlines in values,
53345 # but we know of no workaround that is simple, portable, and efficient.
53346 # So, we kill variables containing newlines.
53347 # Ultrix sh set writes to stderr and can't be redirected directly,
53348 # and sets the high bit in the cache file unless we assign to the vars.
53349 (
53350 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53351 eval ac_val=\$$ac_var
53352 case $ac_val in #(
53353 *${as_nl}*)
53354 case $ac_var in #(
53355 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53356 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53357 esac
53358 case $ac_var in #(
53359 _ | IFS | as_nl) ;; #(
53360 *) $as_unset $ac_var ;;
53361 esac ;;
53362 esac
53363 done
53364
53365 (set) 2>&1 |
53366 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53367 *${as_nl}ac_space=\ *)
53368 # `set' does not quote correctly, so add quotes (double-quote
53369 # substitution turns \\\\ into \\, and sed turns \\ into \).
53370 sed -n \
53371 "s/'/'\\\\''/g;
53372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53373 ;; #(
53374 *)
53375 # `set' quotes correctly as required by POSIX, so do not add quotes.
53376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53377 ;;
53378 esac |
53379 sort
53380 ) |
53381 sed '
53382 /^ac_cv_env_/b end
53383 t clear
53384 :clear
53385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53386 t end
53387 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53388 :end' >>confcache
53389 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53390 if test -w "$cache_file"; then
53391 test "x$cache_file" != "x/dev/null" &&
53392 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53393 echo "$as_me: updating cache $cache_file" >&6;}
53394 cat confcache >$cache_file
53395 else
53396 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53397 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53398 fi
53399 fi
53400 rm -f confcache
53401
53402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53403 # Let make expand exec_prefix.
53404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53405
53406 DEFS=-DHAVE_CONFIG_H
53407
53408 ac_libobjs=
53409 ac_ltlibobjs=
53410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53411 # 1. Remove the extension, and $U if already installed.
53412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53413 ac_i=`echo "$ac_i" | sed "$ac_script"`
53414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53415 # will be set to the directory where LIBOBJS objects are built.
53416 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53417 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53418 done
53419 LIBOBJS=$ac_libobjs
53420
53421 LTLIBOBJS=$ac_ltlibobjs
53422
53423
53424
53425 : ${CONFIG_STATUS=./config.status}
53426 ac_clean_files_save=$ac_clean_files
53427 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53428 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53429 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53430 cat >$CONFIG_STATUS <<_ACEOF
53431 #! $SHELL
53432 # Generated by $as_me.
53433 # Run this file to recreate the current configuration.
53434 # Compiler output produced by configure, useful for debugging
53435 # configure, is in config.log if it exists.
53436
53437 debug=false
53438 ac_cs_recheck=false
53439 ac_cs_silent=false
53440 SHELL=\${CONFIG_SHELL-$SHELL}
53441 _ACEOF
53442
53443 cat >>$CONFIG_STATUS <<\_ACEOF
53444 ## --------------------- ##
53445 ## M4sh Initialization. ##
53446 ## --------------------- ##
53447
53448 # Be more Bourne compatible
53449 DUALCASE=1; export DUALCASE # for MKS sh
53450 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53451 emulate sh
53452 NULLCMD=:
53453 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53454 # is contrary to our usage. Disable this feature.
53455 alias -g '${1+"$@"}'='"$@"'
53456 setopt NO_GLOB_SUBST
53457 else
53458 case `(set -o) 2>/dev/null` in
53459 *posix*) set -o posix ;;
53460 esac
53461
53462 fi
53463
53464
53465
53466
53467 # PATH needs CR
53468 # Avoid depending upon Character Ranges.
53469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53472 as_cr_digits='0123456789'
53473 as_cr_alnum=$as_cr_Letters$as_cr_digits
53474
53475 # The user is always right.
53476 if test "${PATH_SEPARATOR+set}" != set; then
53477 echo "#! /bin/sh" >conf$$.sh
53478 echo "exit 0" >>conf$$.sh
53479 chmod +x conf$$.sh
53480 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53481 PATH_SEPARATOR=';'
53482 else
53483 PATH_SEPARATOR=:
53484 fi
53485 rm -f conf$$.sh
53486 fi
53487
53488 # Support unset when possible.
53489 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53490 as_unset=unset
53491 else
53492 as_unset=false
53493 fi
53494
53495
53496 # IFS
53497 # We need space, tab and new line, in precisely that order. Quoting is
53498 # there to prevent editors from complaining about space-tab.
53499 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53500 # splitting by setting IFS to empty value.)
53501 as_nl='
53502 '
53503 IFS=" "" $as_nl"
53504
53505 # Find who we are. Look in the path if we contain no directory separator.
53506 case $0 in
53507 *[\\/]* ) as_myself=$0 ;;
53508 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53509 for as_dir in $PATH
53510 do
53511 IFS=$as_save_IFS
53512 test -z "$as_dir" && as_dir=.
53513 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53514 done
53515 IFS=$as_save_IFS
53516
53517 ;;
53518 esac
53519 # We did not find ourselves, most probably we were run as `sh COMMAND'
53520 # in which case we are not to be found in the path.
53521 if test "x$as_myself" = x; then
53522 as_myself=$0
53523 fi
53524 if test ! -f "$as_myself"; then
53525 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53526 { (exit 1); exit 1; }
53527 fi
53528
53529 # Work around bugs in pre-3.0 UWIN ksh.
53530 for as_var in ENV MAIL MAILPATH
53531 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53532 done
53533 PS1='$ '
53534 PS2='> '
53535 PS4='+ '
53536
53537 # NLS nuisances.
53538 for as_var in \
53539 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53540 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53541 LC_TELEPHONE LC_TIME
53542 do
53543 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53544 eval $as_var=C; export $as_var
53545 else
53546 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53547 fi
53548 done
53549
53550 # Required to use basename.
53551 if expr a : '\(a\)' >/dev/null 2>&1 &&
53552 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53553 as_expr=expr
53554 else
53555 as_expr=false
53556 fi
53557
53558 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53559 as_basename=basename
53560 else
53561 as_basename=false
53562 fi
53563
53564
53565 # Name of the executable.
53566 as_me=`$as_basename -- "$0" ||
53567 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53568 X"$0" : 'X\(//\)$' \| \
53569 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53570 echo X/"$0" |
53571 sed '/^.*\/\([^/][^/]*\)\/*$/{
53572 s//\1/
53573 q
53574 }
53575 /^X\/\(\/\/\)$/{
53576 s//\1/
53577 q
53578 }
53579 /^X\/\(\/\).*/{
53580 s//\1/
53581 q
53582 }
53583 s/.*/./; q'`
53584
53585 # CDPATH.
53586 $as_unset CDPATH
53587
53588
53589
53590 as_lineno_1=$LINENO
53591 as_lineno_2=$LINENO
53592 test "x$as_lineno_1" != "x$as_lineno_2" &&
53593 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53594
53595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53596 # uniformly replaced by the line number. The first 'sed' inserts a
53597 # line-number line after each line using $LINENO; the second 'sed'
53598 # does the real work. The second script uses 'N' to pair each
53599 # line-number line with the line containing $LINENO, and appends
53600 # trailing '-' during substitution so that $LINENO is not a special
53601 # case at line end.
53602 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53603 # scripts with optimization help from Paolo Bonzini. Blame Lee
53604 # E. McMahon (1931-1989) for sed's syntax. :-)
53605 sed -n '
53606 p
53607 /[$]LINENO/=
53608 ' <$as_myself |
53609 sed '
53610 s/[$]LINENO.*/&-/
53611 t lineno
53612 b
53613 :lineno
53614 N
53615 :loop
53616 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53617 t loop
53618 s/-\n.*//
53619 ' >$as_me.lineno &&
53620 chmod +x "$as_me.lineno" ||
53621 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53622 { (exit 1); exit 1; }; }
53623
53624 # Don't try to exec as it changes $[0], causing all sort of problems
53625 # (the dirname of $[0] is not the place where we might find the
53626 # original and so on. Autoconf is especially sensitive to this).
53627 . "./$as_me.lineno"
53628 # Exit status is that of the last command.
53629 exit
53630 }
53631
53632
53633 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53634 as_dirname=dirname
53635 else
53636 as_dirname=false
53637 fi
53638
53639 ECHO_C= ECHO_N= ECHO_T=
53640 case `echo -n x` in
53641 -n*)
53642 case `echo 'x\c'` in
53643 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53644 *) ECHO_C='\c';;
53645 esac;;
53646 *)
53647 ECHO_N='-n';;
53648 esac
53649
53650 if expr a : '\(a\)' >/dev/null 2>&1 &&
53651 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53652 as_expr=expr
53653 else
53654 as_expr=false
53655 fi
53656
53657 rm -f conf$$ conf$$.exe conf$$.file
53658 if test -d conf$$.dir; then
53659 rm -f conf$$.dir/conf$$.file
53660 else
53661 rm -f conf$$.dir
53662 mkdir conf$$.dir
53663 fi
53664 echo >conf$$.file
53665 if ln -s conf$$.file conf$$ 2>/dev/null; then
53666 as_ln_s='ln -s'
53667 # ... but there are two gotchas:
53668 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53669 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53670 # In both cases, we have to default to `cp -p'.
53671 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53672 as_ln_s='cp -p'
53673 elif ln conf$$.file conf$$ 2>/dev/null; then
53674 as_ln_s=ln
53675 else
53676 as_ln_s='cp -p'
53677 fi
53678 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53679 rmdir conf$$.dir 2>/dev/null
53680
53681 if mkdir -p . 2>/dev/null; then
53682 as_mkdir_p=:
53683 else
53684 test -d ./-p && rmdir ./-p
53685 as_mkdir_p=false
53686 fi
53687
53688 if test -x / >/dev/null 2>&1; then
53689 as_test_x='test -x'
53690 else
53691 if ls -dL / >/dev/null 2>&1; then
53692 as_ls_L_option=L
53693 else
53694 as_ls_L_option=
53695 fi
53696 as_test_x='
53697 eval sh -c '\''
53698 if test -d "$1"; then
53699 test -d "$1/.";
53700 else
53701 case $1 in
53702 -*)set "./$1";;
53703 esac;
53704 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53705 ???[sx]*):;;*)false;;esac;fi
53706 '\'' sh
53707 '
53708 fi
53709 as_executable_p=$as_test_x
53710
53711 # Sed expression to map a string onto a valid CPP name.
53712 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53713
53714 # Sed expression to map a string onto a valid variable name.
53715 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53716
53717
53718 exec 6>&1
53719
53720 # Save the log message, to keep $[0] and so on meaningful, and to
53721 # report actual input values of CONFIG_FILES etc. instead of their
53722 # values after options handling.
53723 ac_log="
53724 This file was extended by wxWidgets $as_me 2.9.0, which was
53725 generated by GNU Autoconf 2.61. Invocation command line was
53726
53727 CONFIG_FILES = $CONFIG_FILES
53728 CONFIG_HEADERS = $CONFIG_HEADERS
53729 CONFIG_LINKS = $CONFIG_LINKS
53730 CONFIG_COMMANDS = $CONFIG_COMMANDS
53731 $ $0 $@
53732
53733 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53734 "
53735
53736 _ACEOF
53737
53738 cat >>$CONFIG_STATUS <<_ACEOF
53739 # Files that config.status was made for.
53740 config_files="$ac_config_files"
53741 config_headers="$ac_config_headers"
53742 config_commands="$ac_config_commands"
53743
53744 _ACEOF
53745
53746 cat >>$CONFIG_STATUS <<\_ACEOF
53747 ac_cs_usage="\
53748 \`$as_me' instantiates files from templates according to the
53749 current configuration.
53750
53751 Usage: $0 [OPTIONS] [FILE]...
53752
53753 -h, --help print this help, then exit
53754 -V, --version print version number and configuration settings, then exit
53755 -q, --quiet do not print progress messages
53756 -d, --debug don't remove temporary files
53757 --recheck update $as_me by reconfiguring in the same conditions
53758 --file=FILE[:TEMPLATE]
53759 instantiate the configuration file FILE
53760 --header=FILE[:TEMPLATE]
53761 instantiate the configuration header FILE
53762
53763 Configuration files:
53764 $config_files
53765
53766 Configuration headers:
53767 $config_headers
53768
53769 Configuration commands:
53770 $config_commands
53771
53772 Report bugs to <bug-autoconf@gnu.org>."
53773
53774 _ACEOF
53775 cat >>$CONFIG_STATUS <<_ACEOF
53776 ac_cs_version="\\
53777 wxWidgets config.status 2.9.0
53778 configured by $0, generated by GNU Autoconf 2.61,
53779 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53780
53781 Copyright (C) 2006 Free Software Foundation, Inc.
53782 This config.status script is free software; the Free Software Foundation
53783 gives unlimited permission to copy, distribute and modify it."
53784
53785 ac_pwd='$ac_pwd'
53786 srcdir='$srcdir'
53787 INSTALL='$INSTALL'
53788 _ACEOF
53789
53790 cat >>$CONFIG_STATUS <<\_ACEOF
53791 # If no file are specified by the user, then we need to provide default
53792 # value. By we need to know if files were specified by the user.
53793 ac_need_defaults=:
53794 while test $# != 0
53795 do
53796 case $1 in
53797 --*=*)
53798 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53799 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53800 ac_shift=:
53801 ;;
53802 *)
53803 ac_option=$1
53804 ac_optarg=$2
53805 ac_shift=shift
53806 ;;
53807 esac
53808
53809 case $ac_option in
53810 # Handling of the options.
53811 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53812 ac_cs_recheck=: ;;
53813 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53814 echo "$ac_cs_version"; exit ;;
53815 --debug | --debu | --deb | --de | --d | -d )
53816 debug=: ;;
53817 --file | --fil | --fi | --f )
53818 $ac_shift
53819 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53820 ac_need_defaults=false;;
53821 --header | --heade | --head | --hea )
53822 $ac_shift
53823 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53824 ac_need_defaults=false;;
53825 --he | --h)
53826 # Conflict between --help and --header
53827 { echo "$as_me: error: ambiguous option: $1
53828 Try \`$0 --help' for more information." >&2
53829 { (exit 1); exit 1; }; };;
53830 --help | --hel | -h )
53831 echo "$ac_cs_usage"; exit ;;
53832 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53833 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53834 ac_cs_silent=: ;;
53835
53836 # This is an error.
53837 -*) { echo "$as_me: error: unrecognized option: $1
53838 Try \`$0 --help' for more information." >&2
53839 { (exit 1); exit 1; }; } ;;
53840
53841 *) ac_config_targets="$ac_config_targets $1"
53842 ac_need_defaults=false ;;
53843
53844 esac
53845 shift
53846 done
53847
53848 ac_configure_extra_args=
53849
53850 if $ac_cs_silent; then
53851 exec 6>/dev/null
53852 ac_configure_extra_args="$ac_configure_extra_args --silent"
53853 fi
53854
53855 _ACEOF
53856 cat >>$CONFIG_STATUS <<_ACEOF
53857 if \$ac_cs_recheck; then
53858 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53859 CONFIG_SHELL=$SHELL
53860 export CONFIG_SHELL
53861 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53862 fi
53863
53864 _ACEOF
53865 cat >>$CONFIG_STATUS <<\_ACEOF
53866 exec 5>>config.log
53867 {
53868 echo
53869 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53870 ## Running $as_me. ##
53871 _ASBOX
53872 echo "$ac_log"
53873 } >&5
53874
53875 _ACEOF
53876 cat >>$CONFIG_STATUS <<_ACEOF
53877 #
53878 # INIT-COMMANDS
53879 #
53880
53881 CPP="$CPP"
53882 infile="$srcdir/include/wx/msw/genrcdefs.h"
53883 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53884
53885
53886 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53887 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53888 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53889 LN_S="${LN_S}"
53890
53891
53892 _ACEOF
53893
53894 cat >>$CONFIG_STATUS <<\_ACEOF
53895
53896 # Handling of arguments.
53897 for ac_config_target in $ac_config_targets
53898 do
53899 case $ac_config_target in
53900 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53901 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53902 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53903 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53904 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53905 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53906 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53907 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53908
53909 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53910 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53911 { (exit 1); exit 1; }; };;
53912 esac
53913 done
53914
53915
53916 # If the user did not use the arguments to specify the items to instantiate,
53917 # then the envvar interface is used. Set only those that are not.
53918 # We use the long form for the default assignment because of an extremely
53919 # bizarre bug on SunOS 4.1.3.
53920 if $ac_need_defaults; then
53921 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53922 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53923 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53924 fi
53925
53926 # Have a temporary directory for convenience. Make it in the build tree
53927 # simply because there is no reason against having it here, and in addition,
53928 # creating and moving files from /tmp can sometimes cause problems.
53929 # Hook for its removal unless debugging.
53930 # Note that there is a small window in which the directory will not be cleaned:
53931 # after its creation but before its name has been assigned to `$tmp'.
53932 $debug ||
53933 {
53934 tmp=
53935 trap 'exit_status=$?
53936 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53937 ' 0
53938 trap '{ (exit 1); exit 1; }' 1 2 13 15
53939 }
53940 # Create a (secure) tmp directory for tmp files.
53941
53942 {
53943 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53944 test -n "$tmp" && test -d "$tmp"
53945 } ||
53946 {
53947 tmp=./conf$$-$RANDOM
53948 (umask 077 && mkdir "$tmp")
53949 } ||
53950 {
53951 echo "$me: cannot create a temporary directory in ." >&2
53952 { (exit 1); exit 1; }
53953 }
53954
53955 #
53956 # Set up the sed scripts for CONFIG_FILES section.
53957 #
53958
53959 # No need to generate the scripts if there are no CONFIG_FILES.
53960 # This happens for instance when ./config.status config.h
53961 if test -n "$CONFIG_FILES"; then
53962
53963 _ACEOF
53964
53965
53966
53967 ac_delim='%!_!# '
53968 for ac_last_try in false false false false false :; do
53969 cat >conf$$subs.sed <<_ACEOF
53970 SHELL!$SHELL$ac_delim
53971 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53972 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53973 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53974 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53975 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53976 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53977 exec_prefix!$exec_prefix$ac_delim
53978 prefix!$prefix$ac_delim
53979 program_transform_name!$program_transform_name$ac_delim
53980 bindir!$bindir$ac_delim
53981 sbindir!$sbindir$ac_delim
53982 libexecdir!$libexecdir$ac_delim
53983 datarootdir!$datarootdir$ac_delim
53984 datadir!$datadir$ac_delim
53985 sysconfdir!$sysconfdir$ac_delim
53986 sharedstatedir!$sharedstatedir$ac_delim
53987 localstatedir!$localstatedir$ac_delim
53988 includedir!$includedir$ac_delim
53989 oldincludedir!$oldincludedir$ac_delim
53990 docdir!$docdir$ac_delim
53991 infodir!$infodir$ac_delim
53992 htmldir!$htmldir$ac_delim
53993 dvidir!$dvidir$ac_delim
53994 pdfdir!$pdfdir$ac_delim
53995 psdir!$psdir$ac_delim
53996 libdir!$libdir$ac_delim
53997 localedir!$localedir$ac_delim
53998 mandir!$mandir$ac_delim
53999 DEFS!$DEFS$ac_delim
54000 ECHO_C!$ECHO_C$ac_delim
54001 ECHO_N!$ECHO_N$ac_delim
54002 ECHO_T!$ECHO_T$ac_delim
54003 LIBS!$LIBS$ac_delim
54004 build_alias!$build_alias$ac_delim
54005 host_alias!$host_alias$ac_delim
54006 target_alias!$target_alias$ac_delim
54007 build!$build$ac_delim
54008 build_cpu!$build_cpu$ac_delim
54009 build_vendor!$build_vendor$ac_delim
54010 build_os!$build_os$ac_delim
54011 host!$host$ac_delim
54012 host_cpu!$host_cpu$ac_delim
54013 host_vendor!$host_vendor$ac_delim
54014 host_os!$host_os$ac_delim
54015 target!$target$ac_delim
54016 target_cpu!$target_cpu$ac_delim
54017 target_vendor!$target_vendor$ac_delim
54018 target_os!$target_os$ac_delim
54019 wx_top_builddir!$wx_top_builddir$ac_delim
54020 CC!$CC$ac_delim
54021 CFLAGS!$CFLAGS$ac_delim
54022 LDFLAGS!$LDFLAGS$ac_delim
54023 CPPFLAGS!$CPPFLAGS$ac_delim
54024 ac_ct_CC!$ac_ct_CC$ac_delim
54025 EXEEXT!$EXEEXT$ac_delim
54026 OBJEXT!$OBJEXT$ac_delim
54027 CPP!$CPP$ac_delim
54028 GREP!$GREP$ac_delim
54029 EGREP!$EGREP$ac_delim
54030 CXX!$CXX$ac_delim
54031 CXXFLAGS!$CXXFLAGS$ac_delim
54032 ac_ct_CXX!$ac_ct_CXX$ac_delim
54033 AR!$AR$ac_delim
54034 subdirs!$subdirs$ac_delim
54035 PKG_CONFIG!$PKG_CONFIG$ac_delim
54036 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54037 GTK_LIBS!$GTK_LIBS$ac_delim
54038 GTK_CONFIG!$GTK_CONFIG$ac_delim
54039 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54040 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54041 XMKMF!$XMKMF$ac_delim
54042 X_CFLAGS!$X_CFLAGS$ac_delim
54043 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54044 X_LIBS!$X_LIBS$ac_delim
54045 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54046 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54047 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54048 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54049 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54050 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54051 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54052 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54053 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54054 LIBICONV!$LIBICONV$ac_delim
54055 SDL_CONFIG!$SDL_CONFIG$ac_delim
54056 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54057 SDL_LIBS!$SDL_LIBS$ac_delim
54058 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54059 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54060 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54061 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54062 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54063 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54064 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54065 HILDON_LIBS!$HILDON_LIBS$ac_delim
54066 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54067 _ACEOF
54068
54069 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54070 break
54071 elif $ac_last_try; then
54072 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54073 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54074 { (exit 1); exit 1; }; }
54075 else
54076 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54077 fi
54078 done
54079
54080 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54081 if test -n "$ac_eof"; then
54082 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54083 ac_eof=`expr $ac_eof + 1`
54084 fi
54085
54086 cat >>$CONFIG_STATUS <<_ACEOF
54087 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54089 _ACEOF
54090 sed '
54091 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54092 s/^/s,@/; s/!/@,|#_!!_#|/
54093 :n
54094 t n
54095 s/'"$ac_delim"'$/,g/; t
54096 s/$/\\/; p
54097 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54098 ' >>$CONFIG_STATUS <conf$$subs.sed
54099 rm -f conf$$subs.sed
54100 cat >>$CONFIG_STATUS <<_ACEOF
54101 CEOF$ac_eof
54102 _ACEOF
54103
54104
54105 ac_delim='%!_!# '
54106 for ac_last_try in false false false false false :; do
54107 cat >conf$$subs.sed <<_ACEOF
54108 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54109 GST_CFLAGS!$GST_CFLAGS$ac_delim
54110 GST_LIBS!$GST_LIBS$ac_delim
54111 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54112 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54113 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54114 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54115 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54116 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54117 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54118 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54119 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54120 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54121 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54122 VENDOR!$VENDOR$ac_delim
54123 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54124 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54125 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54126 WXUNIV!$WXUNIV$ac_delim
54127 MONOLITHIC!$MONOLITHIC$ac_delim
54128 USE_PLUGINS!$USE_PLUGINS$ac_delim
54129 CXXWARNINGS!$CXXWARNINGS$ac_delim
54130 EXTRALIBS!$EXTRALIBS$ac_delim
54131 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54132 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54133 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54134 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54135 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54136 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54137 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54138 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54139 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54140 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54141 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54142 UNICODE!$UNICODE$ac_delim
54143 BUILD!$BUILD$ac_delim
54144 DEBUG_INFO!$DEBUG_INFO$ac_delim
54145 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54146 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54147 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54148 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54149 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54150 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54151 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54152 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54153 RANLIB!$RANLIB$ac_delim
54154 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54155 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54156 INSTALL_DATA!$INSTALL_DATA$ac_delim
54157 LN_S!$LN_S$ac_delim
54158 SET_MAKE!$SET_MAKE$ac_delim
54159 MAKE_SET!$MAKE_SET$ac_delim
54160 AROPTIONS!$AROPTIONS$ac_delim
54161 STRIP!$STRIP$ac_delim
54162 NM!$NM$ac_delim
54163 INSTALL_DIR!$INSTALL_DIR$ac_delim
54164 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54165 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54166 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54167 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54168 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54169 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54170 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54171 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54172 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54173 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54174 SO_SUFFIX!$SO_SUFFIX$ac_delim
54175 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54176 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54177 LIBPREFIX!$LIBPREFIX$ac_delim
54178 LIBEXT!$LIBEXT$ac_delim
54179 DLLPREFIX!$DLLPREFIX$ac_delim
54180 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54181 dlldir!$dlldir$ac_delim
54182 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54183 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54184 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54185 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54186 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54187 PIC_FLAG!$PIC_FLAG$ac_delim
54188 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54189 USE_SOVERSION!$USE_SOVERSION$ac_delim
54190 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54191 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54192 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54193 USE_MACVERSION!$USE_MACVERSION$ac_delim
54194 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54195 SONAME_FLAG!$SONAME_FLAG$ac_delim
54196 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54197 BK_DEPS!$BK_DEPS$ac_delim
54198 WINDRES!$WINDRES$ac_delim
54199 REZ!$REZ$ac_delim
54200 SETFILE!$SETFILE$ac_delim
54201 GCC_PCH!$GCC_PCH$ac_delim
54202 ICC_PCH!$ICC_PCH$ac_delim
54203 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54204 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54205 _ACEOF
54206
54207 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54208 break
54209 elif $ac_last_try; then
54210 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54211 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54212 { (exit 1); exit 1; }; }
54213 else
54214 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54215 fi
54216 done
54217
54218 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54219 if test -n "$ac_eof"; then
54220 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54221 ac_eof=`expr $ac_eof + 1`
54222 fi
54223
54224 cat >>$CONFIG_STATUS <<_ACEOF
54225 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54227 _ACEOF
54228 sed '
54229 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54230 s/^/s,@/; s/!/@,|#_!!_#|/
54231 :n
54232 t n
54233 s/'"$ac_delim"'$/,g/; t
54234 s/$/\\/; p
54235 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54236 ' >>$CONFIG_STATUS <conf$$subs.sed
54237 rm -f conf$$subs.sed
54238 cat >>$CONFIG_STATUS <<_ACEOF
54239 CEOF$ac_eof
54240 _ACEOF
54241
54242
54243 ac_delim='%!_!# '
54244 for ac_last_try in false false false false false :; do
54245 cat >conf$$subs.sed <<_ACEOF
54246 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54247 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54248 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54249 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54250 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54251 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54252 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54253 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54254 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54255 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54256 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54257 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54258 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54259 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54260 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54261 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54262 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54263 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54265 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54267 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54269 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54270 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54271 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54272 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54273 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54274 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54275 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54280 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54281 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54282 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54283 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54284 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54285 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54286 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54287 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54288 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54289 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54290 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54291 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54292 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54293 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54294 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54295 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54296 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54297 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54298 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54299 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54300 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54301 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54302 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54303 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54304 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54305 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54306 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54307 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54309 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54310 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54311 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54312 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54313 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54314 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54315 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54316 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54317 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54318 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54319 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54320 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54321 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54322 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54323 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54324 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54325 COND_SHARED_0!$COND_SHARED_0$ac_delim
54326 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54327 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54328 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54329 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54330 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54331 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54332 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54333 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54334 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54335 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54336 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54337 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54338 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54339 COND_SHARED_1!$COND_SHARED_1$ac_delim
54340 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54341 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54342 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54343 _ACEOF
54344
54345 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54346 break
54347 elif $ac_last_try; then
54348 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54349 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54350 { (exit 1); exit 1; }; }
54351 else
54352 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54353 fi
54354 done
54355
54356 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54357 if test -n "$ac_eof"; then
54358 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54359 ac_eof=`expr $ac_eof + 1`
54360 fi
54361
54362 cat >>$CONFIG_STATUS <<_ACEOF
54363 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54364 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54365 _ACEOF
54366 sed '
54367 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54368 s/^/s,@/; s/!/@,|#_!!_#|/
54369 :n
54370 t n
54371 s/'"$ac_delim"'$/,g/; t
54372 s/$/\\/; p
54373 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54374 ' >>$CONFIG_STATUS <conf$$subs.sed
54375 rm -f conf$$subs.sed
54376 cat >>$CONFIG_STATUS <<_ACEOF
54377 CEOF$ac_eof
54378 _ACEOF
54379
54380
54381 ac_delim='%!_!# '
54382 for ac_last_try in false false false false false :; do
54383 cat >conf$$subs.sed <<_ACEOF
54384 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54385 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54387 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54388 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54389 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54390 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54391 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54392 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54393 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54394 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54395 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54396 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54397 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54398 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54399 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54400 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54401 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54402 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54403 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54404 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54405 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54406 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54407 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54408 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54409 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54410 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54411 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54412 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54413 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54414 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54415 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54416 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54417 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54418 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54419 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54420 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54421 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54422 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54423 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54424 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54425 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54426 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54427 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54428 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54429 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54430 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54431 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54432 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54433 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54434 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54435 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54436 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54437 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54438 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54439 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54440 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54441 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54442 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54443 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54444 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54445 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54446 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54447 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54448 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54449 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54450 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54451 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54452 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54453 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54454 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54455 DEREZ!$DEREZ$ac_delim
54456 SHARED!$SHARED$ac_delim
54457 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54458 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54459 USE_GUI!$USE_GUI$ac_delim
54460 AFMINSTALL!$AFMINSTALL$ac_delim
54461 WIN32INSTALL!$WIN32INSTALL$ac_delim
54462 TOOLKIT!$TOOLKIT$ac_delim
54463 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54464 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54465 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54466 cross_compiling!$cross_compiling$ac_delim
54467 WIDGET_SET!$WIDGET_SET$ac_delim
54468 WX_RELEASE!$WX_RELEASE$ac_delim
54469 WX_VERSION!$WX_VERSION$ac_delim
54470 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54471 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54472 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54473 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54474 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54475 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54476 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54477 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54478 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54479 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54480 GUIDIST!$GUIDIST$ac_delim
54481 _ACEOF
54482
54483 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54484 break
54485 elif $ac_last_try; then
54486 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54487 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54488 { (exit 1); exit 1; }; }
54489 else
54490 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54491 fi
54492 done
54493
54494 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54495 if test -n "$ac_eof"; then
54496 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54497 ac_eof=`expr $ac_eof + 1`
54498 fi
54499
54500 cat >>$CONFIG_STATUS <<_ACEOF
54501 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54502 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54503 _ACEOF
54504 sed '
54505 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54506 s/^/s,@/; s/!/@,|#_!!_#|/
54507 :n
54508 t n
54509 s/'"$ac_delim"'$/,g/; t
54510 s/$/\\/; p
54511 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54512 ' >>$CONFIG_STATUS <conf$$subs.sed
54513 rm -f conf$$subs.sed
54514 cat >>$CONFIG_STATUS <<_ACEOF
54515 CEOF$ac_eof
54516 _ACEOF
54517
54518
54519 ac_delim='%!_!# '
54520 for ac_last_try in false false false false false :; do
54521 cat >conf$$subs.sed <<_ACEOF
54522 DISTDIR!$DISTDIR$ac_delim
54523 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54524 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54525 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54526 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54527 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54528 RESCOMP!$RESCOMP$ac_delim
54529 RESFLAGS!$RESFLAGS$ac_delim
54530 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54531 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54532 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54533 LIBWXMACRES!$LIBWXMACRES$ac_delim
54534 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54535 MACSETFILE!$MACSETFILE$ac_delim
54536 GCC!$GCC$ac_delim
54537 DLLTOOL!$DLLTOOL$ac_delim
54538 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54539 LIBOBJS!$LIBOBJS$ac_delim
54540 LTLIBOBJS!$LTLIBOBJS$ac_delim
54541 _ACEOF
54542
54543 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
54544 break
54545 elif $ac_last_try; then
54546 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54547 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54548 { (exit 1); exit 1; }; }
54549 else
54550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54551 fi
54552 done
54553
54554 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54555 if test -n "$ac_eof"; then
54556 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54557 ac_eof=`expr $ac_eof + 1`
54558 fi
54559
54560 cat >>$CONFIG_STATUS <<_ACEOF
54561 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54563 _ACEOF
54564 sed '
54565 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54566 s/^/s,@/; s/!/@,|#_!!_#|/
54567 :n
54568 t n
54569 s/'"$ac_delim"'$/,g/; t
54570 s/$/\\/; p
54571 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54572 ' >>$CONFIG_STATUS <conf$$subs.sed
54573 rm -f conf$$subs.sed
54574 cat >>$CONFIG_STATUS <<_ACEOF
54575 :end
54576 s/|#_!!_#|//g
54577 CEOF$ac_eof
54578 _ACEOF
54579
54580
54581 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54582 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54583 # trailing colons and then remove the whole line if VPATH becomes empty
54584 # (actually we leave an empty line to preserve line numbers).
54585 if test "x$srcdir" = x.; then
54586 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54587 s/:*\$(srcdir):*/:/
54588 s/:*\${srcdir}:*/:/
54589 s/:*@srcdir@:*/:/
54590 s/^\([^=]*=[ ]*\):*/\1/
54591 s/:*$//
54592 s/^[^=]*=[ ]*$//
54593 }'
54594 fi
54595
54596 cat >>$CONFIG_STATUS <<\_ACEOF
54597 fi # test -n "$CONFIG_FILES"
54598
54599
54600 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54601 do
54602 case $ac_tag in
54603 :[FHLC]) ac_mode=$ac_tag; continue;;
54604 esac
54605 case $ac_mode$ac_tag in
54606 :[FHL]*:*);;
54607 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54608 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54609 { (exit 1); exit 1; }; };;
54610 :[FH]-) ac_tag=-:-;;
54611 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54612 esac
54613 ac_save_IFS=$IFS
54614 IFS=:
54615 set x $ac_tag
54616 IFS=$ac_save_IFS
54617 shift
54618 ac_file=$1
54619 shift
54620
54621 case $ac_mode in
54622 :L) ac_source=$1;;
54623 :[FH])
54624 ac_file_inputs=
54625 for ac_f
54626 do
54627 case $ac_f in
54628 -) ac_f="$tmp/stdin";;
54629 *) # Look for the file first in the build tree, then in the source tree
54630 # (if the path is not absolute). The absolute path cannot be DOS-style,
54631 # because $ac_f cannot contain `:'.
54632 test -f "$ac_f" ||
54633 case $ac_f in
54634 [\\/$]*) false;;
54635 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54636 esac ||
54637 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54638 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54639 { (exit 1); exit 1; }; };;
54640 esac
54641 ac_file_inputs="$ac_file_inputs $ac_f"
54642 done
54643
54644 # Let's still pretend it is `configure' which instantiates (i.e., don't
54645 # use $as_me), people would be surprised to read:
54646 # /* config.h. Generated by config.status. */
54647 configure_input="Generated from "`IFS=:
54648 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54649 if test x"$ac_file" != x-; then
54650 configure_input="$ac_file. $configure_input"
54651 { echo "$as_me:$LINENO: creating $ac_file" >&5
54652 echo "$as_me: creating $ac_file" >&6;}
54653 fi
54654
54655 case $ac_tag in
54656 *:-:* | *:-) cat >"$tmp/stdin";;
54657 esac
54658 ;;
54659 esac
54660
54661 ac_dir=`$as_dirname -- "$ac_file" ||
54662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54663 X"$ac_file" : 'X\(//\)[^/]' \| \
54664 X"$ac_file" : 'X\(//\)$' \| \
54665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54666 echo X"$ac_file" |
54667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54668 s//\1/
54669 q
54670 }
54671 /^X\(\/\/\)[^/].*/{
54672 s//\1/
54673 q
54674 }
54675 /^X\(\/\/\)$/{
54676 s//\1/
54677 q
54678 }
54679 /^X\(\/\).*/{
54680 s//\1/
54681 q
54682 }
54683 s/.*/./; q'`
54684 { as_dir="$ac_dir"
54685 case $as_dir in #(
54686 -*) as_dir=./$as_dir;;
54687 esac
54688 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54689 as_dirs=
54690 while :; do
54691 case $as_dir in #(
54692 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54693 *) as_qdir=$as_dir;;
54694 esac
54695 as_dirs="'$as_qdir' $as_dirs"
54696 as_dir=`$as_dirname -- "$as_dir" ||
54697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54698 X"$as_dir" : 'X\(//\)[^/]' \| \
54699 X"$as_dir" : 'X\(//\)$' \| \
54700 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54701 echo X"$as_dir" |
54702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54703 s//\1/
54704 q
54705 }
54706 /^X\(\/\/\)[^/].*/{
54707 s//\1/
54708 q
54709 }
54710 /^X\(\/\/\)$/{
54711 s//\1/
54712 q
54713 }
54714 /^X\(\/\).*/{
54715 s//\1/
54716 q
54717 }
54718 s/.*/./; q'`
54719 test -d "$as_dir" && break
54720 done
54721 test -z "$as_dirs" || eval "mkdir $as_dirs"
54722 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54723 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54724 { (exit 1); exit 1; }; }; }
54725 ac_builddir=.
54726
54727 case "$ac_dir" in
54728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54729 *)
54730 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54731 # A ".." for each directory in $ac_dir_suffix.
54732 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54733 case $ac_top_builddir_sub in
54734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54736 esac ;;
54737 esac
54738 ac_abs_top_builddir=$ac_pwd
54739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54740 # for backward compatibility:
54741 ac_top_builddir=$ac_top_build_prefix
54742
54743 case $srcdir in
54744 .) # We are building in place.
54745 ac_srcdir=.
54746 ac_top_srcdir=$ac_top_builddir_sub
54747 ac_abs_top_srcdir=$ac_pwd ;;
54748 [\\/]* | ?:[\\/]* ) # Absolute name.
54749 ac_srcdir=$srcdir$ac_dir_suffix;
54750 ac_top_srcdir=$srcdir
54751 ac_abs_top_srcdir=$srcdir ;;
54752 *) # Relative name.
54753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54754 ac_top_srcdir=$ac_top_build_prefix$srcdir
54755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54756 esac
54757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54758
54759
54760 case $ac_mode in
54761 :F)
54762 #
54763 # CONFIG_FILE
54764 #
54765
54766 case $INSTALL in
54767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54768 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54769 esac
54770 _ACEOF
54771
54772 cat >>$CONFIG_STATUS <<\_ACEOF
54773 # If the template does not know about datarootdir, expand it.
54774 # FIXME: This hack should be removed a few years after 2.60.
54775 ac_datarootdir_hack=; ac_datarootdir_seen=
54776
54777 case `sed -n '/datarootdir/ {
54778 p
54779 q
54780 }
54781 /@datadir@/p
54782 /@docdir@/p
54783 /@infodir@/p
54784 /@localedir@/p
54785 /@mandir@/p
54786 ' $ac_file_inputs` in
54787 *datarootdir*) ac_datarootdir_seen=yes;;
54788 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54789 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54790 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54791 _ACEOF
54792 cat >>$CONFIG_STATUS <<_ACEOF
54793 ac_datarootdir_hack='
54794 s&@datadir@&$datadir&g
54795 s&@docdir@&$docdir&g
54796 s&@infodir@&$infodir&g
54797 s&@localedir@&$localedir&g
54798 s&@mandir@&$mandir&g
54799 s&\\\${datarootdir}&$datarootdir&g' ;;
54800 esac
54801 _ACEOF
54802
54803 # Neutralize VPATH when `$srcdir' = `.'.
54804 # Shell code in configure.ac might set extrasub.
54805 # FIXME: do we really want to maintain this feature?
54806 cat >>$CONFIG_STATUS <<_ACEOF
54807 sed "$ac_vpsub
54808 $extrasub
54809 _ACEOF
54810 cat >>$CONFIG_STATUS <<\_ACEOF
54811 :t
54812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54813 s&@configure_input@&$configure_input&;t t
54814 s&@top_builddir@&$ac_top_builddir_sub&;t t
54815 s&@srcdir@&$ac_srcdir&;t t
54816 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54817 s&@top_srcdir@&$ac_top_srcdir&;t t
54818 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54819 s&@builddir@&$ac_builddir&;t t
54820 s&@abs_builddir@&$ac_abs_builddir&;t t
54821 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54822 s&@INSTALL@&$ac_INSTALL&;t t
54823 $ac_datarootdir_hack
54824 " $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
54825
54826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54827 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54829 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54830 which seems to be undefined. Please make sure it is defined." >&5
54831 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54832 which seems to be undefined. Please make sure it is defined." >&2;}
54833
54834 rm -f "$tmp/stdin"
54835 case $ac_file in
54836 -) cat "$tmp/out"; rm -f "$tmp/out";;
54837 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54838 esac
54839 ;;
54840 :H)
54841 #
54842 # CONFIG_HEADER
54843 #
54844 _ACEOF
54845
54846 # Transform confdefs.h into a sed script `conftest.defines', that
54847 # substitutes the proper values into config.h.in to produce config.h.
54848 rm -f conftest.defines conftest.tail
54849 # First, append a space to every undef/define line, to ease matching.
54850 echo 's/$/ /' >conftest.defines
54851 # Then, protect against being on the right side of a sed subst, or in
54852 # an unquoted here document, in config.status. If some macros were
54853 # called several times there might be several #defines for the same
54854 # symbol, which is useless. But do not sort them, since the last
54855 # AC_DEFINE must be honored.
54856 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54857 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54858 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54859 # PARAMS is the parameter list in the macro definition--in most cases, it's
54860 # just an empty string.
54861 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54862 ac_dB='\\)[ (].*,\\1define\\2'
54863 ac_dC=' '
54864 ac_dD=' ,'
54865
54866 uniq confdefs.h |
54867 sed -n '
54868 t rset
54869 :rset
54870 s/^[ ]*#[ ]*define[ ][ ]*//
54871 t ok
54872 d
54873 :ok
54874 s/[\\&,]/\\&/g
54875 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54876 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54877 ' >>conftest.defines
54878
54879 # Remove the space that was appended to ease matching.
54880 # Then replace #undef with comments. This is necessary, for
54881 # example, in the case of _POSIX_SOURCE, which is predefined and required
54882 # on some systems where configure will not decide to define it.
54883 # (The regexp can be short, since the line contains either #define or #undef.)
54884 echo 's/ $//
54885 s,^[ #]*u.*,/* & */,' >>conftest.defines
54886
54887 # Break up conftest.defines:
54888 ac_max_sed_lines=50
54889
54890 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54891 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54892 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54893 # et cetera.
54894 ac_in='$ac_file_inputs'
54895 ac_out='"$tmp/out1"'
54896 ac_nxt='"$tmp/out2"'
54897
54898 while :
54899 do
54900 # Write a here document:
54901 cat >>$CONFIG_STATUS <<_ACEOF
54902 # First, check the format of the line:
54903 cat >"\$tmp/defines.sed" <<\\CEOF
54904 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54905 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54906 b
54907 :def
54908 _ACEOF
54909 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54910 echo 'CEOF
54911 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54912 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54913 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54914 grep . conftest.tail >/dev/null || break
54915 rm -f conftest.defines
54916 mv conftest.tail conftest.defines
54917 done
54918 rm -f conftest.defines conftest.tail
54919
54920 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54921 cat >>$CONFIG_STATUS <<\_ACEOF
54922 if test x"$ac_file" != x-; then
54923 echo "/* $configure_input */" >"$tmp/config.h"
54924 cat "$ac_result" >>"$tmp/config.h"
54925 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54926 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54927 echo "$as_me: $ac_file is unchanged" >&6;}
54928 else
54929 rm -f $ac_file
54930 mv "$tmp/config.h" $ac_file
54931 fi
54932 else
54933 echo "/* $configure_input */"
54934 cat "$ac_result"
54935 fi
54936 rm -f "$tmp/out12"
54937 ;;
54938
54939 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54940 echo "$as_me: executing $ac_file commands" >&6;}
54941 ;;
54942 esac
54943
54944
54945 case $ac_file$ac_mode in
54946 "rcdefs.h":C)
54947 mkdir -p $outdir &&
54948 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54949 ;;
54950 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54951 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54952 "wx-config":C) rm -f wx-config
54953 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54954 ;;
54955
54956 esac
54957 done # for ac_tag
54958
54959
54960 { (exit 0); exit 0; }
54961 _ACEOF
54962 chmod +x $CONFIG_STATUS
54963 ac_clean_files=$ac_clean_files_save
54964
54965
54966 # configure is writing to config.log, and then calls config.status.
54967 # config.status does its own redirection, appending to config.log.
54968 # Unfortunately, on DOS this fails, as config.log is still kept open
54969 # by configure, so config.status won't be able to write to it; its
54970 # output is simply discarded. So we exec the FD to /dev/null,
54971 # effectively closing config.log, so it can be properly (re)opened and
54972 # appended to by config.status. When coming back to configure, we
54973 # need to make the FD available again.
54974 if test "$no_create" != yes; then
54975 ac_cs_success=:
54976 ac_config_status_args=
54977 test "$silent" = yes &&
54978 ac_config_status_args="$ac_config_status_args --quiet"
54979 exec 5>/dev/null
54980 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54981 exec 5>>config.log
54982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54983 # would make configure fail if this is the last instruction.
54984 $ac_cs_success || { (exit 1); exit 1; }
54985 fi
54986
54987 #
54988 # CONFIG_SUBDIRS section.
54989 #
54990 if test "$no_recursion" != yes; then
54991
54992 # Remove --cache-file and --srcdir arguments so they do not pile up.
54993 ac_sub_configure_args=
54994 ac_prev=
54995 eval "set x $ac_configure_args"
54996 shift
54997 for ac_arg
54998 do
54999 if test -n "$ac_prev"; then
55000 ac_prev=
55001 continue
55002 fi
55003 case $ac_arg in
55004 -cache-file | --cache-file | --cache-fil | --cache-fi \
55005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55006 ac_prev=cache_file ;;
55007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55009 | --c=*)
55010 ;;
55011 --config-cache | -C)
55012 ;;
55013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55014 ac_prev=srcdir ;;
55015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55016 ;;
55017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55018 ac_prev=prefix ;;
55019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55020 ;;
55021 *)
55022 case $ac_arg in
55023 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55024 esac
55025 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55026 esac
55027 done
55028
55029 # Always prepend --prefix to ensure using the same prefix
55030 # in subdir configurations.
55031 ac_arg="--prefix=$prefix"
55032 case $ac_arg in
55033 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55034 esac
55035 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55036
55037 # Pass --silent
55038 if test "$silent" = yes; then
55039 ac_sub_configure_args="--silent $ac_sub_configure_args"
55040 fi
55041
55042 ac_popdir=`pwd`
55043 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55044
55045 # Do not complain, so a configure script can configure whichever
55046 # parts of a large source tree are present.
55047 test -d "$srcdir/$ac_dir" || continue
55048
55049 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55050 echo "$as_me:$LINENO: $ac_msg" >&5
55051 echo "$ac_msg" >&6
55052 { as_dir="$ac_dir"
55053 case $as_dir in #(
55054 -*) as_dir=./$as_dir;;
55055 esac
55056 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55057 as_dirs=
55058 while :; do
55059 case $as_dir in #(
55060 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55061 *) as_qdir=$as_dir;;
55062 esac
55063 as_dirs="'$as_qdir' $as_dirs"
55064 as_dir=`$as_dirname -- "$as_dir" ||
55065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55066 X"$as_dir" : 'X\(//\)[^/]' \| \
55067 X"$as_dir" : 'X\(//\)$' \| \
55068 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55069 echo X"$as_dir" |
55070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55071 s//\1/
55072 q
55073 }
55074 /^X\(\/\/\)[^/].*/{
55075 s//\1/
55076 q
55077 }
55078 /^X\(\/\/\)$/{
55079 s//\1/
55080 q
55081 }
55082 /^X\(\/\).*/{
55083 s//\1/
55084 q
55085 }
55086 s/.*/./; q'`
55087 test -d "$as_dir" && break
55088 done
55089 test -z "$as_dirs" || eval "mkdir $as_dirs"
55090 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55091 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55092 { (exit 1); exit 1; }; }; }
55093 ac_builddir=.
55094
55095 case "$ac_dir" in
55096 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55097 *)
55098 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55099 # A ".." for each directory in $ac_dir_suffix.
55100 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55101 case $ac_top_builddir_sub in
55102 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55103 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55104 esac ;;
55105 esac
55106 ac_abs_top_builddir=$ac_pwd
55107 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55108 # for backward compatibility:
55109 ac_top_builddir=$ac_top_build_prefix
55110
55111 case $srcdir in
55112 .) # We are building in place.
55113 ac_srcdir=.
55114 ac_top_srcdir=$ac_top_builddir_sub
55115 ac_abs_top_srcdir=$ac_pwd ;;
55116 [\\/]* | ?:[\\/]* ) # Absolute name.
55117 ac_srcdir=$srcdir$ac_dir_suffix;
55118 ac_top_srcdir=$srcdir
55119 ac_abs_top_srcdir=$srcdir ;;
55120 *) # Relative name.
55121 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55122 ac_top_srcdir=$ac_top_build_prefix$srcdir
55123 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55124 esac
55125 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55126
55127
55128 cd "$ac_dir"
55129
55130 # Check for guested configure; otherwise get Cygnus style configure.
55131 if test -f "$ac_srcdir/configure.gnu"; then
55132 ac_sub_configure=$ac_srcdir/configure.gnu
55133 elif test -f "$ac_srcdir/configure"; then
55134 ac_sub_configure=$ac_srcdir/configure
55135 elif test -f "$ac_srcdir/configure.in"; then
55136 # This should be Cygnus configure.
55137 ac_sub_configure=$ac_aux_dir/configure
55138 else
55139 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55141 ac_sub_configure=
55142 fi
55143
55144 # The recursion is here.
55145 if test -n "$ac_sub_configure"; then
55146 # Make the cache file name correct relative to the subdirectory.
55147 case $cache_file in
55148 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55149 *) # Relative name.
55150 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55151 esac
55152
55153 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55154 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55155 # The eval makes quoting arguments work.
55156 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55157 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55158 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55159 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55160 { (exit 1); exit 1; }; }
55161 fi
55162
55163 cd "$ac_popdir"
55164 done
55165 fi
55166
55167
55168 echo
55169 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55170 echo ""
55171 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55172 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55173
55174 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55175 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55176 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55177 if test "$wxUSE_UNICODE" = "yes"; then
55178 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55179 echo " (using UTF-8)"
55180 else
55181 echo " (using wchar_t)"
55182 fi
55183 else
55184 echo
55185 fi
55186
55187 echo " What level of wxWidgets compatibility should be enabled?"
55188 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55189 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55190
55191 echo " Which libraries should wxWidgets use?"
55192 echo " STL ${wxUSE_STL}"
55193 echo " jpeg ${wxUSE_LIBJPEG-none}"
55194 echo " png ${wxUSE_LIBPNG-none}"
55195 echo " regex ${wxUSE_REGEX}"
55196 echo " tiff ${wxUSE_LIBTIFF-none}"
55197 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55198 echo " xpm ${wxUSE_LIBXPM-none}"
55199 fi
55200 echo " zlib ${wxUSE_ZLIB}"
55201 echo " odbc ${wxUSE_ODBC}"
55202 echo " expat ${wxUSE_EXPAT}"
55203 echo " libmspack ${wxUSE_LIBMSPACK}"
55204 echo " sdl ${wxUSE_LIBSDL}"
55205
55206 echo ""
55207