2 # From configure.in Id: configure.in 49441 2007-10-25 22:43:57Z MW .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
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 ## --------------------- ##
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
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+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
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
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
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
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.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
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
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
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
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
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'"
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'"
555 exec 7<&0 </dev
/null
6>&1
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`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
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'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
755 SAMPLES_RPATH_POSTLINK
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MSDOS_1
876 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
878 COND_PLATFORM_UNIX_1_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
880 COND_PLATFORM_WIN32_0
881 COND_PLATFORM_WIN32_1
883 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
885 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
887 COND_SHARED_0_USE_STC_1
888 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
889 COND_SHARED_0_WXUSE_REGEX_BUILTIN
890 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
892 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
895 COND_TOOLKIT_COCOA_USE_GUI_1
896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
898 COND_TOOLKIT_DFB_USE_GUI_1
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_GTK_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1
909 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_MGL_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1
914 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MSW_USE_GUI_1
917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MSW_WXUNIV_0
920 COND_TOOLKIT_PM_USE_GUI_1
921 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_WINCE_USE_GUI_1
924 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_WINCE_WXUNIV_0
927 COND_TOOLKIT_X11_USE_GUI_1
929 COND_USE_EXCEPTIONS_0
930 COND_USE_EXCEPTIONS_1
933 COND_USE_GUI_1_USE_OPENGL_1
934 COND_USE_GUI_1_WXUNIV_0
935 COND_USE_GUI_1_WXUNIV_1
936 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
937 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
938 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
943 COND_USE_SOSYMLINKS_1
944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
945 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSOLARIS_1
952 COND_WINDOWS_IMPLIB_1
953 COND_WITH_PLUGIN_SDL_1
956 COND_WXUSE_EXPAT_BUILTIN
957 COND_WXUSE_LIBJPEG_BUILTIN
958 COND_WXUSE_LIBPNG_BUILTIN
959 COND_WXUSE_LIBTIFF_BUILTIN
960 COND_WXUSE_REGEX_BUILTIN
961 COND_WXUSE_ZLIB_BUILTIN
964 WX_LIBRARY_BASENAME_NOGUI
965 WX_LIBRARY_BASENAME_GUI
997 WX_RESOURCES_MACOSX_ASCII
998 WX_RESOURCES_MACOSX_DATA
1008 ac_precious_vars
='build_alias
1032 LIBGNOMEPRINTUI_CFLAGS
1033 LIBGNOMEPRINTUI_LIBS
1042 ac_subdirs_all
='src/tiff
1045 # Initialize some variables set by options.
1047 ac_init_version
=false
1048 # The variables have the same names as the options, with
1049 # dashes changed to underlines.
1050 cache_file
=/dev
/null
1057 program_transform_name
=s
,x
,x
,
1065 # Installation directory options.
1066 # These are left unexpanded so users can "make install exec_prefix=/foo"
1067 # and all the variables that are supposed to be based on exec_prefix
1068 # by default will actually change.
1069 # Use braces instead of parens because sh, perl, etc. also accept them.
1070 # (The list follows the same order as the GNU Coding Standards.)
1071 bindir
='${exec_prefix}/bin'
1072 sbindir
='${exec_prefix}/sbin'
1073 libexecdir
='${exec_prefix}/libexec'
1074 datarootdir
='${prefix}/share'
1075 datadir
='${datarootdir}'
1076 sysconfdir
='${prefix}/etc'
1077 sharedstatedir
='${prefix}/com'
1078 localstatedir
='${prefix}/var'
1079 includedir
='${prefix}/include'
1080 oldincludedir
='/usr/include'
1081 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1082 infodir
='${datarootdir}/info'
1087 libdir
='${exec_prefix}/lib'
1088 localedir
='${datarootdir}/locale'
1089 mandir
='${datarootdir}/man'
1095 # If the previous option needs an argument, assign it.
1096 if test -n "$ac_prev"; then
1097 eval $ac_prev=\
$ac_option
1103 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1107 # Accept the important Cygnus configure options, so we can diagnose typos.
1109 case $ac_dashdash$ac_option in
1113 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1115 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1116 bindir
=$ac_optarg ;;
1118 -build | --build | --buil | --bui | --bu)
1119 ac_prev
=build_alias
;;
1120 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1121 build_alias
=$ac_optarg ;;
1123 -cache-file | --cache-file | --cache-fil | --cache-fi \
1124 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1125 ac_prev
=cache_file
;;
1126 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1127 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1128 cache_file
=$ac_optarg ;;
1130 --config-cache | -C)
1131 cache_file
=config.cache
;;
1133 -datadir | --datadir | --datadi | --datad)
1135 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1136 datadir
=$ac_optarg ;;
1138 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1139 | --dataroo | --dataro | --datar)
1140 ac_prev
=datarootdir
;;
1141 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1142 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1143 datarootdir
=$ac_optarg ;;
1145 -disable-* | --disable-*)
1146 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1149 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1150 { (exit 1); exit 1; }; }
1151 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1152 eval enable_
$ac_feature=no
;;
1154 -docdir | --docdir | --docdi | --doc | --do)
1156 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1157 docdir
=$ac_optarg ;;
1159 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1161 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1162 dvidir
=$ac_optarg ;;
1164 -enable-* | --enable-*)
1165 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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=\
$ac_optarg ;;
1173 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1174 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1175 | --exec | --exe | --ex)
1176 ac_prev
=exec_prefix
;;
1177 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1178 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1179 | --exec=* | --exe=* | --ex=*)
1180 exec_prefix
=$ac_optarg ;;
1182 -gas | --gas | --ga | --g)
1183 # Obsolete; use --with-gas.
1186 -help | --help | --hel | --he | -h)
1187 ac_init_help
=long
;;
1188 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1189 ac_init_help
=recursive
;;
1190 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1191 ac_init_help
=short
;;
1193 -host | --host | --hos | --ho)
1194 ac_prev
=host_alias
;;
1195 -host=* | --host=* | --hos=* | --ho=*)
1196 host_alias
=$ac_optarg ;;
1198 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1200 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1202 htmldir
=$ac_optarg ;;
1204 -includedir | --includedir | --includedi | --included | --include \
1205 | --includ | --inclu | --incl | --inc)
1206 ac_prev
=includedir
;;
1207 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1208 | --includ=* | --inclu=* | --incl=* | --inc=*)
1209 includedir
=$ac_optarg ;;
1211 -infodir | --infodir | --infodi | --infod | --info | --inf)
1213 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1214 infodir
=$ac_optarg ;;
1216 -libdir | --libdir | --libdi | --libd)
1218 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1219 libdir
=$ac_optarg ;;
1221 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1222 | --libexe | --libex | --libe)
1223 ac_prev
=libexecdir
;;
1224 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1225 | --libexe=* | --libex=* | --libe=*)
1226 libexecdir
=$ac_optarg ;;
1228 -localedir | --localedir | --localedi | --localed | --locale)
1229 ac_prev
=localedir
;;
1230 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1231 localedir
=$ac_optarg ;;
1233 -localstatedir | --localstatedir | --localstatedi | --localstated \
1234 | --localstate | --localstat | --localsta | --localst | --locals)
1235 ac_prev
=localstatedir
;;
1236 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1237 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1238 localstatedir
=$ac_optarg ;;
1240 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1242 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1243 mandir
=$ac_optarg ;;
1245 -nfp | --nfp | --nf)
1246 # Obsolete; use --without-fp.
1249 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1250 | --no-cr | --no-c | -n)
1253 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1254 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1257 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1258 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1259 | --oldin | --oldi | --old | --ol | --o)
1260 ac_prev
=oldincludedir
;;
1261 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1262 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1263 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1264 oldincludedir
=$ac_optarg ;;
1266 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1268 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1269 prefix
=$ac_optarg ;;
1271 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1272 | --program-pre | --program-pr | --program-p)
1273 ac_prev
=program_prefix
;;
1274 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1275 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1276 program_prefix
=$ac_optarg ;;
1278 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1279 | --program-suf | --program-su | --program-s)
1280 ac_prev
=program_suffix
;;
1281 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1282 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1283 program_suffix
=$ac_optarg ;;
1285 -program-transform-name | --program-transform-name \
1286 | --program-transform-nam | --program-transform-na \
1287 | --program-transform-n | --program-transform- \
1288 | --program-transform | --program-transfor \
1289 | --program-transfo | --program-transf \
1290 | --program-trans | --program-tran \
1291 | --progr-tra | --program-tr | --program-t)
1292 ac_prev
=program_transform_name
;;
1293 -program-transform-name=* | --program-transform-name=* \
1294 | --program-transform-nam=* | --program-transform-na=* \
1295 | --program-transform-n=* | --program-transform-=* \
1296 | --program-transform=* | --program-transfor=* \
1297 | --program-transfo=* | --program-transf=* \
1298 | --program-trans=* | --program-tran=* \
1299 | --progr-tra=* | --program-tr=* | --program-t=*)
1300 program_transform_name
=$ac_optarg ;;
1302 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1304 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1305 pdfdir
=$ac_optarg ;;
1307 -psdir | --psdir | --psdi | --psd | --ps)
1309 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1313 | -silent | --silent | --silen | --sile | --sil)
1316 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1318 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1320 sbindir
=$ac_optarg ;;
1322 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1323 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1324 | --sharedst | --shareds | --shared | --share | --shar \
1326 ac_prev
=sharedstatedir
;;
1327 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1328 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1329 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1331 sharedstatedir
=$ac_optarg ;;
1333 -site | --site | --sit)
1335 -site=* | --site=* | --sit=*)
1338 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1340 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1341 srcdir
=$ac_optarg ;;
1343 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1344 | --syscon | --sysco | --sysc | --sys | --sy)
1345 ac_prev
=sysconfdir
;;
1346 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1347 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1348 sysconfdir
=$ac_optarg ;;
1350 -target | --target | --targe | --targ | --tar | --ta | --t)
1351 ac_prev
=target_alias
;;
1352 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1353 target_alias
=$ac_optarg ;;
1355 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1358 -version | --version | --versio | --versi | --vers | -V)
1359 ac_init_version
=: ;;
1362 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1365 { echo "$as_me: error: invalid package name: $ac_package" >&2
1366 { (exit 1); exit 1; }; }
1367 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1368 eval with_
$ac_package=\
$ac_optarg ;;
1370 -without-* | --without-*)
1371 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_
$ac_package=no
;;
1380 # Obsolete; use --with-x.
1383 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1384 | --x-incl | --x-inc | --x-in | --x-i)
1385 ac_prev
=x_includes
;;
1386 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1387 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1388 x_includes
=$ac_optarg ;;
1390 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1391 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1392 ac_prev
=x_libraries
;;
1393 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1394 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1395 x_libraries
=$ac_optarg ;;
1397 -*) { echo "$as_me: error: unrecognized option: $ac_option
1398 Try \`$0 --help' for more information." >&2
1399 { (exit 1); exit 1; }; }
1403 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1404 # Reject names that are not valid shell variable names.
1405 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1406 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1407 { (exit 1); exit 1; }; }
1408 eval $ac_envvar=\
$ac_optarg
1409 export $ac_envvar ;;
1412 # FIXME: should be removed in autoconf 3.0.
1413 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1414 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1415 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1416 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1422 if test -n "$ac_prev"; then
1423 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1424 { echo "$as_me: error: missing argument to $ac_option" >&2
1425 { (exit 1); exit 1; }; }
1428 # Be sure to have absolute directory names.
1429 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1430 datadir sysconfdir sharedstatedir localstatedir includedir \
1431 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1432 libdir localedir mandir
1434 eval ac_val
=\$
$ac_var
1436 [\\/$
]* | ?
:[\\/]* ) continue;;
1437 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1439 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1440 { (exit 1); exit 1; }; }
1443 # There might be people who depend on the old broken behavior: `$host'
1444 # used to hold the argument of --host etc.
1445 # FIXME: To remove some day.
1448 target
=$target_alias
1450 # FIXME: To remove some day.
1451 if test "x$host_alias" != x
; then
1452 if test "x$build_alias" = x
; then
1453 cross_compiling
=maybe
1454 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1455 If a cross compiler is detected then cross compile mode will be used." >&2
1456 elif test "x$build_alias" != "x$host_alias"; then
1462 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1464 test "$silent" = yes && exec 6>/dev
/null
1467 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1468 ac_ls_di
=`ls -di .` &&
1469 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1470 { echo "$as_me: error: Working directory cannot be determined" >&2
1471 { (exit 1); exit 1; }; }
1472 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1473 { echo "$as_me: error: pwd does not report name of working directory" >&2
1474 { (exit 1); exit 1; }; }
1477 # Find the source files, if location was not specified.
1478 if test -z "$srcdir"; then
1479 ac_srcdir_defaulted
=yes
1480 # Try the directory containing this script, then the parent directory.
1481 ac_confdir
=`$as_dirname -- "$0" ||
1482 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1483 X"$0" : 'X\(//\)[^/]' \| \
1484 X"$0" : 'X\(//\)$' \| \
1485 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1505 if test ! -r "$srcdir/$ac_unique_file"; then
1509 ac_srcdir_defaulted
=no
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1513 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1514 { (exit 1); exit 1; }; }
1516 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1518 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1519 { (exit 1); exit 1; }; }
1521 # When building in place, set srcdir=.
1522 if test "$ac_abs_confdir" = "$ac_pwd"; then
1525 # Remove unnecessary trailing slashes from srcdir.
1526 # Double slashes in file names in object file debugging info
1527 # mess up M-x gdb in Emacs.
1529 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1531 for ac_var
in $ac_precious_vars; do
1532 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1533 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1534 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1535 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1539 # Report the --help message.
1541 if test "$ac_init_help" = "long"; then
1542 # Omit some internal or obsolete options to make the list less imposing.
1543 # This message is too long to be a string in the A/UX 3.1 sh.
1545 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1547 Usage: $0 [OPTION]... [VAR=VALUE]...
1549 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1550 VAR=VALUE. See below for descriptions of some of the useful variables.
1552 Defaults for the options are specified in brackets.
1555 -h, --help display this help and exit
1556 --help=short display options specific to this package
1557 --help=recursive display the short help of all the included packages
1558 -V, --version display version information and exit
1559 -q, --quiet, --silent do not print \`checking...' messages
1560 --cache-file=FILE cache test results in FILE [disabled]
1561 -C, --config-cache alias for \`--cache-file=config.cache'
1562 -n, --no-create do not create output files
1563 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1565 Installation directories:
1566 --prefix=PREFIX install architecture-independent files in PREFIX
1567 [$ac_default_prefix]
1568 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1571 By default, \`make install' will install all the files in
1572 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1573 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1574 for instance \`--prefix=\$HOME'.
1576 For better control, use the options below.
1578 Fine tuning of the installation directories:
1579 --bindir=DIR user executables [EPREFIX/bin]
1580 --sbindir=DIR system admin executables [EPREFIX/sbin]
1581 --libexecdir=DIR program executables [EPREFIX/libexec]
1582 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1583 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1584 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1585 --libdir=DIR object code libraries [EPREFIX/lib]
1586 --includedir=DIR C header files [PREFIX/include]
1587 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1588 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1589 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1590 --infodir=DIR info documentation [DATAROOTDIR/info]
1591 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1592 --mandir=DIR man documentation [DATAROOTDIR/man]
1593 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1594 --htmldir=DIR html documentation [DOCDIR]
1595 --dvidir=DIR dvi documentation [DOCDIR]
1596 --pdfdir=DIR pdf documentation [DOCDIR]
1597 --psdir=DIR ps documentation [DOCDIR]
1603 --x-includes=DIR X include files are
in DIR
1604 --x-libraries=DIR X library files are
in DIR
1607 --build=BUILD configure
for building on BUILD
[guessed
]
1608 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1609 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1613 if test -n "$ac_init_help"; then
1614 case $ac_init_help in
1615 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1620 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1621 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1622 --disable-gui don
't build GUI parts of the library
1623 --enable-monolithic build wxWidgets as single library
1624 --enable-plugins build parts of wxWidgets as loadable components
1625 --enable-official_build official build of wxWidgets (win32 DLL only)
1626 --enable-vendor=VENDOR vendor name (win32 DLL only)
1627 --disable-all-features disable all optional features to build minimal library
1628 --enable-universal use wxWidgets GUI controls instead of native ones
1629 --enable-nanox use NanoX
1630 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1631 --enable-gpe use GNOME PDA Environment features if possible
1632 --disable-shared create static library instead of shared
1633 --disable-optimise create optimised code
1634 --enable-debug same as debug_flag and debug_info
1635 --enable-stl use STL for containers
1636 --enable-std_iostreams use standard C++ stream classes
1637 --enable-std_string use standard C++ string classes
1638 --disable-unicode compile without Unicode support
1639 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1640 --enable-utf8 use UTF-8 representation for strings (Unix only)
1641 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1642 --enable-extended_rtti use extended RTTI (XTI)
1643 --enable-omf use OMF object format
1644 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1645 --enable-debug_info create code with debugging information
1646 --enable-debug_gdb create code with extra GDB debugging information
1647 --enable-debug_cntxt use wxDebugContext
1648 --enable-mem_tracing create code with memory tracing
1649 --enable-profile create code with profiling information
1650 --enable-no_rtti create code without RTTI information
1651 --enable-no_exceptions create code without C++ exceptions handling
1652 --enable-permissive compile code disregarding strict ANSI
1653 --enable-no_deps create code without dependency information
1654 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1655 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1656 --enable-compat26 enable wxWidgets
2.6 compatibility
1657 --disable-compat28 disable wxWidgets
2.8 compatibility
1658 --disable-rpath disable use of rpath
for uninstalled builds
1659 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1660 --disable-visibility disable use of ELF symbols visibility even
if supported
1661 --enable-intl use internationalization system
1662 --enable-config use wxConfig
(and derived
) classes
1663 --enable-protocols use wxProtocol and derived classes
1664 --enable-ftp use wxFTP
(requires wxProtocol
1665 --enable-http use wxHTTP
(requires wxProtocol
1666 --enable-fileproto use wxFileProto class
(requires wxProtocol
1667 --enable-sockets use socket
/network classes
1668 --enable-ole use OLE classes
(Win32 only
)
1669 --enable-dataobj use data object classes
1670 --enable-ipc use interprocess communication
(wxSocket etc.
)
1671 --enable-baseevtloop use event loop
in console programs too
1672 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1673 --enable-selectloop use wxSelectDispatcher class
1674 --enable-apple_ieee use the Apple IEEE codec
1675 --enable-arcstream use wxArchive streams
1676 --enable-base64 use base64 encoding
/decoding functions
1677 --enable-backtrace use wxStackWalker class
for getting backtraces
1678 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1679 --enable-cmdline use wxCmdLineParser class
1680 --enable-datetime use wxDateTime class
1681 --enable-debugreport use wxDebugReport class
1682 --enable-dialupman use dialup network classes
1683 --enable-dynlib use wxLibrary class
for DLL loading
1684 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1685 --enable-exceptions build exception
-safe library
1686 --enable-ffile use wxFFile class
1687 --enable-file use wxFile class
1688 --enable-filesystem use virtual
file systems classes
1689 --enable-fontenum use wxFontEnumerator class
1690 --enable-fontmap use font encodings conversion classes
1691 --enable-fs_archive use virtual archive filesystems
1692 --enable-fs_inet use virtual HTTP
/FTP filesystems
1693 --enable-fs_zip now replaced by fs_archive
1694 --enable-geometry use geometry class
1695 --enable-log use logging system
1696 --enable-longlong use wxLongLong class
1697 --enable-mimetype use wxMimeTypesManager
1698 --enable-snglinst use wxSingleInstanceChecker class
1699 --enable-stdpaths use wxStandardPaths class
1700 --enable-stopwatch use wxStopWatch class
1701 --enable-streams use wxStream etc classes
1702 --enable-sysoptions use wxSystemOptions
1703 --enable-tarstream use wxTar streams
1704 --enable-textbuf use wxTextBuffer class
1705 --enable-textfile use wxTextFile class
1706 --enable-timer use wxTimer class
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support
in wxProtocol
1716 --enable-protocol-ftp FTP support
in wxProtocol
1717 --enable-protocol-file FILE support
in wxProtocol
1718 --enable-threads use threads
1719 --enable-iniconf use wxIniConfig
(Win32 only
)
1720 --enable-regkey use wxRegKey class
(Win32 only
)
1721 --enable-docview use document view architecture
1722 --enable-help use
help subsystem
1723 --enable-mshtmlhelp use MS HTML Help
(win32
)
1724 --enable-html use wxHTML sub
-library
1725 --enable-htmlhelp use wxHTML
-based help
1726 --enable-xrc use XRC resources sub
-library
1727 --enable-aui use AUI docking library
1728 --enable-stc use wxStyledTextCtrl library
1729 --enable-constraints use layout
-constraints system
1730 --enable-printarch use printing architecture
1731 --enable-mdi use multiple document interface architecture
1732 --enable-mdidoc use docview architecture with MDI
1733 --enable-loggui use standard GUI logger
1734 --enable-logwin use wxLogWindow
1735 --enable-logdialog use wxLogDialog
1736 --enable-webkit use wxWebKitCtrl
(Mac
)
1737 --enable-richtext use wxRichTextCtrl
1738 --enable-graphics_ctx use graphics context
2D drawing API
1739 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1740 --enable-svg use wxSVGFileDC device context
1741 --enable-clipboard use wxClipboard class
1742 --enable-dnd use Drag
'n'Drop classes
1743 --enable-metafile use win32 metafiles
1744 --disable-controls disable compilation of all standard controls
1745 --enable-accel use accelerators
1746 --enable-animatectrl use wxAnimationCtrl class
1747 --enable-button use wxButton class
1748 --enable-bmpbutton use wxBitmapButton class
1749 --enable-bmpcombobox use wxBitmapComboBox class
1750 --enable-calendar use wxCalendarCtrl class
1751 --enable-caret use wxCaret class
1752 --enable-checkbox use wxCheckBox class
1753 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1754 --enable-choice use wxChoice class
1755 --enable-choicebook use wxChoicebook class
1756 --enable-collpane use wxCollapsiblePane class
1757 --enable-colourpicker use wxColourPickerCtrl class
1758 --enable-combobox use wxComboBox class
1759 --enable-comboctrl use wxComboCtrl class
1760 --enable-datepick use wxDatePickerCtrl class
1761 --enable-dirpicker use wxDirPickerCtrl class
1762 --enable-display use wxDisplay class
1763 --enable-detect_sm use code to detect X11 session manager
1764 --enable-editablebox use wxEditableListBox class
1765 --enable-filepicker use wxFilePickerCtrl class
1766 --enable-filectrl use wxFileCtrl class
1767 --enable-fontpicker use wxFontPickerCtrl class
1768 --enable-gauge use wxGauge class
1769 --enable-grid use wxGrid class
1770 --enable-dataviewctrl use wxDataViewCtrl class
1771 --enable-hyperlink use wxHyperlinkCtrl class
1772 --enable-imaglist use wxImageList class
1773 --enable-listbook use wxListbook class
1774 --enable-listbox use wxListBox class
1775 --enable-listctrl use wxListCtrl class
1776 --enable-notebook use wxNotebook class
1777 --enable-odcombobox use wxOwnerDrawnComboBox class
1778 --enable-radiobox use wxRadioBox class
1779 --enable-radiobtn use wxRadioButton class
1780 --enable-sash use wxSashWindow class
1781 --enable-scrollbar use wxScrollBar class and scrollable windows
1782 --enable-searchctrl use wxSearchCtrl class
1783 --enable-slider use wxSlider class
1784 --enable-spinbtn use wxSpinButton class
1785 --enable-spinctrl use wxSpinCtrl class
1786 --enable-splitter use wxSplitterWindow class
1787 --enable-statbmp use wxStaticBitmap class
1788 --enable-statbox use wxStaticBox class
1789 --enable-statline use wxStaticLine class
1790 --enable-stattext use wxStaticText class
1791 --enable-statusbar use wxStatusBar class
1792 --enable-tabdialog use wxTabControl class
1793 --enable-taskbaricon use wxTaskBarIcon class
1794 --enable-textctrl use wxTextCtrl class
1795 --enable-togglebtn use wxToggleButton class
1796 --enable-toolbar use wxToolBar class
1797 --enable-tbarnative use native wxToolBar class
1798 --enable-treebook use wxTreebook class
1799 --enable-toolbook use wxToolbook class
1800 --enable-treectrl use wxTreeCtrl class
1801 --enable-tipwindow use wxTipWindow class
1802 --enable-popupwin use wxPopUpWindow class
1803 --enable-commondlg use all common dialogs
1804 --enable-aboutdlg use wxAboutBox
1805 --enable-choicedlg use wxChoiceDialog
1806 --enable-coldlg use wxColourDialog
1807 --enable-filedlg use wxFileDialog
1808 --enable-finddlg use wxFindReplaceDialog
1809 --enable-fontdlg use wxFontDialog
1810 --enable-dirdlg use wxDirDialog
1811 --enable-msgdlg use wxMessageDialog
1812 --enable-numberdlg use wxNumberEntryDialog
1813 --enable-splash use wxSplashScreen
1814 --enable-textdlg use wxTextDialog
1815 --enable-tipdlg use startup tips
1816 --enable-progressdlg use wxProgressDialog
1817 --enable-wizarddlg use wxWizard
1818 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1819 --enable-miniframe use wxMiniFrame class
1820 --enable-tooltips use wxToolTip class
1821 --enable-splines use spline drawing code
1822 --enable-mousewheel use mousewheel
1823 --enable-validators use wxValidator and derived classes
1824 --enable-busyinfo use wxBusyInfo
1825 --enable-joystick use wxJoystick
1826 --enable-metafiles use wxMetaFile
(Win32 only
)
1827 --enable-dragimage use wxDragImage
1828 --enable-accessibility enable accessibility support
1829 --enable-palette use wxPalette class
1830 --enable-image use wxImage class
1831 --enable-gif use gif images
(GIF
file format
)
1832 --enable-pcx use pcx images
(PCX
file format
)
1833 --enable-tga use tga images
(TGA
file format
)
1834 --enable-iff use iff images
(IFF
file format
)
1835 --enable-pnm use pnm images
(PNM
file format
)
1836 --enable-xpm use xpm images
(XPM
file format
)
1837 --enable-icocur use Windows ICO and CUR formats
1838 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1839 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1840 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1841 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1842 --enable-wxdib use wxDIB class
(Win32 only
)
1843 --disable-largefile omit support
for large files
1844 --disable-gtktest do not try to compile and run a
test GTK
+ program
1845 --disable-gtktest Do not try to compile and run a
test GTK program
1846 --disable-sdltest Do not try to compile and run a
test SDL program
1847 --enable-omf use OMF object format
(OS
/2)
1848 --disable-dependency-tracking
1849 don
't use dependency tracking even if the compiler
1851 --disable-precomp-headers
1852 don't use precompiled headers even
if compiler can
1855 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1856 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1857 --without-subdirs don
't generate makefiles for samples/demos/...
1858 --with-flavour=NAME specify a name to identify this build
1859 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1860 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1861 --with-motif use Motif/Lesstif
1862 --with-mac use Mac OS X
1863 --with-cocoa use Cocoa
1864 --with-wine use Wine
1865 --with-msw use MS-Windows
1866 --with-pm use OS/2 Presentation Manager
1867 --with-mgl use SciTech MGL
1868 --with-directfb use DirectFB
1869 --with-microwin use MicroWindows
1871 --with-libpng use libpng (PNG image format)
1872 --with-libjpeg use libjpeg (JPEG file format)
1873 --with-libtiff use libtiff (TIFF file format)
1874 --with-libxpm use libxpm (XPM file format)
1875 --with-libmspack use libmspack (CHM help files loading)
1876 --without-gtkprint don't use GTK printing support
1877 --without-gnomeprint don
't use GNOME printing libraries
1878 --with-gnomevfs use GNOME VFS for associating MIME types
1879 --with-hildon use Hildon framework for Nokia 770
1880 --with-opengl use OpenGL (or Mesa)
1881 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1882 --with-sdl use SDL for audio on Unix
1883 --with-regex enable support for wxRegEx class
1884 --with-zlib use zlib for LZW compression
1885 --with-expat enable XML support using expat parser
1886 --with-macosx-sdk=PATH use an OS X SDK at PATH
1887 --with-macosx-version-min=VER build binaries which require at least this OS X version
1888 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1889 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1890 --with-x use the X Window System
1891 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1892 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1893 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1894 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1895 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1897 Some influential environment variables:
1898 CC C compiler command
1899 CFLAGS C compiler flags
1900 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1901 nonstandard directory <lib dir>
1902 LIBS libraries to pass to the linker, e.g. -l<library>
1903 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1904 you have headers in a nonstandard directory <include dir>
1906 CXX C++ compiler command
1907 CXXFLAGS C++ compiler flags
1908 PKG_CONFIG path to pkg-config utility
1910 C compiler flags for DIRECTFB, overriding pkg-config
1912 linker flags for DIRECTFB, overriding pkg-config
1913 XMKMF Path to xmkmf, Makefile generator for X Window System
1915 C compiler flags for PANGOX, overriding pkg-config
1916 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1918 C compiler flags for PANGOFT2, overriding pkg-config
1920 linker flags for PANGOFT2, overriding pkg-config
1922 C compiler flags for PANGOXFT, overriding pkg-config
1924 linker flags for PANGOXFT, overriding pkg-config
1926 C compiler flags for GTKPRINT, overriding pkg-config
1928 linker flags for GTKPRINT, overriding pkg-config
1929 LIBGNOMEPRINTUI_CFLAGS
1930 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1931 LIBGNOMEPRINTUI_LIBS
1932 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1934 C compiler flags for GNOMEVFS, overriding pkg-config
1936 linker flags for GNOMEVFS, overriding pkg-config
1938 C compiler flags for HILDON, overriding pkg-config
1939 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1941 C compiler flags for CAIRO, overriding pkg-config
1942 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1943 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1944 GST_LIBS linker flags for GST, overriding pkg-config
1946 Use these variables to override the choices made by `configure' or to
help
1947 it to
find libraries and programs with nonstandard names
/locations.
1949 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1954 if test "$ac_init_help" = "recursive"; then
1955 # If there are subdirs, report their specific --help.
1956 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1957 test -d "$ac_dir" || continue
1961 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1963 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1964 # A ".." for each directory in $ac_dir_suffix.
1965 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1966 case $ac_top_builddir_sub in
1967 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1968 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1971 ac_abs_top_builddir
=$ac_pwd
1972 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1973 # for backward compatibility:
1974 ac_top_builddir
=$ac_top_build_prefix
1977 .
) # We are building in place.
1979 ac_top_srcdir
=$ac_top_builddir_sub
1980 ac_abs_top_srcdir
=$ac_pwd ;;
1981 [\\/]* | ?
:[\\/]* ) # Absolute name.
1982 ac_srcdir
=$srcdir$ac_dir_suffix;
1983 ac_top_srcdir
=$srcdir
1984 ac_abs_top_srcdir
=$srcdir ;;
1986 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1987 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1988 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1990 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1992 cd "$ac_dir" || { ac_status
=$?
; continue; }
1993 # Check for guested configure.
1994 if test -f "$ac_srcdir/configure.gnu"; then
1996 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1997 elif test -f "$ac_srcdir/configure"; then
1999 $SHELL "$ac_srcdir/configure" --help=recursive
2001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2003 cd "$ac_pwd" || { ac_status
=$?
; break; }
2007 test -n "$ac_init_help" && exit $ac_status
2008 if $ac_init_version; then
2010 wxWidgets configure
2.9.0
2011 generated by GNU Autoconf
2.61
2013 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2014 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2015 This configure
script is free software
; the Free Software Foundation
2016 gives unlimited permission to copy
, distribute and modify it.
2020 cat >config.log
<<_ACEOF
2021 This file contains any messages produced by compilers while
2022 running configure, to aid debugging if configure makes a mistake.
2024 It was created by wxWidgets $as_me 2.9.0, which was
2025 generated by GNU Autoconf 2.61. Invocation command line was
2037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 echo "PATH: $as_dir"
2077 # Keep a trace of the command line.
2078 # Strip out --no-create and --no-recursion so they do not pile up.
2079 # Strip out --silent because we don't want to record it for future runs.
2080 # Also quote any args containing shell meta-characters.
2081 # Make two passes to allow for proper duplicate-argument suppression.
2085 ac_must_keep_next
=false
2091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2096 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2101 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2102 if test $ac_must_keep_next = true
; then
2103 ac_must_keep_next
=false
# Got value, back to normal.
2106 *=* | --config-cache | -C | -disable-* | --disable-* \
2107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109 | -with-* | --with-* | -without-* | --without-* | --x)
2110 case "$ac_configure_args0 " in
2111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 -* ) ac_must_keep_next
=true
;;
2117 ac_configure_args
="$ac_configure_args '$ac_arg'"
2122 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2123 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2125 # When interrupted or exit'd, cleanup temporary files, and complete
2126 # config.log. We remove comments because anyway the quotes in there
2127 # would cause problems or look ugly.
2128 # WARNING: Use '\'' to represent an apostrophe within the trap.
2129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130 trap 'exit_status=$?
2131 # Save into config.log some information that might help in debugging.
2136 ## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2149 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 *) $as_unset $ac_var ;;
2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 ## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##
2178 for ac_var in $ac_subst_vars
2180 eval ac_val=\$$ac_var
2182 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 echo "$ac_var='\''$ac_val'\''"
2188 if test -n "$ac_subst_files"; then
2190 ## ------------------- ##
2191 ## File substitutions. ##
2192 ## ------------------- ##
2195 for ac_var
in $ac_subst_files
2197 eval ac_val
=\$
$ac_var
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 echo "$ac_var='\''$ac_val'\''"
2206 if test -s confdefs.h; then
2216 test "$ac_signal" != 0 &&
2217 echo "$as_me: caught signal $ac_signal"
2218 echo "$as_me: exit $exit_status"
2220 rm -f core *.core core.conftest.* &&
2221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2224 for ac_signal
in 1 2 13 15; do
2225 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2230 rm -f -r conftest
* confdefs.h
2232 # Predefined preprocessor variables.
2234 cat >>confdefs.h
<<_ACEOF
2235 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 cat >>confdefs.h
<<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2244 cat >>confdefs.h
<<_ACEOF
2245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2259 # Let the site file select an alternate cache file if it wants to.
2260 # Prefer explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 set x
"$CONFIG_SITE"
2263 elif test "x$prefix" != xNONE
; then
2264 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2266 set x
"$ac_default_prefix/share/config.site" \
2267 "$ac_default_prefix/etc/config.site"
2272 if test -r "$ac_site_file"; then
2273 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2274 echo "$as_me: loading site script $ac_site_file" >&6;}
2275 sed 's/^/| /' "$ac_site_file" >&5
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special
2282 # files actually), so we avoid doing that.
2283 if test -f "$cache_file"; then
2284 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2285 echo "$as_me: loading cache $cache_file" >&6;}
2287 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2288 *) .
"./$cache_file";;
2292 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2293 echo "$as_me: creating cache $cache_file" >&6;}
2297 # Check that the precious variables saved in the cache have kept the same
2299 ac_cache_corrupted
=false
2300 for ac_var
in $ac_precious_vars; do
2301 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2302 eval ac_new_set
=\
$ac_env_${ac_var}_set
2303 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2304 eval ac_new_val
=\
$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted
=: ;;
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted
=: ;;
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2318 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2320 echo "$as_me: former value: $ac_old_val" >&2;}
2321 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2322 echo "$as_me: current value: $ac_new_val" >&2;}
2323 ac_cache_corrupted
=:
2326 # Pass precious variables to config.status.
2327 if test "$ac_new_set" = set; then
2329 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 *) ac_arg
=$ac_var=$ac_new_val ;;
2332 case " $ac_configure_args " in
2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2334 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2338 if $ac_cache_corrupted; then
2339 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2340 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2341 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2342 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2343 { (exit 1); exit 1; }; }
2371 ac_cpp
='$CPP $CPPFLAGS'
2372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2381 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2382 if test -f "$ac_dir/install-sh"; then
2384 ac_install_sh
="$ac_aux_dir/install-sh -c"
2386 elif test -f "$ac_dir/install.sh"; then
2388 ac_install_sh
="$ac_aux_dir/install.sh -c"
2390 elif test -f "$ac_dir/shtool"; then
2392 ac_install_sh
="$ac_aux_dir/shtool install -c"
2396 if test -z "$ac_aux_dir"; then
2397 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2398 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2399 { (exit 1); exit 1; }; }
2402 # These three variables are undocumented and unsupported,
2403 # and are intended to be withdrawn in a future Autoconf release.
2404 # They can cause serious problems if a builder's source tree is in a directory
2405 # whose full name contains unusual characters.
2406 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2407 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2408 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411 # Make sure we can run config.sub.
2412 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2413 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2414 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2415 { (exit 1); exit 1; }; }
2417 { echo "$as_me:$LINENO: checking build system type" >&5
2418 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2419 if test "${ac_cv_build+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 ac_build_alias
=$build_alias
2423 test "x$ac_build_alias" = x
&&
2424 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2425 test "x$ac_build_alias" = x
&&
2426 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2427 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2428 { (exit 1); exit 1; }; }
2429 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2430 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2431 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2432 { (exit 1); exit 1; }; }
2435 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2436 echo "${ECHO_T}$ac_cv_build" >&6; }
2437 case $ac_cv_build in
2439 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2440 echo "$as_me: error: invalid value of canonical build" >&2;}
2441 { (exit 1); exit 1; }; };;
2444 ac_save_IFS
=$IFS; IFS
='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457 { echo "$as_me:$LINENO: checking host system type" >&5
2458 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2459 if test "${ac_cv_host+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test "x$host_alias" = x
; then
2463 ac_cv_host
=$ac_cv_build
2465 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2466 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2467 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2468 { (exit 1); exit 1; }; }
2472 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2473 echo "${ECHO_T}$ac_cv_host" >&6; }
2476 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2477 echo "$as_me: error: invalid value of canonical host" >&2;}
2478 { (exit 1); exit 1; }; };;
2481 ac_save_IFS
=$IFS; IFS
='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494 { echo "$as_me:$LINENO: checking target system type" >&5
2495 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2496 if test "${ac_cv_target+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 if test "x$target_alias" = x
; then
2500 ac_cv_target
=$ac_cv_host
2502 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2504 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2505 { (exit 1); exit 1; }; }
2509 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2510 echo "${ECHO_T}$ac_cv_target" >&6; }
2511 case $ac_cv_target in
2513 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2514 echo "$as_me: error: invalid value of canonical target" >&2;}
2515 { (exit 1); exit 1; }; };;
2517 target
=$ac_cv_target
2518 ac_save_IFS
=$IFS; IFS
='-'
2524 # Remember, the first character of IFS is used to create $*,
2525 # except with old shells:
2528 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531 # The aliases save the names the user supplied, while $host etc.
2532 # will get canonicalized.
2533 test -n "$target_alias" &&
2534 test "$program_prefix$program_suffix$program_transform_name" = \
2536 program_prefix
=${target_alias}-
2540 wx_major_version_number
=2
2541 wx_minor_version_number
=9
2543 wx_subrelease_number
=0
2545 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2546 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2547 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2549 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552 wx_top_builddir
="`pwd`"
2565 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2571 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2579 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2581 DEFAULT_wxUSE_COCOA
=0
2585 DEFAULT_wxUSE_MICROWIN
=0
2586 DEFAULT_wxUSE_MOTIF
=0
2592 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2593 DEFAULT_DEFAULT_wxUSE_GTK
=0
2594 DEFAULT_DEFAULT_wxUSE_MAC
=0
2595 DEFAULT_DEFAULT_wxUSE_MGL
=0
2596 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2597 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2598 DEFAULT_DEFAULT_wxUSE_MSW
=0
2599 DEFAULT_DEFAULT_wxUSE_PM
=0
2600 DEFAULT_DEFAULT_wxUSE_X11
=0
2601 DEFAULT_DEFAULT_wxUSE_DFB
=0
2606 SAMPLES_RPATH_POSTLINK
=
2608 DEFAULT_STD_FLAG
=yes
2613 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2616 cat >>confdefs.h
<<\_ACEOF
2621 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2625 cat >>confdefs.h
<<\_ACEOF
2630 if test "x$TMP" = "xalpha"; then
2632 cat >>confdefs.h
<<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_GTK
=1
2639 *-*-gnu* | *-*-k*bsd
*-gnu )
2642 if test "x$TMP" = "xalpha"; then
2644 cat >>confdefs.h
<<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_GTK
=1
2651 *-*-irix5* | *-*-irix6* )
2654 cat >>confdefs.h
<<\_ACEOF
2658 cat >>confdefs.h
<<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2668 cat >>confdefs.h
<<\_ACEOF
2672 cat >>confdefs.h
<<\_ACEOF
2673 #define __SOLARIS__ 1
2676 cat >>confdefs.h
<<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2687 cat >>confdefs.h
<<\_ACEOF
2691 cat >>confdefs.h
<<\_ACEOF
2695 cat >>confdefs.h
<<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2704 cat >>confdefs.h
<<\_ACEOF
2705 #define __FREEBSD__ 1
2708 cat >>confdefs.h
<<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK
=1
2714 *-*-openbsd*|*-*-mirbsd*)
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __OPENBSD__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK
=1
2730 cat >>confdefs.h
<<\_ACEOF
2731 #define __NETBSD__ 1
2734 cat >>confdefs.h
<<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK
=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2741 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 cat >>confdefs.h
<<\_ACEOF
2750 cat >>confdefs.h
<<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2788 cat >>confdefs.h
<<\_ACEOF
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2807 cat >>confdefs.h
<<\_ACEOF
2808 #define __UNIXWARE__ 1
2813 *-*-cygwin* | *-*-mingw32* )
2816 DEFAULT_DEFAULT_wxUSE_MSW
=1
2822 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MGL
=1
2830 *-pc-os2_emx | *-pc-os2-emx )
2831 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_PM
=1
2843 LDFLAGS
="$LDFLAGS -Zcrtdll"
2844 ac_executable_extensions
=".exe"
2845 export ac_executable_extensions
2849 for ac_dir
in $PATH; do
2851 if test -z "$ac_TEMP_PATH"; then
2852 ac_TEMP_PATH
="$ac_dir"
2854 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2857 export PATH
="$ac_TEMP_PATH"
2866 cat >>confdefs.h
<<\_ACEOF
2870 cat >>confdefs.h
<<\_ACEOF
2871 #define __DARWIN__ 1
2874 cat >>confdefs.h
<<\_ACEOF
2875 #define TARGET_CARBON 1
2878 DEFAULT_DEFAULT_wxUSE_MAC
=1
2881 powerpc
-apple-macos* )
2883 ac_cv_c_bigendian
=yes
2885 DEFAULT_DEFAULT_wxUSE_MAC
=1
2891 cat >>confdefs.h
<<\_ACEOF
2898 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2899 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2900 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2901 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2903 DEFAULT_DEFAULT_wxUSE_X11
=1
2904 DEFAULT_wxUSE_SHARED
=no
2910 wx_arg_cache_file
="configarg.cache"
2911 echo "loading argument cache $wx_arg_cache_file"
2912 rm -f ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}
2917 DEFAULT_wxUSE_ALL_FEATURES
=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC
=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2924 DEFAULT_wxUSE_LIBHILDON
=no
2925 DEFAULT_wxUSE_LIBMSPACK
=no
2926 DEFAULT_wxUSE_LIBSDL
=no
2927 DEFAULT_wxUSE_OPENGL
=no
2929 DEFAULT_wxUSE_ACCESSIBILITY
=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2932 DEFAULT_wxUSE_MEDIACTRL
=no
2933 DEFAULT_wxUSE_TAB_DIALOG
=no
2935 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2938 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2940 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2942 DEFAULT_wxUSE_GTK2
=yes
2944 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2947 for toolkit
in `echo $ALL_TOOLKITS`; do
2948 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2949 if test "x$LINE" != "x" ; then
2950 has_toolkit_in_cache
=1
2951 eval "DEFAULT_$LINE"
2952 eval "CACHE_$toolkit=1"
2954 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2955 if test "x$LINE" != "x" ; then
2956 eval "DEFAULT_$LINE"
2965 enablestring
=disable
2967 if test -z "$defaultval"; then
2968 if test x
"$enablestring" = xdisable
; then
2975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2976 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2977 # Check whether --enable-gui was given.
2978 if test "${enable_gui+set}" = set; then
2979 enableval
=$enable_gui;
2980 if test "$enableval" = yes; then
2981 wx_cv_use_gui
='wxUSE_GUI=yes'
2983 wx_cv_use_gui
='wxUSE_GUI=no'
2989 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2997 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3002 eval "$wx_cv_use_gui"
3003 if test "x$cache" = xyes; then
3004 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3007 if test x"$enablestring" = xdisable; then
3008 if test $wxUSE_GUI = yes; then
3017 { echo "$as_me:$LINENO: result: $result" >&5
3018 echo "${ECHO_T}$result" >&6; }
3023 if test -z "$defaultval"; then
3024 if test x"$enablestring" = xdisable; then
3031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3032 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3033 # Check whether --enable-monolithic was given.
3034 if test "${enable_monolithic+set}" = set; then
3035 enableval=$enable_monolithic;
3036 if test "$enableval" = yes; then
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3045 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3053 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3058 eval "$wx_cv_use_monolithic"
3059 if test "x
$cache" = xyes; then
3060 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3063 if test x"$enablestring" = xdisable; then
3064 if test $wxUSE_MONOLITHIC = yes; then
3070 result=$wxUSE_MONOLITHIC
3073 { echo "$as_me:$LINENO: result
: $result" >&5
3074 echo "${ECHO_T}$result" >&6; }
3079 if test -z "$defaultval"; then
3080 if test x"$enablestring" = xdisable; then
3087 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3088 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3089 # Check whether --enable-plugins was given.
3090 if test "${enable_plugins+set}" = set; then
3091 enableval=$enable_plugins;
3092 if test "$enableval" = yes; then
3093 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3095 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3101 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3102 if test "x
$LINE" != x ; then
3103 eval "DEFAULT_
$LINE"
3109 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3114 eval "$wx_cv_use_plugins"
3115 if test "x$cache" = xyes
; then
3116 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3119 if test x
"$enablestring" = xdisable
; then
3120 if test $wxUSE_PLUGINS = yes; then
3126 result
=$wxUSE_PLUGINS
3129 { echo "$as_me:$LINENO: result: $result" >&5
3130 echo "${ECHO_T}$result" >&6; }
3134 defaultval
=$wxUSE_ALL_FEATURES
3135 if test -z "$defaultval"; then
3136 if test x
"$withstring" = xwithout
; then
3142 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3143 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3145 # Check whether --with-subdirs was given.
3146 if test "${with_subdirs+set}" = set; then
3147 withval
=$with_subdirs;
3148 if test "$withval" = yes; then
3149 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3151 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3157 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x
; then
3159 eval "DEFAULT_$LINE"
3165 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3170 eval "$wx_cv_use_subdirs"
3171 if test "x$cache" = xyes; then
3172 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3182 result=$wxWITH_SUBDIRS
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3219 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3227 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3232 eval "$wx_cv_use_official_build"
3233 if test "x
$cache" = xyes; then
3234 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3237 if test x"$enablestring" = xdisable; then
3238 if test $wxUSE_OFFICIAL_BUILD = yes; then
3244 result=$wxUSE_OFFICIAL_BUILD
3247 { echo "$as_me:$LINENO: result
: $result" >&5
3248 echo "${ECHO_T}$result" >&6; }
3250 # Check whether --enable-vendor was given.
3251 if test "${enable_vendor+set}" = set; then
3252 enableval=$enable_vendor; VENDOR="$enableval"
3255 if test "x
$VENDOR" = "x
"; then
3260 enablestring=disable
3262 if test -z "$defaultval"; then
3263 if test x"$enablestring" = xdisable; then
3270 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3271 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3272 # Check whether --enable-all-features was given.
3273 if test "${enable_all_features+set}" = set; then
3274 enableval=$enable_all_features;
3275 if test "$enableval" = yes; then
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3284 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3285 if test "x
$LINE" != x ; then
3286 eval "DEFAULT_
$LINE"
3292 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3297 eval "$wx_cv_use_all_features"
3298 if test "x$cache" = xyes
; then
3299 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3302 if test x
"$enablestring" = xdisable
; then
3303 if test $wxUSE_ALL_FEATURES = yes; then
3309 result
=$wxUSE_ALL_FEATURES
3312 { echo "$as_me:$LINENO: result: $result" >&5
3313 echo "${ECHO_T}$result" >&6; }
3317 if test "$wxUSE_GUI" = "yes"; then
3322 if test -z "$defaultval"; then
3323 if test x
"$enablestring" = xdisable
; then
3330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3331 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3332 # Check whether --enable-universal was given.
3333 if test "${enable_universal+set}" = set; then
3334 enableval
=$enable_universal;
3335 if test "$enableval" = yes; then
3336 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3338 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3344 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3352 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3357 eval "$wx_cv_use_universal"
3358 if test "x$cache" = xyes; then
3359 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3362 if test x"$enablestring" = xdisable; then
3363 if test $wxUSE_UNIVERSAL = yes; then
3369 result=$wxUSE_UNIVERSAL
3372 { echo "$as_me:$LINENO: result: $result" >&5
3373 echo "${ECHO_T}$result" >&6; }
3375 if test "$wxUSE_UNIVERSAL" = "yes"; then
3377 # Check whether --with-themes was given.
3378 if test "${with_themes+set}" = set; then
3379 withval=$with_themes; wxUNIV_THEMES="$withval"
3385 # Check whether --with-gtk was given.
3386 if test "${with_gtk+set}" = set; then
3387 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3391 # Check whether --with-motif was given.
3392 if test "${with_motif+set}" = set; then
3393 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3397 # Check whether --with-mac was given.
3398 if test "${with_mac+set}" = set; then
3399 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-cocoa was given.
3404 if test "${with_cocoa+set}" = set; then
3405 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-wine was given.
3410 if test "${with_wine+set}" = set; then
3411 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3415 # Check whether --with-msw was given.
3416 if test "${with_msw+set}" = set; then
3417 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3421 # Check whether --with-pm was given.
3422 if test "${with_pm+set}" = set; then
3423 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3427 # Check whether --with-mgl was given.
3428 if test "${with_mgl+set}" = set; then
3429 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3433 # Check whether --with-directfb was given.
3434 if test "${with_directfb+set}" = set; then
3435 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3439 # Check whether --with-microwin was given.
3440 if test "${with_microwin+set}" = set; then
3441 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3445 # Check whether --with-x11 was given.
3446 if test "${with_x11+set}" = set; then
3447 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3463 # Check whether --enable-nanox was given.
3464 if test "${enable_nanox+set}" = set; then
3465 enableval=$enable_nanox;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3469 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3475 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3483 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3488 eval "$wx_cv_use_nanox"
3489 if test "x
$cache" = xyes; then
3490 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3493 if test x"$enablestring" = xdisable; then
3494 if test $wxUSE_NANOX = yes; then
3503 { echo "$as_me:$LINENO: result
: $result" >&5
3504 echo "${ECHO_T}$result" >&6; }
3507 # Check whether --enable-gtk2 was given.
3508 if test "${enable_gtk2+set}" = set; then
3509 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3515 if test -z "$defaultval"; then
3516 if test x"$enablestring" = xdisable; then
3523 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3524 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3525 # Check whether --enable-gpe was given.
3526 if test "${enable_gpe+set}" = set; then
3527 enableval=$enable_gpe;
3528 if test "$enableval" = yes; then
3529 wx_cv_use_gpe='wxUSE_GPE=yes'
3531 wx_cv_use_gpe='wxUSE_GPE=no'
3537 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3538 if test "x
$LINE" != x ; then
3539 eval "DEFAULT_
$LINE"
3545 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3550 eval "$wx_cv_use_gpe"
3551 if test "x$cache" = xyes
; then
3552 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3555 if test x
"$enablestring" = xdisable
; then
3556 if test $wxUSE_GPE = yes; then
3565 { echo "$as_me:$LINENO: result: $result" >&5
3566 echo "${ECHO_T}$result" >&6; }
3571 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3572 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3574 # Check whether --with-libpng was given.
3575 if test "${with_libpng+set}" = set; then
3576 withval
=$with_libpng;
3577 if test "$withval" = yes; then
3578 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3579 elif test "$withval" = no
; then
3580 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3581 elif test "$withval" = sys
; then
3582 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3583 elif test "$withval" = builtin; then
3584 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3586 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3587 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3588 { (exit 1); exit 1; }; }
3594 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3595 if test "x$LINE" != x
; then
3596 eval "DEFAULT_$LINE"
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3607 eval "$wx_cv_use_libpng"
3608 if test "x$cache" = xyes; then
3609 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3612 if test "$wxUSE_LIBPNG" = yes; then
3613 { echo "$as_me:$LINENO: result: yes" >&5
3614 echo "${ECHO_T}yes" >&6; }
3615 elif test "$wxUSE_LIBPNG" = no; then
3616 { echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6; }
3618 elif test "$wxUSE_LIBPNG" = sys; then
3619 { echo "$as_me:$LINENO: result: system version" >&5
3620 echo "${ECHO_T}system version" >&6; }
3621 elif test "$wxUSE_LIBPNG" = builtin; then
3622 { echo "$as_me:$LINENO: result: builtin version" >&5
3623 echo "${ECHO_T}builtin version" >&6; }
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3631 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3632 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3634 # Check whether --with-libjpeg was given.
3635 if test "${with_libjpeg+set}" = set; then
3636 withval=$with_libjpeg;
3637 if test "$withval" = yes; then
3638 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3639 elif test "$withval" = no; then
3640 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3641 elif test "$withval" = sys; then
3642 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3643 elif test "$withval" = builtin; then
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3647 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3654 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3667 eval "$wx_cv_use_libjpeg"
3668 if test "x
$cache" = xyes; then
3669 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_LIBJPEG" = yes; then
3673 { echo "$as_me:$LINENO: result
: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBJPEG" = no; then
3676 { echo "$as_me:$LINENO: result
: no
" >&5
3677 echo "${ECHO_T}no
" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = sys; then
3679 { echo "$as_me:$LINENO: result
: system version
" >&5
3680 echo "${ECHO_T}system version
" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = builtin; then
3682 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3683 echo "${ECHO_T}builtin version
" >&6; }
3685 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3686 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3691 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3692 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3694 # Check whether --with-libtiff was given.
3695 if test "${with_libtiff+set}" = set; then
3696 withval=$with_libtiff;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3707 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3714 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3715 if test "x
$LINE" != x ; then
3716 eval "DEFAULT_
$LINE"
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3727 eval "$wx_cv_use_libtiff"
3728 if test "x$cache" = xyes
; then
3729 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3732 if test "$wxUSE_LIBTIFF" = yes; then
3733 { echo "$as_me:$LINENO: result: yes" >&5
3734 echo "${ECHO_T}yes" >&6; }
3735 elif test "$wxUSE_LIBTIFF" = no
; then
3736 { echo "$as_me:$LINENO: result: no" >&5
3737 echo "${ECHO_T}no" >&6; }
3738 elif test "$wxUSE_LIBTIFF" = sys
; then
3739 { echo "$as_me:$LINENO: result: system version" >&5
3740 echo "${ECHO_T}system version" >&6; }
3741 elif test "$wxUSE_LIBTIFF" = builtin; then
3742 { echo "$as_me:$LINENO: result: builtin version" >&5
3743 echo "${ECHO_T}builtin version" >&6; }
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3751 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3752 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3754 # Check whether --with-libxpm was given.
3755 if test "${with_libxpm+set}" = set; then
3756 withval
=$with_libxpm;
3757 if test "$withval" = yes; then
3758 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3759 elif test "$withval" = no
; then
3760 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3761 elif test "$withval" = sys
; then
3762 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3763 elif test "$withval" = builtin; then
3764 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3774 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3782 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3787 eval "$wx_cv_use_libxpm"
3788 if test "x$cache" = xyes; then
3789 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_LIBXPM" = yes; then
3793 { echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBXPM" = no; then
3796 { echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6; }
3798 elif test "$wxUSE_LIBXPM" = sys; then
3799 { echo "$as_me:$LINENO: result: system version" >&5
3800 echo "${ECHO_T}system version" >&6; }
3801 elif test "$wxUSE_LIBXPM" = builtin; then
3802 { echo "$as_me:$LINENO: result: builtin version" >&5
3803 echo "${ECHO_T}builtin version" >&6; }
3805 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3806 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3812 defaultval=$wxUSE_ALL_FEATURES
3813 if test -z "$defaultval"; then
3814 if test x"$withstring" = xwithout; then
3820 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3821 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3823 # Check whether --with-libmspack was given.
3824 if test "${with_libmspack+set}" = set; then
3825 withval=$with_libmspack;
3826 if test "$withval" = yes; then
3827 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3829 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3835 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x ; then
3837 eval "DEFAULT_$LINE"
3843 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3848 eval "$wx_cv_use_libmspack"
3849 if test "x
$cache" = xyes; then
3850 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3853 if test x"$withstring" = xwithout; then
3854 if test $wxUSE_LIBMSPACK = yes; then
3860 result=$wxUSE_LIBMSPACK
3863 { echo "$as_me:$LINENO: result
: $result" >&5
3864 echo "${ECHO_T}$result" >&6; }
3868 defaultval=$wxUSE_ALL_FEATURES
3869 if test -z "$defaultval"; then
3870 if test x"$withstring" = xwithout; then
3876 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3877 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3879 # Check whether --with-gtkprint was given.
3880 if test "${with_gtkprint+set}" = set; then
3881 withval=$with_gtkprint;
3882 if test "$withval" = yes; then
3883 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3885 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3891 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3892 if test "x
$LINE" != x ; then
3893 eval "DEFAULT_
$LINE"
3899 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3904 eval "$wx_cv_use_gtkprint"
3905 if test "x$cache" = xyes
; then
3906 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3909 if test x
"$withstring" = xwithout
; then
3910 if test $wxUSE_GTKPRINT = yes; then
3916 result
=$wxUSE_GTKPRINT
3919 { echo "$as_me:$LINENO: result: $result" >&5
3920 echo "${ECHO_T}$result" >&6; }
3924 defaultval
=$wxUSE_ALL_FEATURES
3925 if test -z "$defaultval"; then
3926 if test x
"$withstring" = xwithout
; then
3932 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3933 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3935 # Check whether --with-gnomeprint was given.
3936 if test "${with_gnomeprint+set}" = set; then
3937 withval
=$with_gnomeprint;
3938 if test "$withval" = yes; then
3939 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3941 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3947 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3955 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3960 eval "$wx_cv_use_gnomeprint"
3961 if test "x$cache" = xyes; then
3962 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3965 if test x"$withstring" = xwithout; then
3966 if test $wxUSE_LIBGNOMEPRINT = yes; then
3972 result=$wxUSE_LIBGNOMEPRINT
3975 { echo "$as_me:$LINENO: result: $result" >&5
3976 echo "${ECHO_T}$result" >&6; }
3980 defaultval=$wxUSE_ALL_FEATURES
3981 if test -z "$defaultval"; then
3982 if test x"$withstring" = xwithout; then
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3991 # Check whether --with-gnomevfs was given.
3992 if test "${with_gnomevfs+set}" = set; then
3993 withval=$with_gnomevfs;
3994 if test "$withval" = yes; then
3995 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3997 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4003 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4011 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4016 eval "$wx_cv_use_gnomevfs"
4017 if test "x
$cache" = xyes; then
4018 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4021 if test x"$withstring" = xwithout; then
4022 if test $wxUSE_LIBGNOMEVFS = yes; then
4028 result=$wxUSE_LIBGNOMEVFS
4031 { echo "$as_me:$LINENO: result
: $result" >&5
4032 echo "${ECHO_T}$result" >&6; }
4036 defaultval=$wxUSE_ALL_FEATURES
4037 if test -z "$defaultval"; then
4038 if test x"$withstring" = xwithout; then
4044 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4045 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4047 # Check whether --with-hildon was given.
4048 if test "${with_hildon+set}" = set; then
4049 withval=$with_hildon;
4050 if test "$withval" = yes; then
4051 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4053 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4059 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4060 if test "x
$LINE" != x ; then
4061 eval "DEFAULT_
$LINE"
4067 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4072 eval "$wx_cv_use_hildon"
4073 if test "x$cache" = xyes
; then
4074 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4077 if test x
"$withstring" = xwithout
; then
4078 if test $wxUSE_LIBHILDON = yes; then
4084 result
=$wxUSE_LIBHILDON
4087 { echo "$as_me:$LINENO: result: $result" >&5
4088 echo "${ECHO_T}$result" >&6; }
4092 defaultval
=$wxUSE_ALL_FEATURES
4093 if test -z "$defaultval"; then
4094 if test x
"$withstring" = xwithout
; then
4100 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4101 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4103 # Check whether --with-opengl was given.
4104 if test "${with_opengl+set}" = set; then
4105 withval
=$with_opengl;
4106 if test "$withval" = yes; then
4107 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4109 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4115 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x
; then
4117 eval "DEFAULT_$LINE"
4123 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4128 eval "$wx_cv_use_opengl"
4129 if test "x$cache" = xyes; then
4130 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4133 if test x"$withstring" = xwithout; then
4134 if test $wxUSE_OPENGL = yes; then
4140 result=$wxUSE_OPENGL
4143 { echo "$as_me:$LINENO: result: $result" >&5
4144 echo "${ECHO_T}$result" >&6; }
4151 defaultval=$wxUSE_ALL_FEATURES
4152 if test -z "$defaultval"; then
4153 if test x"$withstring" = xwithout; then
4159 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4160 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4162 # Check whether --with-dmalloc was given.
4163 if test "${with_dmalloc+set}" = set; then
4164 withval=$with_dmalloc;
4165 if test "$withval" = yes; then
4166 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4168 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4174 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x ; then
4176 eval "DEFAULT_$LINE"
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4187 eval "$wx_cv_use_dmalloc"
4188 if test "x
$cache" = xyes; then
4189 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4192 if test x"$withstring" = xwithout; then
4193 if test $wxUSE_DMALLOC = yes; then
4199 result=$wxUSE_DMALLOC
4202 { echo "$as_me:$LINENO: result
: $result" >&5
4203 echo "${ECHO_T}$result" >&6; }
4207 defaultval=$wxUSE_ALL_FEATURES
4208 if test -z "$defaultval"; then
4209 if test x"$withstring" = xwithout; then
4215 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4216 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4218 # Check whether --with-sdl was given.
4219 if test "${with_sdl+set}" = set; then
4221 if test "$withval" = yes; then
4222 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4224 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4230 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4231 if test "x
$LINE" != x ; then
4232 eval "DEFAULT_
$LINE"
4238 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4243 eval "$wx_cv_use_sdl"
4244 if test "x$cache" = xyes
; then
4245 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4248 if test x
"$withstring" = xwithout
; then
4249 if test $wxUSE_LIBSDL = yes; then
4255 result
=$wxUSE_LIBSDL
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4262 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4263 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4265 # Check whether --with-regex was given.
4266 if test "${with_regex+set}" = set; then
4267 withval
=$with_regex;
4268 if test "$withval" = yes; then
4269 wx_cv_use_regex
='wxUSE_REGEX=yes'
4270 elif test "$withval" = no
; then
4271 wx_cv_use_regex
='wxUSE_REGEX=no'
4272 elif test "$withval" = sys
; then
4273 wx_cv_use_regex
='wxUSE_REGEX=sys'
4274 elif test "$withval" = builtin; then
4275 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4285 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x
; then
4287 eval "DEFAULT_$LINE"
4293 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4298 eval "$wx_cv_use_regex"
4299 if test "x$cache" = xyes; then
4300 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_REGEX" = yes; then
4304 { echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6; }
4306 elif test "$wxUSE_REGEX" = no; then
4307 { echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6; }
4309 elif test "$wxUSE_REGEX" = sys; then
4310 { echo "$as_me:$LINENO: result: system version" >&5
4311 echo "${ECHO_T}system version" >&6; }
4312 elif test "$wxUSE_REGEX" = builtin; then
4313 { echo "$as_me:$LINENO: result: builtin version" >&5
4314 echo "${ECHO_T}builtin version" >&6; }
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4322 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4323 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4325 # Check whether --with-zlib was given.
4326 if test "${with_zlib+set}" = set; then
4328 if test "$withval" = yes; then
4329 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4330 elif test "$withval" = no; then
4331 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4332 elif test "$withval" = sys; then
4333 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4334 elif test "$withval" = builtin; then
4335 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4345 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4353 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4358 eval "$wx_cv_use_zlib"
4359 if test "x
$cache" = xyes; then
4360 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_ZLIB" = yes; then
4364 { echo "$as_me:$LINENO: result
: yes" >&5
4365 echo "${ECHO_T}yes" >&6; }
4366 elif test "$wxUSE_ZLIB" = no; then
4367 { echo "$as_me:$LINENO: result
: no
" >&5
4368 echo "${ECHO_T}no
" >&6; }
4369 elif test "$wxUSE_ZLIB" = sys; then
4370 { echo "$as_me:$LINENO: result
: system version
" >&5
4371 echo "${ECHO_T}system version
" >&6; }
4372 elif test "$wxUSE_ZLIB" = builtin; then
4373 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4374 echo "${ECHO_T}builtin version
" >&6; }
4376 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4377 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4378 { (exit 1); exit 1; }; }
4382 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4383 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4385 # Check whether --with-expat was given.
4386 if test "${with_expat+set}" = set; then
4387 withval=$with_expat;
4388 if test "$withval" = yes; then
4389 wx_cv_use_expat='wxUSE_EXPAT=yes'
4390 elif test "$withval" = no; then
4391 wx_cv_use_expat='wxUSE_EXPAT=no'
4392 elif test "$withval" = sys; then
4393 wx_cv_use_expat='wxUSE_EXPAT=sys'
4394 elif test "$withval" = builtin; then
4395 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4397 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4398 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4405 LINE=`grep "^wxUSE_EXPAT
=" ${wx_arg_cache_file}`
4406 if test "x
$LINE" != x ; then
4407 eval "DEFAULT_
$LINE"
4413 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4418 eval "$wx_cv_use_expat"
4419 if test "x$cache" = xyes
; then
4420 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_EXPAT" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_EXPAT" = no
; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_EXPAT" = sys
; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_EXPAT" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4442 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4443 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4445 # Check whether --with-macosx-sdk was given.
4446 if test "${with_macosx_sdk+set}" = set; then
4447 withval
=$with_macosx_sdk;
4448 wxUSE_MACOSX_SDK
=$withval
4449 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4450 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4454 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4455 # will override --enable-universal_binary's automatic SDK usage.
4457 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x
; then
4460 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4465 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4466 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4468 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4469 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4471 # Check whether --with-macosx-version-min was given.
4472 if test "${with_macosx_version_min+set}" = set; then
4473 withval
=$with_macosx_version_min;
4474 wxUSE_MACOSX_VERSION_MIN
=$withval
4475 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4476 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4480 # default "yes" because when not using an SDK it means the same as no
4481 # but when using an SDK it means to use the SDK version
4482 wxUSE_MACOSX_VERSION_MIN
=yes
4483 # See if there is a value in the cache
4484 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4487 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4492 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4493 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4497 enablestring
=disable
4499 if test -z "$defaultval"; then
4500 if test x
"$enablestring" = xdisable
; then
4507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4509 # Check whether --enable-shared was given.
4510 if test "${enable_shared+set}" = set; then
4511 enableval
=$enable_shared;
4512 if test "$enableval" = yes; then
4513 wx_cv_use_shared
='wxUSE_SHARED=yes'
4515 wx_cv_use_shared
='wxUSE_SHARED=no'
4521 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x
; then
4523 eval "DEFAULT_$LINE"
4529 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4534 eval "$wx_cv_use_shared"
4535 if test "x$cache" = xyes; then
4536 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4539 if test x"$enablestring" = xdisable; then
4540 if test $wxUSE_SHARED = yes; then
4546 result=$wxUSE_SHARED
4549 { echo "$as_me:$LINENO: result: $result" >&5
4550 echo "${ECHO_T}$result" >&6; }
4553 enablestring=disable
4555 if test -z "$defaultval"; then
4556 if test x"$enablestring" = xdisable; then
4563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4565 # Check whether --enable-optimise was given.
4566 if test "${enable_optimise+set}" = set; then
4567 enableval=$enable_optimise;
4568 if test "$enableval" = yes; then
4569 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4571 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4577 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4585 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4590 eval "$wx_cv_use_optimise"
4591 if test "x
$cache" = xyes; then
4592 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4595 if test x"$enablestring" = xdisable; then
4596 if test $wxUSE_OPTIMISE = yes; then
4602 result=$wxUSE_OPTIMISE
4605 { echo "$as_me:$LINENO: result
: $result" >&5
4606 echo "${ECHO_T}$result" >&6; }
4611 if test -z "$defaultval"; then
4612 if test x"$enablestring" = xdisable; then
4619 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4620 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4621 # Check whether --enable-debug was given.
4622 if test "${enable_debug+set}" = set; then
4623 enableval=$enable_debug;
4624 if test "$enableval" = yes; then
4625 wx_cv_use_debug='wxUSE_DEBUG=yes'
4627 wx_cv_use_debug='wxUSE_DEBUG=no'
4633 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4634 if test "x
$LINE" != x ; then
4635 eval "DEFAULT_
$LINE"
4641 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4646 eval "$wx_cv_use_debug"
4647 if test "x$cache" = xyes
; then
4648 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4651 if test x
"$enablestring" = xdisable
; then
4652 if test $wxUSE_DEBUG = yes; then
4661 { echo "$as_me:$LINENO: result: $result" >&5
4662 echo "${ECHO_T}$result" >&6; }
4667 if test -z "$defaultval"; then
4668 if test x
"$enablestring" = xdisable
; then
4675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4676 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4677 # Check whether --enable-stl was given.
4678 if test "${enable_stl+set}" = set; then
4679 enableval
=$enable_stl;
4680 if test "$enableval" = yes; then
4681 wx_cv_use_stl
='wxUSE_STL=yes'
4683 wx_cv_use_stl
='wxUSE_STL=no'
4689 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4690 if test "x$LINE" != x
; then
4691 eval "DEFAULT_$LINE"
4697 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4702 eval "$wx_cv_use_stl"
4703 if test "x$cache" = xyes; then
4704 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4707 if test x"$enablestring" = xdisable; then
4708 if test $wxUSE_STL = yes; then
4717 { echo "$as_me:$LINENO: result: $result" >&5
4718 echo "${ECHO_T}$result" >&6; }
4723 if test -z "$defaultval"; then
4724 if test x"$enablestring" = xdisable; then
4731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4733 # Check whether --enable-std_iostreams was given.
4734 if test "${enable_std_iostreams+set}" = set; then
4735 enableval=$enable_std_iostreams;
4736 if test "$enableval" = yes; then
4737 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4739 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4745 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x ; then
4747 eval "DEFAULT_$LINE"
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4758 eval "$wx_cv_use_std_iostreams"
4759 if test "x
$cache" = xyes; then
4760 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_STD_IOSTREAM = yes; then
4770 result=$wxUSE_STD_IOSTREAM
4773 { echo "$as_me:$LINENO: result
: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4787 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4788 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4789 # Check whether --enable-std_string was given.
4790 if test "${enable_std_string+set}" = set; then
4791 enableval=$enable_std_string;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4795 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4801 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4802 if test "x
$LINE" != x ; then
4803 eval "DEFAULT_
$LINE"
4809 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4814 eval "$wx_cv_use_std_string"
4815 if test "x$cache" = xyes
; then
4816 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4819 if test x
"$enablestring" = xdisable
; then
4820 if test $wxUSE_STD_STRING = yes; then
4826 result
=$wxUSE_STD_STRING
4829 { echo "$as_me:$LINENO: result: $result" >&5
4830 echo "${ECHO_T}$result" >&6; }
4833 enablestring
=disable
4835 if test -z "$defaultval"; then
4836 if test x
"$enablestring" = xdisable
; then
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4845 # Check whether --enable-unicode was given.
4846 if test "${enable_unicode+set}" = set; then
4847 enableval
=$enable_unicode;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4851 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4857 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4865 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4870 eval "$wx_cv_use_unicode"
4871 if test "x$cache" = xyes; then
4872 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4875 if test x"$enablestring" = xdisable; then
4876 if test $wxUSE_UNICODE = yes; then
4882 result=$wxUSE_UNICODE
4885 { echo "$as_me:$LINENO: result: $result" >&5
4886 echo "${ECHO_T}$result" >&6; }
4891 if test -z "$defaultval"; then
4892 if test x"$enablestring" = xdisable; then
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4901 # Check whether --enable-mslu was given.
4902 if test "${enable_mslu+set}" = set; then
4903 enableval=$enable_mslu;
4904 if test "$enableval" = yes; then
4905 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4907 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4913 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4926 eval "$wx_cv_use_mslu"
4927 if test "x
$cache" = xyes; then
4928 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4931 if test x"$enablestring" = xdisable; then
4932 if test $wxUSE_UNICODE_MSLU = yes; then
4938 result=$wxUSE_UNICODE_MSLU
4941 { echo "$as_me:$LINENO: result
: $result" >&5
4942 echo "${ECHO_T}$result" >&6; }
4946 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4947 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4948 # Check whether --enable-utf8 was given.
4949 if test "${enable_utf8+set}" = set; then
4950 enableval=$enable_utf8;
4951 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4956 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4957 if test "x
$LINE" != x ; then
4958 eval "DEFAULT_
$LINE"
4964 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4969 eval "$wx_cv_use_utf8"
4970 if test "x
$cache" = xyes; then
4971 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4974 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4975 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4989 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4990 # Check whether --enable-utf8only was given.
4991 if test "${enable_utf8only+set}" = set; then
4992 enableval=$enable_utf8only;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4996 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5002 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5003 if test "x
$LINE" != x ; then
5004 eval "DEFAULT_
$LINE"
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5015 eval "$wx_cv_use_utf8only"
5016 if test "x$cache" = xyes
; then
5017 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5020 if test x
"$enablestring" = xdisable
; then
5021 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5027 result
=$wxUSE_UNICODE_UTF8_LOCALE
5030 { echo "$as_me:$LINENO: result: $result" >&5
5031 echo "${ECHO_T}$result" >&6; }
5036 if test -z "$defaultval"; then
5037 if test x
"$enablestring" = xdisable
; then
5044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5045 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5046 # Check whether --enable-extended_rtti was given.
5047 if test "${enable_extended_rtti+set}" = set; then
5048 enableval
=$enable_extended_rtti;
5049 if test "$enableval" = yes; then
5050 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5052 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5058 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5059 if test "x$LINE" != x
; then
5060 eval "DEFAULT_$LINE"
5066 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5071 eval "$wx_cv_use_extended_rtti"
5072 if test "x$cache" = xyes; then
5073 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5076 if test x"$enablestring" = xdisable; then
5077 if test $wxUSE_EXTENDED_RTTI = yes; then
5083 result=$wxUSE_EXTENDED_RTTI
5086 { echo "$as_me:$LINENO: result: $result" >&5
5087 echo "${ECHO_T}$result" >&6; }
5089 if test "$USE_OS2" = "1"; then
5090 DEFAULT_wxUSE_OMF=no
5094 if test -z "$defaultval"; then
5095 if test x"$enablestring" = xdisable; then
5102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5104 # Check whether --enable-omf was given.
5105 if test "${enable_omf+set}" = set; then
5106 enableval=$enable_omf;
5107 if test "$enableval" = yes; then
5108 wx_cv_use_omf='wxUSE_OMF
=yes'
5110 wx_cv_use_omf='wxUSE_OMF
=no
'
5116 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x ; then
5118 eval "DEFAULT_$LINE"
5124 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5129 eval "$wx_cv_use_omf"
5130 if test "x
$cache" = xyes; then
5131 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_OMF = yes; then
5144 { echo "$as_me:$LINENO: result
: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5149 if test "$wxUSE_DEBUG" = "yes"; then
5150 DEFAULT_wxUSE_DEBUG_FLAG=yes
5151 DEFAULT_wxUSE_DEBUG_INFO=yes
5153 elif test "$wxUSE_DEBUG" = "no
"; then
5154 DEFAULT_wxUSE_DEBUG_FLAG=no
5155 DEFAULT_wxUSE_DEBUG_INFO=no
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5171 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5172 # Check whether --enable-debug_flag was given.
5173 if test "${enable_debug_flag+set}" = set; then
5174 enableval=$enable_debug_flag;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5178 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5184 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5185 if test "x
$LINE" != x ; then
5186 eval "DEFAULT_
$LINE"
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5197 eval "$wx_cv_use_debug_flag"
5198 if test "x$cache" = xyes
; then
5199 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5202 if test x
"$enablestring" = xdisable
; then
5203 if test $wxUSE_DEBUG_FLAG = yes; then
5209 result
=$wxUSE_DEBUG_FLAG
5212 { echo "$as_me:$LINENO: result: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5218 if test -z "$defaultval"; then
5219 if test x
"$enablestring" = xdisable
; then
5226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5228 # Check whether --enable-debug_info was given.
5229 if test "${enable_debug_info+set}" = set; then
5230 enableval
=$enable_debug_info;
5231 if test "$enableval" = yes; then
5232 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5234 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5240 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5248 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5253 eval "$wx_cv_use_debug_info"
5254 if test "x$cache" = xyes; then
5255 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5258 if test x"$enablestring" = xdisable; then
5259 if test $wxUSE_DEBUG_INFO = yes; then
5265 result=$wxUSE_DEBUG_INFO
5268 { echo "$as_me:$LINENO: result: $result" >&5
5269 echo "${ECHO_T}$result" >&6; }
5274 if test -z "$defaultval"; then
5275 if test x"$enablestring" = xdisable; then
5282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5284 # Check whether --enable-debug_gdb was given.
5285 if test "${enable_debug_gdb+set}" = set; then
5286 enableval=$enable_debug_gdb;
5287 if test "$enableval" = yes; then
5288 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5290 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5296 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x ; then
5298 eval "DEFAULT_$LINE"
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5309 eval "$wx_cv_use_debug_gdb"
5310 if test "x
$cache" = xyes; then
5311 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_DEBUG_GDB = yes; then
5321 result=$wxUSE_DEBUG_GDB
5324 { echo "$as_me:$LINENO: result
: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5330 if test -z "$defaultval"; then
5331 if test x"$enablestring" = xdisable; then
5338 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5339 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5340 # Check whether --enable-debug_cntxt was given.
5341 if test "${enable_debug_cntxt+set}" = set; then
5342 enableval=$enable_debug_cntxt;
5343 if test "$enableval" = yes; then
5344 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5346 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5352 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5353 if test "x
$LINE" != x ; then
5354 eval "DEFAULT_
$LINE"
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5365 eval "$wx_cv_use_debug_cntxt"
5366 if test "x$cache" = xyes
; then
5367 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5370 if test x
"$enablestring" = xdisable
; then
5371 if test $wxUSE_DEBUG_CONTEXT = yes; then
5377 result
=$wxUSE_DEBUG_CONTEXT
5380 { echo "$as_me:$LINENO: result: $result" >&5
5381 echo "${ECHO_T}$result" >&6; }
5386 if test -z "$defaultval"; then
5387 if test x
"$enablestring" = xdisable
; then
5394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5396 # Check whether --enable-mem_tracing was given.
5397 if test "${enable_mem_tracing+set}" = set; then
5398 enableval
=$enable_mem_tracing;
5399 if test "$enableval" = yes; then
5400 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5402 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5408 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5416 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5421 eval "$wx_cv_use_mem_tracing"
5422 if test "x$cache" = xyes; then
5423 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5426 if test x"$enablestring" = xdisable; then
5427 if test $wxUSE_MEM_TRACING = yes; then
5433 result=$wxUSE_MEM_TRACING
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5442 if test -z "$defaultval"; then
5443 if test x"$enablestring" = xdisable; then
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5452 # Check whether --enable-profile was given.
5453 if test "${enable_profile+set}" = set; then
5454 enableval=$enable_profile;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5458 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5464 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5472 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5477 eval "$wx_cv_use_profile"
5478 if test "x
$cache" = xyes; then
5479 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5482 if test x"$enablestring" = xdisable; then
5483 if test $wxUSE_PROFILE = yes; then
5489 result=$wxUSE_PROFILE
5492 { echo "$as_me:$LINENO: result
: $result" >&5
5493 echo "${ECHO_T}$result" >&6; }
5498 if test -z "$defaultval"; then
5499 if test x"$enablestring" = xdisable; then
5506 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5507 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5508 # Check whether --enable-no_rtti was given.
5509 if test "${enable_no_rtti+set}" = set; then
5510 enableval=$enable_no_rtti;
5511 if test "$enableval" = yes; then
5512 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5514 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5520 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5521 if test "x
$LINE" != x ; then
5522 eval "DEFAULT_
$LINE"
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5533 eval "$wx_cv_use_no_rtti"
5534 if test "x$cache" = xyes
; then
5535 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5538 if test x
"$enablestring" = xdisable
; then
5539 if test $wxUSE_NO_RTTI = yes; then
5545 result
=$wxUSE_NO_RTTI
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5554 if test -z "$defaultval"; then
5555 if test x
"$enablestring" = xdisable
; then
5562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5564 # Check whether --enable-no_exceptions was given.
5565 if test "${enable_no_exceptions+set}" = set; then
5566 enableval
=$enable_no_exceptions;
5567 if test "$enableval" = yes; then
5568 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5570 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5576 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5584 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5589 eval "$wx_cv_use_no_exceptions"
5590 if test "x$cache" = xyes; then
5591 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5594 if test x"$enablestring" = xdisable; then
5595 if test $wxUSE_NO_EXCEPTIONS = yes; then
5601 result=$wxUSE_NO_EXCEPTIONS
5604 { echo "$as_me:$LINENO: result: $result" >&5
5605 echo "${ECHO_T}$result" >&6; }
5610 if test -z "$defaultval"; then
5611 if test x"$enablestring" = xdisable; then
5618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5619 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5620 # Check whether --enable-permissive was given.
5621 if test "${enable_permissive+set}" = set; then
5622 enableval=$enable_permissive;
5623 if test "$enableval" = yes; then
5624 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5626 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5632 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x ; then
5634 eval "DEFAULT_$LINE"
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5645 eval "$wx_cv_use_permissive"
5646 if test "x
$cache" = xyes; then
5647 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5650 if test x"$enablestring" = xdisable; then
5651 if test $wxUSE_PERMISSIVE = yes; then
5657 result=$wxUSE_PERMISSIVE
5660 { echo "$as_me:$LINENO: result
: $result" >&5
5661 echo "${ECHO_T}$result" >&6; }
5666 if test -z "$defaultval"; then
5667 if test x"$enablestring" = xdisable; then
5674 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5675 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5676 # Check whether --enable-no_deps was given.
5677 if test "${enable_no_deps+set}" = set; then
5678 enableval=$enable_no_deps;
5679 if test "$enableval" = yes; then
5680 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5682 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5688 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5689 if test "x
$LINE" != x ; then
5690 eval "DEFAULT_
$LINE"
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5701 eval "$wx_cv_use_no_deps"
5702 if test "x$cache" = xyes
; then
5703 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5706 if test x
"$enablestring" = xdisable
; then
5707 if test $wxUSE_NO_DEPS = yes; then
5713 result
=$wxUSE_NO_DEPS
5716 { echo "$as_me:$LINENO: result: $result" >&5
5717 echo "${ECHO_T}$result" >&6; }
5720 enablestring
=disable
5722 if test -z "$defaultval"; then
5723 if test x
"$enablestring" = xdisable
; then
5730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5732 # Check whether --enable-vararg_macros was given.
5733 if test "${enable_vararg_macros+set}" = set; then
5734 enableval
=$enable_vararg_macros;
5735 if test "$enableval" = yes; then
5736 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5738 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5744 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5745 if test "x$LINE" != x
; then
5746 eval "DEFAULT_$LINE"
5752 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5757 eval "$wx_cv_use_vararg_macros"
5758 if test "x$cache" = xyes; then
5759 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5762 if test x"$enablestring" = xdisable; then
5763 if test $wxUSE_VARARG_MACROS = yes; then
5769 result=$wxUSE_VARARG_MACROS
5772 { echo "$as_me:$LINENO: result: $result" >&5
5773 echo "${ECHO_T}$result" >&6; }
5777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5779 # Check whether --enable-universal_binary was given.
5780 if test "${enable_universal_binary+set}" = set; then
5781 enableval=$enable_universal_binary;
5782 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5787 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5795 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5800 eval "$wx_cv_use_universal_binary"
5801 if test "x$cache" = xyes; then
5802 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5805 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5806 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5812 if test -z "$defaultval"; then
5813 if test x"$enablestring" = xdisable; then
5820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5822 # Check whether --enable-compat26 was given.
5823 if test "${enable_compat26+set}" = set; then
5824 enableval=$enable_compat26;
5825 if test "$enableval" = yes; then
5826 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5828 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5834 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x ; then
5836 eval "DEFAULT_$LINE"
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5847 eval "$wx_cv_use_compat26"
5848 if test "x
$cache" = xyes; then
5849 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5852 if test x"$enablestring" = xdisable; then
5853 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5859 result=$WXWIN_COMPATIBILITY_2_6
5862 { echo "$as_me:$LINENO: result
: $result" >&5
5863 echo "${ECHO_T}$result" >&6; }
5866 enablestring=disable
5868 if test -z "$defaultval"; then
5869 if test x"$enablestring" = xdisable; then
5876 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5877 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5878 # Check whether --enable-compat28 was given.
5879 if test "${enable_compat28+set}" = set; then
5880 enableval=$enable_compat28;
5881 if test "$enableval" = yes; then
5882 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5884 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5890 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5891 if test "x
$LINE" != x ; then
5892 eval "DEFAULT_
$LINE"
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5903 eval "$wx_cv_use_compat28"
5904 if test "x$cache" = xyes
; then
5905 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5908 if test x
"$enablestring" = xdisable
; then
5909 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5915 result
=$WXWIN_COMPATIBILITY_2_8
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 enablestring
=disable
5925 if test -z "$defaultval"; then
5926 if test x
"$enablestring" = xdisable
; then
5933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5935 # Check whether --enable-rpath was given.
5936 if test "${enable_rpath+set}" = set; then
5937 enableval
=$enable_rpath;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5941 wx_cv_use_rpath
='wxUSE_RPATH=no'
5947 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5955 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5960 eval "$wx_cv_use_rpath"
5961 if test "x$cache" = xyes; then
5962 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5965 if test x"$enablestring" = xdisable; then
5966 if test $wxUSE_RPATH = yes; then
5975 { echo "$as_me:$LINENO: result: $result" >&5
5976 echo "${ECHO_T}$result" >&6; }
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5992 # Check whether --enable-objc_uniquifying was given.
5993 if test "${enable_objc_uniquifying+set}" = set; then
5994 enableval=$enable_objc_uniquifying;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5998 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6004 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x ; then
6006 eval "DEFAULT_$LINE"
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6017 eval "$wx_cv_use_objc_uniquifying"
6018 if test "x
$cache" = xyes; then
6019 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6022 if test x"$enablestring" = xdisable; then
6023 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6029 result=$wxUSE_OBJC_UNIQUIFYING
6032 { echo "$as_me:$LINENO: result
: $result" >&5
6033 echo "${ECHO_T}$result" >&6; }
6037 enablestring=disable
6039 if test -z "$defaultval"; then
6040 if test x"$enablestring" = xdisable; then
6047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6048 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6049 # Check whether --enable-visibility was given.
6050 if test "${enable_visibility+set}" = set; then
6051 enableval=$enable_visibility;
6052 if test "$enableval" = yes; then
6053 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6055 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6061 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6062 if test "x
$LINE" != x ; then
6063 eval "DEFAULT_
$LINE"
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6074 eval "$wx_cv_use_visibility"
6075 if test "x$cache" = xyes
; then
6076 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6079 if test x
"$enablestring" = xdisable
; then
6080 if test $wxUSE_VISIBILITY = yes; then
6086 result
=$wxUSE_VISIBILITY
6089 { echo "$as_me:$LINENO: result: $result" >&5
6090 echo "${ECHO_T}$result" >&6; }
6096 defaultval
=$wxUSE_ALL_FEATURES
6097 if test -z "$defaultval"; then
6098 if test x
"$enablestring" = xdisable
; then
6105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6107 # Check whether --enable-intl was given.
6108 if test "${enable_intl+set}" = set; then
6109 enableval
=$enable_intl;
6110 if test "$enableval" = yes; then
6111 wx_cv_use_intl
='wxUSE_INTL=yes'
6113 wx_cv_use_intl
='wxUSE_INTL=no'
6119 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x
; then
6121 eval "DEFAULT_$LINE"
6127 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6132 eval "$wx_cv_use_intl"
6133 if test "x$cache" = xyes; then
6134 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6137 if test x"$enablestring" = xdisable; then
6138 if test $wxUSE_INTL = yes; then
6147 { echo "$as_me:$LINENO: result: $result" >&5
6148 echo "${ECHO_T}$result" >&6; }
6152 defaultval=$wxUSE_ALL_FEATURES
6153 if test -z "$defaultval"; then
6154 if test x"$enablestring" = xdisable; then
6161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6162 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6163 # Check whether --enable-config was given.
6164 if test "${enable_config+set}" = set; then
6165 enableval=$enable_config;
6166 if test "$enableval" = yes; then
6167 wx_cv_use_config='wxUSE_CONFIG
=yes'
6169 wx_cv_use_config='wxUSE_CONFIG
=no
'
6175 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6176 if test "x$LINE" != x ; then
6177 eval "DEFAULT_$LINE"
6183 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6188 eval "$wx_cv_use_config"
6189 if test "x
$cache" = xyes; then
6190 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6193 if test x"$enablestring" = xdisable; then
6194 if test $wxUSE_CONFIG = yes; then
6200 result=$wxUSE_CONFIG
6203 { echo "$as_me:$LINENO: result
: $result" >&5
6204 echo "${ECHO_T}$result" >&6; }
6209 defaultval=$wxUSE_ALL_FEATURES
6210 if test -z "$defaultval"; then
6211 if test x"$enablestring" = xdisable; then
6218 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6219 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6220 # Check whether --enable-protocols was given.
6221 if test "${enable_protocols+set}" = set; then
6222 enableval=$enable_protocols;
6223 if test "$enableval" = yes; then
6224 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6226 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6232 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6233 if test "x
$LINE" != x ; then
6234 eval "DEFAULT_
$LINE"
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6245 eval "$wx_cv_use_protocols"
6246 if test "x$cache" = xyes
; then
6247 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6250 if test x
"$enablestring" = xdisable
; then
6251 if test $wxUSE_PROTOCOL = yes; then
6257 result
=$wxUSE_PROTOCOL
6260 { echo "$as_me:$LINENO: result: $result" >&5
6261 echo "${ECHO_T}$result" >&6; }
6265 defaultval
=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x
"$enablestring" = xdisable
; then
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6276 # Check whether --enable-ftp was given.
6277 if test "${enable_ftp+set}" = set; then
6278 enableval
=$enable_ftp;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6282 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6288 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6289 if test "x$LINE" != x
; then
6290 eval "DEFAULT_$LINE"
6296 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6301 eval "$wx_cv_use_ftp"
6302 if test "x$cache" = xyes; then
6303 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6306 if test x"$enablestring" = xdisable; then
6307 if test $wxUSE_PROTOCOL_FTP = yes; then
6313 result=$wxUSE_PROTOCOL_FTP
6316 { echo "$as_me:$LINENO: result: $result" >&5
6317 echo "${ECHO_T}$result" >&6; }
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6332 # Check whether --enable-http was given.
6333 if test "${enable_http+set}" = set; then
6334 enableval=$enable_http;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6338 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6344 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x ; then
6346 eval "DEFAULT_$LINE"
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6357 eval "$wx_cv_use_http"
6358 if test "x
$cache" = xyes; then
6359 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6362 if test x"$enablestring" = xdisable; then
6363 if test $wxUSE_PROTOCOL_HTTP = yes; then
6369 result=$wxUSE_PROTOCOL_HTTP
6372 { echo "$as_me:$LINENO: result
: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6377 defaultval=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x"$enablestring" = xdisable; then
6386 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6387 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6388 # Check whether --enable-fileproto was given.
6389 if test "${enable_fileproto+set}" = set; then
6390 enableval=$enable_fileproto;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6394 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6400 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6401 if test "x
$LINE" != x ; then
6402 eval "DEFAULT_
$LINE"
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6413 eval "$wx_cv_use_fileproto"
6414 if test "x$cache" = xyes
; then
6415 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6418 if test x
"$enablestring" = xdisable
; then
6419 if test $wxUSE_PROTOCOL_FILE = yes; then
6425 result
=$wxUSE_PROTOCOL_FILE
6428 { echo "$as_me:$LINENO: result: $result" >&5
6429 echo "${ECHO_T}$result" >&6; }
6433 defaultval
=$wxUSE_ALL_FEATURES
6434 if test -z "$defaultval"; then
6435 if test x
"$enablestring" = xdisable
; then
6442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6443 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6444 # Check whether --enable-sockets was given.
6445 if test "${enable_sockets+set}" = set; then
6446 enableval
=$enable_sockets;
6447 if test "$enableval" = yes; then
6448 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6450 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6456 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6464 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6469 eval "$wx_cv_use_sockets"
6470 if test "x$cache" = xyes; then
6471 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_SOCKETS = yes; then
6481 result=$wxUSE_SOCKETS
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6500 # Check whether --enable-ole was given.
6501 if test "${enable_ole+set}" = set; then
6502 enableval=$enable_ole;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_ole='wxUSE_OLE
=yes'
6506 wx_cv_use_ole='wxUSE_OLE
=no
'
6512 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x ; then
6514 eval "DEFAULT_$LINE"
6520 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6525 eval "$wx_cv_use_ole"
6526 if test "x
$cache" = xyes; then
6527 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_OLE = yes; then
6540 { echo "$as_me:$LINENO: result
: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6555 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6556 # Check whether --enable-dataobj was given.
6557 if test "${enable_dataobj+set}" = set; then
6558 enableval=$enable_dataobj;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6562 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6568 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6569 if test "x
$LINE" != x ; then
6570 eval "DEFAULT_
$LINE"
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6581 eval "$wx_cv_use_dataobj"
6582 if test "x$cache" = xyes
; then
6583 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6586 if test x
"$enablestring" = xdisable
; then
6587 if test $wxUSE_DATAOBJ = yes; then
6593 result
=$wxUSE_DATAOBJ
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6602 defaultval
=$wxUSE_ALL_FEATURES
6603 if test -z "$defaultval"; then
6604 if test x
"$enablestring" = xdisable
; then
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6613 # Check whether --enable-ipc was given.
6614 if test "${enable_ipc+set}" = set; then
6615 enableval
=$enable_ipc;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_ipc
='wxUSE_IPC=yes'
6619 wx_cv_use_ipc
='wxUSE_IPC=no'
6625 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x
; then
6627 eval "DEFAULT_$LINE"
6633 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6638 eval "$wx_cv_use_ipc"
6639 if test "x$cache" = xyes; then
6640 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_IPC = yes; then
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6659 defaultval=$wxUSE_ALL_FEATURES
6660 if test -z "$defaultval"; then
6661 if test x"$enablestring" = xdisable; then
6668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6670 # Check whether --enable-baseevtloop was given.
6671 if test "${enable_baseevtloop+set}" = set; then
6672 enableval=$enable_baseevtloop;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6676 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6682 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x ; then
6684 eval "DEFAULT_$LINE"
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6695 eval "$wx_cv_use_baseevtloop"
6696 if test "x
$cache" = xyes; then
6697 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6707 result=$wxUSE_CONSOLE_EVENTLOOP
6710 { echo "$as_me:$LINENO: result
: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6725 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6726 # Check whether --enable-epollloop was given.
6727 if test "${enable_epollloop+set}" = set; then
6728 enableval=$enable_epollloop;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6732 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6738 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6739 if test "x
$LINE" != x ; then
6740 eval "DEFAULT_
$LINE"
6746 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6751 eval "$wx_cv_use_epollloop"
6752 if test "x$cache" = xyes
; then
6753 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6756 if test x
"$enablestring" = xdisable
; then
6757 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6763 result
=$wxUSE_EPOLL_DISPATCHER
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6771 defaultval
=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x
"$enablestring" = xdisable
; then
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6782 # Check whether --enable-selectloop was given.
6783 if test "${enable_selectloop+set}" = set; then
6784 enableval
=$enable_selectloop;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6788 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6794 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6795 if test "x$LINE" != x
; then
6796 eval "DEFAULT_$LINE"
6802 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6807 eval "$wx_cv_use_selectloop"
6808 if test "x$cache" = xyes; then
6809 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6812 if test x"$enablestring" = xdisable; then
6813 if test $wxUSE_SELECT_DISPATCHER = yes; then
6819 result=$wxUSE_SELECT_DISPATCHER
6822 { echo "$as_me:$LINENO: result: $result" >&5
6823 echo "${ECHO_T}$result" >&6; }
6828 defaultval=$wxUSE_ALL_FEATURES
6829 if test -z "$defaultval"; then
6830 if test x"$enablestring" = xdisable; then
6837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6839 # Check whether --enable-apple_ieee was given.
6840 if test "${enable_apple_ieee+set}" = set; then
6841 enableval=$enable_apple_ieee;
6842 if test "$enableval" = yes; then
6843 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6845 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6851 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6864 eval "$wx_cv_use_apple_ieee"
6865 if test "x
$cache" = xyes; then
6866 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6869 if test x"$enablestring" = xdisable; then
6870 if test $wxUSE_APPLE_IEEE = yes; then
6876 result=$wxUSE_APPLE_IEEE
6879 { echo "$as_me:$LINENO: result
: $result" >&5
6880 echo "${ECHO_T}$result" >&6; }
6884 defaultval=$wxUSE_ALL_FEATURES
6885 if test -z "$defaultval"; then
6886 if test x"$enablestring" = xdisable; then
6893 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6894 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6895 # Check whether --enable-arcstream was given.
6896 if test "${enable_arcstream+set}" = set; then
6897 enableval=$enable_arcstream;
6898 if test "$enableval" = yes; then
6899 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6901 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6907 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6908 if test "x
$LINE" != x ; then
6909 eval "DEFAULT_
$LINE"
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6920 eval "$wx_cv_use_arcstream"
6921 if test "x$cache" = xyes
; then
6922 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6925 if test x
"$enablestring" = xdisable
; then
6926 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6932 result
=$wxUSE_ARCHIVE_STREAMS
6935 { echo "$as_me:$LINENO: result: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6940 defaultval
=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x
"$enablestring" = xdisable
; then
6949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6951 # Check whether --enable-base64 was given.
6952 if test "${enable_base64+set}" = set; then
6953 enableval
=$enable_base64;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_base64
='wxUSE_BASE64=yes'
6957 wx_cv_use_base64
='wxUSE_BASE64=no'
6963 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6964 if test "x$LINE" != x
; then
6965 eval "DEFAULT_$LINE"
6971 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6976 eval "$wx_cv_use_base64"
6977 if test "x$cache" = xyes; then
6978 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_BASE64 = yes; then
6988 result=$wxUSE_BASE64
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7007 # Check whether --enable-backtrace was given.
7008 if test "${enable_backtrace+set}" = set; then
7009 enableval=$enable_backtrace;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7013 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7019 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7032 eval "$wx_cv_use_backtrace"
7033 if test "x
$cache" = xyes; then
7034 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_STACKWALKER = yes; then
7044 result=$wxUSE_STACKWALKER
7047 { echo "$as_me:$LINENO: result
: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7061 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7062 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7063 # Check whether --enable-catch_segvs was given.
7064 if test "${enable_catch_segvs+set}" = set; then
7065 enableval=$enable_catch_segvs;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7069 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7075 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7076 if test "x
$LINE" != x ; then
7077 eval "DEFAULT_
$LINE"
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7088 eval "$wx_cv_use_catch_segvs"
7089 if test "x$cache" = xyes
; then
7090 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7093 if test x
"$enablestring" = xdisable
; then
7094 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7100 result
=$wxUSE_ON_FATAL_EXCEPTION
7103 { echo "$as_me:$LINENO: result: $result" >&5
7104 echo "${ECHO_T}$result" >&6; }
7108 defaultval
=$wxUSE_ALL_FEATURES
7109 if test -z "$defaultval"; then
7110 if test x
"$enablestring" = xdisable
; then
7117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7118 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7119 # Check whether --enable-cmdline was given.
7120 if test "${enable_cmdline+set}" = set; then
7121 enableval
=$enable_cmdline;
7122 if test "$enableval" = yes; then
7123 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7125 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7131 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7132 if test "x$LINE" != x
; then
7133 eval "DEFAULT_$LINE"
7139 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7144 eval "$wx_cv_use_cmdline"
7145 if test "x$cache" = xyes; then
7146 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_CMDLINE_PARSER = yes; then
7156 result=$wxUSE_CMDLINE_PARSER
7159 { echo "$as_me:$LINENO: result: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7175 # Check whether --enable-datetime was given.
7176 if test "${enable_datetime+set}" = set; then
7177 enableval=$enable_datetime;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7181 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7187 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7188 if test "x$LINE" != x ; then
7189 eval "DEFAULT_$LINE"
7195 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7200 eval "$wx_cv_use_datetime"
7201 if test "x
$cache" = xyes; then
7202 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7205 if test x"$enablestring" = xdisable; then
7206 if test $wxUSE_DATETIME = yes; then
7212 result=$wxUSE_DATETIME
7215 { echo "$as_me:$LINENO: result
: $result" >&5
7216 echo "${ECHO_T}$result" >&6; }
7220 defaultval=$wxUSE_ALL_FEATURES
7221 if test -z "$defaultval"; then
7222 if test x"$enablestring" = xdisable; then
7229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7230 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7231 # Check whether --enable-debugreport was given.
7232 if test "${enable_debugreport+set}" = set; then
7233 enableval=$enable_debugreport;
7234 if test "$enableval" = yes; then
7235 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7237 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7243 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7244 if test "x
$LINE" != x ; then
7245 eval "DEFAULT_
$LINE"
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7256 eval "$wx_cv_use_debugreport"
7257 if test "x$cache" = xyes
; then
7258 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7261 if test x
"$enablestring" = xdisable
; then
7262 if test $wxUSE_DEBUGREPORT = yes; then
7268 result
=$wxUSE_DEBUGREPORT
7271 { echo "$as_me:$LINENO: result: $result" >&5
7272 echo "${ECHO_T}$result" >&6; }
7276 defaultval
=$wxUSE_ALL_FEATURES
7277 if test -z "$defaultval"; then
7278 if test x
"$enablestring" = xdisable
; then
7285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7286 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7287 # Check whether --enable-dialupman was given.
7288 if test "${enable_dialupman+set}" = set; then
7289 enableval
=$enable_dialupman;
7290 if test "$enableval" = yes; then
7291 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7293 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7299 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7300 if test "x$LINE" != x
; then
7301 eval "DEFAULT_$LINE"
7307 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7312 eval "$wx_cv_use_dialupman"
7313 if test "x$cache" = xyes; then
7314 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7317 if test x"$enablestring" = xdisable; then
7318 if test $wxUSE_DIALUP_MANAGER = yes; then
7324 result=$wxUSE_DIALUP_MANAGER
7327 { echo "$as_me:$LINENO: result: $result" >&5
7328 echo "${ECHO_T}$result" >&6; }
7332 defaultval=$wxUSE_ALL_FEATURES
7333 if test -z "$defaultval"; then
7334 if test x"$enablestring" = xdisable; then
7341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7343 # Check whether --enable-dynlib was given.
7344 if test "${enable_dynlib+set}" = set; then
7345 enableval=$enable_dynlib;
7346 if test "$enableval" = yes; then
7347 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7349 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7355 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7368 eval "$wx_cv_use_dynlib"
7369 if test "x
$cache" = xyes; then
7370 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7373 if test x"$enablestring" = xdisable; then
7374 if test $wxUSE_DYNLIB_CLASS = yes; then
7380 result=$wxUSE_DYNLIB_CLASS
7383 { echo "$as_me:$LINENO: result
: $result" >&5
7384 echo "${ECHO_T}$result" >&6; }
7388 defaultval=$wxUSE_ALL_FEATURES
7389 if test -z "$defaultval"; then
7390 if test x"$enablestring" = xdisable; then
7397 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7398 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7399 # Check whether --enable-dynamicloader was given.
7400 if test "${enable_dynamicloader+set}" = set; then
7401 enableval=$enable_dynamicloader;
7402 if test "$enableval" = yes; then
7403 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7405 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7411 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7412 if test "x
$LINE" != x ; then
7413 eval "DEFAULT_
$LINE"
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7424 eval "$wx_cv_use_dynamicloader"
7425 if test "x$cache" = xyes
; then
7426 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7429 if test x
"$enablestring" = xdisable
; then
7430 if test $wxUSE_DYNAMIC_LOADER = yes; then
7436 result
=$wxUSE_DYNAMIC_LOADER
7439 { echo "$as_me:$LINENO: result: $result" >&5
7440 echo "${ECHO_T}$result" >&6; }
7444 defaultval
=$wxUSE_ALL_FEATURES
7445 if test -z "$defaultval"; then
7446 if test x
"$enablestring" = xdisable
; then
7453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7454 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7455 # Check whether --enable-exceptions was given.
7456 if test "${enable_exceptions+set}" = set; then
7457 enableval
=$enable_exceptions;
7458 if test "$enableval" = yes; then
7459 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7461 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7467 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7468 if test "x$LINE" != x
; then
7469 eval "DEFAULT_$LINE"
7475 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7480 eval "$wx_cv_use_exceptions"
7481 if test "x$cache" = xyes; then
7482 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_EXCEPTIONS = yes; then
7492 result=$wxUSE_EXCEPTIONS
7495 { echo "$as_me:$LINENO: result: $result" >&5
7496 echo "${ECHO_T}$result" >&6; }
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7511 # Check whether --enable-ffile was given.
7512 if test "${enable_ffile+set}" = set; then
7513 enableval=$enable_ffile;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7517 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7523 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7524 if test "x$LINE" != x ; then
7525 eval "DEFAULT_$LINE"
7531 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7536 eval "$wx_cv_use_ffile"
7537 if test "x
$cache" = xyes; then
7538 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_FFILE = yes; then
7551 { echo "$as_me:$LINENO: result
: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7566 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7567 # Check whether --enable-file was given.
7568 if test "${enable_file+set}" = set; then
7569 enableval=$enable_file;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_file='wxUSE_FILE=yes'
7573 wx_cv_use_file='wxUSE_FILE=no'
7579 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7580 if test "x
$LINE" != x ; then
7581 eval "DEFAULT_
$LINE"
7587 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7592 eval "$wx_cv_use_file"
7593 if test "x$cache" = xyes
; then
7594 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7597 if test x
"$enablestring" = xdisable
; then
7598 if test $wxUSE_FILE = yes; then
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7612 defaultval
=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x
"$enablestring" = xdisable
; then
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7623 # Check whether --enable-filesystem was given.
7624 if test "${enable_filesystem+set}" = set; then
7625 enableval
=$enable_filesystem;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7629 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7635 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x
; then
7637 eval "DEFAULT_$LINE"
7643 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7648 eval "$wx_cv_use_filesystem"
7649 if test "x$cache" = xyes; then
7650 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_FILESYSTEM = yes; then
7660 result=$wxUSE_FILESYSTEM
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7679 # Check whether --enable-fontenum was given.
7680 if test "${enable_fontenum+set}" = set; then
7681 enableval=$enable_fontenum;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7685 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7691 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x ; then
7693 eval "DEFAULT_$LINE"
7699 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7704 eval "$wx_cv_use_fontenum"
7705 if test "x
$cache" = xyes; then
7706 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7709 if test x"$enablestring" = xdisable; then
7710 if test $wxUSE_FONTENUM = yes; then
7716 result=$wxUSE_FONTENUM
7719 { echo "$as_me:$LINENO: result
: $result" >&5
7720 echo "${ECHO_T}$result" >&6; }
7724 defaultval=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x"$enablestring" = xdisable; then
7733 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7734 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7735 # Check whether --enable-fontmap was given.
7736 if test "${enable_fontmap+set}" = set; then
7737 enableval=$enable_fontmap;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7741 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7747 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7748 if test "x
$LINE" != x ; then
7749 eval "DEFAULT_
$LINE"
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7760 eval "$wx_cv_use_fontmap"
7761 if test "x$cache" = xyes
; then
7762 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7765 if test x
"$enablestring" = xdisable
; then
7766 if test $wxUSE_FONTMAP = yes; then
7772 result
=$wxUSE_FONTMAP
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7780 defaultval
=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x
"$enablestring" = xdisable
; then
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7791 # Check whether --enable-fs_archive was given.
7792 if test "${enable_fs_archive+set}" = set; then
7793 enableval
=$enable_fs_archive;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7797 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7803 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7811 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7816 eval "$wx_cv_use_fs_archive"
7817 if test "x$cache" = xyes; then
7818 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7821 if test x"$enablestring" = xdisable; then
7822 if test $wxUSE_FS_ARCHIVE = yes; then
7828 result=$wxUSE_FS_ARCHIVE
7831 { echo "$as_me:$LINENO: result: $result" >&5
7832 echo "${ECHO_T}$result" >&6; }
7836 defaultval=$wxUSE_ALL_FEATURES
7837 if test -z "$defaultval"; then
7838 if test x"$enablestring" = xdisable; then
7845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7846 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7847 # Check whether --enable-fs_inet was given.
7848 if test "${enable_fs_inet+set}" = set; then
7849 enableval=$enable_fs_inet;
7850 if test "$enableval" = yes; then
7851 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7853 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7859 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7860 if test "x$LINE" != x ; then
7861 eval "DEFAULT_$LINE"
7867 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7872 eval "$wx_cv_use_fs_inet"
7873 if test "x
$cache" = xyes; then
7874 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7877 if test x"$enablestring" = xdisable; then
7878 if test $wxUSE_FS_INET = yes; then
7884 result=$wxUSE_FS_INET
7887 { echo "$as_me:$LINENO: result
: $result" >&5
7888 echo "${ECHO_T}$result" >&6; }
7892 defaultval=$wxUSE_ALL_FEATURES
7893 if test -z "$defaultval"; then
7894 if test x"$enablestring" = xdisable; then
7901 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7902 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7903 # Check whether --enable-fs_zip was given.
7904 if test "${enable_fs_zip+set}" = set; then
7905 enableval=$enable_fs_zip;
7906 if test "$enableval" = yes; then
7907 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7909 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7915 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7916 if test "x
$LINE" != x ; then
7917 eval "DEFAULT_
$LINE"
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7928 eval "$wx_cv_use_fs_zip"
7929 if test "x$cache" = xyes
; then
7930 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7933 if test x
"$enablestring" = xdisable
; then
7934 if test $wxUSE_FS_ZIP = yes; then
7940 result
=$wxUSE_FS_ZIP
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval
=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x
"$enablestring" = xdisable
; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7959 # Check whether --enable-geometry was given.
7960 if test "${enable_geometry+set}" = set; then
7961 enableval
=$enable_geometry;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7965 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7971 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7979 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7984 eval "$wx_cv_use_geometry"
7985 if test "x$cache" = xyes; then
7986 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_GEOMETRY = yes; then
7996 result=$wxUSE_GEOMETRY
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8015 # Check whether --enable-log was given.
8016 if test "${enable_log+set}" = set; then
8017 enableval=$enable_log;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_log='wxUSE_LOG
=yes'
8021 wx_cv_use_log='wxUSE_LOG
=no
'
8027 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8035 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8040 eval "$wx_cv_use_log"
8041 if test "x
$cache" = xyes; then
8042 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8045 if test x"$enablestring" = xdisable; then
8046 if test $wxUSE_LOG = yes; then
8055 { echo "$as_me:$LINENO: result
: $result" >&5
8056 echo "${ECHO_T}$result" >&6; }
8060 defaultval=$wxUSE_ALL_FEATURES
8061 if test -z "$defaultval"; then
8062 if test x"$enablestring" = xdisable; then
8069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8070 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8071 # Check whether --enable-longlong was given.
8072 if test "${enable_longlong+set}" = set; then
8073 enableval=$enable_longlong;
8074 if test "$enableval" = yes; then
8075 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8077 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8083 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8084 if test "x
$LINE" != x ; then
8085 eval "DEFAULT_
$LINE"
8091 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8096 eval "$wx_cv_use_longlong"
8097 if test "x$cache" = xyes
; then
8098 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8101 if test x
"$enablestring" = xdisable
; then
8102 if test $wxUSE_LONGLONG = yes; then
8108 result
=$wxUSE_LONGLONG
8111 { echo "$as_me:$LINENO: result: $result" >&5
8112 echo "${ECHO_T}$result" >&6; }
8116 defaultval
=$wxUSE_ALL_FEATURES
8117 if test -z "$defaultval"; then
8118 if test x
"$enablestring" = xdisable
; then
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8127 # Check whether --enable-mimetype was given.
8128 if test "${enable_mimetype+set}" = set; then
8129 enableval
=$enable_mimetype;
8130 if test "$enableval" = yes; then
8131 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8133 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8139 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x
; then
8141 eval "DEFAULT_$LINE"
8147 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8152 eval "$wx_cv_use_mimetype"
8153 if test "x$cache" = xyes; then
8154 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_MIMETYPE = yes; then
8164 result=$wxUSE_MIMETYPE
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8172 defaultval=$wxUSE_ALL_FEATURES
8173 if test -z "$defaultval"; then
8174 if test x"$enablestring" = xdisable; then
8181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8183 # Check whether --enable-snglinst was given.
8184 if test "${enable_snglinst+set}" = set; then
8185 enableval=$enable_snglinst;
8186 if test "$enableval" = yes; then
8187 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8189 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8195 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x ; then
8197 eval "DEFAULT_$LINE"
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8208 eval "$wx_cv_use_snglinst"
8209 if test "x
$cache" = xyes; then
8210 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_SNGLINST_CHECKER = yes; then
8220 result=$wxUSE_SNGLINST_CHECKER
8223 { echo "$as_me:$LINENO: result
: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8238 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8239 # Check whether --enable-stdpaths was given.
8240 if test "${enable_stdpaths+set}" = set; then
8241 enableval=$enable_stdpaths;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8245 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8251 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8252 if test "x
$LINE" != x ; then
8253 eval "DEFAULT_
$LINE"
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8264 eval "$wx_cv_use_stdpaths"
8265 if test "x$cache" = xyes
; then
8266 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8269 if test x
"$enablestring" = xdisable
; then
8270 if test $wxUSE_STDPATHS = yes; then
8276 result
=$wxUSE_STDPATHS
8279 { echo "$as_me:$LINENO: result: $result" >&5
8280 echo "${ECHO_T}$result" >&6; }
8284 defaultval
=$wxUSE_ALL_FEATURES
8285 if test -z "$defaultval"; then
8286 if test x
"$enablestring" = xdisable
; then
8293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8294 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8295 # Check whether --enable-stopwatch was given.
8296 if test "${enable_stopwatch+set}" = set; then
8297 enableval
=$enable_stopwatch;
8298 if test "$enableval" = yes; then
8299 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8301 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8307 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x
; then
8309 eval "DEFAULT_$LINE"
8315 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8320 eval "$wx_cv_use_stopwatch"
8321 if test "x$cache" = xyes; then
8322 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_STOPWATCH = yes; then
8332 result=$wxUSE_STOPWATCH
8335 { echo "$as_me:$LINENO: result: $result" >&5
8336 echo "${ECHO_T}$result" >&6; }
8340 defaultval=$wxUSE_ALL_FEATURES
8341 if test -z "$defaultval"; then
8342 if test x"$enablestring" = xdisable; then
8349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8350 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8351 # Check whether --enable-streams was given.
8352 if test "${enable_streams+set}" = set; then
8353 enableval=$enable_streams;
8354 if test "$enableval" = yes; then
8355 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8357 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8363 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8371 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8376 eval "$wx_cv_use_streams"
8377 if test "x
$cache" = xyes; then
8378 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8381 if test x"$enablestring" = xdisable; then
8382 if test $wxUSE_STREAMS = yes; then
8388 result=$wxUSE_STREAMS
8391 { echo "$as_me:$LINENO: result
: $result" >&5
8392 echo "${ECHO_T}$result" >&6; }
8396 defaultval=$wxUSE_ALL_FEATURES
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8406 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8407 # Check whether --enable-system_options was given.
8408 if test "${enable_system_options+set}" = set; then
8409 enableval=$enable_system_options;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8413 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8419 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8420 if test "x
$LINE" != x ; then
8421 eval "DEFAULT_
$LINE"
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8432 eval "$wx_cv_use_system_options"
8433 if test "x$cache" = xyes
; then
8434 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8437 if test x
"$enablestring" = xdisable
; then
8438 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8444 result
=$wxUSE_SYSTEM_OPTIONS
8447 { echo "$as_me:$LINENO: result: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8452 defaultval
=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x
"$enablestring" = xdisable
; then
8461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8463 # Check whether --enable-tarstream was given.
8464 if test "${enable_tarstream+set}" = set; then
8465 enableval
=$enable_tarstream;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8469 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8475 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x
; then
8477 eval "DEFAULT_$LINE"
8483 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8488 eval "$wx_cv_use_tarstream"
8489 if test "x$cache" = xyes; then
8490 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8493 if test x"$enablestring" = xdisable; then
8494 if test $wxUSE_TARSTREAM = yes; then
8500 result=$wxUSE_TARSTREAM
8503 { echo "$as_me:$LINENO: result: $result" >&5
8504 echo "${ECHO_T}$result" >&6; }
8508 defaultval=$wxUSE_ALL_FEATURES
8509 if test -z "$defaultval"; then
8510 if test x"$enablestring" = xdisable; then
8517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8518 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8519 # Check whether --enable-textbuf was given.
8520 if test "${enable_textbuf+set}" = set; then
8521 enableval=$enable_textbuf;
8522 if test "$enableval" = yes; then
8523 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8525 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8531 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8532 if test "x$LINE" != x ; then
8533 eval "DEFAULT_$LINE"
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8544 eval "$wx_cv_use_textbuf"
8545 if test "x
$cache" = xyes; then
8546 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8549 if test x"$enablestring" = xdisable; then
8550 if test $wxUSE_TEXTBUFFER = yes; then
8556 result=$wxUSE_TEXTBUFFER
8559 { echo "$as_me:$LINENO: result
: $result" >&5
8560 echo "${ECHO_T}$result" >&6; }
8564 defaultval=$wxUSE_ALL_FEATURES
8565 if test -z "$defaultval"; then
8566 if test x"$enablestring" = xdisable; then
8573 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8574 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8575 # Check whether --enable-textfile was given.
8576 if test "${enable_textfile+set}" = set; then
8577 enableval=$enable_textfile;
8578 if test "$enableval" = yes; then
8579 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8581 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8587 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8588 if test "x
$LINE" != x ; then
8589 eval "DEFAULT_
$LINE"
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8600 eval "$wx_cv_use_textfile"
8601 if test "x$cache" = xyes
; then
8602 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8605 if test x
"$enablestring" = xdisable
; then
8606 if test $wxUSE_TEXTFILE = yes; then
8612 result
=$wxUSE_TEXTFILE
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8620 defaultval
=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x
"$enablestring" = xdisable
; then
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8631 # Check whether --enable-timer was given.
8632 if test "${enable_timer+set}" = set; then
8633 enableval
=$enable_timer;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_timer
='wxUSE_TIMER=yes'
8637 wx_cv_use_timer
='wxUSE_TIMER=no'
8643 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8644 if test "x$LINE" != x
; then
8645 eval "DEFAULT_$LINE"
8651 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8656 eval "$wx_cv_use_timer"
8657 if test "x$cache" = xyes; then
8658 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8661 if test x"$enablestring" = xdisable; then
8662 if test $wxUSE_TIMER = yes; then
8671 { echo "$as_me:$LINENO: result: $result" >&5
8672 echo "${ECHO_T}$result" >&6; }
8676 defaultval=$wxUSE_ALL_FEATURES
8677 if test -z "$defaultval"; then
8678 if test x"$enablestring" = xdisable; then
8685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8687 # Check whether --enable-sound was given.
8688 if test "${enable_sound+set}" = set; then
8689 enableval=$enable_sound;
8690 if test "$enableval" = yes; then
8691 wx_cv_use_sound='wxUSE_SOUND
=yes'
8693 wx_cv_use_sound='wxUSE_SOUND
=no
'
8699 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8700 if test "x$LINE" != x ; then
8701 eval "DEFAULT_$LINE"
8707 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8712 eval "$wx_cv_use_sound"
8713 if test "x
$cache" = xyes; then
8714 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8717 if test x"$enablestring" = xdisable; then
8718 if test $wxUSE_SOUND = yes; then
8727 { echo "$as_me:$LINENO: result
: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8732 defaultval=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x"$enablestring" = xdisable; then
8741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8742 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8743 # Check whether --enable-mediactrl was given.
8744 if test "${enable_mediactrl+set}" = set; then
8745 enableval=$enable_mediactrl;
8746 if test "$enableval" = yes; then
8747 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8749 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8755 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8756 if test "x
$LINE" != x ; then
8757 eval "DEFAULT_
$LINE"
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8768 eval "$wx_cv_use_mediactrl"
8769 if test "x$cache" = xyes
; then
8770 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8773 if test x
"$enablestring" = xdisable
; then
8774 if test $wxUSE_MEDIACTRL = yes; then
8780 result
=$wxUSE_MEDIACTRL
8783 { echo "$as_me:$LINENO: result: $result" >&5
8784 echo "${ECHO_T}$result" >&6; }
8788 defaultval
=$wxUSE_ALL_FEATURES
8789 if test -z "$defaultval"; then
8790 if test x
"$enablestring" = xdisable
; then
8797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8799 # Check whether --enable-gstreamer8 was given.
8800 if test "${enable_gstreamer8+set}" = set; then
8801 enableval
=$enable_gstreamer8;
8802 if test "$enableval" = yes; then
8803 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8805 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8811 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x
; then
8813 eval "DEFAULT_$LINE"
8819 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8824 eval "$wx_cv_use_gstreamer8"
8825 if test "x$cache" = xyes; then
8826 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_GSTREAMER8 = yes; then
8836 result=$wxUSE_GSTREAMER8
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8855 # Check whether --enable-printfposparam was given.
8856 if test "${enable_printfposparam+set}" = set; then
8857 enableval=$enable_printfposparam;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8861 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8867 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x ; then
8869 eval "DEFAULT_$LINE"
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8880 eval "$wx_cv_use_printfposparam"
8881 if test "x
$cache" = xyes; then
8882 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8885 if test x"$enablestring" = xdisable; then
8886 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8892 result=$wxUSE_PRINTF_POS_PARAMS
8895 { echo "$as_me:$LINENO: result
: $result" >&5
8896 echo "${ECHO_T}$result" >&6; }
8900 defaultval=$wxUSE_ALL_FEATURES
8901 if test -z "$defaultval"; then
8902 if test x"$enablestring" = xdisable; then
8909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8910 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8911 # Check whether --enable-zipstream was given.
8912 if test "${enable_zipstream+set}" = set; then
8913 enableval=$enable_zipstream;
8914 if test "$enableval" = yes; then
8915 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8917 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8923 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
8924 if test "x
$LINE" != x ; then
8925 eval "DEFAULT_
$LINE"
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8936 eval "$wx_cv_use_zipstream"
8937 if test "x$cache" = xyes
; then
8938 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8941 if test x
"$enablestring" = xdisable
; then
8942 if test $wxUSE_ZIPSTREAM = yes; then
8948 result
=$wxUSE_ZIPSTREAM
8951 { echo "$as_me:$LINENO: result: $result" >&5
8952 echo "${ECHO_T}$result" >&6; }
8957 defaultval
=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x
"$enablestring" = xdisable
; then
8966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8968 # Check whether --enable-url was given.
8969 if test "${enable_url+set}" = set; then
8970 enableval
=$enable_url;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_url
='wxUSE_URL=yes'
8974 wx_cv_use_url
='wxUSE_URL=no'
8980 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8981 if test "x$LINE" != x
; then
8982 eval "DEFAULT_$LINE"
8988 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8993 eval "$wx_cv_use_url"
8994 if test "x$cache" = xyes; then
8995 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_URL = yes; then
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9024 # Check whether --enable-variant was given.
9025 if test "${enable_variant+set}" = set; then
9026 enableval=$enable_variant;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9030 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9036 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x ; then
9038 eval "DEFAULT_$LINE"
9044 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9049 eval "$wx_cv_use_variant"
9050 if test "x
$cache" = xyes; then
9051 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_VARIANT = yes; then
9061 result=$wxUSE_VARIANT
9064 { echo "$as_me:$LINENO: result
: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9069 defaultval=$wxUSE_ALL_FEATURES
9070 if test -z "$defaultval"; then
9071 if test x"$enablestring" = xdisable; then
9078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9079 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9080 # Check whether --enable-protocol was given.
9081 if test "${enable_protocol+set}" = set; then
9082 enableval=$enable_protocol;
9083 if test "$enableval" = yes; then
9084 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9086 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9092 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9093 if test "x
$LINE" != x ; then
9094 eval "DEFAULT_
$LINE"
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9105 eval "$wx_cv_use_protocol"
9106 if test "x$cache" = xyes
; then
9107 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9110 if test x
"$enablestring" = xdisable
; then
9111 if test $wxUSE_PROTOCOL = yes; then
9117 result
=$wxUSE_PROTOCOL
9120 { echo "$as_me:$LINENO: result: $result" >&5
9121 echo "${ECHO_T}$result" >&6; }
9125 defaultval
=$wxUSE_ALL_FEATURES
9126 if test -z "$defaultval"; then
9127 if test x
"$enablestring" = xdisable
; then
9134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9136 # Check whether --enable-protocol_http was given.
9137 if test "${enable_protocol_http+set}" = set; then
9138 enableval
=$enable_protocol_http;
9139 if test "$enableval" = yes; then
9140 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9142 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9148 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9149 if test "x$LINE" != x
; then
9150 eval "DEFAULT_$LINE"
9156 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9161 eval "$wx_cv_use_protocol_http"
9162 if test "x$cache" = xyes; then
9163 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_PROTOCOL_HTTP = yes; then
9173 result=$wxUSE_PROTOCOL_HTTP
9176 { echo "$as_me:$LINENO: result: $result" >&5
9177 echo "${ECHO_T}$result" >&6; }
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9192 # Check whether --enable-protocol_ftp was given.
9193 if test "${enable_protocol_ftp+set}" = set; then
9194 enableval=$enable_protocol_ftp;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9198 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9204 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9217 eval "$wx_cv_use_protocol_ftp"
9218 if test "x
$cache" = xyes; then
9219 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9222 if test x"$enablestring" = xdisable; then
9223 if test $wxUSE_PROTOCOL_FTP = yes; then
9229 result=$wxUSE_PROTOCOL_FTP
9232 { echo "$as_me:$LINENO: result
: $result" >&5
9233 echo "${ECHO_T}$result" >&6; }
9237 defaultval=$wxUSE_ALL_FEATURES
9238 if test -z "$defaultval"; then
9239 if test x"$enablestring" = xdisable; then
9246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9247 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9248 # Check whether --enable-protocol_file was given.
9249 if test "${enable_protocol_file+set}" = set; then
9250 enableval=$enable_protocol_file;
9251 if test "$enableval" = yes; then
9252 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9254 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9260 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9261 if test "x
$LINE" != x ; then
9262 eval "DEFAULT_
$LINE"
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9273 eval "$wx_cv_use_protocol_file"
9274 if test "x$cache" = xyes
; then
9275 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9278 if test x
"$enablestring" = xdisable
; then
9279 if test $wxUSE_PROTOCOL_FILE = yes; then
9285 result
=$wxUSE_PROTOCOL_FILE
9288 { echo "$as_me:$LINENO: result: $result" >&5
9289 echo "${ECHO_T}$result" >&6; }
9294 defaultval
=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x
"$enablestring" = xdisable
; then
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9305 # Check whether --enable-threads was given.
9306 if test "${enable_threads+set}" = set; then
9307 enableval
=$enable_threads;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_threads
='wxUSE_THREADS=yes'
9311 wx_cv_use_threads
='wxUSE_THREADS=no'
9317 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x
; then
9319 eval "DEFAULT_$LINE"
9325 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9330 eval "$wx_cv_use_threads"
9331 if test "x$cache" = xyes; then
9332 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9335 if test x"$enablestring" = xdisable; then
9336 if test $wxUSE_THREADS = yes; then
9342 result=$wxUSE_THREADS
9345 { echo "$as_me:$LINENO: result: $result" >&5
9346 echo "${ECHO_T}$result" >&6; }
9352 if test -z "$defaultval"; then
9353 if test x"$enablestring" = xdisable; then
9360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9361 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9362 # Check whether --enable-iniconf was given.
9363 if test "${enable_iniconf+set}" = set; then
9364 enableval=$enable_iniconf;
9365 if test "$enableval" = yes; then
9366 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9368 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9374 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9375 if test "x$LINE" != x ; then
9376 eval "DEFAULT_$LINE"
9382 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9387 eval "$wx_cv_use_iniconf"
9388 if test "x
$cache" = xyes; then
9389 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_INICONF = yes; then
9399 result=$wxUSE_INICONF
9402 { echo "$as_me:$LINENO: result
: $result" >&5
9403 echo "${ECHO_T}$result" >&6; }
9407 defaultval=$wxUSE_ALL_FEATURES
9408 if test -z "$defaultval"; then
9409 if test x"$enablestring" = xdisable; then
9416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9417 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9418 # Check whether --enable-regkey was given.
9419 if test "${enable_regkey+set}" = set; then
9420 enableval=$enable_regkey;
9421 if test "$enableval" = yes; then
9422 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9424 wx_cv_use_regkey='wxUSE_REGKEY=no'
9430 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9431 if test "x
$LINE" != x ; then
9432 eval "DEFAULT_
$LINE"
9438 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9443 eval "$wx_cv_use_regkey"
9444 if test "x$cache" = xyes
; then
9445 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9448 if test x
"$enablestring" = xdisable
; then
9449 if test $wxUSE_REGKEY = yes; then
9455 result
=$wxUSE_REGKEY
9458 { echo "$as_me:$LINENO: result: $result" >&5
9459 echo "${ECHO_T}$result" >&6; }
9462 if test "$wxUSE_GUI" = "yes"; then
9467 defaultval
=$wxUSE_ALL_FEATURES
9468 if test -z "$defaultval"; then
9469 if test x
"$enablestring" = xdisable
; then
9476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9478 # Check whether --enable-docview was given.
9479 if test "${enable_docview+set}" = set; then
9480 enableval
=$enable_docview;
9481 if test "$enableval" = yes; then
9482 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9484 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9490 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9498 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9503 eval "$wx_cv_use_docview"
9504 if test "x$cache" = xyes; then
9505 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9508 if test x"$enablestring" = xdisable; then
9509 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9515 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9518 { echo "$as_me:$LINENO: result: $result" >&5
9519 echo "${ECHO_T}$result" >&6; }
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9534 # Check whether --enable-help was given.
9535 if test "${enable_help+set}" = set; then
9536 enableval=$enable_help;
9537 if test "$enableval" = yes; then
9538 wx_cv_use_help='wxUSE_HELP
=yes'
9540 wx_cv_use_help='wxUSE_HELP
=no
'
9546 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9554 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9559 eval "$wx_cv_use_help"
9560 if test "x
$cache" = xyes; then
9561 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9564 if test x"$enablestring" = xdisable; then
9565 if test $wxUSE_HELP = yes; then
9574 { echo "$as_me:$LINENO: result
: $result" >&5
9575 echo "${ECHO_T}$result" >&6; }
9579 defaultval=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x"$enablestring" = xdisable; then
9588 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9589 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9590 # Check whether --enable-mshtmlhelp was given.
9591 if test "${enable_mshtmlhelp+set}" = set; then
9592 enableval=$enable_mshtmlhelp;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9596 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9602 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9603 if test "x
$LINE" != x ; then
9604 eval "DEFAULT_
$LINE"
9610 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9615 eval "$wx_cv_use_mshtmlhelp"
9616 if test "x$cache" = xyes
; then
9617 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9620 if test x
"$enablestring" = xdisable
; then
9621 if test $wxUSE_MS_HTML_HELP = yes; then
9627 result
=$wxUSE_MS_HTML_HELP
9630 { echo "$as_me:$LINENO: result: $result" >&5
9631 echo "${ECHO_T}$result" >&6; }
9635 defaultval
=$wxUSE_ALL_FEATURES
9636 if test -z "$defaultval"; then
9637 if test x
"$enablestring" = xdisable
; then
9644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9646 # Check whether --enable-html was given.
9647 if test "${enable_html+set}" = set; then
9648 enableval
=$enable_html;
9649 if test "$enableval" = yes; then
9650 wx_cv_use_html
='wxUSE_HTML=yes'
9652 wx_cv_use_html
='wxUSE_HTML=no'
9658 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x
; then
9660 eval "DEFAULT_$LINE"
9666 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9671 eval "$wx_cv_use_html"
9672 if test "x$cache" = xyes; then
9673 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9676 if test x"$enablestring" = xdisable; then
9677 if test $wxUSE_HTML = yes; then
9686 { echo "$as_me:$LINENO: result: $result" >&5
9687 echo "${ECHO_T}$result" >&6; }
9691 defaultval=$wxUSE_ALL_FEATURES
9692 if test -z "$defaultval"; then
9693 if test x"$enablestring" = xdisable; then
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9702 # Check whether --enable-htmlhelp was given.
9703 if test "${enable_htmlhelp+set}" = set; then
9704 enableval=$enable_htmlhelp;
9705 if test "$enableval" = yes; then
9706 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9708 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9714 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9722 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9727 eval "$wx_cv_use_htmlhelp"
9728 if test "x
$cache" = xyes; then
9729 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_WXHTML_HELP = yes; then
9739 result=$wxUSE_WXHTML_HELP
9742 { echo "$as_me:$LINENO: result
: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9756 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9757 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9758 # Check whether --enable-xrc was given.
9759 if test "${enable_xrc+set}" = set; then
9760 enableval=$enable_xrc;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_xrc='wxUSE_XRC=yes'
9764 wx_cv_use_xrc='wxUSE_XRC=no'
9770 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9771 if test "x
$LINE" != x ; then
9772 eval "DEFAULT_
$LINE"
9778 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9783 eval "$wx_cv_use_xrc"
9784 if test "x$cache" = xyes
; then
9785 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9788 if test x
"$enablestring" = xdisable
; then
9789 if test $wxUSE_XRC = yes; then
9798 { echo "$as_me:$LINENO: result: $result" >&5
9799 echo "${ECHO_T}$result" >&6; }
9803 defaultval
=$wxUSE_ALL_FEATURES
9804 if test -z "$defaultval"; then
9805 if test x
"$enablestring" = xdisable
; then
9812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9814 # Check whether --enable-aui was given.
9815 if test "${enable_aui+set}" = set; then
9816 enableval
=$enable_aui;
9817 if test "$enableval" = yes; then
9818 wx_cv_use_aui
='wxUSE_AUI=yes'
9820 wx_cv_use_aui
='wxUSE_AUI=no'
9826 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x
; then
9828 eval "DEFAULT_$LINE"
9834 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9839 eval "$wx_cv_use_aui"
9840 if test "x$cache" = xyes; then
9841 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9844 if test x"$enablestring" = xdisable; then
9845 if test $wxUSE_AUI = yes; then
9854 { echo "$as_me:$LINENO: result: $result" >&5
9855 echo "${ECHO_T}$result" >&6; }
9859 defaultval=$wxUSE_ALL_FEATURES
9860 if test -z "$defaultval"; then
9861 if test x"$enablestring" = xdisable; then
9868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9870 # Check whether --enable-stc was given.
9871 if test "${enable_stc+set}" = set; then
9872 enableval=$enable_stc;
9873 if test "$enableval" = yes; then
9874 wx_cv_use_stc='wxUSE_STC
=yes'
9876 wx_cv_use_stc='wxUSE_STC
=no
'
9882 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9883 if test "x$LINE" != x ; then
9884 eval "DEFAULT_$LINE"
9890 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9895 eval "$wx_cv_use_stc"
9896 if test "x
$cache" = xyes; then
9897 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9900 if test x"$enablestring" = xdisable; then
9901 if test $wxUSE_STC = yes; then
9910 { echo "$as_me:$LINENO: result
: $result" >&5
9911 echo "${ECHO_T}$result" >&6; }
9915 defaultval=$wxUSE_ALL_FEATURES
9916 if test -z "$defaultval"; then
9917 if test x"$enablestring" = xdisable; then
9924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
9925 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
9926 # Check whether --enable-constraints was given.
9927 if test "${enable_constraints+set}" = set; then
9928 enableval=$enable_constraints;
9929 if test "$enableval" = yes; then
9930 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9932 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9938 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
9939 if test "x
$LINE" != x ; then
9940 eval "DEFAULT_
$LINE"
9946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9951 eval "$wx_cv_use_constraints"
9952 if test "x$cache" = xyes
; then
9953 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9956 if test x
"$enablestring" = xdisable
; then
9957 if test $wxUSE_CONSTRAINTS = yes; then
9963 result
=$wxUSE_CONSTRAINTS
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9971 defaultval
=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x
"$enablestring" = xdisable
; then
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9982 # Check whether --enable-printarch was given.
9983 if test "${enable_printarch+set}" = set; then
9984 enableval
=$enable_printarch;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9988 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9994 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9995 if test "x$LINE" != x
; then
9996 eval "DEFAULT_$LINE"
10002 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10007 eval "$wx_cv_use_printarch"
10008 if test "x$cache" = xyes; then
10009 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10012 if test x"$enablestring" = xdisable; then
10013 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10019 result=$wxUSE_PRINTING_ARCHITECTURE
10022 { echo "$as_me:$LINENO: result: $result" >&5
10023 echo "${ECHO_T}$result" >&6; }
10027 defaultval=$wxUSE_ALL_FEATURES
10028 if test -z "$defaultval"; then
10029 if test x"$enablestring" = xdisable; then
10036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10038 # Check whether --enable-mdi was given.
10039 if test "${enable_mdi+set}" = set; then
10040 enableval=$enable_mdi;
10041 if test "$enableval" = yes; then
10042 wx_cv_use_mdi='wxUSE_MDI
=yes'
10044 wx_cv_use_mdi='wxUSE_MDI
=no
'
10050 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10051 if test "x$LINE" != x ; then
10052 eval "DEFAULT_$LINE"
10058 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10063 eval "$wx_cv_use_mdi"
10064 if test "x
$cache" = xyes; then
10065 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_MDI = yes; then
10078 { echo "$as_me:$LINENO: result
: $result" >&5
10079 echo "${ECHO_T}$result" >&6; }
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10093 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10094 # Check whether --enable-mdidoc was given.
10095 if test "${enable_mdidoc+set}" = set; then
10096 enableval=$enable_mdidoc;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10100 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10106 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10107 if test "x
$LINE" != x ; then
10108 eval "DEFAULT_
$LINE"
10114 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10119 eval "$wx_cv_use_mdidoc"
10120 if test "x$cache" = xyes
; then
10121 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10124 if test x
"$enablestring" = xdisable
; then
10125 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10131 result
=$wxUSE_MDI_ARCHITECTURE
10134 { echo "$as_me:$LINENO: result: $result" >&5
10135 echo "${ECHO_T}$result" >&6; }
10139 defaultval
=$wxUSE_ALL_FEATURES
10140 if test -z "$defaultval"; then
10141 if test x
"$enablestring" = xdisable
; then
10148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10149 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10150 # Check whether --enable-loggui was given.
10151 if test "${enable_loggui+set}" = set; then
10152 enableval
=$enable_loggui;
10153 if test "$enableval" = yes; then
10154 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10156 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10162 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x
; then
10164 eval "DEFAULT_$LINE"
10170 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10175 eval "$wx_cv_use_loggui"
10176 if test "x$cache" = xyes; then
10177 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_LOGGUI = yes; then
10187 result=$wxUSE_LOGGUI
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10206 # Check whether --enable-logwin was given.
10207 if test "${enable_logwin+set}" = set; then
10208 enableval=$enable_logwin;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10212 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10218 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10231 eval "$wx_cv_use_logwin"
10232 if test "x
$cache" = xyes; then
10233 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10236 if test x"$enablestring" = xdisable; then
10237 if test $wxUSE_LOGWINDOW = yes; then
10243 result=$wxUSE_LOGWINDOW
10246 { echo "$as_me:$LINENO: result
: $result" >&5
10247 echo "${ECHO_T}$result" >&6; }
10251 defaultval=$wxUSE_ALL_FEATURES
10252 if test -z "$defaultval"; then
10253 if test x"$enablestring" = xdisable; then
10260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10261 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10262 # Check whether --enable-logdialog was given.
10263 if test "${enable_logdialog+set}" = set; then
10264 enableval=$enable_logdialog;
10265 if test "$enableval" = yes; then
10266 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10268 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10274 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10275 if test "x
$LINE" != x ; then
10276 eval "DEFAULT_
$LINE"
10282 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10287 eval "$wx_cv_use_logdialog"
10288 if test "x$cache" = xyes
; then
10289 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10292 if test x
"$enablestring" = xdisable
; then
10293 if test $wxUSE_LOGDIALOG = yes; then
10299 result
=$wxUSE_LOGDIALOG
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10307 defaultval
=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x
"$enablestring" = xdisable
; then
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10318 # Check whether --enable-webkit was given.
10319 if test "${enable_webkit+set}" = set; then
10320 enableval
=$enable_webkit;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10324 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10330 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10331 if test "x$LINE" != x
; then
10332 eval "DEFAULT_$LINE"
10338 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10343 eval "$wx_cv_use_webkit"
10344 if test "x$cache" = xyes; then
10345 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_WEBKIT = yes; then
10355 result=$wxUSE_WEBKIT
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10374 # Check whether --enable-richtext was given.
10375 if test "${enable_richtext+set}" = set; then
10376 enableval=$enable_richtext;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10380 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10386 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10387 if test "x$LINE" != x ; then
10388 eval "DEFAULT_$LINE"
10394 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10399 eval "$wx_cv_use_richtext"
10400 if test "x
$cache" = xyes; then
10401 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10404 if test x"$enablestring" = xdisable; then
10405 if test $wxUSE_RICHTEXT = yes; then
10411 result=$wxUSE_RICHTEXT
10414 { echo "$as_me:$LINENO: result
: $result" >&5
10415 echo "${ECHO_T}$result" >&6; }
10419 defaultval=$wxUSE_ALL_FEATURES
10420 if test -z "$defaultval"; then
10421 if test x"$enablestring" = xdisable; then
10428 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10429 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10430 # Check whether --enable-graphics_ctx was given.
10431 if test "${enable_graphics_ctx+set}" = set; then
10432 enableval=$enable_graphics_ctx;
10433 if test "$enableval" = yes; then
10434 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10436 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10442 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10443 if test "x
$LINE" != x ; then
10444 eval "DEFAULT_
$LINE"
10450 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10455 eval "$wx_cv_use_graphics_ctx"
10456 if test "x$cache" = xyes
; then
10457 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10460 if test x
"$enablestring" = xdisable
; then
10461 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10467 result
=$wxUSE_GRAPHICS_CONTEXT
10470 { echo "$as_me:$LINENO: result: $result" >&5
10471 echo "${ECHO_T}$result" >&6; }
10475 defaultval
=$wxUSE_ALL_FEATURES
10476 if test -z "$defaultval"; then
10477 if test x
"$enablestring" = xdisable
; then
10484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10486 # Check whether --enable-postscript was given.
10487 if test "${enable_postscript+set}" = set; then
10488 enableval
=$enable_postscript;
10489 if test "$enableval" = yes; then
10490 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10492 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10498 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10499 if test "x$LINE" != x
; then
10500 eval "DEFAULT_$LINE"
10506 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10511 eval "$wx_cv_use_postscript"
10512 if test "x$cache" = xyes; then
10513 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10516 if test x"$enablestring" = xdisable; then
10517 if test $wxUSE_POSTSCRIPT = yes; then
10523 result=$wxUSE_POSTSCRIPT
10526 { echo "$as_me:$LINENO: result: $result" >&5
10527 echo "${ECHO_T}$result" >&6; }
10531 defaultval=$wxUSE_ALL_FEATURES
10532 if test -z "$defaultval"; then
10533 if test x"$enablestring" = xdisable; then
10540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10541 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10542 # Check whether --enable-svg was given.
10543 if test "${enable_svg+set}" = set; then
10544 enableval=$enable_svg;
10545 if test "$enableval" = yes; then
10546 wx_cv_use_svg='wxUSE_SVG
=yes'
10548 wx_cv_use_svg='wxUSE_SVG
=no
'
10554 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10555 if test "x$LINE" != x ; then
10556 eval "DEFAULT_$LINE"
10562 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10567 eval "$wx_cv_use_svg"
10568 if test "x
$cache" = xyes; then
10569 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10572 if test x"$enablestring" = xdisable; then
10573 if test $wxUSE_SVG = yes; then
10582 { echo "$as_me:$LINENO: result
: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10598 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10599 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10600 # Check whether --enable-clipboard was given.
10601 if test "${enable_clipboard+set}" = set; then
10602 enableval=$enable_clipboard;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10606 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10612 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10613 if test "x
$LINE" != x ; then
10614 eval "DEFAULT_
$LINE"
10620 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10625 eval "$wx_cv_use_clipboard"
10626 if test "x$cache" = xyes
; then
10627 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10630 if test x
"$enablestring" = xdisable
; then
10631 if test $wxUSE_CLIPBOARD = yes; then
10637 result
=$wxUSE_CLIPBOARD
10640 { echo "$as_me:$LINENO: result: $result" >&5
10641 echo "${ECHO_T}$result" >&6; }
10645 defaultval
=$wxUSE_ALL_FEATURES
10646 if test -z "$defaultval"; then
10647 if test x
"$enablestring" = xdisable
; then
10654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10655 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10656 # Check whether --enable-dnd was given.
10657 if test "${enable_dnd+set}" = set; then
10658 enableval
=$enable_dnd;
10659 if test "$enableval" = yes; then
10660 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10662 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10668 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x
; then
10670 eval "DEFAULT_$LINE"
10676 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10681 eval "$wx_cv_use_dnd"
10682 if test "x$cache" = xyes; then
10683 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10686 if test x"$enablestring" = xdisable; then
10687 if test $wxUSE_DRAG_AND_DROP = yes; then
10693 result=$wxUSE_DRAG_AND_DROP
10696 { echo "$as_me:$LINENO: result: $result" >&5
10697 echo "${ECHO_T}$result" >&6; }
10701 defaultval=$wxUSE_ALL_FEATURES
10702 if test -z "$defaultval"; then
10703 if test x"$enablestring" = xdisable; then
10710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10711 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10712 # Check whether --enable-metafile was given.
10713 if test "${enable_metafile+set}" = set; then
10714 enableval=$enable_metafile;
10715 if test "$enableval" = yes; then
10716 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10718 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10724 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x ; then
10726 eval "DEFAULT_$LINE"
10732 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10737 eval "$wx_cv_use_metafile"
10738 if test "x
$cache" = xyes; then
10739 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10742 if test x"$enablestring" = xdisable; then
10743 if test $wxUSE_METAFILE = yes; then
10749 result=$wxUSE_METAFILE
10752 { echo "$as_me:$LINENO: result
: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10757 DEFAULT_wxUSE_CONTROLS=none
10759 enablestring=disable
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10769 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10770 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10771 # Check whether --enable-controls was given.
10772 if test "${enable_controls+set}" = set; then
10773 enableval=$enable_controls;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10777 wx_cv_use_controls='wxUSE_CONTROLS=no'
10783 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10784 if test "x
$LINE" != x ; then
10785 eval "DEFAULT_
$LINE"
10791 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10796 eval "$wx_cv_use_controls"
10797 if test "x$cache" = xyes
; then
10798 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10801 if test x
"$enablestring" = xdisable
; then
10802 if test $wxUSE_CONTROLS = yes; then
10808 result
=$wxUSE_CONTROLS
10811 { echo "$as_me:$LINENO: result: $result" >&5
10812 echo "${ECHO_T}$result" >&6; }
10815 if test "$wxUSE_CONTROLS" = "yes"; then
10816 DEFAULT_wxUSE_ACCEL
=yes
10817 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10818 DEFAULT_wxUSE_BMPBUTTON
=yes
10819 DEFAULT_wxUSE_BUTTON
=yes
10820 DEFAULT_wxUSE_CALCTRL
=yes
10821 DEFAULT_wxUSE_CARET
=yes
10822 DEFAULT_wxUSE_COMBOBOX
=yes
10823 DEFAULT_wxUSE_CHECKBOX
=yes
10824 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10825 DEFAULT_wxUSE_CHOICE
=yes
10826 DEFAULT_wxUSE_CHOICEBOOK
=yes
10827 DEFAULT_wxUSE_COLLPANE
=yes
10828 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10829 DEFAULT_wxUSE_COMBOBOX
=yes
10830 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10831 DEFAULT_wxUSE_DISPLAY
=yes
10832 DEFAULT_wxUSE_DETECT_SM
=yes
10833 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10834 DEFAULT_wxUSE_FILECTRL
=yes
10835 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10836 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10837 DEFAULT_wxUSE_GAUGE
=yes
10838 DEFAULT_wxUSE_GRID
=yes
10839 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10840 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10841 DEFAULT_wxUSE_IMAGLIST
=yes
10842 DEFAULT_wxUSE_LISTBOOK
=yes
10843 DEFAULT_wxUSE_LISTBOX
=yes
10844 DEFAULT_wxUSE_LISTCTRL
=yes
10845 DEFAULT_wxUSE_NOTEBOOK
=yes
10846 DEFAULT_wxUSE_RADIOBOX
=yes
10847 DEFAULT_wxUSE_RADIOBTN
=yes
10848 DEFAULT_wxUSE_SASH
=yes
10849 DEFAULT_wxUSE_SCROLLBAR
=yes
10850 DEFAULT_wxUSE_SEARCHCTRL
=yes
10851 DEFAULT_wxUSE_SLIDER
=yes
10852 DEFAULT_wxUSE_SPINBTN
=yes
10853 DEFAULT_wxUSE_SPINCTRL
=yes
10854 DEFAULT_wxUSE_SPLITTER
=yes
10855 DEFAULT_wxUSE_STATBMP
=yes
10856 DEFAULT_wxUSE_STATBOX
=yes
10857 DEFAULT_wxUSE_STATLINE
=yes
10858 DEFAULT_wxUSE_STATUSBAR
=yes
10859 DEFAULT_wxUSE_TAB_DIALOG
=yes
10860 DEFAULT_wxUSE_TOGGLEBTN
=yes
10861 DEFAULT_wxUSE_TOOLBAR
=yes
10862 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10863 DEFAULT_wxUSE_TOOLTIPS
=yes
10864 DEFAULT_wxUSE_TREEBOOK
=yes
10865 DEFAULT_wxUSE_TOOLBOOK
=yes
10866 DEFAULT_wxUSE_TREECTRL
=yes
10867 DEFAULT_wxUSE_POPUPWIN
=yes
10868 DEFAULT_wxUSE_TIPWINDOW
=yes
10869 elif test "$wxUSE_CONTROLS" = "no"; then
10870 DEFAULT_wxUSE_ACCEL
=no
10871 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10872 DEFAULT_wxUSE_BMPBUTTON
=no
10873 DEFAULT_wxUSE_BUTTON
=no
10874 DEFAULT_wxUSE_CALCTRL
=no
10875 DEFAULT_wxUSE_CARET
=no
10876 DEFAULT_wxUSE_COLLPANE
=no
10877 DEFAULT_wxUSE_COMBOBOX
=no
10878 DEFAULT_wxUSE_CHECKBOX
=no
10879 DEFAULT_wxUSE_CHECKLISTBOX
=no
10880 DEFAULT_wxUSE_CHOICE
=no
10881 DEFAULT_wxUSE_CHOICEBOOK
=no
10882 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10883 DEFAULT_wxUSE_COMBOBOX
=no
10884 DEFAULT_wxUSE_DATEPICKCTRL
=no
10885 DEFAULT_wxUSE_DISPLAY
=no
10886 DEFAULT_wxUSE_DETECT_SM
=no
10887 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10888 DEFAULT_wxUSE_FILECTRL
=no
10889 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10890 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10891 DEFAULT_wxUSE_GAUGE
=no
10892 DEFAULT_wxUSE_GRID
=no
10893 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10894 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10895 DEFAULT_wxUSE_IMAGLIST
=no
10896 DEFAULT_wxUSE_LISTBOOK
=no
10897 DEFAULT_wxUSE_LISTBOX
=no
10898 DEFAULT_wxUSE_LISTCTRL
=no
10899 DEFAULT_wxUSE_NOTEBOOK
=no
10900 DEFAULT_wxUSE_RADIOBOX
=no
10901 DEFAULT_wxUSE_RADIOBTN
=no
10902 DEFAULT_wxUSE_SASH
=no
10903 DEFAULT_wxUSE_SCROLLBAR
=no
10904 DEFAULT_wxUSE_SEARCHCTRL
=no
10905 DEFAULT_wxUSE_SLIDER
=no
10906 DEFAULT_wxUSE_SPINBTN
=no
10907 DEFAULT_wxUSE_SPINCTRL
=no
10908 DEFAULT_wxUSE_SPLITTER
=no
10909 DEFAULT_wxUSE_STATBMP
=no
10910 DEFAULT_wxUSE_STATBOX
=no
10911 DEFAULT_wxUSE_STATLINE
=no
10912 DEFAULT_wxUSE_STATUSBAR
=no
10913 DEFAULT_wxUSE_TAB_DIALOG
=no
10914 DEFAULT_wxUSE_TOGGLEBTN
=no
10915 DEFAULT_wxUSE_TOOLBAR
=no
10916 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10917 DEFAULT_wxUSE_TOOLTIPS
=no
10918 DEFAULT_wxUSE_TREEBOOK
=no
10919 DEFAULT_wxUSE_TOOLBOOK
=no
10920 DEFAULT_wxUSE_TREECTRL
=no
10921 DEFAULT_wxUSE_POPUPWIN
=no
10922 DEFAULT_wxUSE_TIPWINDOW
=no
10927 defaultval
=$wxUSE_ALL_FEATURES
10928 if test -z "$defaultval"; then
10929 if test x
"$enablestring" = xdisable
; then
10936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10937 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10938 # Check whether --enable-accel was given.
10939 if test "${enable_accel+set}" = set; then
10940 enableval
=$enable_accel;
10941 if test "$enableval" = yes; then
10942 wx_cv_use_accel
='wxUSE_ACCEL=yes'
10944 wx_cv_use_accel
='wxUSE_ACCEL=no'
10950 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10951 if test "x$LINE" != x
; then
10952 eval "DEFAULT_$LINE"
10958 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10963 eval "$wx_cv_use_accel"
10964 if test "x$cache" = xyes; then
10965 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_ACCEL = yes; then
10975 result=$wxUSE_ACCEL
10978 { echo "$as_me:$LINENO: result: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10983 defaultval=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x"$enablestring" = xdisable; then
10992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10993 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10994 # Check whether --enable-animatectrl was given.
10995 if test "${enable_animatectrl+set}" = set; then
10996 enableval=$enable_animatectrl;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11000 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11006 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x ; then
11008 eval "DEFAULT_$LINE"
11014 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11019 eval "$wx_cv_use_animatectrl"
11020 if test "x
$cache" = xyes; then
11021 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11024 if test x"$enablestring" = xdisable; then
11025 if test $wxUSE_ANIMATIONCTRL = yes; then
11031 result=$wxUSE_ANIMATIONCTRL
11034 { echo "$as_me:$LINENO: result
: $result" >&5
11035 echo "${ECHO_T}$result" >&6; }
11039 defaultval=$wxUSE_ALL_FEATURES
11040 if test -z "$defaultval"; then
11041 if test x"$enablestring" = xdisable; then
11048 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11049 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11050 # Check whether --enable-button was given.
11051 if test "${enable_button+set}" = set; then
11052 enableval=$enable_button;
11053 if test "$enableval" = yes; then
11054 wx_cv_use_button='wxUSE_BUTTON=yes'
11056 wx_cv_use_button='wxUSE_BUTTON=no'
11062 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11063 if test "x
$LINE" != x ; then
11064 eval "DEFAULT_
$LINE"
11070 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11075 eval "$wx_cv_use_button"
11076 if test "x$cache" = xyes
; then
11077 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11080 if test x
"$enablestring" = xdisable
; then
11081 if test $wxUSE_BUTTON = yes; then
11087 result
=$wxUSE_BUTTON
11090 { echo "$as_me:$LINENO: result: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11095 defaultval
=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x
"$enablestring" = xdisable
; then
11104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11105 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11106 # Check whether --enable-bmpbutton was given.
11107 if test "${enable_bmpbutton+set}" = set; then
11108 enableval
=$enable_bmpbutton;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11112 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11118 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11119 if test "x$LINE" != x
; then
11120 eval "DEFAULT_$LINE"
11126 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11131 eval "$wx_cv_use_bmpbutton"
11132 if test "x$cache" = xyes; then
11133 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11136 if test x"$enablestring" = xdisable; then
11137 if test $wxUSE_BMPBUTTON = yes; then
11143 result=$wxUSE_BMPBUTTON
11146 { echo "$as_me:$LINENO: result: $result" >&5
11147 echo "${ECHO_T}$result" >&6; }
11151 defaultval=$wxUSE_ALL_FEATURES
11152 if test -z "$defaultval"; then
11153 if test x"$enablestring" = xdisable; then
11160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11162 # Check whether --enable-bmpcombobox was given.
11163 if test "${enable_bmpcombobox+set}" = set; then
11164 enableval=$enable_bmpcombobox;
11165 if test "$enableval" = yes; then
11166 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11168 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11174 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11175 if test "x$LINE" != x ; then
11176 eval "DEFAULT_$LINE"
11182 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11187 eval "$wx_cv_use_bmpcombobox"
11188 if test "x
$cache" = xyes; then
11189 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11199 result=$wxUSE_BITMAPCOMBOBOX
11202 { echo "$as_me:$LINENO: result
: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11216 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11217 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11218 # Check whether --enable-calendar was given.
11219 if test "${enable_calendar+set}" = set; then
11220 enableval=$enable_calendar;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11224 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11230 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11231 if test "x
$LINE" != x ; then
11232 eval "DEFAULT_
$LINE"
11238 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11243 eval "$wx_cv_use_calendar"
11244 if test "x$cache" = xyes
; then
11245 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11248 if test x
"$enablestring" = xdisable
; then
11249 if test $wxUSE_CALCTRL = yes; then
11255 result
=$wxUSE_CALCTRL
11258 { echo "$as_me:$LINENO: result: $result" >&5
11259 echo "${ECHO_T}$result" >&6; }
11263 defaultval
=$wxUSE_ALL_FEATURES
11264 if test -z "$defaultval"; then
11265 if test x
"$enablestring" = xdisable
; then
11272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11273 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11274 # Check whether --enable-caret was given.
11275 if test "${enable_caret+set}" = set; then
11276 enableval
=$enable_caret;
11277 if test "$enableval" = yes; then
11278 wx_cv_use_caret
='wxUSE_CARET=yes'
11280 wx_cv_use_caret
='wxUSE_CARET=no'
11286 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11287 if test "x$LINE" != x
; then
11288 eval "DEFAULT_$LINE"
11294 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11299 eval "$wx_cv_use_caret"
11300 if test "x$cache" = xyes; then
11301 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_CARET = yes; then
11311 result=$wxUSE_CARET
11314 { echo "$as_me:$LINENO: result: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11330 # Check whether --enable-checkbox was given.
11331 if test "${enable_checkbox+set}" = set; then
11332 enableval=$enable_checkbox;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11336 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11342 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11343 if test "x$LINE" != x ; then
11344 eval "DEFAULT_$LINE"
11350 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11355 eval "$wx_cv_use_checkbox"
11356 if test "x
$cache" = xyes; then
11357 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_CHECKBOX = yes; then
11367 result=$wxUSE_CHECKBOX
11370 { echo "$as_me:$LINENO: result
: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11385 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11386 # Check whether --enable-checklst was given.
11387 if test "${enable_checklst+set}" = set; then
11388 enableval=$enable_checklst;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11392 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11398 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11399 if test "x
$LINE" != x ; then
11400 eval "DEFAULT_
$LINE"
11406 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11411 eval "$wx_cv_use_checklst"
11412 if test "x$cache" = xyes
; then
11413 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11416 if test x
"$enablestring" = xdisable
; then
11417 if test $wxUSE_CHECKLST = yes; then
11423 result
=$wxUSE_CHECKLST
11426 { echo "$as_me:$LINENO: result: $result" >&5
11427 echo "${ECHO_T}$result" >&6; }
11431 defaultval
=$wxUSE_ALL_FEATURES
11432 if test -z "$defaultval"; then
11433 if test x
"$enablestring" = xdisable
; then
11440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11441 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11442 # Check whether --enable-choice was given.
11443 if test "${enable_choice+set}" = set; then
11444 enableval
=$enable_choice;
11445 if test "$enableval" = yes; then
11446 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11448 wx_cv_use_choice
='wxUSE_CHOICE=no'
11454 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x
; then
11456 eval "DEFAULT_$LINE"
11462 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11467 eval "$wx_cv_use_choice"
11468 if test "x$cache" = xyes; then
11469 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11472 if test x"$enablestring" = xdisable; then
11473 if test $wxUSE_CHOICE = yes; then
11479 result=$wxUSE_CHOICE
11482 { echo "$as_me:$LINENO: result: $result" >&5
11483 echo "${ECHO_T}$result" >&6; }
11487 defaultval=$wxUSE_ALL_FEATURES
11488 if test -z "$defaultval"; then
11489 if test x"$enablestring" = xdisable; then
11496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11497 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11498 # Check whether --enable-choicebook was given.
11499 if test "${enable_choicebook+set}" = set; then
11500 enableval=$enable_choicebook;
11501 if test "$enableval" = yes; then
11502 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11504 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11510 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11511 if test "x$LINE" != x ; then
11512 eval "DEFAULT_$LINE"
11518 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11523 eval "$wx_cv_use_choicebook"
11524 if test "x
$cache" = xyes; then
11525 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11528 if test x"$enablestring" = xdisable; then
11529 if test $wxUSE_CHOICEBOOK = yes; then
11535 result=$wxUSE_CHOICEBOOK
11538 { echo "$as_me:$LINENO: result
: $result" >&5
11539 echo "${ECHO_T}$result" >&6; }
11543 defaultval=$wxUSE_ALL_FEATURES
11544 if test -z "$defaultval"; then
11545 if test x"$enablestring" = xdisable; then
11552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11553 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11554 # Check whether --enable-collpane was given.
11555 if test "${enable_collpane+set}" = set; then
11556 enableval=$enable_collpane;
11557 if test "$enableval" = yes; then
11558 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11560 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11566 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11567 if test "x
$LINE" != x ; then
11568 eval "DEFAULT_
$LINE"
11574 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11579 eval "$wx_cv_use_collpane"
11580 if test "x$cache" = xyes
; then
11581 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11584 if test x
"$enablestring" = xdisable
; then
11585 if test $wxUSE_COLLPANE = yes; then
11591 result
=$wxUSE_COLLPANE
11594 { echo "$as_me:$LINENO: result: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11599 defaultval
=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x
"$enablestring" = xdisable
; then
11608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11609 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11610 # Check whether --enable-colourpicker was given.
11611 if test "${enable_colourpicker+set}" = set; then
11612 enableval
=$enable_colourpicker;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11616 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11622 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11623 if test "x$LINE" != x
; then
11624 eval "DEFAULT_$LINE"
11630 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11635 eval "$wx_cv_use_colourpicker"
11636 if test "x$cache" = xyes; then
11637 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11640 if test x"$enablestring" = xdisable; then
11641 if test $wxUSE_COLOURPICKERCTRL = yes; then
11647 result=$wxUSE_COLOURPICKERCTRL
11650 { echo "$as_me:$LINENO: result: $result" >&5
11651 echo "${ECHO_T}$result" >&6; }
11655 defaultval=$wxUSE_ALL_FEATURES
11656 if test -z "$defaultval"; then
11657 if test x"$enablestring" = xdisable; then
11664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11665 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11666 # Check whether --enable-combobox was given.
11667 if test "${enable_combobox+set}" = set; then
11668 enableval=$enable_combobox;
11669 if test "$enableval" = yes; then
11670 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11672 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11678 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11679 if test "x$LINE" != x ; then
11680 eval "DEFAULT_$LINE"
11686 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11691 eval "$wx_cv_use_combobox"
11692 if test "x
$cache" = xyes; then
11693 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11696 if test x"$enablestring" = xdisable; then
11697 if test $wxUSE_COMBOBOX = yes; then
11703 result=$wxUSE_COMBOBOX
11706 { echo "$as_me:$LINENO: result
: $result" >&5
11707 echo "${ECHO_T}$result" >&6; }
11711 defaultval=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x"$enablestring" = xdisable; then
11720 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11721 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11722 # Check whether --enable-comboctrl was given.
11723 if test "${enable_comboctrl+set}" = set; then
11724 enableval=$enable_comboctrl;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11728 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11734 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11735 if test "x
$LINE" != x ; then
11736 eval "DEFAULT_
$LINE"
11742 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11747 eval "$wx_cv_use_comboctrl"
11748 if test "x$cache" = xyes
; then
11749 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11752 if test x
"$enablestring" = xdisable
; then
11753 if test $wxUSE_COMBOCTRL = yes; then
11759 result
=$wxUSE_COMBOCTRL
11762 { echo "$as_me:$LINENO: result: $result" >&5
11763 echo "${ECHO_T}$result" >&6; }
11767 defaultval
=$wxUSE_ALL_FEATURES
11768 if test -z "$defaultval"; then
11769 if test x
"$enablestring" = xdisable
; then
11776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11777 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11778 # Check whether --enable-datepick was given.
11779 if test "${enable_datepick+set}" = set; then
11780 enableval
=$enable_datepick;
11781 if test "$enableval" = yes; then
11782 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11784 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11790 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11791 if test "x$LINE" != x
; then
11792 eval "DEFAULT_$LINE"
11798 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11803 eval "$wx_cv_use_datepick"
11804 if test "x$cache" = xyes; then
11805 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_DATEPICKCTRL = yes; then
11815 result=$wxUSE_DATEPICKCTRL
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11834 # Check whether --enable-dirpicker was given.
11835 if test "${enable_dirpicker+set}" = set; then
11836 enableval=$enable_dirpicker;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11840 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11846 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11854 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11859 eval "$wx_cv_use_dirpicker"
11860 if test "x
$cache" = xyes; then
11861 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11864 if test x"$enablestring" = xdisable; then
11865 if test $wxUSE_DIRPICKERCTRL = yes; then
11871 result=$wxUSE_DIRPICKERCTRL
11874 { echo "$as_me:$LINENO: result
: $result" >&5
11875 echo "${ECHO_T}$result" >&6; }
11879 defaultval=$wxUSE_ALL_FEATURES
11880 if test -z "$defaultval"; then
11881 if test x"$enablestring" = xdisable; then
11888 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11889 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11890 # Check whether --enable-display was given.
11891 if test "${enable_display+set}" = set; then
11892 enableval=$enable_display;
11893 if test "$enableval" = yes; then
11894 wx_cv_use_display='wxUSE_DISPLAY=yes'
11896 wx_cv_use_display='wxUSE_DISPLAY=no'
11902 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11903 if test "x
$LINE" != x ; then
11904 eval "DEFAULT_
$LINE"
11910 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11915 eval "$wx_cv_use_display"
11916 if test "x$cache" = xyes
; then
11917 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11920 if test x
"$enablestring" = xdisable
; then
11921 if test $wxUSE_DISPLAY = yes; then
11927 result
=$wxUSE_DISPLAY
11930 { echo "$as_me:$LINENO: result: $result" >&5
11931 echo "${ECHO_T}$result" >&6; }
11935 defaultval
=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x
"$enablestring" = xdisable
; then
11944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11945 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11946 # Check whether --enable-detect_sm was given.
11947 if test "${enable_detect_sm+set}" = set; then
11948 enableval
=$enable_detect_sm;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
11952 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
11958 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11959 if test "x$LINE" != x
; then
11960 eval "DEFAULT_$LINE"
11966 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11971 eval "$wx_cv_use_detect_sm"
11972 if test "x$cache" = xyes; then
11973 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_DETECT_SM = yes; then
11983 result=$wxUSE_DETECT_SM
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12002 # Check whether --enable-editablebox was given.
12003 if test "${enable_editablebox+set}" = set; then
12004 enableval=$enable_editablebox;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12008 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12014 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12022 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12027 eval "$wx_cv_use_editablebox"
12028 if test "x
$cache" = xyes; then
12029 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12032 if test x"$enablestring" = xdisable; then
12033 if test $wxUSE_EDITABLELISTBOX = yes; then
12039 result=$wxUSE_EDITABLELISTBOX
12042 { echo "$as_me:$LINENO: result
: $result" >&5
12043 echo "${ECHO_T}$result" >&6; }
12047 defaultval=$wxUSE_ALL_FEATURES
12048 if test -z "$defaultval"; then
12049 if test x"$enablestring" = xdisable; then
12056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12057 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12058 # Check whether --enable-filepicker was given.
12059 if test "${enable_filepicker+set}" = set; then
12060 enableval=$enable_filepicker;
12061 if test "$enableval" = yes; then
12062 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12064 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12070 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12071 if test "x
$LINE" != x ; then
12072 eval "DEFAULT_
$LINE"
12078 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12083 eval "$wx_cv_use_filepicker"
12084 if test "x$cache" = xyes
; then
12085 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12088 if test x
"$enablestring" = xdisable
; then
12089 if test $wxUSE_FILEPICKERCTRL = yes; then
12095 result
=$wxUSE_FILEPICKERCTRL
12098 { echo "$as_me:$LINENO: result: $result" >&5
12099 echo "${ECHO_T}$result" >&6; }
12103 defaultval
=$wxUSE_ALL_FEATURES
12104 if test -z "$defaultval"; then
12105 if test x
"$enablestring" = xdisable
; then
12112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12113 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12114 # Check whether --enable-filectrl was given.
12115 if test "${enable_filectrl+set}" = set; then
12116 enableval
=$enable_filectrl;
12117 if test "$enableval" = yes; then
12118 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12120 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12126 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12127 if test "x$LINE" != x
; then
12128 eval "DEFAULT_$LINE"
12134 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12139 eval "$wx_cv_use_filectrl"
12140 if test "x$cache" = xyes; then
12141 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12144 if test x"$enablestring" = xdisable; then
12145 if test $wxUSE_FILECTRL = yes; then
12151 result=$wxUSE_FILECTRL
12154 { echo "$as_me:$LINENO: result: $result" >&5
12155 echo "${ECHO_T}$result" >&6; }
12159 defaultval=$wxUSE_ALL_FEATURES
12160 if test -z "$defaultval"; then
12161 if test x"$enablestring" = xdisable; then
12168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12169 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12170 # Check whether --enable-fontpicker was given.
12171 if test "${enable_fontpicker+set}" = set; then
12172 enableval=$enable_fontpicker;
12173 if test "$enableval" = yes; then
12174 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12176 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12182 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12183 if test "x$LINE" != x ; then
12184 eval "DEFAULT_$LINE"
12190 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12195 eval "$wx_cv_use_fontpicker"
12196 if test "x
$cache" = xyes; then
12197 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12200 if test x"$enablestring" = xdisable; then
12201 if test $wxUSE_FONTPICKERCTRL = yes; then
12207 result=$wxUSE_FONTPICKERCTRL
12210 { echo "$as_me:$LINENO: result
: $result" >&5
12211 echo "${ECHO_T}$result" >&6; }
12215 defaultval=$wxUSE_ALL_FEATURES
12216 if test -z "$defaultval"; then
12217 if test x"$enablestring" = xdisable; then
12224 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12225 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12226 # Check whether --enable-gauge was given.
12227 if test "${enable_gauge+set}" = set; then
12228 enableval=$enable_gauge;
12229 if test "$enableval" = yes; then
12230 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12232 wx_cv_use_gauge='wxUSE_GAUGE=no'
12238 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12239 if test "x
$LINE" != x ; then
12240 eval "DEFAULT_
$LINE"
12246 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12251 eval "$wx_cv_use_gauge"
12252 if test "x$cache" = xyes
; then
12253 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12256 if test x
"$enablestring" = xdisable
; then
12257 if test $wxUSE_GAUGE = yes; then
12263 result
=$wxUSE_GAUGE
12266 { echo "$as_me:$LINENO: result: $result" >&5
12267 echo "${ECHO_T}$result" >&6; }
12271 defaultval
=$wxUSE_ALL_FEATURES
12272 if test -z "$defaultval"; then
12273 if test x
"$enablestring" = xdisable
; then
12280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12281 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12282 # Check whether --enable-grid was given.
12283 if test "${enable_grid+set}" = set; then
12284 enableval
=$enable_grid;
12285 if test "$enableval" = yes; then
12286 wx_cv_use_grid
='wxUSE_GRID=yes'
12288 wx_cv_use_grid
='wxUSE_GRID=no'
12294 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12295 if test "x$LINE" != x
; then
12296 eval "DEFAULT_$LINE"
12302 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12307 eval "$wx_cv_use_grid"
12308 if test "x$cache" = xyes; then
12309 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_GRID = yes; then
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12338 # Check whether --enable-dataviewctrl was given.
12339 if test "${enable_dataviewctrl+set}" = set; then
12340 enableval=$enable_dataviewctrl;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12350 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12358 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12363 eval "$wx_cv_use_dataviewctrl"
12364 if test "x
$cache" = xyes; then
12365 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12368 if test x"$enablestring" = xdisable; then
12369 if test $wxUSE_DATAVIEWCTRL = yes; then
12375 result=$wxUSE_DATAVIEWCTRL
12378 { echo "$as_me:$LINENO: result
: $result" >&5
12379 echo "${ECHO_T}$result" >&6; }
12383 defaultval=$wxUSE_ALL_FEATURES
12384 if test -z "$defaultval"; then
12385 if test x"$enablestring" = xdisable; then
12392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12393 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12394 # Check whether --enable-hyperlink was given.
12395 if test "${enable_hyperlink+set}" = set; then
12396 enableval=$enable_hyperlink;
12397 if test "$enableval" = yes; then
12398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12400 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12406 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12407 if test "x
$LINE" != x ; then
12408 eval "DEFAULT_
$LINE"
12414 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12419 eval "$wx_cv_use_hyperlink"
12420 if test "x$cache" = xyes
; then
12421 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12424 if test x
"$enablestring" = xdisable
; then
12425 if test $wxUSE_HYPERLINKCTRL = yes; then
12431 result
=$wxUSE_HYPERLINKCTRL
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12439 defaultval
=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x
"$enablestring" = xdisable
; then
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12450 # Check whether --enable-imaglist was given.
12451 if test "${enable_imaglist+set}" = set; then
12452 enableval
=$enable_imaglist;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12456 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12462 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12463 if test "x$LINE" != x
; then
12464 eval "DEFAULT_$LINE"
12470 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12475 eval "$wx_cv_use_imaglist"
12476 if test "x$cache" = xyes; then
12477 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12480 if test x"$enablestring" = xdisable; then
12481 if test $wxUSE_IMAGLIST = yes; then
12487 result=$wxUSE_IMAGLIST
12490 { echo "$as_me:$LINENO: result: $result" >&5
12491 echo "${ECHO_T}$result" >&6; }
12495 defaultval=$wxUSE_ALL_FEATURES
12496 if test -z "$defaultval"; then
12497 if test x"$enablestring" = xdisable; then
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12506 # Check whether --enable-listbook was given.
12507 if test "${enable_listbook+set}" = set; then
12508 enableval=$enable_listbook;
12509 if test "$enableval" = yes; then
12510 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12512 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12518 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12519 if test "x$LINE" != x ; then
12520 eval "DEFAULT_$LINE"
12526 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12531 eval "$wx_cv_use_listbook"
12532 if test "x
$cache" = xyes; then
12533 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_LISTBOOK = yes; then
12543 result=$wxUSE_LISTBOOK
12546 { echo "$as_me:$LINENO: result
: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12560 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12561 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12562 # Check whether --enable-listbox was given.
12563 if test "${enable_listbox+set}" = set; then
12564 enableval=$enable_listbox;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12568 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12574 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12575 if test "x
$LINE" != x ; then
12576 eval "DEFAULT_
$LINE"
12582 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12587 eval "$wx_cv_use_listbox"
12588 if test "x$cache" = xyes
; then
12589 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12592 if test x
"$enablestring" = xdisable
; then
12593 if test $wxUSE_LISTBOX = yes; then
12599 result
=$wxUSE_LISTBOX
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval
=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x
"$enablestring" = xdisable
; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12618 # Check whether --enable-listctrl was given.
12619 if test "${enable_listctrl+set}" = set; then
12620 enableval
=$enable_listctrl;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12624 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12630 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x
; then
12632 eval "DEFAULT_$LINE"
12638 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12643 eval "$wx_cv_use_listctrl"
12644 if test "x$cache" = xyes; then
12645 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12648 if test x"$enablestring" = xdisable; then
12649 if test $wxUSE_LISTCTRL = yes; then
12655 result=$wxUSE_LISTCTRL
12658 { echo "$as_me:$LINENO: result: $result" >&5
12659 echo "${ECHO_T}$result" >&6; }
12663 defaultval=$wxUSE_ALL_FEATURES
12664 if test -z "$defaultval"; then
12665 if test x"$enablestring" = xdisable; then
12672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12673 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12674 # Check whether --enable-notebook was given.
12675 if test "${enable_notebook+set}" = set; then
12676 enableval=$enable_notebook;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12680 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12686 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12687 if test "x$LINE" != x ; then
12688 eval "DEFAULT_$LINE"
12694 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12699 eval "$wx_cv_use_notebook"
12700 if test "x
$cache" = xyes; then
12701 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12704 if test x"$enablestring" = xdisable; then
12705 if test $wxUSE_NOTEBOOK = yes; then
12711 result=$wxUSE_NOTEBOOK
12714 { echo "$as_me:$LINENO: result
: $result" >&5
12715 echo "${ECHO_T}$result" >&6; }
12719 defaultval=$wxUSE_ALL_FEATURES
12720 if test -z "$defaultval"; then
12721 if test x"$enablestring" = xdisable; then
12728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12729 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12730 # Check whether --enable-odcombobox was given.
12731 if test "${enable_odcombobox+set}" = set; then
12732 enableval=$enable_odcombobox;
12733 if test "$enableval" = yes; then
12734 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12736 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12742 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12743 if test "x
$LINE" != x ; then
12744 eval "DEFAULT_
$LINE"
12750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12755 eval "$wx_cv_use_odcombobox"
12756 if test "x$cache" = xyes
; then
12757 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12760 if test x
"$enablestring" = xdisable
; then
12761 if test $wxUSE_ODCOMBOBOX = yes; then
12767 result
=$wxUSE_ODCOMBOBOX
12770 { echo "$as_me:$LINENO: result: $result" >&5
12771 echo "${ECHO_T}$result" >&6; }
12775 defaultval
=$wxUSE_ALL_FEATURES
12776 if test -z "$defaultval"; then
12777 if test x
"$enablestring" = xdisable
; then
12784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12785 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12786 # Check whether --enable-radiobox was given.
12787 if test "${enable_radiobox+set}" = set; then
12788 enableval
=$enable_radiobox;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12792 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12798 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12799 if test "x$LINE" != x
; then
12800 eval "DEFAULT_$LINE"
12806 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12811 eval "$wx_cv_use_radiobox"
12812 if test "x$cache" = xyes; then
12813 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_RADIOBOX = yes; then
12823 result=$wxUSE_RADIOBOX
12826 { echo "$as_me:$LINENO: result: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12841 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12842 # Check whether --enable-radiobtn was given.
12843 if test "${enable_radiobtn+set}" = set; then
12844 enableval=$enable_radiobtn;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12848 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12854 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12855 if test "x$LINE" != x ; then
12856 eval "DEFAULT_$LINE"
12862 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12867 eval "$wx_cv_use_radiobtn"
12868 if test "x
$cache" = xyes; then
12869 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12872 if test x"$enablestring" = xdisable; then
12873 if test $wxUSE_RADIOBTN = yes; then
12879 result=$wxUSE_RADIOBTN
12882 { echo "$as_me:$LINENO: result
: $result" >&5
12883 echo "${ECHO_T}$result" >&6; }
12887 defaultval=$wxUSE_ALL_FEATURES
12888 if test -z "$defaultval"; then
12889 if test x"$enablestring" = xdisable; then
12896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12897 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12898 # Check whether --enable-sash was given.
12899 if test "${enable_sash+set}" = set; then
12900 enableval=$enable_sash;
12901 if test "$enableval" = yes; then
12902 wx_cv_use_sash='wxUSE_SASH=yes'
12904 wx_cv_use_sash='wxUSE_SASH=no'
12910 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12911 if test "x
$LINE" != x ; then
12912 eval "DEFAULT_
$LINE"
12918 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12923 eval "$wx_cv_use_sash"
12924 if test "x$cache" = xyes
; then
12925 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12928 if test x
"$enablestring" = xdisable
; then
12929 if test $wxUSE_SASH = yes; then
12938 { echo "$as_me:$LINENO: result: $result" >&5
12939 echo "${ECHO_T}$result" >&6; }
12943 defaultval
=$wxUSE_ALL_FEATURES
12944 if test -z "$defaultval"; then
12945 if test x
"$enablestring" = xdisable
; then
12952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12953 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12954 # Check whether --enable-scrollbar was given.
12955 if test "${enable_scrollbar+set}" = set; then
12956 enableval
=$enable_scrollbar;
12957 if test "$enableval" = yes; then
12958 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12960 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12966 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12967 if test "x$LINE" != x
; then
12968 eval "DEFAULT_$LINE"
12974 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12979 eval "$wx_cv_use_scrollbar"
12980 if test "x$cache" = xyes; then
12981 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12984 if test x"$enablestring" = xdisable; then
12985 if test $wxUSE_SCROLLBAR = yes; then
12991 result=$wxUSE_SCROLLBAR
12994 { echo "$as_me:$LINENO: result: $result" >&5
12995 echo "${ECHO_T}$result" >&6; }
12999 defaultval=$wxUSE_ALL_FEATURES
13000 if test -z "$defaultval"; then
13001 if test x"$enablestring" = xdisable; then
13008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13009 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13010 # Check whether --enable-searchctrl was given.
13011 if test "${enable_searchctrl+set}" = set; then
13012 enableval=$enable_searchctrl;
13013 if test "$enableval" = yes; then
13014 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13016 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13022 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13023 if test "x$LINE" != x ; then
13024 eval "DEFAULT_$LINE"
13030 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13035 eval "$wx_cv_use_searchctrl"
13036 if test "x
$cache" = xyes; then
13037 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_SEARCHCTRL = yes; then
13047 result=$wxUSE_SEARCHCTRL
13050 { echo "$as_me:$LINENO: result
: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13065 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13066 # Check whether --enable-slider was given.
13067 if test "${enable_slider+set}" = set; then
13068 enableval=$enable_slider;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_slider='wxUSE_SLIDER=yes'
13072 wx_cv_use_slider='wxUSE_SLIDER=no'
13078 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13079 if test "x
$LINE" != x ; then
13080 eval "DEFAULT_
$LINE"
13086 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13091 eval "$wx_cv_use_slider"
13092 if test "x$cache" = xyes
; then
13093 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13096 if test x
"$enablestring" = xdisable
; then
13097 if test $wxUSE_SLIDER = yes; then
13103 result
=$wxUSE_SLIDER
13106 { echo "$as_me:$LINENO: result: $result" >&5
13107 echo "${ECHO_T}$result" >&6; }
13111 defaultval
=$wxUSE_ALL_FEATURES
13112 if test -z "$defaultval"; then
13113 if test x
"$enablestring" = xdisable
; then
13120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13121 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13122 # Check whether --enable-spinbtn was given.
13123 if test "${enable_spinbtn+set}" = set; then
13124 enableval
=$enable_spinbtn;
13125 if test "$enableval" = yes; then
13126 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13128 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13134 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13135 if test "x$LINE" != x
; then
13136 eval "DEFAULT_$LINE"
13142 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13147 eval "$wx_cv_use_spinbtn"
13148 if test "x$cache" = xyes; then
13149 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_SPINBTN = yes; then
13159 result=$wxUSE_SPINBTN
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13178 # Check whether --enable-spinctrl was given.
13179 if test "${enable_spinctrl+set}" = set; then
13180 enableval=$enable_spinctrl;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13184 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13190 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13191 if test "x$LINE" != x ; then
13192 eval "DEFAULT_$LINE"
13198 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13203 eval "$wx_cv_use_spinctrl"
13204 if test "x
$cache" = xyes; then
13205 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_SPINCTRL = yes; then
13215 result=$wxUSE_SPINCTRL
13218 { echo "$as_me:$LINENO: result
: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13223 defaultval=$wxUSE_ALL_FEATURES
13224 if test -z "$defaultval"; then
13225 if test x"$enablestring" = xdisable; then
13232 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13233 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13234 # Check whether --enable-splitter was given.
13235 if test "${enable_splitter+set}" = set; then
13236 enableval=$enable_splitter;
13237 if test "$enableval" = yes; then
13238 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13240 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13246 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13247 if test "x
$LINE" != x ; then
13248 eval "DEFAULT_
$LINE"
13254 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13259 eval "$wx_cv_use_splitter"
13260 if test "x$cache" = xyes
; then
13261 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13264 if test x
"$enablestring" = xdisable
; then
13265 if test $wxUSE_SPLITTER = yes; then
13271 result
=$wxUSE_SPLITTER
13274 { echo "$as_me:$LINENO: result: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13279 defaultval
=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x
"$enablestring" = xdisable
; then
13288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13289 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13290 # Check whether --enable-statbmp was given.
13291 if test "${enable_statbmp+set}" = set; then
13292 enableval
=$enable_statbmp;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13296 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13302 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13303 if test "x$LINE" != x
; then
13304 eval "DEFAULT_$LINE"
13310 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13315 eval "$wx_cv_use_statbmp"
13316 if test "x$cache" = xyes; then
13317 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13320 if test x"$enablestring" = xdisable; then
13321 if test $wxUSE_STATBMP = yes; then
13327 result=$wxUSE_STATBMP
13330 { echo "$as_me:$LINENO: result: $result" >&5
13331 echo "${ECHO_T}$result" >&6; }
13335 defaultval=$wxUSE_ALL_FEATURES
13336 if test -z "$defaultval"; then
13337 if test x"$enablestring" = xdisable; then
13344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13345 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13346 # Check whether --enable-statbox was given.
13347 if test "${enable_statbox+set}" = set; then
13348 enableval=$enable_statbox;
13349 if test "$enableval" = yes; then
13350 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13352 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13358 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13359 if test "x$LINE" != x ; then
13360 eval "DEFAULT_$LINE"
13366 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13371 eval "$wx_cv_use_statbox"
13372 if test "x
$cache" = xyes; then
13373 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13376 if test x"$enablestring" = xdisable; then
13377 if test $wxUSE_STATBOX = yes; then
13383 result=$wxUSE_STATBOX
13386 { echo "$as_me:$LINENO: result
: $result" >&5
13387 echo "${ECHO_T}$result" >&6; }
13391 defaultval=$wxUSE_ALL_FEATURES
13392 if test -z "$defaultval"; then
13393 if test x"$enablestring" = xdisable; then
13400 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13401 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13402 # Check whether --enable-statline was given.
13403 if test "${enable_statline+set}" = set; then
13404 enableval=$enable_statline;
13405 if test "$enableval" = yes; then
13406 wx_cv_use_statline='wxUSE_STATLINE=yes'
13408 wx_cv_use_statline='wxUSE_STATLINE=no'
13414 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13415 if test "x
$LINE" != x ; then
13416 eval "DEFAULT_
$LINE"
13422 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13427 eval "$wx_cv_use_statline"
13428 if test "x$cache" = xyes
; then
13429 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13432 if test x
"$enablestring" = xdisable
; then
13433 if test $wxUSE_STATLINE = yes; then
13439 result
=$wxUSE_STATLINE
13442 { echo "$as_me:$LINENO: result: $result" >&5
13443 echo "${ECHO_T}$result" >&6; }
13447 defaultval
=$wxUSE_ALL_FEATURES
13448 if test -z "$defaultval"; then
13449 if test x
"$enablestring" = xdisable
; then
13456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13457 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13458 # Check whether --enable-stattext was given.
13459 if test "${enable_stattext+set}" = set; then
13460 enableval
=$enable_stattext;
13461 if test "$enableval" = yes; then
13462 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13464 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13470 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13471 if test "x$LINE" != x
; then
13472 eval "DEFAULT_$LINE"
13478 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13483 eval "$wx_cv_use_stattext"
13484 if test "x$cache" = xyes; then
13485 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13488 if test x"$enablestring" = xdisable; then
13489 if test $wxUSE_STATTEXT = yes; then
13495 result=$wxUSE_STATTEXT
13498 { echo "$as_me:$LINENO: result: $result" >&5
13499 echo "${ECHO_T}$result" >&6; }
13503 defaultval=$wxUSE_ALL_FEATURES
13504 if test -z "$defaultval"; then
13505 if test x"$enablestring" = xdisable; then
13512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13513 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13514 # Check whether --enable-statusbar was given.
13515 if test "${enable_statusbar+set}" = set; then
13516 enableval=$enable_statusbar;
13517 if test "$enableval" = yes; then
13518 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13520 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13526 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13527 if test "x$LINE" != x ; then
13528 eval "DEFAULT_$LINE"
13534 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13539 eval "$wx_cv_use_statusbar"
13540 if test "x
$cache" = xyes; then
13541 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13544 if test x"$enablestring" = xdisable; then
13545 if test $wxUSE_STATUSBAR = yes; then
13551 result=$wxUSE_STATUSBAR
13554 { echo "$as_me:$LINENO: result
: $result" >&5
13555 echo "${ECHO_T}$result" >&6; }
13559 defaultval=$wxUSE_ALL_FEATURES
13560 if test -z "$defaultval"; then
13561 if test x"$enablestring" = xdisable; then
13568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13569 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13570 # Check whether --enable-tabdialog was given.
13571 if test "${enable_tabdialog+set}" = set; then
13572 enableval=$enable_tabdialog;
13573 if test "$enableval" = yes; then
13574 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13576 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13582 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13583 if test "x
$LINE" != x ; then
13584 eval "DEFAULT_
$LINE"
13590 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13595 eval "$wx_cv_use_tabdialog"
13596 if test "x$cache" = xyes
; then
13597 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13600 if test x
"$enablestring" = xdisable
; then
13601 if test $wxUSE_TAB_DIALOG = yes; then
13607 result
=$wxUSE_TAB_DIALOG
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13615 defaultval
=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x
"$enablestring" = xdisable
; then
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13626 # Check whether --enable-taskbaricon was given.
13627 if test "${enable_taskbaricon+set}" = set; then
13628 enableval
=$enable_taskbaricon;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13632 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13638 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13639 if test "x$LINE" != x
; then
13640 eval "DEFAULT_$LINE"
13646 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13651 eval "$wx_cv_use_taskbaricon"
13652 if test "x$cache" = xyes; then
13653 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_TASKBARICON = yes; then
13663 result=$wxUSE_TASKBARICON
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13682 # Check whether --enable-textctrl was given.
13683 if test "${enable_textctrl+set}" = set; then
13684 enableval=$enable_textctrl;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13688 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13694 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13695 if test "x$LINE" != x ; then
13696 eval "DEFAULT_$LINE"
13702 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13707 eval "$wx_cv_use_textctrl"
13708 if test "x
$cache" = xyes; then
13709 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13712 if test x"$enablestring" = xdisable; then
13713 if test $wxUSE_TEXTCTRL = yes; then
13719 result=$wxUSE_TEXTCTRL
13722 { echo "$as_me:$LINENO: result
: $result" >&5
13723 echo "${ECHO_T}$result" >&6; }
13727 defaultval=$wxUSE_ALL_FEATURES
13728 if test -z "$defaultval"; then
13729 if test x"$enablestring" = xdisable; then
13736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13737 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13738 # Check whether --enable-togglebtn was given.
13739 if test "${enable_togglebtn+set}" = set; then
13740 enableval=$enable_togglebtn;
13741 if test "$enableval" = yes; then
13742 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13744 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13750 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13751 if test "x
$LINE" != x ; then
13752 eval "DEFAULT_
$LINE"
13758 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13763 eval "$wx_cv_use_togglebtn"
13764 if test "x$cache" = xyes
; then
13765 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13768 if test x
"$enablestring" = xdisable
; then
13769 if test $wxUSE_TOGGLEBTN = yes; then
13775 result
=$wxUSE_TOGGLEBTN
13778 { echo "$as_me:$LINENO: result: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13783 defaultval
=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x
"$enablestring" = xdisable
; then
13792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13793 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13794 # Check whether --enable-toolbar was given.
13795 if test "${enable_toolbar+set}" = set; then
13796 enableval
=$enable_toolbar;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13800 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13806 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13807 if test "x$LINE" != x
; then
13808 eval "DEFAULT_$LINE"
13814 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13819 eval "$wx_cv_use_toolbar"
13820 if test "x$cache" = xyes; then
13821 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13824 if test x"$enablestring" = xdisable; then
13825 if test $wxUSE_TOOLBAR = yes; then
13831 result=$wxUSE_TOOLBAR
13834 { echo "$as_me:$LINENO: result: $result" >&5
13835 echo "${ECHO_T}$result" >&6; }
13839 defaultval=$wxUSE_ALL_FEATURES
13840 if test -z "$defaultval"; then
13841 if test x"$enablestring" = xdisable; then
13848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13849 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13850 # Check whether --enable-tbarnative was given.
13851 if test "${enable_tbarnative+set}" = set; then
13852 enableval=$enable_tbarnative;
13853 if test "$enableval" = yes; then
13854 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13856 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13862 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13863 if test "x$LINE" != x ; then
13864 eval "DEFAULT_$LINE"
13870 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13875 eval "$wx_cv_use_tbarnative"
13876 if test "x
$cache" = xyes; then
13877 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13887 result=$wxUSE_TOOLBAR_NATIVE
13890 { echo "$as_me:$LINENO: result
: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13895 defaultval=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x"$enablestring" = xdisable; then
13904 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13905 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13906 # Check whether --enable-treebook was given.
13907 if test "${enable_treebook+set}" = set; then
13908 enableval=$enable_treebook;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13912 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13918 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
13919 if test "x
$LINE" != x ; then
13920 eval "DEFAULT_
$LINE"
13926 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13931 eval "$wx_cv_use_treebook"
13932 if test "x$cache" = xyes
; then
13933 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13936 if test x
"$enablestring" = xdisable
; then
13937 if test $wxUSE_TREEBOOK = yes; then
13943 result
=$wxUSE_TREEBOOK
13946 { echo "$as_me:$LINENO: result: $result" >&5
13947 echo "${ECHO_T}$result" >&6; }
13951 defaultval
=$wxUSE_ALL_FEATURES
13952 if test -z "$defaultval"; then
13953 if test x
"$enablestring" = xdisable
; then
13960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13961 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13962 # Check whether --enable-toolbook was given.
13963 if test "${enable_toolbook+set}" = set; then
13964 enableval
=$enable_toolbook;
13965 if test "$enableval" = yes; then
13966 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
13968 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
13974 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13975 if test "x$LINE" != x
; then
13976 eval "DEFAULT_$LINE"
13982 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13987 eval "$wx_cv_use_toolbook"
13988 if test "x$cache" = xyes; then
13989 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13992 if test x"$enablestring" = xdisable; then
13993 if test $wxUSE_TOOLBOOK = yes; then
13999 result=$wxUSE_TOOLBOOK
14002 { echo "$as_me:$LINENO: result: $result" >&5
14003 echo "${ECHO_T}$result" >&6; }
14007 defaultval=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x"$enablestring" = xdisable; then
14016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14017 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14018 # Check whether --enable-treectrl was given.
14019 if test "${enable_treectrl+set}" = set; then
14020 enableval=$enable_treectrl;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14024 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14030 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14031 if test "x$LINE" != x ; then
14032 eval "DEFAULT_$LINE"
14038 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14043 eval "$wx_cv_use_treectrl"
14044 if test "x
$cache" = xyes; then
14045 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14048 if test x"$enablestring" = xdisable; then
14049 if test $wxUSE_TREECTRL = yes; then
14055 result=$wxUSE_TREECTRL
14058 { echo "$as_me:$LINENO: result
: $result" >&5
14059 echo "${ECHO_T}$result" >&6; }
14063 defaultval=$wxUSE_ALL_FEATURES
14064 if test -z "$defaultval"; then
14065 if test x"$enablestring" = xdisable; then
14072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14073 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14074 # Check whether --enable-tipwindow was given.
14075 if test "${enable_tipwindow+set}" = set; then
14076 enableval=$enable_tipwindow;
14077 if test "$enableval" = yes; then
14078 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14080 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14086 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14087 if test "x
$LINE" != x ; then
14088 eval "DEFAULT_
$LINE"
14094 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14099 eval "$wx_cv_use_tipwindow"
14100 if test "x$cache" = xyes
; then
14101 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14104 if test x
"$enablestring" = xdisable
; then
14105 if test $wxUSE_TIPWINDOW = yes; then
14111 result
=$wxUSE_TIPWINDOW
14114 { echo "$as_me:$LINENO: result: $result" >&5
14115 echo "${ECHO_T}$result" >&6; }
14119 defaultval
=$wxUSE_ALL_FEATURES
14120 if test -z "$defaultval"; then
14121 if test x
"$enablestring" = xdisable
; then
14128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14129 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14130 # Check whether --enable-popupwin was given.
14131 if test "${enable_popupwin+set}" = set; then
14132 enableval
=$enable_popupwin;
14133 if test "$enableval" = yes; then
14134 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14136 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14142 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14143 if test "x$LINE" != x
; then
14144 eval "DEFAULT_$LINE"
14150 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14155 eval "$wx_cv_use_popupwin"
14156 if test "x$cache" = xyes; then
14157 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14160 if test x"$enablestring" = xdisable; then
14161 if test $wxUSE_POPUPWIN = yes; then
14167 result=$wxUSE_POPUPWIN
14170 { echo "$as_me:$LINENO: result: $result" >&5
14171 echo "${ECHO_T}$result" >&6; }
14177 defaultval=$wxUSE_ALL_FEATURES
14178 if test -z "$defaultval"; then
14179 if test x"$enablestring" = xdisable; then
14186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14187 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14188 # Check whether --enable-commondlg was given.
14189 if test "${enable_commondlg+set}" = set; then
14190 enableval=$enable_commondlg;
14191 if test "$enableval" = yes; then
14192 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14194 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14200 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14201 if test "x$LINE" != x ; then
14202 eval "DEFAULT_$LINE"
14208 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14213 eval "$wx_cv_use_commondlg"
14214 if test "x
$cache" = xyes; then
14215 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14218 if test x"$enablestring" = xdisable; then
14219 if test $wxUSE_COMMONDLGS = yes; then
14225 result=$wxUSE_COMMONDLGS
14228 { echo "$as_me:$LINENO: result
: $result" >&5
14229 echo "${ECHO_T}$result" >&6; }
14233 defaultval=$wxUSE_ALL_FEATURES
14234 if test -z "$defaultval"; then
14235 if test x"$enablestring" = xdisable; then
14242 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14243 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14244 # Check whether --enable-aboutdlg was given.
14245 if test "${enable_aboutdlg+set}" = set; then
14246 enableval=$enable_aboutdlg;
14247 if test "$enableval" = yes; then
14248 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14250 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14256 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14257 if test "x
$LINE" != x ; then
14258 eval "DEFAULT_
$LINE"
14264 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14269 eval "$wx_cv_use_aboutdlg"
14270 if test "x$cache" = xyes
; then
14271 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14274 if test x
"$enablestring" = xdisable
; then
14275 if test $wxUSE_ABOUTDLG = yes; then
14281 result
=$wxUSE_ABOUTDLG
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14289 defaultval
=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x
"$enablestring" = xdisable
; then
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14300 # Check whether --enable-choicedlg was given.
14301 if test "${enable_choicedlg+set}" = set; then
14302 enableval
=$enable_choicedlg;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14306 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14312 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14313 if test "x$LINE" != x
; then
14314 eval "DEFAULT_$LINE"
14320 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14325 eval "$wx_cv_use_choicedlg"
14326 if test "x$cache" = xyes; then
14327 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14330 if test x"$enablestring" = xdisable; then
14331 if test $wxUSE_CHOICEDLG = yes; then
14337 result=$wxUSE_CHOICEDLG
14340 { echo "$as_me:$LINENO: result: $result" >&5
14341 echo "${ECHO_T}$result" >&6; }
14345 defaultval=$wxUSE_ALL_FEATURES
14346 if test -z "$defaultval"; then
14347 if test x"$enablestring" = xdisable; then
14354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14355 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14356 # Check whether --enable-coldlg was given.
14357 if test "${enable_coldlg+set}" = set; then
14358 enableval=$enable_coldlg;
14359 if test "$enableval" = yes; then
14360 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14362 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14368 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14369 if test "x$LINE" != x ; then
14370 eval "DEFAULT_$LINE"
14376 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14381 eval "$wx_cv_use_coldlg"
14382 if test "x
$cache" = xyes; then
14383 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14386 if test x"$enablestring" = xdisable; then
14387 if test $wxUSE_COLOURDLG = yes; then
14393 result=$wxUSE_COLOURDLG
14396 { echo "$as_me:$LINENO: result
: $result" >&5
14397 echo "${ECHO_T}$result" >&6; }
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14410 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14411 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14412 # Check whether --enable-filedlg was given.
14413 if test "${enable_filedlg+set}" = set; then
14414 enableval=$enable_filedlg;
14415 if test "$enableval" = yes; then
14416 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14418 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14424 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14425 if test "x
$LINE" != x ; then
14426 eval "DEFAULT_
$LINE"
14432 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14437 eval "$wx_cv_use_filedlg"
14438 if test "x$cache" = xyes
; then
14439 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14442 if test x
"$enablestring" = xdisable
; then
14443 if test $wxUSE_FILEDLG = yes; then
14449 result
=$wxUSE_FILEDLG
14452 { echo "$as_me:$LINENO: result: $result" >&5
14453 echo "${ECHO_T}$result" >&6; }
14457 defaultval
=$wxUSE_ALL_FEATURES
14458 if test -z "$defaultval"; then
14459 if test x
"$enablestring" = xdisable
; then
14466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14467 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14468 # Check whether --enable-finddlg was given.
14469 if test "${enable_finddlg+set}" = set; then
14470 enableval
=$enable_finddlg;
14471 if test "$enableval" = yes; then
14472 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14474 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14480 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14481 if test "x$LINE" != x
; then
14482 eval "DEFAULT_$LINE"
14488 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14493 eval "$wx_cv_use_finddlg"
14494 if test "x$cache" = xyes; then
14495 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14498 if test x"$enablestring" = xdisable; then
14499 if test $wxUSE_FINDREPLDLG = yes; then
14505 result=$wxUSE_FINDREPLDLG
14508 { echo "$as_me:$LINENO: result: $result" >&5
14509 echo "${ECHO_T}$result" >&6; }
14513 defaultval=$wxUSE_ALL_FEATURES
14514 if test -z "$defaultval"; then
14515 if test x"$enablestring" = xdisable; then
14522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14523 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14524 # Check whether --enable-fontdlg was given.
14525 if test "${enable_fontdlg+set}" = set; then
14526 enableval=$enable_fontdlg;
14527 if test "$enableval" = yes; then
14528 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14530 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14536 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14537 if test "x$LINE" != x ; then
14538 eval "DEFAULT_$LINE"
14544 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14549 eval "$wx_cv_use_fontdlg"
14550 if test "x
$cache" = xyes; then
14551 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14554 if test x"$enablestring" = xdisable; then
14555 if test $wxUSE_FONTDLG = yes; then
14561 result=$wxUSE_FONTDLG
14564 { echo "$as_me:$LINENO: result
: $result" >&5
14565 echo "${ECHO_T}$result" >&6; }
14569 defaultval=$wxUSE_ALL_FEATURES
14570 if test -z "$defaultval"; then
14571 if test x"$enablestring" = xdisable; then
14578 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14579 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14580 # Check whether --enable-dirdlg was given.
14581 if test "${enable_dirdlg+set}" = set; then
14582 enableval=$enable_dirdlg;
14583 if test "$enableval" = yes; then
14584 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14586 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14592 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14593 if test "x
$LINE" != x ; then
14594 eval "DEFAULT_
$LINE"
14600 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14605 eval "$wx_cv_use_dirdlg"
14606 if test "x$cache" = xyes
; then
14607 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14610 if test x
"$enablestring" = xdisable
; then
14611 if test $wxUSE_DIRDLG = yes; then
14617 result
=$wxUSE_DIRDLG
14620 { echo "$as_me:$LINENO: result: $result" >&5
14621 echo "${ECHO_T}$result" >&6; }
14625 defaultval
=$wxUSE_ALL_FEATURES
14626 if test -z "$defaultval"; then
14627 if test x
"$enablestring" = xdisable
; then
14634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14635 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14636 # Check whether --enable-msgdlg was given.
14637 if test "${enable_msgdlg+set}" = set; then
14638 enableval
=$enable_msgdlg;
14639 if test "$enableval" = yes; then
14640 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14642 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14648 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14649 if test "x$LINE" != x
; then
14650 eval "DEFAULT_$LINE"
14656 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14661 eval "$wx_cv_use_msgdlg"
14662 if test "x$cache" = xyes; then
14663 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14666 if test x"$enablestring" = xdisable; then
14667 if test $wxUSE_MSGDLG = yes; then
14673 result=$wxUSE_MSGDLG
14676 { echo "$as_me:$LINENO: result: $result" >&5
14677 echo "${ECHO_T}$result" >&6; }
14681 defaultval=$wxUSE_ALL_FEATURES
14682 if test -z "$defaultval"; then
14683 if test x"$enablestring" = xdisable; then
14690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14691 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14692 # Check whether --enable-numberdlg was given.
14693 if test "${enable_numberdlg+set}" = set; then
14694 enableval=$enable_numberdlg;
14695 if test "$enableval" = yes; then
14696 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14698 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14704 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14705 if test "x$LINE" != x ; then
14706 eval "DEFAULT_$LINE"
14712 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14717 eval "$wx_cv_use_numberdlg"
14718 if test "x
$cache" = xyes; then
14719 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14722 if test x"$enablestring" = xdisable; then
14723 if test $wxUSE_NUMBERDLG = yes; then
14729 result=$wxUSE_NUMBERDLG
14732 { echo "$as_me:$LINENO: result
: $result" >&5
14733 echo "${ECHO_T}$result" >&6; }
14737 defaultval=$wxUSE_ALL_FEATURES
14738 if test -z "$defaultval"; then
14739 if test x"$enablestring" = xdisable; then
14746 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14747 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14748 # Check whether --enable-splash was given.
14749 if test "${enable_splash+set}" = set; then
14750 enableval=$enable_splash;
14751 if test "$enableval" = yes; then
14752 wx_cv_use_splash='wxUSE_SPLASH=yes'
14754 wx_cv_use_splash='wxUSE_SPLASH=no'
14760 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14761 if test "x
$LINE" != x ; then
14762 eval "DEFAULT_
$LINE"
14768 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14773 eval "$wx_cv_use_splash"
14774 if test "x$cache" = xyes
; then
14775 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14778 if test x
"$enablestring" = xdisable
; then
14779 if test $wxUSE_SPLASH = yes; then
14785 result
=$wxUSE_SPLASH
14788 { echo "$as_me:$LINENO: result: $result" >&5
14789 echo "${ECHO_T}$result" >&6; }
14793 defaultval
=$wxUSE_ALL_FEATURES
14794 if test -z "$defaultval"; then
14795 if test x
"$enablestring" = xdisable
; then
14802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14803 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14804 # Check whether --enable-textdlg was given.
14805 if test "${enable_textdlg+set}" = set; then
14806 enableval
=$enable_textdlg;
14807 if test "$enableval" = yes; then
14808 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14810 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14816 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14817 if test "x$LINE" != x
; then
14818 eval "DEFAULT_$LINE"
14824 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14829 eval "$wx_cv_use_textdlg"
14830 if test "x$cache" = xyes; then
14831 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14834 if test x"$enablestring" = xdisable; then
14835 if test $wxUSE_TEXTDLG = yes; then
14841 result=$wxUSE_TEXTDLG
14844 { echo "$as_me:$LINENO: result: $result" >&5
14845 echo "${ECHO_T}$result" >&6; }
14849 defaultval=$wxUSE_ALL_FEATURES
14850 if test -z "$defaultval"; then
14851 if test x"$enablestring" = xdisable; then
14858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14859 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14860 # Check whether --enable-tipdlg was given.
14861 if test "${enable_tipdlg+set}" = set; then
14862 enableval=$enable_tipdlg;
14863 if test "$enableval" = yes; then
14864 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14866 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14872 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14873 if test "x$LINE" != x ; then
14874 eval "DEFAULT_$LINE"
14880 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14885 eval "$wx_cv_use_tipdlg"
14886 if test "x
$cache" = xyes; then
14887 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14890 if test x"$enablestring" = xdisable; then
14891 if test $wxUSE_STARTUP_TIPS = yes; then
14897 result=$wxUSE_STARTUP_TIPS
14900 { echo "$as_me:$LINENO: result
: $result" >&5
14901 echo "${ECHO_T}$result" >&6; }
14905 defaultval=$wxUSE_ALL_FEATURES
14906 if test -z "$defaultval"; then
14907 if test x"$enablestring" = xdisable; then
14914 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14915 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14916 # Check whether --enable-progressdlg was given.
14917 if test "${enable_progressdlg+set}" = set; then
14918 enableval=$enable_progressdlg;
14919 if test "$enableval" = yes; then
14920 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14922 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14928 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
14929 if test "x
$LINE" != x ; then
14930 eval "DEFAULT_
$LINE"
14936 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14941 eval "$wx_cv_use_progressdlg"
14942 if test "x$cache" = xyes
; then
14943 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14946 if test x
"$enablestring" = xdisable
; then
14947 if test $wxUSE_PROGRESSDLG = yes; then
14953 result
=$wxUSE_PROGRESSDLG
14956 { echo "$as_me:$LINENO: result: $result" >&5
14957 echo "${ECHO_T}$result" >&6; }
14961 defaultval
=$wxUSE_ALL_FEATURES
14962 if test -z "$defaultval"; then
14963 if test x
"$enablestring" = xdisable
; then
14970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14971 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14972 # Check whether --enable-wizarddlg was given.
14973 if test "${enable_wizarddlg+set}" = set; then
14974 enableval
=$enable_wizarddlg;
14975 if test "$enableval" = yes; then
14976 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14978 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14984 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14985 if test "x$LINE" != x
; then
14986 eval "DEFAULT_$LINE"
14992 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14997 eval "$wx_cv_use_wizarddlg"
14998 if test "x$cache" = xyes; then
14999 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15002 if test x"$enablestring" = xdisable; then
15003 if test $wxUSE_WIZARDDLG = yes; then
15009 result=$wxUSE_WIZARDDLG
15012 { echo "$as_me:$LINENO: result: $result" >&5
15013 echo "${ECHO_T}$result" >&6; }
15019 defaultval=$wxUSE_ALL_FEATURES
15020 if test -z "$defaultval"; then
15021 if test x"$enablestring" = xdisable; then
15028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15029 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15030 # Check whether --enable-menus was given.
15031 if test "${enable_menus+set}" = set; then
15032 enableval=$enable_menus;
15033 if test "$enableval" = yes; then
15034 wx_cv_use_menus='wxUSE_MENUS
=yes'
15036 wx_cv_use_menus='wxUSE_MENUS
=no
'
15042 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15043 if test "x$LINE" != x ; then
15044 eval "DEFAULT_$LINE"
15050 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15055 eval "$wx_cv_use_menus"
15056 if test "x
$cache" = xyes; then
15057 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15060 if test x"$enablestring" = xdisable; then
15061 if test $wxUSE_MENUS = yes; then
15067 result=$wxUSE_MENUS
15070 { echo "$as_me:$LINENO: result
: $result" >&5
15071 echo "${ECHO_T}$result" >&6; }
15075 defaultval=$wxUSE_ALL_FEATURES
15076 if test -z "$defaultval"; then
15077 if test x"$enablestring" = xdisable; then
15084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15085 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15086 # Check whether --enable-miniframe was given.
15087 if test "${enable_miniframe+set}" = set; then
15088 enableval=$enable_miniframe;
15089 if test "$enableval" = yes; then
15090 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15092 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15098 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15099 if test "x
$LINE" != x ; then
15100 eval "DEFAULT_
$LINE"
15106 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15111 eval "$wx_cv_use_miniframe"
15112 if test "x$cache" = xyes
; then
15113 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15116 if test x
"$enablestring" = xdisable
; then
15117 if test $wxUSE_MINIFRAME = yes; then
15123 result
=$wxUSE_MINIFRAME
15126 { echo "$as_me:$LINENO: result: $result" >&5
15127 echo "${ECHO_T}$result" >&6; }
15131 defaultval
=$wxUSE_ALL_FEATURES
15132 if test -z "$defaultval"; then
15133 if test x
"$enablestring" = xdisable
; then
15140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15141 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15142 # Check whether --enable-tooltips was given.
15143 if test "${enable_tooltips+set}" = set; then
15144 enableval
=$enable_tooltips;
15145 if test "$enableval" = yes; then
15146 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15148 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15154 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15155 if test "x$LINE" != x
; then
15156 eval "DEFAULT_$LINE"
15162 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15167 eval "$wx_cv_use_tooltips"
15168 if test "x$cache" = xyes; then
15169 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15172 if test x"$enablestring" = xdisable; then
15173 if test $wxUSE_TOOLTIPS = yes; then
15179 result=$wxUSE_TOOLTIPS
15182 { echo "$as_me:$LINENO: result: $result" >&5
15183 echo "${ECHO_T}$result" >&6; }
15187 defaultval=$wxUSE_ALL_FEATURES
15188 if test -z "$defaultval"; then
15189 if test x"$enablestring" = xdisable; then
15196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15197 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15198 # Check whether --enable-splines was given.
15199 if test "${enable_splines+set}" = set; then
15200 enableval=$enable_splines;
15201 if test "$enableval" = yes; then
15202 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15204 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15210 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15211 if test "x$LINE" != x ; then
15212 eval "DEFAULT_$LINE"
15218 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15223 eval "$wx_cv_use_splines"
15224 if test "x
$cache" = xyes; then
15225 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15228 if test x"$enablestring" = xdisable; then
15229 if test $wxUSE_SPLINES = yes; then
15235 result=$wxUSE_SPLINES
15238 { echo "$as_me:$LINENO: result
: $result" >&5
15239 echo "${ECHO_T}$result" >&6; }
15243 defaultval=$wxUSE_ALL_FEATURES
15244 if test -z "$defaultval"; then
15245 if test x"$enablestring" = xdisable; then
15252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15253 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15254 # Check whether --enable-mousewheel was given.
15255 if test "${enable_mousewheel+set}" = set; then
15256 enableval=$enable_mousewheel;
15257 if test "$enableval" = yes; then
15258 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15260 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15266 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15267 if test "x
$LINE" != x ; then
15268 eval "DEFAULT_
$LINE"
15274 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15279 eval "$wx_cv_use_mousewheel"
15280 if test "x$cache" = xyes
; then
15281 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15284 if test x
"$enablestring" = xdisable
; then
15285 if test $wxUSE_MOUSEWHEEL = yes; then
15291 result
=$wxUSE_MOUSEWHEEL
15294 { echo "$as_me:$LINENO: result: $result" >&5
15295 echo "${ECHO_T}$result" >&6; }
15299 defaultval
=$wxUSE_ALL_FEATURES
15300 if test -z "$defaultval"; then
15301 if test x
"$enablestring" = xdisable
; then
15308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15309 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15310 # Check whether --enable-validators was given.
15311 if test "${enable_validators+set}" = set; then
15312 enableval
=$enable_validators;
15313 if test "$enableval" = yes; then
15314 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15316 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15322 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15323 if test "x$LINE" != x
; then
15324 eval "DEFAULT_$LINE"
15330 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15335 eval "$wx_cv_use_validators"
15336 if test "x$cache" = xyes; then
15337 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15340 if test x"$enablestring" = xdisable; then
15341 if test $wxUSE_VALIDATORS = yes; then
15347 result=$wxUSE_VALIDATORS
15350 { echo "$as_me:$LINENO: result: $result" >&5
15351 echo "${ECHO_T}$result" >&6; }
15355 defaultval=$wxUSE_ALL_FEATURES
15356 if test -z "$defaultval"; then
15357 if test x"$enablestring" = xdisable; then
15364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15365 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15366 # Check whether --enable-busyinfo was given.
15367 if test "${enable_busyinfo+set}" = set; then
15368 enableval=$enable_busyinfo;
15369 if test "$enableval" = yes; then
15370 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15372 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15378 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15379 if test "x$LINE" != x ; then
15380 eval "DEFAULT_$LINE"
15386 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15391 eval "$wx_cv_use_busyinfo"
15392 if test "x
$cache" = xyes; then
15393 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15396 if test x"$enablestring" = xdisable; then
15397 if test $wxUSE_BUSYINFO = yes; then
15403 result=$wxUSE_BUSYINFO
15406 { echo "$as_me:$LINENO: result
: $result" >&5
15407 echo "${ECHO_T}$result" >&6; }
15411 defaultval=$wxUSE_ALL_FEATURES
15412 if test -z "$defaultval"; then
15413 if test x"$enablestring" = xdisable; then
15420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15421 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15422 # Check whether --enable-joystick was given.
15423 if test "${enable_joystick+set}" = set; then
15424 enableval=$enable_joystick;
15425 if test "$enableval" = yes; then
15426 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15428 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15434 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15435 if test "x
$LINE" != x ; then
15436 eval "DEFAULT_
$LINE"
15442 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15447 eval "$wx_cv_use_joystick"
15448 if test "x$cache" = xyes
; then
15449 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15452 if test x
"$enablestring" = xdisable
; then
15453 if test $wxUSE_JOYSTICK = yes; then
15459 result
=$wxUSE_JOYSTICK
15462 { echo "$as_me:$LINENO: result: $result" >&5
15463 echo "${ECHO_T}$result" >&6; }
15467 defaultval
=$wxUSE_ALL_FEATURES
15468 if test -z "$defaultval"; then
15469 if test x
"$enablestring" = xdisable
; then
15476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15477 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15478 # Check whether --enable-metafile was given.
15479 if test "${enable_metafile+set}" = set; then
15480 enableval
=$enable_metafile;
15481 if test "$enableval" = yes; then
15482 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15484 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15490 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15491 if test "x$LINE" != x
; then
15492 eval "DEFAULT_$LINE"
15498 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15503 eval "$wx_cv_use_metafile"
15504 if test "x$cache" = xyes; then
15505 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15508 if test x"$enablestring" = xdisable; then
15509 if test $wxUSE_METAFILE = yes; then
15515 result=$wxUSE_METAFILE
15518 { echo "$as_me:$LINENO: result: $result" >&5
15519 echo "${ECHO_T}$result" >&6; }
15523 defaultval=$wxUSE_ALL_FEATURES
15524 if test -z "$defaultval"; then
15525 if test x"$enablestring" = xdisable; then
15532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15533 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15534 # Check whether --enable-dragimage was given.
15535 if test "${enable_dragimage+set}" = set; then
15536 enableval=$enable_dragimage;
15537 if test "$enableval" = yes; then
15538 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15540 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15546 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15547 if test "x$LINE" != x ; then
15548 eval "DEFAULT_$LINE"
15554 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15559 eval "$wx_cv_use_dragimage"
15560 if test "x
$cache" = xyes; then
15561 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15564 if test x"$enablestring" = xdisable; then
15565 if test $wxUSE_DRAGIMAGE = yes; then
15571 result=$wxUSE_DRAGIMAGE
15574 { echo "$as_me:$LINENO: result
: $result" >&5
15575 echo "${ECHO_T}$result" >&6; }
15579 defaultval=$wxUSE_ALL_FEATURES
15580 if test -z "$defaultval"; then
15581 if test x"$enablestring" = xdisable; then
15588 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15589 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15590 # Check whether --enable-accessibility was given.
15591 if test "${enable_accessibility+set}" = set; then
15592 enableval=$enable_accessibility;
15593 if test "$enableval" = yes; then
15594 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15596 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15602 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15603 if test "x
$LINE" != x ; then
15604 eval "DEFAULT_
$LINE"
15610 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15615 eval "$wx_cv_use_accessibility"
15616 if test "x$cache" = xyes
; then
15617 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15620 if test x
"$enablestring" = xdisable
; then
15621 if test $wxUSE_ACCESSIBILITY = yes; then
15627 result
=$wxUSE_ACCESSIBILITY
15630 { echo "$as_me:$LINENO: result: $result" >&5
15631 echo "${ECHO_T}$result" >&6; }
15637 defaultval
=$wxUSE_ALL_FEATURES
15638 if test -z "$defaultval"; then
15639 if test x
"$enablestring" = xdisable
; then
15646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15647 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15648 # Check whether --enable-palette was given.
15649 if test "${enable_palette+set}" = set; then
15650 enableval
=$enable_palette;
15651 if test "$enableval" = yes; then
15652 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15654 wx_cv_use_palette
='wxUSE_PALETTE=no'
15660 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15661 if test "x$LINE" != x
; then
15662 eval "DEFAULT_$LINE"
15668 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15673 eval "$wx_cv_use_palette"
15674 if test "x$cache" = xyes; then
15675 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15678 if test x"$enablestring" = xdisable; then
15679 if test $wxUSE_PALETTE = yes; then
15685 result=$wxUSE_PALETTE
15688 { echo "$as_me:$LINENO: result: $result" >&5
15689 echo "${ECHO_T}$result" >&6; }
15693 defaultval=$wxUSE_ALL_FEATURES
15694 if test -z "$defaultval"; then
15695 if test x"$enablestring" = xdisable; then
15702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15703 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15704 # Check whether --enable-image was given.
15705 if test "${enable_image+set}" = set; then
15706 enableval=$enable_image;
15707 if test "$enableval" = yes; then
15708 wx_cv_use_image='wxUSE_IMAGE
=yes'
15710 wx_cv_use_image='wxUSE_IMAGE
=no
'
15716 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15717 if test "x$LINE" != x ; then
15718 eval "DEFAULT_$LINE"
15724 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15729 eval "$wx_cv_use_image"
15730 if test "x
$cache" = xyes; then
15731 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15734 if test x"$enablestring" = xdisable; then
15735 if test $wxUSE_IMAGE = yes; then
15741 result=$wxUSE_IMAGE
15744 { echo "$as_me:$LINENO: result
: $result" >&5
15745 echo "${ECHO_T}$result" >&6; }
15749 defaultval=$wxUSE_ALL_FEATURES
15750 if test -z "$defaultval"; then
15751 if test x"$enablestring" = xdisable; then
15758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15759 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15760 # Check whether --enable-gif was given.
15761 if test "${enable_gif+set}" = set; then
15762 enableval=$enable_gif;
15763 if test "$enableval" = yes; then
15764 wx_cv_use_gif='wxUSE_GIF=yes'
15766 wx_cv_use_gif='wxUSE_GIF=no'
15772 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15773 if test "x
$LINE" != x ; then
15774 eval "DEFAULT_
$LINE"
15780 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15785 eval "$wx_cv_use_gif"
15786 if test "x$cache" = xyes
; then
15787 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15790 if test x
"$enablestring" = xdisable
; then
15791 if test $wxUSE_GIF = yes; then
15800 { echo "$as_me:$LINENO: result: $result" >&5
15801 echo "${ECHO_T}$result" >&6; }
15805 defaultval
=$wxUSE_ALL_FEATURES
15806 if test -z "$defaultval"; then
15807 if test x
"$enablestring" = xdisable
; then
15814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15815 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15816 # Check whether --enable-pcx was given.
15817 if test "${enable_pcx+set}" = set; then
15818 enableval
=$enable_pcx;
15819 if test "$enableval" = yes; then
15820 wx_cv_use_pcx
='wxUSE_PCX=yes'
15822 wx_cv_use_pcx
='wxUSE_PCX=no'
15828 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15829 if test "x$LINE" != x
; then
15830 eval "DEFAULT_$LINE"
15836 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15841 eval "$wx_cv_use_pcx"
15842 if test "x$cache" = xyes; then
15843 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15846 if test x"$enablestring" = xdisable; then
15847 if test $wxUSE_PCX = yes; then
15856 { echo "$as_me:$LINENO: result: $result" >&5
15857 echo "${ECHO_T}$result" >&6; }
15861 defaultval=$wxUSE_ALL_FEATURES
15862 if test -z "$defaultval"; then
15863 if test x"$enablestring" = xdisable; then
15870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15871 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15872 # Check whether --enable-tga was given.
15873 if test "${enable_tga+set}" = set; then
15874 enableval=$enable_tga;
15875 if test "$enableval" = yes; then
15876 wx_cv_use_tga='wxUSE_TGA
=yes'
15878 wx_cv_use_tga='wxUSE_TGA
=no
'
15884 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15885 if test "x$LINE" != x ; then
15886 eval "DEFAULT_$LINE"
15892 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15897 eval "$wx_cv_use_tga"
15898 if test "x
$cache" = xyes; then
15899 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15902 if test x"$enablestring" = xdisable; then
15903 if test $wxUSE_TGA = yes; then
15912 { echo "$as_me:$LINENO: result
: $result" >&5
15913 echo "${ECHO_T}$result" >&6; }
15917 defaultval=$wxUSE_ALL_FEATURES
15918 if test -z "$defaultval"; then
15919 if test x"$enablestring" = xdisable; then
15926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
15927 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
15928 # Check whether --enable-iff was given.
15929 if test "${enable_iff+set}" = set; then
15930 enableval=$enable_iff;
15931 if test "$enableval" = yes; then
15932 wx_cv_use_iff='wxUSE_IFF=yes'
15934 wx_cv_use_iff='wxUSE_IFF=no'
15940 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
15941 if test "x
$LINE" != x ; then
15942 eval "DEFAULT_
$LINE"
15948 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15953 eval "$wx_cv_use_iff"
15954 if test "x$cache" = xyes
; then
15955 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15958 if test x
"$enablestring" = xdisable
; then
15959 if test $wxUSE_IFF = yes; then
15968 { echo "$as_me:$LINENO: result: $result" >&5
15969 echo "${ECHO_T}$result" >&6; }
15973 defaultval
=$wxUSE_ALL_FEATURES
15974 if test -z "$defaultval"; then
15975 if test x
"$enablestring" = xdisable
; then
15982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15983 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15984 # Check whether --enable-pnm was given.
15985 if test "${enable_pnm+set}" = set; then
15986 enableval
=$enable_pnm;
15987 if test "$enableval" = yes; then
15988 wx_cv_use_pnm
='wxUSE_PNM=yes'
15990 wx_cv_use_pnm
='wxUSE_PNM=no'
15996 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15997 if test "x$LINE" != x
; then
15998 eval "DEFAULT_$LINE"
16004 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16009 eval "$wx_cv_use_pnm"
16010 if test "x$cache" = xyes; then
16011 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16014 if test x"$enablestring" = xdisable; then
16015 if test $wxUSE_PNM = yes; then
16024 { echo "$as_me:$LINENO: result: $result" >&5
16025 echo "${ECHO_T}$result" >&6; }
16029 defaultval=$wxUSE_ALL_FEATURES
16030 if test -z "$defaultval"; then
16031 if test x"$enablestring" = xdisable; then
16038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16039 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16040 # Check whether --enable-xpm was given.
16041 if test "${enable_xpm+set}" = set; then
16042 enableval=$enable_xpm;
16043 if test "$enableval" = yes; then
16044 wx_cv_use_xpm='wxUSE_XPM
=yes'
16046 wx_cv_use_xpm='wxUSE_XPM
=no
'
16052 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16053 if test "x$LINE" != x ; then
16054 eval "DEFAULT_$LINE"
16060 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16065 eval "$wx_cv_use_xpm"
16066 if test "x
$cache" = xyes; then
16067 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16070 if test x"$enablestring" = xdisable; then
16071 if test $wxUSE_XPM = yes; then
16080 { echo "$as_me:$LINENO: result
: $result" >&5
16081 echo "${ECHO_T}$result" >&6; }
16085 defaultval=$wxUSE_ALL_FEATURES
16086 if test -z "$defaultval"; then
16087 if test x"$enablestring" = xdisable; then
16094 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16095 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16096 # Check whether --enable-ico_cur was given.
16097 if test "${enable_ico_cur+set}" = set; then
16098 enableval=$enable_ico_cur;
16099 if test "$enableval" = yes; then
16100 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16102 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16108 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16109 if test "x
$LINE" != x ; then
16110 eval "DEFAULT_
$LINE"
16116 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16121 eval "$wx_cv_use_ico_cur"
16122 if test "x$cache" = xyes
; then
16123 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16126 if test x
"$enablestring" = xdisable
; then
16127 if test $wxUSE_ICO_CUR = yes; then
16133 result
=$wxUSE_ICO_CUR
16136 { echo "$as_me:$LINENO: result: $result" >&5
16137 echo "${ECHO_T}$result" >&6; }
16143 defaultval
=$wxUSE_ALL_FEATURES
16144 if test -z "$defaultval"; then
16145 if test x
"$enablestring" = xdisable
; then
16152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16153 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16154 # Check whether --enable-dccache was given.
16155 if test "${enable_dccache+set}" = set; then
16156 enableval
=$enable_dccache;
16157 if test "$enableval" = yes; then
16158 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16160 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16166 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16167 if test "x$LINE" != x
; then
16168 eval "DEFAULT_$LINE"
16174 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16179 eval "$wx_cv_use_dccache"
16180 if test "x$cache" = xyes; then
16181 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16184 if test x"$enablestring" = xdisable; then
16185 if test $wxUSE_DC_CACHEING = yes; then
16191 result=$wxUSE_DC_CACHEING
16194 { echo "$as_me:$LINENO: result: $result" >&5
16195 echo "${ECHO_T}$result" >&6; }
16199 defaultval=$wxUSE_ALL_FEATURES
16200 if test -z "$defaultval"; then
16201 if test x"$enablestring" = xdisable; then
16208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16209 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16210 # Check whether --enable-ps-in-msw was given.
16211 if test "${enable_ps_in_msw+set}" = set; then
16212 enableval=$enable_ps_in_msw;
16213 if test "$enableval" = yes; then
16214 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16216 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16222 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16223 if test "x$LINE" != x ; then
16224 eval "DEFAULT_$LINE"
16230 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16235 eval "$wx_cv_use_ps_in_msw"
16236 if test "x
$cache" = xyes; then
16237 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16240 if test x"$enablestring" = xdisable; then
16241 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16247 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16250 { echo "$as_me:$LINENO: result
: $result" >&5
16251 echo "${ECHO_T}$result" >&6; }
16255 defaultval=$wxUSE_ALL_FEATURES
16256 if test -z "$defaultval"; then
16257 if test x"$enablestring" = xdisable; then
16264 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16265 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16266 # Check whether --enable-ownerdrawn was given.
16267 if test "${enable_ownerdrawn+set}" = set; then
16268 enableval=$enable_ownerdrawn;
16269 if test "$enableval" = yes; then
16270 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16272 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16278 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16279 if test "x
$LINE" != x ; then
16280 eval "DEFAULT_
$LINE"
16286 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16291 eval "$wx_cv_use_ownerdrawn"
16292 if test "x$cache" = xyes
; then
16293 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16296 if test x
"$enablestring" = xdisable
; then
16297 if test $wxUSE_OWNER_DRAWN = yes; then
16303 result
=$wxUSE_OWNER_DRAWN
16306 { echo "$as_me:$LINENO: result: $result" >&5
16307 echo "${ECHO_T}$result" >&6; }
16311 defaultval
=$wxUSE_ALL_FEATURES
16312 if test -z "$defaultval"; then
16313 if test x
"$enablestring" = xdisable
; then
16320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16321 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16322 # Check whether --enable-uxtheme was given.
16323 if test "${enable_uxtheme+set}" = set; then
16324 enableval
=$enable_uxtheme;
16325 if test "$enableval" = yes; then
16326 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16328 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16334 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16335 if test "x$LINE" != x
; then
16336 eval "DEFAULT_$LINE"
16342 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16347 eval "$wx_cv_use_uxtheme"
16348 if test "x$cache" = xyes; then
16349 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16352 if test x"$enablestring" = xdisable; then
16353 if test $wxUSE_UXTHEME = yes; then
16359 result=$wxUSE_UXTHEME
16362 { echo "$as_me:$LINENO: result: $result" >&5
16363 echo "${ECHO_T}$result" >&6; }
16367 defaultval=$wxUSE_ALL_FEATURES
16368 if test -z "$defaultval"; then
16369 if test x"$enablestring" = xdisable; then
16376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16377 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16378 # Check whether --enable-wxdib was given.
16379 if test "${enable_wxdib+set}" = set; then
16380 enableval=$enable_wxdib;
16381 if test "$enableval" = yes; then
16382 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16384 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16390 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16391 if test "x$LINE" != x ; then
16392 eval "DEFAULT_$LINE"
16398 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16403 eval "$wx_cv_use_wxdib"
16404 if test "x
$cache" = xyes; then
16405 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16408 if test x"$enablestring" = xdisable; then
16409 if test $wxUSE_DIB = yes; then
16418 { echo "$as_me:$LINENO: result
: $result" >&5
16419 echo "${ECHO_T}$result" >&6; }
16425 echo "saving argument cache
$wx_arg_cache_file"
16426 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16430 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16431 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16433 # In Wine, we need to default to MSW, not GTK or MOTIF
16434 if test "$wxUSE_WINE" = "yes"; then
16435 DEFAULT_DEFAULT_wxUSE_GTK=0
16436 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16437 DEFAULT_DEFAULT_wxUSE_MSW=1
16440 CXX=${CXX:-wineg++}
16444 if test "$wxUSE_GUI" = "yes"; then
16446 if test "$USE_BEOS" = 1; then
16447 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16448 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16449 { (exit 1); exit 1; }; }
16452 if test "$TOOLKIT_GIVEN" = 1; then
16453 for toolkit in `echo $ALL_TOOLKITS`; do
16455 eval "value
=\$
${var}"
16456 if test "x
$value" = "xno
"; then
16458 elif test "x
$value" != "x
"; then
16462 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16463 eval "wx
${toolkit}_VERSION
=$value"
16467 for toolkit in `echo $ALL_TOOLKITS`; do
16468 if test "$has_toolkit_in_cache" != 1; then
16469 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16471 var=DEFAULT_wxUSE_$toolkit
16473 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16474 if test "x
$version" != "x
"; then
16475 eval "wx
${toolkit}_VERSION
=$version"
16478 eval "wxUSE_
$toolkit=\$
${var}"
16482 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16483 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16484 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16487 *-pc-os2_emx | *-pc-os2-emx )
16488 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16491 case "$NUM_TOOLKITS" in
16495 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16496 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16497 { (exit 1); exit 1; }; }
16500 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16501 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16502 { (exit 1); exit 1; }; }
16505 # to be removed when --disable-gtk2 isn't needed
16506 if test "x
$wxUSE_GTK2" = "xyes
"; then
16508 elif test "x
$wxUSE_GTK2" = "xno
"; then
16512 for toolkit in `echo $ALL_TOOLKITS`; do
16514 eval "value
=\$
${var}"
16515 if test "x
$value" != x; then
16516 cache_var=CACHE_$toolkit
16517 eval "cache
=\$
${cache_var}"
16518 if test "$cache" = 1; then
16519 echo "$var=$value" >> ${wx_arg_cache_file}
16520 eval "version
=\
$wx${toolkit}_VERSION
"
16521 if test "x
$version" != "x
"; then
16522 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16525 if test "$value" = 1; then
16526 toolkit_echo=`echo $toolkit | tr "[A
-Z]" "[a
-z]"`
16527 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16528 echo "${ECHO_T}$toolkit_echo" >&6; }
16533 if test "x
$host_alias" != "x
"; then
16534 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16535 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16537 { echo "$as_me:$LINENO: result
: base only
" >&5
16538 echo "${ECHO_T}base only
" >&6; }
16543 cat >confcache <<\_ACEOF
16544 # This file is a shell script that caches the results of configure
16545 # tests run on this system so they can be shared between configure
16546 # scripts and configure runs, see configure's option --config-cache.
16547 # It is not useful on other systems. If it contains results you don't
16548 # want to keep, you may remove or edit it.
16550 # config.status only pays attention to the cache file if you give it
16551 # the --recheck option to rerun configure.
16553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16555 # following values.
16559 # The following way of writing the cache mishandles newlines in values,
16560 # but we know of no workaround that is simple, portable, and efficient.
16561 # So, we kill variables containing newlines.
16562 # Ultrix sh set writes to stderr and can't be redirected directly,
16563 # and sets the high bit in the cache file unless we assign to the vars.
16565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16566 eval ac_val=\$$ac_var
16570 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16571 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16574 _ | IFS | as_nl) ;; #(
16575 *) $as_unset $ac_var ;;
16581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16582 *${as_nl}ac_space=\ *)
16583 # `set' does not quote correctly, so add quotes (double-quote
16584 # substitution turns \\\\ into \\, and sed turns \\ into \).
16587 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16590 # `set' quotes correctly as required by POSIX, so do not add quotes.
16591 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16604 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16605 if test -w "$cache_file"; then
16606 test "x
$cache_file" != "x
/dev
/null
" &&
16607 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16608 echo "$as_me: updating cache
$cache_file" >&6;}
16609 cat confcache >$cache_file
16611 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16612 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16622 ac_cpp='$CPP $CPPFLAGS'
16623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16626 if test -n "$ac_tool_prefix"; then
16627 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16628 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16629 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16631 if test "${ac_cv_prog_CC+set}" = set; then
16632 echo $ECHO_N "(cached
) $ECHO_C" >&6
16634 if test -n "$CC"; then
16635 ac_cv_prog_CC="$CC" # Let the user override the test.
16637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16638 for as_dir in $PATH
16641 test -z "$as_dir" && as_dir=.
16642 for ac_exec_ext in '' $ac_executable_extensions; do
16643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16644 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16645 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16655 if test -n "$CC"; then
16656 { echo "$as_me:$LINENO: result
: $CC" >&5
16657 echo "${ECHO_T}$CC" >&6; }
16659 { echo "$as_me:$LINENO: result
: no
" >&5
16660 echo "${ECHO_T}no
" >&6; }
16665 if test -z "$ac_cv_prog_CC"; then
16667 # Extract the first word of "gcc
", so it can be a program name with args.
16668 set dummy gcc; ac_word=$2
16669 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16672 echo $ECHO_N "(cached
) $ECHO_C" >&6
16674 if test -n "$ac_ct_CC"; then
16675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16678 for as_dir in $PATH
16681 test -z "$as_dir" && as_dir=.
16682 for ac_exec_ext in '' $ac_executable_extensions; do
16683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16684 ac_cv_prog_ac_ct_CC="gcc
"
16685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16695 if test -n "$ac_ct_CC"; then
16696 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16697 echo "${ECHO_T}$ac_ct_CC" >&6; }
16699 { echo "$as_me:$LINENO: result
: no
" >&5
16700 echo "${ECHO_T}no
" >&6; }
16703 if test "x
$ac_ct_CC" = x; then
16706 case $cross_compiling:$ac_tool_warned in
16708 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16709 whose name does not start with the
host triplet. If you think this
16710 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16711 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16712 whose name does not start with the
host triplet. If you think this
16713 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16714 ac_tool_warned=yes ;;
16719 CC="$ac_cv_prog_CC"
16722 if test -z "$CC"; then
16723 if test -n "$ac_tool_prefix"; then
16724 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16725 set dummy ${ac_tool_prefix}cc; ac_word=$2
16726 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16727 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16728 if test "${ac_cv_prog_CC+set}" = set; then
16729 echo $ECHO_N "(cached
) $ECHO_C" >&6
16731 if test -n "$CC"; then
16732 ac_cv_prog_CC="$CC" # Let the user override the test.
16734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16735 for as_dir in $PATH
16738 test -z "$as_dir" && as_dir=.
16739 for ac_exec_ext in '' $ac_executable_extensions; do
16740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16741 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16742 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16752 if test -n "$CC"; then
16753 { echo "$as_me:$LINENO: result
: $CC" >&5
16754 echo "${ECHO_T}$CC" >&6; }
16756 { echo "$as_me:$LINENO: result
: no
" >&5
16757 echo "${ECHO_T}no
" >&6; }
16763 if test -z "$CC"; then
16764 # Extract the first word of "cc
", so it can be a program name with args.
16765 set dummy cc; ac_word=$2
16766 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16768 if test "${ac_cv_prog_CC+set}" = set; then
16769 echo $ECHO_N "(cached
) $ECHO_C" >&6
16771 if test -n "$CC"; then
16772 ac_cv_prog_CC="$CC" # Let the user override the test.
16774 ac_prog_rejected=no
16775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16776 for as_dir in $PATH
16779 test -z "$as_dir" && as_dir=.
16780 for ac_exec_ext in '' $ac_executable_extensions; do
16781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16783 ac_prog_rejected=yes
16787 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16794 if test $ac_prog_rejected = yes; then
16795 # We found a bogon in the path, so make sure we never use it.
16796 set dummy $ac_cv_prog_CC
16798 if test $# != 0; then
16799 # We chose a different compiler from the bogus one.
16800 # However, it has the same basename, so the bogon will be chosen
16801 # first if we set CC to just the basename; use the full file name.
16803 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16809 if test -n "$CC"; then
16810 { echo "$as_me:$LINENO: result
: $CC" >&5
16811 echo "${ECHO_T}$CC" >&6; }
16813 { echo "$as_me:$LINENO: result
: no
" >&5
16814 echo "${ECHO_T}no
" >&6; }
16819 if test -z "$CC"; then
16820 if test -n "$ac_tool_prefix"; then
16821 for ac_prog in cl.exe
16823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16825 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16826 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16827 if test "${ac_cv_prog_CC+set}" = set; then
16828 echo $ECHO_N "(cached
) $ECHO_C" >&6
16830 if test -n "$CC"; then
16831 ac_cv_prog_CC="$CC" # Let the user override the test.
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16841 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16851 if test -n "$CC"; then
16852 { echo "$as_me:$LINENO: result
: $CC" >&5
16853 echo "${ECHO_T}$CC" >&6; }
16855 { echo "$as_me:$LINENO: result
: no
" >&5
16856 echo "${ECHO_T}no
" >&6; }
16860 test -n "$CC" && break
16863 if test -z "$CC"; then
16865 for ac_prog in cl.exe
16867 # Extract the first word of "$ac_prog", so it can be a program name with args.
16868 set dummy $ac_prog; ac_word=$2
16869 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16870 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16872 echo $ECHO_N "(cached
) $ECHO_C" >&6
16874 if test -n "$ac_ct_CC"; then
16875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16878 for as_dir in $PATH
16881 test -z "$as_dir" && as_dir=.
16882 for ac_exec_ext in '' $ac_executable_extensions; do
16883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16884 ac_cv_prog_ac_ct_CC="$ac_prog"
16885 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16895 if test -n "$ac_ct_CC"; then
16896 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16897 echo "${ECHO_T}$ac_ct_CC" >&6; }
16899 { echo "$as_me:$LINENO: result
: no
" >&5
16900 echo "${ECHO_T}no
" >&6; }
16904 test -n "$ac_ct_CC" && break
16907 if test "x
$ac_ct_CC" = x; then
16910 case $cross_compiling:$ac_tool_warned in
16912 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16913 whose name does not start with the
host triplet. If you think this
16914 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16915 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16916 whose name does not start with the
host triplet. If you think this
16917 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16918 ac_tool_warned=yes ;;
16927 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
16928 See \
`config.log' for more details." >&5
16929 echo "$as_me: error: no acceptable C compiler found in \$PATH
16930 See \`config.log
' for more details." >&2;}
16931 { (exit 1); exit 1; }; }
16933 # Provide some information about the compiler.
16934 echo "$as_me:$LINENO: checking for C compiler version" >&5
16935 ac_compiler=`set X $ac_compile; echo $2`
16936 { (ac_try="$ac_compiler --version >&5"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compiler --version >&5") 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }
16946 { (ac_try="$ac_compiler -v >&5"
16947 case "(($ac_try" in
16948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16949 *) ac_try_echo=$ac_try;;
16951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16952 (eval "$ac_compiler -v >&5") 2>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }
16956 { (ac_try="$ac_compiler -V >&5"
16957 case "(($ac_try" in
16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16959 *) ac_try_echo=$ac_try;;
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_compiler -V >&5") 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16982 ac_clean_files_save=$ac_clean_files
16983 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16984 # Try to create an executable without -o first, disregard a.out.
16985 # It will help us diagnose broken compilers, and finding out an intuition
16987 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16988 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16989 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
16991 # List of possible output files, starting from the most likely.
16992 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
16993 # only as a last resort. b.out is created by i960 compilers.
16994 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16996 # The IRIX 6 linker writes into existing files which may not be
16997 # executable, retaining their permissions. Remove them first so a
16998 # subsequent execution test works.
17000 for ac_file
in $ac_files
17003 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17004 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17009 if { (ac_try
="$ac_link_default"
17010 case "(($ac_try" in
17011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_link_default") 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; then
17019 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17020 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17021 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17022 # so that the user can short-circuit this test for compilers unknown to
17024 for ac_file in $ac_files ''
17026 test -f "$ac_file" || continue
17028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17031 # We found the default executable, but exeext='' is most
17035 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17037 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17039 # We set ac_cv_exeext here because the later test for it is not
17040 # safe: cross compilers may not add the suffix if given an `-o'
17041 # argument, so we may need to know it at that point already.
17042 # Even if this section looks crufty: it has the advantage of
17043 # actually working.
17049 test "$ac_cv_exeext" = no && ac_cv_exeext=
17055 { echo "$as_me:$LINENO: result: $ac_file" >&5
17056 echo "${ECHO_T}$ac_file" >&6; }
17057 if test -z "$ac_file"; then
17058 echo "$as_me: failed program was:" >&5
17059 sed 's
/^
/| /' conftest.$ac_ext >&5
17061 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17062 See \`config.log' for more details.
" >&5
17063 echo "$as_me: error
: C compiler cannot create executables
17064 See \
`config.log' for more details." >&2;}
17065 { (exit 77); exit 77; }; }
17068 ac_exeext=$ac_cv_exeext
17070 # Check that the compiler produces executables we can run. If not, either
17071 # the compiler is broken, or we cross compile.
17072 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17073 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17074 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17075 # If not cross compiling, check that we can run a simple program.
17076 if test "$cross_compiling" != yes; then
17077 if { ac_try='./$ac_file'
17078 { (case "(($ac_try" in
17079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17080 *) ac_try_echo
=$ac_try;;
17082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17083 (eval "$ac_try") 2>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; }; then
17089 if test "$cross_compiling" = maybe
; then
17090 cross_compiling
=yes
17092 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17093 If you meant to cross compile, use \`--host'.
17094 See \`config.log' for more details." >&5
17095 echo "$as_me: error: cannot run C compiled programs.
17096 If you meant to cross compile, use \`--host'.
17097 See \`config.log' for more details." >&2;}
17098 { (exit 1); exit 1; }; }
17102 { echo "$as_me:$LINENO: result: yes" >&5
17103 echo "${ECHO_T}yes" >&6; }
17105 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17106 ac_clean_files
=$ac_clean_files_save
17107 # Check that the compiler produces executables we can run. If not, either
17108 # the compiler is broken, or we cross compile.
17109 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17111 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17112 echo "${ECHO_T}$cross_compiling" >&6; }
17114 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17116 if { (ac_try
="$ac_link"
17117 case "(($ac_try" in
17118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17119 *) ac_try_echo=$ac_try;;
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17122 (eval "$ac_link") 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; then
17126 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17127 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17128 # work properly (i.e., refer to `conftest.exe'), while it won't with
17130 for ac_file
in conftest.exe conftest conftest.
*; do
17131 test -f "$ac_file" || continue
17133 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17134 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17140 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17141 See \`config.log' for more details." >&5
17142 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17143 See \`config.log' for more details." >&2;}
17144 { (exit 1); exit 1; }; }
17147 rm -f conftest
$ac_cv_exeext
17148 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17149 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17151 rm -f conftest.
$ac_ext
17152 EXEEXT
=$ac_cv_exeext
17154 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17155 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17156 if test "${ac_cv_objext+set}" = set; then
17157 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 cat >conftest.
$ac_ext <<_ACEOF
17162 cat confdefs.h
>>conftest.
$ac_ext
17163 cat >>conftest.
$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17174 rm -f conftest.o conftest.obj
17175 if { (ac_try
="$ac_compile"
17176 case "(($ac_try" in
17177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17178 *) ac_try_echo=$ac_try;;
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_compile") 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; then
17185 for ac_file in conftest.o conftest.obj conftest.*; do
17186 test -f "$ac_file" || continue;
17188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17194 echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.$ac_ext >&5
17197 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17198 See \`config.log
' for more details." >&5
17199 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17200 See \`config.log' for more details.
" >&2;}
17201 { (exit 1); exit 1; }; }
17204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17206 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17207 echo "${ECHO_T}$ac_cv_objext" >&6; }
17208 OBJEXT=$ac_cv_objext
17210 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17211 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17212 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17213 echo $ECHO_N "(cached
) $ECHO_C" >&6
17215 cat >conftest.$ac_ext <<_ACEOF
17218 cat confdefs.h >>conftest.$ac_ext
17219 cat >>conftest.$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17233 rm -f conftest.$ac_objext
17234 if { (ac_try="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17239 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17242 grep -v '^ *+' conftest.er1 >conftest.err
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_c_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.$ac_objext; then
17250 ac_compiler_gnu=yes
17252 echo "$as_me: failed program was
:" >&5
17253 sed 's/^/| /' conftest.$ac_ext >&5
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17262 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17263 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17264 GCC=`test $ac_compiler_gnu = yes && echo yes`
17265 ac_test_CFLAGS=${CFLAGS+set}
17266 ac_save_CFLAGS=$CFLAGS
17267 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17268 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17269 if test "${ac_cv_prog_cc_g+set}" = set; then
17270 echo $ECHO_N "(cached
) $ECHO_C" >&6
17272 ac_save_c_werror_flag=$ac_c_werror_flag
17273 ac_c_werror_flag=yes
17276 cat >conftest.$ac_ext <<_ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17291 rm -f conftest.$ac_objext
17292 if { (ac_try="$ac_compile"
17293 case "(($ac_try" in
17294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17295 *) ac_try_echo=$ac_try;;
17297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17300 grep -v '^ *+' conftest.er1 >conftest.err
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.$ac_objext; then
17308 ac_cv_prog_cc_g=yes
17310 echo "$as_me: failed program was
:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17314 cat >conftest.$ac_ext <<_ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17348 echo "$as_me: failed program was
:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 ac_c_werror_flag=$ac_save_c_werror_flag
17353 cat >conftest.$ac_ext <<_ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17377 grep -v '^ *+' conftest.er1 >conftest.err
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_c_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.$ac_objext; then
17385 ac_cv_prog_cc_g=yes
17387 echo "$as_me: failed program was
:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 ac_c_werror_flag=$ac_save_c_werror_flag
17402 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17403 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17404 if test "$ac_test_CFLAGS" = set; then
17405 CFLAGS=$ac_save_CFLAGS
17406 elif test $ac_cv_prog_cc_g = yes; then
17407 if test "$GCC" = yes; then
17413 if test "$GCC" = yes; then
17419 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17420 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17421 if test "${ac_cv_prog_cc_c89+set}" = set; then
17422 echo $ECHO_N "(cached
) $ECHO_C" >&6
17424 ac_cv_prog_cc_c89=no
17426 cat >conftest.$ac_ext <<_ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 #include <stdarg.h>
17434 #include <sys/types.h>
17435 #include <sys/stat.h>
17436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17437 struct buf { int x; };
17438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17439 static char *e (p, i)
17445 static char *f (char * (*g) (char **, int), char **p, ...)
17450 s = g (p, va_arg (v,int));
17455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17456 function prototypes and stuff, but not '\xHH' hex character constants.
17457 These don't provoke an error unfortunately, instead are silently treated
17458 as 'x'. The following induces an error, until -std is added to get
17459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17460 array size at least. It's necessary to write '\x00'==0 to get something
17461 that's true only with -std. */
17462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17465 inside strings and character constants. */
17467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17469 int test (int i, double x);
17470 struct s1 {int (*f) (int a);};
17471 struct s2 {int (*f) (double a);};
17472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17486 CC="$ac_save_CC $ac_arg"
17487 rm -f conftest.$ac_objext
17488 if { (ac_try="$ac_compile"
17489 case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_compile") 2>conftest.er1
17496 grep -v '^ *+' conftest.er1 >conftest.err
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17500 (exit $ac_status); } && {
17501 test -z "$ac_c_werror_flag" ||
17502 test ! -s conftest.err
17503 } && test -s conftest.$ac_objext; then
17504 ac_cv_prog_cc_c89=$ac_arg
17506 echo "$as_me: failed program was
:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17512 rm -f core conftest.err conftest.$ac_objext
17513 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17515 rm -f conftest.$ac_ext
17520 case "x
$ac_cv_prog_cc_c89" in
17522 { echo "$as_me:$LINENO: result
: none needed
" >&5
17523 echo "${ECHO_T}none needed
" >&6; } ;;
17525 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17526 echo "${ECHO_T}unsupported
" >&6; } ;;
17528 CC="$CC $ac_cv_prog_cc_c89"
17529 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17530 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17550 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17551 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17552 echo $ECHO_N "(cached
) $ECHO_C" >&6
17554 cat >conftest.$ac_ext <<_ACEOF
17557 cat confdefs.h >>conftest.$ac_ext
17558 cat >>conftest.$ac_ext <<_ACEOF
17559 /* end confdefs.h. */
17565 #ifndef __INTEL_COMPILER
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1 >conftest.err
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17592 echo "$as_me: failed program was
:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 bakefile_cv_c_compiler___INTEL_COMPILER=no
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17604 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17605 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17611 ac_cpp='$CPP $CPPFLAGS'
17612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619 if test "x
$GCC" != "xyes
"; then
17620 if test "xCC
" = "xC
"; then
17621 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17622 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17623 if test "${bakefile_cv_c_exto+set}" = set; then
17624 echo $ECHO_N "(cached
) $ECHO_C" >&6
17626 cat >conftest.$ac_ext <<_ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h. */
17641 rm -f conftest.$ac_objext conftest.$ac_ext.o
17642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17643 (eval $ac_compile) 2>&5
17645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17646 (exit $ac_status); }; then
17647 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17649 conftest.$ac_ext.o)
17650 bakefile_cv_c_exto="-ext o
"
17657 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17658 See \
`config.log' for more details." >&5
17659 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17660 See \`config.log
' for more details." >&2;}
17661 { (exit 1); exit 1; }; }
17665 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17668 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17669 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17670 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17671 if test "c" = "c"; then
17672 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17674 if test "c" = "cxx"; then
17675 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17679 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17680 unset ac_cv_prog_cc_g
17681 ac_test_CFLAGS=${CFLAGS+set}
17682 ac_save_CFLAGS=$CFLAGS
17683 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17684 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17685 if test "${ac_cv_prog_cc_g+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 ac_save_c_werror_flag=$ac_c_werror_flag
17689 ac_c_werror_flag=yes
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17707 rm -f conftest.$ac_objext
17708 if { (ac_try="$ac_compile"
17709 case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_compile") 2>conftest.er1
17716 grep -v '^
*+' conftest.er1 >conftest.err
17718 cat conftest.err >&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest.$ac_objext; then
17724 ac_cv_prog_cc_g=yes
17726 echo "$as_me: failed program was:" >&5
17727 sed 's
/^
/| /' conftest.$ac_ext >&5
17730 cat >conftest.$ac_ext <<_ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17745 rm -f conftest.$ac_objext
17746 if { (ac_try="$ac_compile"
17747 case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_compile") 2>conftest.er1
17754 grep -v '^
*+' conftest.er1 >conftest.err
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_c_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest.$ac_objext; then
17764 echo "$as_me: failed program was:" >&5
17765 sed 's
/^
/| /' conftest.$ac_ext >&5
17767 ac_c_werror_flag=$ac_save_c_werror_flag
17769 cat >conftest.$ac_ext <<_ACEOF
17772 cat confdefs.h >>conftest.$ac_ext
17773 cat >>conftest.$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17784 rm -f conftest.$ac_objext
17785 if { (ac_try="$ac_compile"
17786 case "(($ac_try" in
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 *) ac_try_echo=$ac_try;;
17790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17791 (eval "$ac_compile") 2>conftest.er1
17793 grep -v '^
*+' conftest.er1 >conftest.err
17795 cat conftest.err >&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } && {
17798 test -z "$ac_c_werror_flag" ||
17799 test ! -s conftest.err
17800 } && test -s conftest.$ac_objext; then
17801 ac_cv_prog_cc_g=yes
17803 echo "$as_me: failed program was:" >&5
17804 sed 's
/^
/| /' conftest.$ac_ext >&5
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 ac_c_werror_flag=$ac_save_c_werror_flag
17818 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17819 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17820 if test "$ac_test_CFLAGS" = set; then
17821 CFLAGS=$ac_save_CFLAGS
17822 elif test $ac_cv_prog_cc_g = yes; then
17823 if test "$GCC" = yes; then
17829 if test "$GCC" = yes; then
17843 ac_cpp='$CPP $CPPFLAGS'
17844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17845 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17848 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17849 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17850 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17876 *) ac_try_echo=$ac_try;;
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17881 grep -v '^
*+' conftest.er1 >conftest.err
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.$ac_objext; then
17889 bakefile_cv_c_compiler___xlC__=yes
17891 echo "$as_me: failed program was:" >&5
17892 sed 's
/^
/| /' conftest.$ac_ext >&5
17894 bakefile_cv_c_compiler___xlC__=no
17898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17902 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17903 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17904 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17910 ac_cpp='$CPP $CPPFLAGS'
17911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17923 ac_cpp='$CPP $CPPFLAGS'
17924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17925 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17929 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17930 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.$ac_ext <<_ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^
*+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 bakefile_cv_c_compiler___MWERKS__=yes
17971 echo "$as_me: failed program was:" >&5
17972 sed 's
/^
/| /' conftest.$ac_ext >&5
17974 bakefile_cv_c_compiler___MWERKS__=no
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17983 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17984 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17990 ac_cpp='$CPP $CPPFLAGS'
17991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17992 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18000 ac_cpp='$CPP $CPPFLAGS'
18001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18002 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18005 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18006 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18007 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18008 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 cat >conftest.$ac_ext <<_ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18038 grep -v '^
*+' conftest.er1 >conftest.err
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 bakefile_cv_c_compiler___xlC__=yes
18048 echo "$as_me: failed program was:" >&5
18049 sed 's
/^
/| /' conftest.$ac_ext >&5
18051 bakefile_cv_c_compiler___xlC__=no
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18060 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18061 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18067 ac_cpp='$CPP $CPPFLAGS'
18068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18069 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18082 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18085 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18086 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18087 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 cat >conftest.$ac_ext <<_ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18101 #ifndef _SGI_COMPILER_VERSION
18109 rm -f conftest.$ac_objext
18110 if { (ac_try="$ac_compile"
18111 case "(($ac_try" in
18112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18113 *) ac_try_echo=$ac_try;;
18115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18116 (eval "$ac_compile") 2>conftest.er1
18118 grep -v '^
*+' conftest.er1 >conftest.err
18120 cat conftest.err >&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && {
18123 test -z "$ac_c_werror_flag" ||
18124 test ! -s conftest.err
18125 } && test -s conftest.$ac_objext; then
18126 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's
/^
/| /' conftest.$ac_ext >&5
18131 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18140 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18141 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18147 ac_cpp='$CPP $CPPFLAGS'
18148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18149 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18160 ac_cpp='$CPP $CPPFLAGS'
18161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18162 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18166 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18167 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 cat >conftest.$ac_ext <<_ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18189 rm -f conftest.$ac_objext
18190 if { (ac_try="$ac_compile"
18191 case "(($ac_try" in
18192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18193 *) ac_try_echo=$ac_try;;
18195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18196 (eval "$ac_compile") 2>conftest.er1
18198 grep -v '^
*+' conftest.er1 >conftest.err
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then
18206 bakefile_cv_c_compiler___SUNPRO_C=yes
18208 echo "$as_me: failed program was:" >&5
18209 sed 's
/^
/| /' conftest.$ac_ext >&5
18211 bakefile_cv_c_compiler___SUNPRO_C=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18220 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18221 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18227 ac_cpp='$CPP $CPPFLAGS'
18228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18229 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18240 ac_cpp='$CPP $CPPFLAGS'
18241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18242 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18246 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18247 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 cat >conftest.$ac_ext <<_ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18269 rm -f conftest.$ac_objext
18270 if { (ac_try="$ac_compile"
18271 case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_compile") 2>conftest.er1
18278 grep -v '^
*+' conftest.er1 >conftest.err
18280 cat conftest.err >&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } && {
18283 test -z "$ac_c_werror_flag" ||
18284 test ! -s conftest.err
18285 } && test -s conftest.$ac_objext; then
18286 bakefile_cv_c_compiler___HP_cc=yes
18288 echo "$as_me: failed program was:" >&5
18289 sed 's
/^
/| /' conftest.$ac_ext >&5
18291 bakefile_cv_c_compiler___HP_cc=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18300 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18301 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18307 ac_cpp='$CPP $CPPFLAGS'
18308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18320 ac_cpp='$CPP $CPPFLAGS'
18321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18326 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18327 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 cat >conftest.$ac_ext <<_ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18349 rm -f conftest.$ac_objext
18350 if { (ac_try="$ac_compile"
18351 case "(($ac_try" in
18352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18353 *) ac_try_echo=$ac_try;;
18355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18356 (eval "$ac_compile") 2>conftest.er1
18358 grep -v '^
*+' conftest.er1 >conftest.err
18360 cat conftest.err >&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); } && {
18363 test -z "$ac_c_werror_flag" ||
18364 test ! -s conftest.err
18365 } && test -s conftest.$ac_objext; then
18366 bakefile_cv_c_compiler___DECC=yes
18368 echo "$as_me: failed program was:" >&5
18369 sed 's
/^
/| /' conftest.$ac_ext >&5
18371 bakefile_cv_c_compiler___DECC=no
18375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18380 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18381 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18389 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18402 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18406 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18407 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 cat >conftest.$ac_ext <<_ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18429 rm -f conftest.$ac_objext
18430 if { (ac_try="$ac_compile"
18431 case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compile") 2>conftest.er1
18438 grep -v '^
*+' conftest.er1 >conftest.err
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } && {
18443 test -z "$ac_c_werror_flag" ||
18444 test ! -s conftest.err
18445 } && test -s conftest.$ac_objext; then
18446 bakefile_cv_c_compiler___SUNPRO_C=yes
18448 echo "$as_me: failed program was:" >&5
18449 sed 's
/^
/| /' conftest.$ac_ext >&5
18451 bakefile_cv_c_compiler___SUNPRO_C=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18460 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18461 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18467 ac_cpp='$CPP $CPPFLAGS'
18468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18469 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18486 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18487 # On Suns, sometimes $CPP names a directory.
18488 if test -n "$CPP" && test -d "$CPP"; then
18491 if test -z "$CPP"; then
18492 if test "${ac_cv_prog_CPP+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 # Double quotes because CPP needs to be expanded
18496 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18498 ac_preproc_ok=false
18499 for ac_c_preproc_warn_flag in '' yes
18501 # Use a header file that comes with gcc, so configuring glibc
18502 # with a fresh cross-compiler works.
18503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18504 # <limits.h> exists even on freestanding compilers.
18505 # On the NeXT, cc -E runs the code through the compiler's parser
,
18506 # not just through cpp. "Syntax error" is here to catch this case.
18507 cat >conftest.
$ac_ext <<_ACEOF
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18514 # include <limits.h>
18516 # include <assert.h>
18520 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18521 case "(($ac_try" in
18522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18528 grep -v '^ *+' conftest.er1 >conftest.err
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } >/dev/null && {
18533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 # Broken: fails on valid input.
18545 rm -f conftest.err conftest.$ac_ext
18547 # OK, works on sane cases. Now check whether nonexistent headers
18548 # can be detected and how.
18549 cat >conftest.$ac_ext <<_ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 #include <ac_nonexistent.h>
18557 if { (ac_try="$ac_cpp conftest.$ac_ext"
18558 case "(($ac_try" in
18559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18560 *) ac_try_echo
=$ac_try;;
18562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } >/dev
/null
&& {
18570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18571 test ! -s conftest.err
18573 # Broken: success on invalid input.
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.
$ac_ext >&5
18579 # Passes both tests.
18584 rm -f conftest.err conftest.
$ac_ext
18587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18588 rm -f conftest.err conftest.
$ac_ext
18589 if $ac_preproc_ok; then
18594 ac_cv_prog_CPP
=$CPP
18597 CPP
=$ac_cv_prog_CPP
18599 ac_cv_prog_CPP
=$CPP
18601 { echo "$as_me:$LINENO: result: $CPP" >&5
18602 echo "${ECHO_T}$CPP" >&6; }
18603 ac_preproc_ok
=false
18604 for ac_c_preproc_warn_flag
in '' yes
18606 # Use a header file that comes with gcc, so configuring glibc
18607 # with a fresh cross-compiler works.
18608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18609 # <limits.h> exists even on freestanding compilers.
18610 # On the NeXT, cc -E runs the code through the compiler's parser,
18611 # not just through cpp. "Syntax error" is here to catch this case.
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18619 # include <limits.h>
18621 # include <assert.h>
18625 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18626 case "(($ac_try" in
18627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18633 grep -v '^ *+' conftest.er1 >conftest.err
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } >/dev/null && {
18638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18646 # Broken: fails on valid input.
18650 rm -f conftest.err conftest.$ac_ext
18652 # OK, works on sane cases. Now check whether nonexistent headers
18653 # can be detected and how.
18654 cat >conftest.$ac_ext <<_ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 #include <ac_nonexistent.h>
18662 if { (ac_try="$ac_cpp conftest.$ac_ext"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18665 *) ac_try_echo
=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1
>conftest.err
18672 cat conftest.err
>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } >/dev
/null
&& {
18675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18678 # Broken: success on invalid input.
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.
$ac_ext >&5
18684 # Passes both tests.
18689 rm -f conftest.err conftest.
$ac_ext
18692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18693 rm -f conftest.err conftest.
$ac_ext
18694 if $ac_preproc_ok; then
18697 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18698 See \`config.log' for more details." >&5
18699 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18700 See \`config.log' for more details." >&2;}
18701 { (exit 1); exit 1; }; }
18705 ac_cpp
='$CPP $CPPFLAGS'
18706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18711 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18712 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18713 if test "${ac_cv_path_GREP+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 # Extract the first word of "grep ggrep" to use in msg output
18717 if test -z "$GREP"; then
18718 set dummy
grep ggrep
; ac_prog_name
=$2
18719 if test "${ac_cv_path_GREP+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 ac_path_GREP_found
=false
18723 # Loop through the user's path and test for each of PROGNAME-LIST
18724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18725 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18728 test -z "$as_dir" && as_dir
=.
18729 for ac_prog
in grep ggrep
; do
18730 for ac_exec_ext
in '' $ac_executable_extensions; do
18731 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18732 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18733 # Check for GNU ac_path_GREP and select it if it is found.
18734 # Check for GNU $ac_path_GREP
18735 case `"$ac_path_GREP" --version 2>&1` in
18737 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18740 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18743 cat "conftest.in" "conftest.in" >"conftest.tmp"
18744 mv "conftest.tmp" "conftest.in"
18745 cp "conftest.in" "conftest.nl"
18746 echo 'GREP' >> "conftest.nl"
18747 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18748 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18749 ac_count
=`expr $ac_count + 1`
18750 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18751 # Best one so far, save it but keep looking for a better one
18752 ac_cv_path_GREP
="$ac_path_GREP"
18753 ac_path_GREP_max
=$ac_count
18755 # 10*(2^10) chars as input seems more than enough
18756 test $ac_count -gt 10 && break
18758 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18762 $ac_path_GREP_found && break 3
18772 GREP
="$ac_cv_path_GREP"
18773 if test -z "$GREP"; then
18774 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18775 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18776 { (exit 1); exit 1; }; }
18780 ac_cv_path_GREP
=$GREP
18785 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18786 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18787 GREP
="$ac_cv_path_GREP"
18790 { echo "$as_me:$LINENO: checking for egrep" >&5
18791 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18792 if test "${ac_cv_path_EGREP+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18796 then ac_cv_path_EGREP
="$GREP -E"
18798 # Extract the first word of "egrep" to use in msg output
18799 if test -z "$EGREP"; then
18800 set dummy
egrep; ac_prog_name
=$2
18801 if test "${ac_cv_path_EGREP+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 ac_path_EGREP_found
=false
18805 # Loop through the user's path and test for each of PROGNAME-LIST
18806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18807 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18810 test -z "$as_dir" && as_dir
=.
18811 for ac_prog
in egrep; do
18812 for ac_exec_ext
in '' $ac_executable_extensions; do
18813 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18814 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18815 # Check for GNU ac_path_EGREP and select it if it is found.
18816 # Check for GNU $ac_path_EGREP
18817 case `"$ac_path_EGREP" --version 2>&1` in
18819 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18822 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18825 cat "conftest.in" "conftest.in" >"conftest.tmp"
18826 mv "conftest.tmp" "conftest.in"
18827 cp "conftest.in" "conftest.nl"
18828 echo 'EGREP' >> "conftest.nl"
18829 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18830 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18831 ac_count
=`expr $ac_count + 1`
18832 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18833 # Best one so far, save it but keep looking for a better one
18834 ac_cv_path_EGREP
="$ac_path_EGREP"
18835 ac_path_EGREP_max
=$ac_count
18837 # 10*(2^10) chars as input seems more than enough
18838 test $ac_count -gt 10 && break
18840 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18844 $ac_path_EGREP_found && break 3
18854 EGREP
="$ac_cv_path_EGREP"
18855 if test -z "$EGREP"; then
18856 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18857 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18858 { (exit 1); exit 1; }; }
18862 ac_cv_path_EGREP
=$EGREP
18868 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18869 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18870 EGREP
="$ac_cv_path_EGREP"
18873 if test $ac_cv_c_compiler_gnu = yes; then
18874 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18875 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18876 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_pattern
="Autoconf.*'x'"
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18890 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18891 ac_cv_prog_gcc_traditional
=yes
18893 ac_cv_prog_gcc_traditional
=no
18898 if test $ac_cv_prog_gcc_traditional = no
; then
18899 cat >conftest.
$ac_ext <<_ACEOF
18902 cat confdefs.h
>>conftest.
$ac_ext
18903 cat >>conftest.
$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <termio.h>
18908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18909 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18910 ac_cv_prog_gcc_traditional
=yes
18916 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18917 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18918 if test $ac_cv_prog_gcc_traditional = yes; then
18919 CC
="$CC -traditional"
18924 CXXFLAGS
=${CXXFLAGS:=}
18929 ac_cpp
='$CXXCPP $CPPFLAGS'
18930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18933 if test -z "$CXX"; then
18934 if test -n "$CCC"; then
18937 if test -n "$ac_tool_prefix"; then
18938 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18944 if test "${ac_cv_prog_CXX+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 if test -n "$CXX"; then
18948 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18951 for as_dir
in $PATH
18954 test -z "$as_dir" && as_dir
=.
18955 for ac_exec_ext
in '' $ac_executable_extensions; do
18956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18957 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18967 CXX
=$ac_cv_prog_CXX
18968 if test -n "$CXX"; then
18969 { echo "$as_me:$LINENO: result: $CXX" >&5
18970 echo "${ECHO_T}$CXX" >&6; }
18972 { echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6; }
18977 test -n "$CXX" && break
18980 if test -z "$CXX"; then
18982 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18984 # Extract the first word of "$ac_prog", so it can be a program name with args.
18985 set dummy
$ac_prog; ac_word
=$2
18986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18988 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 if test -n "$ac_ct_CXX"; then
18992 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18995 for as_dir
in $PATH
18998 test -z "$as_dir" && as_dir
=.
18999 for ac_exec_ext
in '' $ac_executable_extensions; do
19000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19001 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19011 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19012 if test -n "$ac_ct_CXX"; then
19013 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19014 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19016 { echo "$as_me:$LINENO: result: no" >&5
19017 echo "${ECHO_T}no" >&6; }
19021 test -n "$ac_ct_CXX" && break
19024 if test "x$ac_ct_CXX" = x
; then
19027 case $cross_compiling:$ac_tool_warned in
19029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19030 whose name does not start with the host triplet. If you think this
19031 configuration is useful to you, please write to autoconf@gnu.org." >&5
19032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19033 whose name does not start with the host triplet. If you think this
19034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19035 ac_tool_warned
=yes ;;
19043 # Provide some information about the compiler.
19044 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19045 ac_compiler
=`set X $ac_compile; echo $2`
19046 { (ac_try
="$ac_compiler --version >&5"
19047 case "(($ac_try" in
19048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compiler --version >&5") 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }
19056 { (ac_try="$ac_compiler -v >&5"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19059 *) ac_try_echo
=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compiler -v >&5") 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }
19066 { (ac_try
="$ac_compiler -V >&5"
19067 case "(($ac_try" in
19068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_compiler -V >&5") 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }
19077 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19078 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19079 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 cat >conftest.$ac_ext <<_ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19100 rm -f conftest.$ac_objext
19101 if { (ac_try="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19104 *) ac_try_echo
=$ac_try;;
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19109 grep -v '^ *+' conftest.er1
>conftest.err
19111 cat conftest.err
>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_cxx_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.
$ac_objext; then
19117 ac_compiler_gnu
=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.
$ac_ext >&5
19125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19129 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19130 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19131 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19132 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19133 ac_save_CXXFLAGS
=$CXXFLAGS
19134 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19135 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19136 if test "${ac_cv_prog_cxx_g+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19140 ac_cxx_werror_flag
=yes
19141 ac_cv_prog_cxx_g
=no
19143 cat >conftest.
$ac_ext <<_ACEOF
19146 cat confdefs.h
>>conftest.
$ac_ext
19147 cat >>conftest.
$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19158 rm -f conftest.
$ac_objext
19159 if { (ac_try
="$ac_compile"
19160 case "(($ac_try" in
19161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
19167 grep -v '^ *+' conftest.er1 >conftest.err
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && {
19172 test -z "$ac_cxx_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
19175 ac_cv_prog_cxx_g=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19196 rm -f conftest.$ac_objext
19197 if { (ac_try="$ac_compile"
19198 case "(($ac_try" in
19199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19200 *) ac_try_echo
=$ac_try;;
19202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19203 (eval "$ac_compile") 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } && {
19210 test -z "$ac_cxx_werror_flag" ||
19211 test ! -s conftest.err
19212 } && test -s conftest.
$ac_objext; then
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.
$ac_ext >&5
19218 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19220 cat >conftest.
$ac_ext <<_ACEOF
19223 cat confdefs.h
>>conftest.
$ac_ext
19224 cat >>conftest.
$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19235 rm -f conftest.
$ac_objext
19236 if { (ac_try
="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19244 grep -v '^ *+' conftest.er1 >conftest.err
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_cxx_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.$ac_objext; then
19252 ac_cv_prog_cxx_g=yes
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19269 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19270 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19271 if test "$ac_test_CXXFLAGS" = set; then
19272 CXXFLAGS=$ac_save_CXXFLAGS
19273 elif test $ac_cv_prog_cxx_g = yes; then
19274 if test "$GXX" = yes; then
19280 if test "$GXX" = yes; then
19287 ac_cpp='$CPP $CPPFLAGS'
19288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19296 ac_cpp='$CXXCPP $CPPFLAGS'
19297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19301 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19302 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19303 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 cat >conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19317 #ifndef __INTEL_COMPILER
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19329 *) ac_try_echo
=$ac_try;;
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19334 grep -v '^ *+' conftest.er1
>conftest.err
19336 cat conftest.err
>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_cxx_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.
$ac_objext; then
19342 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19356 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19357 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19363 ac_cpp
='$CPP $CPPFLAGS'
19364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19371 if test "x$GCXX" != "xyes"; then
19372 if test "xCXX" = "xC"; then
19373 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19374 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19375 if test "${bakefile_cv_c_exto+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 cat >conftest.
$ac_ext <<_ACEOF
19381 cat confdefs.h
>>conftest.
$ac_ext
19382 cat >>conftest.
$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19393 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; then
19399 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19401 conftest.
$ac_ext.o
)
19402 bakefile_cv_c_exto
="-ext o"
19409 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19410 See \`config.log' for more details." >&5
19411 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19412 See \`config.log' for more details." >&2;}
19413 { (exit 1); exit 1; }; }
19417 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19420 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19421 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19422 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19423 if test "c" = "c"; then
19424 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19426 if test "c" = "cxx"; then
19427 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19431 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19432 unset ac_cv_prog_cc_g
19433 ac_test_CFLAGS
=${CFLAGS+set}
19434 ac_save_CFLAGS
=$CFLAGS
19435 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19436 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19437 if test "${ac_cv_prog_cc_g+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 ac_save_c_werror_flag
=$ac_c_werror_flag
19441 ac_c_werror_flag
=yes
19444 cat >conftest.
$ac_ext <<_ACEOF
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19459 rm -f conftest.
$ac_objext
19460 if { (ac_try
="$ac_compile"
19461 case "(($ac_try" in
19462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19463 *) ac_try_echo=$ac_try;;
19465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19466 (eval "$ac_compile") 2>conftest.er1
19468 grep -v '^ *+' conftest.er1 >conftest.err
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && {
19473 test -z "$ac_c_werror_flag" ||
19474 test ! -s conftest.err
19475 } && test -s conftest.$ac_objext; then
19476 ac_cv_prog_cc_g=yes
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19482 cat >conftest.$ac_ext <<_ACEOF
19485 cat confdefs.h >>conftest.$ac_ext
19486 cat >>conftest.$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19501 *) ac_try_echo
=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.
$ac_objext; then
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.
$ac_ext >&5
19519 ac_c_werror_flag
=$ac_save_c_werror_flag
19521 cat >conftest.
$ac_ext <<_ACEOF
19524 cat confdefs.h
>>conftest.
$ac_ext
19525 cat >>conftest.
$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19536 rm -f conftest.
$ac_objext
19537 if { (ac_try
="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_cv_prog_cc_g=yes
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 ac_c_werror_flag=$ac_save_c_werror_flag
19570 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19571 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19572 if test "$ac_test_CFLAGS" = set; then
19573 CFLAGS=$ac_save_CFLAGS
19574 elif test $ac_cv_prog_cc_g = yes; then
19575 if test "$GCC" = yes; then
19581 if test "$GCC" = yes; then
19595 ac_cpp='$CXXCPP $CPPFLAGS'
19596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19600 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19601 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19602 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19624 rm -f conftest.$ac_objext
19625 if { (ac_try="$ac_compile"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19628 *) ac_try_echo
=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compile") 2>conftest.er1
19633 grep -v '^ *+' conftest.er1
>conftest.err
19635 cat conftest.err
>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } && {
19638 test -z "$ac_cxx_werror_flag" ||
19639 test ! -s conftest.err
19640 } && test -s conftest.
$ac_objext; then
19641 bakefile_cv_cxx_compiler___xlC__
=yes
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19646 bakefile_cv_cxx_compiler___xlC__
=no
19650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19655 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19656 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19662 ac_cpp
='$CPP $CPPFLAGS'
19663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19675 ac_cpp
='$CXXCPP $CPPFLAGS'
19676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19680 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19681 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19682 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 cat >conftest.
$ac_ext <<_ACEOF
19688 cat confdefs.h
>>conftest.
$ac_ext
19689 cat >>conftest.
$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19704 rm -f conftest.
$ac_objext
19705 if { (ac_try
="$ac_compile"
19706 case "(($ac_try" in
19707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_compile") 2>conftest.er1
19713 grep -v '^ *+' conftest.er1 >conftest.err
19715 cat conftest.err >&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } && {
19718 test -z "$ac_cxx_werror_flag" ||
19719 test ! -s conftest.err
19720 } && test -s conftest.$ac_objext; then
19721 bakefile_cv_cxx_compiler___MWERKS__=yes
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 bakefile_cv_cxx_compiler___MWERKS__=no
19730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19735 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19736 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19742 ac_cpp='$CPP $CPPFLAGS'
19743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19752 ac_cpp='$CXXCPP $CPPFLAGS'
19753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19757 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19758 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19759 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19760 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 cat >conftest.$ac_ext <<_ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19781 rm -f conftest.$ac_objext
19782 if { (ac_try="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19785 *) ac_try_echo
=$ac_try;;
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_compile") 2>conftest.er1
19790 grep -v '^ *+' conftest.er1
>conftest.err
19792 cat conftest.err
>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } && {
19795 test -z "$ac_cxx_werror_flag" ||
19796 test ! -s conftest.err
19797 } && test -s conftest.
$ac_objext; then
19798 bakefile_cv_cxx_compiler___xlC__
=yes
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.
$ac_ext >&5
19803 bakefile_cv_cxx_compiler___xlC__
=no
19807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19812 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19813 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19819 ac_cpp
='$CPP $CPPFLAGS'
19820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19832 ac_cpp
='$CXXCPP $CPPFLAGS'
19833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19837 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19838 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19839 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 cat >conftest.
$ac_ext <<_ACEOF
19845 cat confdefs.h
>>conftest.
$ac_ext
19846 cat >>conftest.
$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19853 #ifndef _SGI_COMPILER_VERSION
19861 rm -f conftest.
$ac_objext
19862 if { (ac_try
="$ac_compile"
19863 case "(($ac_try" in
19864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19865 *) ac_try_echo=$ac_try;;
19867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19870 grep -v '^ *+' conftest.er1 >conftest.err
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_cxx_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19892 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19893 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19899 ac_cpp='$CPP $CPPFLAGS'
19900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19912 ac_cpp='$CXXCPP $CPPFLAGS'
19913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19917 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19918 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19919 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19933 #ifndef __SUNPRO_CC
19941 rm -f conftest.$ac_objext
19942 if { (ac_try="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19945 *) ac_try_echo
=$ac_try;;
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19950 grep -v '^ *+' conftest.er1
>conftest.err
19952 cat conftest.err
>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_cxx_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.
$ac_objext; then
19958 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.
$ac_ext >&5
19963 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19971 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19972 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19973 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19979 ac_cpp
='$CPP $CPPFLAGS'
19980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19992 ac_cpp
='$CXXCPP $CPPFLAGS'
19993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19997 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19998 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19999 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 cat >conftest.
$ac_ext <<_ACEOF
20005 cat confdefs.h
>>conftest.
$ac_ext
20006 cat >>conftest.
$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20021 rm -f conftest.
$ac_objext
20022 if { (ac_try
="$ac_compile"
20023 case "(($ac_try" in
20024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20025 *) ac_try_echo=$ac_try;;
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_compile") 2>conftest.er1
20030 grep -v '^ *+' conftest.er1 >conftest.err
20032 cat conftest.err >&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } && {
20035 test -z "$ac_cxx_werror_flag" ||
20036 test ! -s conftest.err
20037 } && test -s conftest.$ac_objext; then
20038 bakefile_cv_cxx_compiler___HP_aCC=yes
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20043 bakefile_cv_cxx_compiler___HP_aCC=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20052 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20053 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20059 ac_cpp='$CPP $CPPFLAGS'
20060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20072 ac_cpp='$CXXCPP $CPPFLAGS'
20073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20078 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20079 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 cat >conftest.$ac_ext <<_ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20105 *) ac_try_echo
=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1
>conftest.err
20112 cat conftest.err
>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_cxx_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.
$ac_objext; then
20118 bakefile_cv_cxx_compiler___DECCXX
=yes
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.
$ac_ext >&5
20123 bakefile_cv_cxx_compiler___DECCXX
=no
20127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20131 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20132 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20133 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20139 ac_cpp
='$CPP $CPPFLAGS'
20140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20152 ac_cpp
='$CXXCPP $CPPFLAGS'
20153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20157 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20158 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20159 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20160 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 cat >conftest.
$ac_ext <<_ACEOF
20165 cat confdefs.h
>>conftest.
$ac_ext
20166 cat >>conftest.
$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20173 #ifndef __SUNPRO_CC
20181 rm -f conftest.
$ac_objext
20182 if { (ac_try
="$ac_compile"
20183 case "(($ac_try" in
20184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20185 *) ac_try_echo=$ac_try;;
20187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20188 (eval "$ac_compile") 2>conftest.er1
20190 grep -v '^ *+' conftest.er1 >conftest.err
20192 cat conftest.err >&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && {
20195 test -z "$ac_cxx_werror_flag" ||
20196 test ! -s conftest.err
20197 } && test -s conftest.$ac_objext; then
20198 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20200 echo "$as_me: failed program was:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20203 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20212 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20213 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20233 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20234 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20235 { (exit 1); exit 1; }; }
20238 if test "x$SUNCXX" != xyes; then
20239 if test -n "$ac_tool_prefix"; then
20240 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20241 set dummy ${ac_tool_prefix}ar; ac_word=$2
20242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20244 if test "${ac_cv_prog_AR+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 if test -n "$AR"; then
20248 ac_cv_prog_AR="$AR" # Let the user override the test.
20250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20251 for as_dir in $PATH
20254 test -z "$as_dir" && as_dir=.
20255 for ac_exec_ext in '' $ac_executable_extensions; do
20256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20257 ac_cv_prog_AR="${ac_tool_prefix}ar"
20258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20268 if test -n "$AR"; then
20269 { echo "$as_me:$LINENO: result: $AR" >&5
20270 echo "${ECHO_T}$AR" >&6; }
20272 { echo "$as_me:$LINENO: result: no" >&5
20273 echo "${ECHO_T}no" >&6; }
20278 if test -z "$ac_cv_prog_AR"; then
20280 # Extract the first word of "ar", so it can be a program name with args.
20281 set dummy ar; ac_word=$2
20282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20284 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 if test -n "$ac_ct_AR"; then
20288 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20291 for as_dir in $PATH
20294 test -z "$as_dir" && as_dir=.
20295 for ac_exec_ext in '' $ac_executable_extensions; do
20296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20297 ac_cv_prog_ac_ct_AR="ar"
20298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20307 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20308 if test -n "$ac_ct_AR"; then
20309 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20310 echo "${ECHO_T}$ac_ct_AR" >&6; }
20312 { echo "$as_me:$LINENO: result: no" >&5
20313 echo "${ECHO_T}no" >&6; }
20316 if test "x$ac_ct_AR" = x; then
20319 case $cross_compiling:$ac_tool_warned in
20321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20322 whose name does not start with the host triplet. If you think this
20323 configuration is useful to you, please write to autoconf@gnu.org." >&5
20324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20325 whose name does not start with the host triplet. If you think this
20326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20327 ac_tool_warned=yes ;;
20332 AR="$ac_cv_prog_AR"
20335 if test "x$AR" = "x" ; then
20336 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20337 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20338 { (exit 1); exit 1; }; }
20342 retest_macosx_linking=no
20344 #if test "$wxUSE_MAC" = 1; then
20345 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20346 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20347 # Implicitly turn on the new --with-macosx-sdk using the default
20348 # SDK which provides the behavior this option has always had.
20349 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20350 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20351 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20352 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20353 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20354 wxUSE_MACOSX_SDK=yes
20357 # Complain to user if he specified an argument to --enable-universal_binary
20358 # and also 1) specified --with-macosx-sdk using the default (yes) or
20359 # 2) specified --with-macosx-sdk using a path or 3) specified
20360 # --without-macosx-sdk (no).
20361 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20362 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20363 See \`config.log
' for more details." >&5
20364 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20365 See \`config.log' for more details.
" >&2;}
20366 { (exit 1); exit 1; }; }
20368 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20369 # special-case the empty string because the below test simply
20370 # converts "no
" to the empty string anyway.
20371 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20372 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20373 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20376 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20377 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20378 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20379 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20380 retest_macosx_linking=yes
20382 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20383 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20388 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20390 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20391 # TODO: Search for most recent SDK and use it.
20392 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20396 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20397 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20398 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20399 if ! test -d "$wxUSE_MACOSX_SDK"; then
20400 { { echo "$as_me:$LINENO: error
: not found
20401 See \
`config.log' for more details." >&5
20402 echo "$as_me: error: not found
20403 See \`config.log
' for more details." >&2;}
20404 { (exit 1); exit 1; }; }
20406 { echo "$as_me:$LINENO: result: exists" >&5
20407 echo "${ECHO_T}exists" >&6; }
20409 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20410 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20411 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20412 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20413 retest_macosx_linking=yes
20416 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20417 wxUSE_MACOSX_VERSION_MIN=
20418 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20419 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20420 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20421 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20423 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/'`
20425 # If that failed, try again with the new key
20426 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20428 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/'`
20432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20433 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20434 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20435 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20437 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20438 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20439 wxUSE_MACOSX_VERSION_MIN=
20442 wxUSE_MACOSX_VERSION_MIN=
20446 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20447 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20448 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20449 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20450 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20451 retest_macosx_linking=yes
20454 if test "x$retest_macosx_linking" = "xyes"; then
20456 ac_cpp='$CPP $CPPFLAGS'
20457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20458 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20462 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20463 cat >conftest.$ac_ext <<_ACEOF
20466 cat confdefs.h >>conftest.$ac_ext
20467 cat >>conftest.$ac_ext <<_ACEOF
20468 /* end confdefs.h. */
20478 rm -f conftest.$ac_objext conftest$ac_exeext
20479 if { (ac_try="$ac_link"
20480 case "(($ac_try" in
20481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20482 *) ac_try_echo=$ac_try;;
20484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20485 (eval "$ac_link") 2>conftest.er1
20487 grep -v '^
*+' conftest.er1 >conftest.err
20489 cat conftest.err >&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } && {
20492 test -z "$ac_c_werror_flag" ||
20493 test ! -s conftest.err
20494 } && test -s conftest$ac_exeext &&
20495 $as_test_x conftest$ac_exeext; then
20496 { echo "$as_me:$LINENO: result: yes" >&5
20497 echo "${ECHO_T}yes" >&6; }
20499 echo "$as_me: failed program was:" >&5
20500 sed 's
/^
/| /' conftest.$ac_ext >&5
20502 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20503 See \`config.log' for more details.
" >&5
20504 echo "$as_me: error
: no. Try a different SDK
20505 See \
`config.log' for more details." >&2;}
20506 { (exit 1); exit 1; }; }; exit 1
20509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20510 conftest$ac_exeext conftest.$ac_ext
20512 ac_cpp='$CPP $CPPFLAGS'
20513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20519 ac_cpp='$CXXCPP $CPPFLAGS'
20520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20524 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20525 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20541 rm -f conftest.$ac_objext conftest$ac_exeext
20542 if { (ac_try="$ac_link"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20545 *) ac_try_echo
=$ac_try;;
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_link") 2>conftest.er1
20550 grep -v '^ *+' conftest.er1
>conftest.err
20552 cat conftest.err
>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_cxx_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest
$ac_exeext &&
20558 $as_test_x conftest
$ac_exeext; then
20559 { echo "$as_me:$LINENO: result: yes" >&5
20560 echo "${ECHO_T}yes" >&6; }
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.
$ac_ext >&5
20565 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20566 See \`config.log' for more details." >&5
20567 echo "$as_me: error: no. Try a different SDK
20568 See \`config.log' for more details." >&2;}
20569 { (exit 1); exit 1; }; }; exit 1
20572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20573 conftest
$ac_exeext conftest.
$ac_ext
20575 ac_cpp
='$CPP $CPPFLAGS'
20576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20586 INSTALL_PROGRAM
="cp -fp"
20587 INSTALL_DATA
="cp -fp"
20594 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20595 CXXFLAGS
="-qunique $CXXFLAGS"
20599 powerpc
-*-darwin* )
20600 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20601 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20602 cat >conftest.
$ac_ext <<_ACEOF
20605 cat confdefs.h
>>conftest.
$ac_ext
20606 cat >>conftest.
$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20612 #ifndef __POWERPC__
20613 choke me for lack of PowerPC
20620 rm -f conftest.
$ac_objext
20621 if { (ac_try
="$ac_compile"
20622 case "(($ac_try" in
20623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20624 *) ac_try_echo=$ac_try;;
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_compile") 2>conftest.er1
20629 grep -v '^ *+' conftest.er1 >conftest.err
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } && {
20634 test -z "$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20636 } && test -s conftest.$ac_objext; then
20637 { echo "$as_me:$LINENO: result: yes" >&5
20638 echo "${ECHO_T}yes" >&6; }
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20643 { echo "$as_me:$LINENO: result: no" >&5
20644 echo "${ECHO_T}no" >&6; }
20645 cat >>confdefs.h <<\_ACEOF
20646 #define __POWERPC__ 1
20652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20659 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20660 cat >conftest.$ac_ext <<_ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 #include <CoreFoundation/CFBase.h>
20676 rm -f conftest.$ac_objext
20677 if { (ac_try="$ac_compile"
20678 case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20680 *) ac_try_echo
=$ac_try;;
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_compile") 2>conftest.er1
20685 grep -v '^ *+' conftest.er1
>conftest.err
20687 cat conftest.err
>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } && {
20690 test -z "$ac_c_werror_flag" ||
20691 test ! -s conftest.err
20692 } && test -s conftest.
$ac_objext; then
20693 { echo "$as_me:$LINENO: result: yes" >&5
20694 echo "${ECHO_T}yes" >&6; }
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.
$ac_ext >&5
20699 { echo "$as_me:$LINENO: result: no" >&5
20700 echo "${ECHO_T}no" >&6; }
20701 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20702 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20703 cat >conftest.
$ac_ext <<_ACEOF
20706 cat confdefs.h
>>conftest.
$ac_ext
20707 cat >>conftest.
$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 #define __CF_USE_FRAMEWORK_INCLUDES__
20710 #include <CoreFoundation/CFBase.h>
20720 rm -f conftest.
$ac_objext
20721 if { (ac_try
="$ac_compile"
20722 case "(($ac_try" in
20723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_compile") 2>conftest.er1
20729 grep -v '^ *+' conftest.er1 >conftest.err
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest.$ac_objext; then
20737 { echo "$as_me:$LINENO: result: yes" >&5
20738 echo "${ECHO_T}yes" >&6; }
20739 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20744 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20745 See \`config.log
' for more details." >&5
20746 echo "$as_me: error: no. CoreFoundation not available.
20747 See \`config.log' for more details.
" >&2;}
20748 { (exit 1); exit 1; }; }
20752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20762 doesnt_want_win32=0
20765 if test "$wxUSE_MSW" = 1 ; then
20768 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20769 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20770 if test "${wx_cv_nocygwin+set}" = set; then
20771 echo $ECHO_N "(cached
) $ECHO_C" >&6
20774 cat >conftest.$ac_ext <<_ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20793 rm -f conftest.$ac_objext
20794 if { (ac_try="$ac_compile"
20795 case "(($ac_try" in
20796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20797 *) ac_try_echo=$ac_try;;
20799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20800 (eval "$ac_compile") 2>conftest.er1
20802 grep -v '^ *+' conftest.er1 >conftest.err
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20806 (exit $ac_status); } && {
20807 test -z "$ac_c_werror_flag" ||
20808 test ! -s conftest.err
20809 } && test -s conftest.$ac_objext; then
20812 echo "$as_me: failed program was
:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20824 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20826 if test "$wx_cv_nocygwin" = "yes"; then
20829 doesnt_want_win32=1
20832 if test "$wants_win32" = 1 ; then
20833 BAKEFILE_FORCE_PLATFORM=win32
20841 if test "$wxUSE_WINE" = "yes"; then
20843 LDFLAGS_GUI="-mwindows"
20846 if test "$wants_win32" = 1 ; then
20849 cat >>confdefs.h <<\_ACEOF
20850 #define __WIN32__ 1
20853 cat >>confdefs.h <<\_ACEOF
20854 #define __WIN95__ 1
20857 cat >>confdefs.h <<\_ACEOF
20858 #define __WINDOWS__ 1
20861 cat >>confdefs.h <<\_ACEOF
20862 #define __GNUWIN32__ 1
20865 cat >>confdefs.h <<\_ACEOF
20870 if test "$doesnt_want_win32" = 1 ; then
20875 if test "$USE_UNIX" = 1 ; then
20877 cat >>confdefs.h <<\_ACEOF
20884 *-pc-os2_emx | *-pc-os2-emx )
20885 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20886 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20887 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20888 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20889 echo $ECHO_N "(cached
) $ECHO_C" >&6
20891 ac_check_lib_save_LIBS=$LIBS
20892 LIBS="-lcExt $LIBS"
20893 cat >conftest.$ac_ext <<_ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20900 /* Override any GCC internal prototype to avoid an error.
20901 Use char because int might match the return type of a GCC
20902 builtin and then its argument prototype would still apply. */
20915 rm -f conftest.$ac_objext conftest$ac_exeext
20916 if { (ac_try="$ac_link"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_link") 2>conftest.er1
20924 grep -v '^ *+' conftest.er1 >conftest.err
20926 cat conftest.err >&5
20927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20928 (exit $ac_status); } && {
20929 test -z "$ac_c_werror_flag" ||
20930 test ! -s conftest.err
20931 } && test -s conftest$ac_exeext &&
20932 $as_test_x conftest$ac_exeext; then
20933 ac_cv_lib_cExt_drand48=yes
20935 echo "$as_me: failed program was
:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 ac_cv_lib_cExt_drand48=no
20941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20942 conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20945 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20946 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20947 if test $ac_cv_lib_cExt_drand48 = yes; then
20948 LIBS="$LIBS -lcExt"
20952 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20954 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20955 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20956 if test "${wx_cv_gccversion+set}" = set; then
20957 echo $ECHO_N "(cached
) $ECHO_C" >&6
20960 if test "$cross_compiling" = yes; then
20961 wx_cv_gccversion="EMX2
"
20964 cat >conftest.$ac_ext <<_ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20975 FILE *f=fopen("conftestval
", "w
");
20980 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20982 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20992 rm -f conftest$ac_exeext
20993 if { (ac_try="$ac_link"
20994 case "(($ac_try" in
20995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_link") 2>&5
21001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21003 { (case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_try") 2>&5
21010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21011 (exit $ac_status); }; }; then
21012 wx_cv_gccversion=`cat conftestval`
21014 echo "$as_me: program exited with status
$ac_status" >&5
21015 echo "$as_me: failed program was
:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ( exit $ac_status )
21019 wx_cv_gccversion="EMX2
"
21021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21027 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21028 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21029 if test "$wx_cv_gccversion" = "EMX2
"; then
21030 LIBS="$LIBS -lstdcpp"
21031 LDFLAGS="$LDFLAGS -Zsysv-signals"
21033 if test "$wx_cv_gccversion" = "EMX3
"; then
21034 LIBS="$LIBS -lstdcxx -lgcc"
21035 LDFLAGS="$LDFLAGS -Zsysv-signals"
21037 LIBS="$LIBS -lstdc++"
21040 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21041 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21042 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21049 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21050 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21051 if test "${ac_cv_string_strcasecmp+set}" = set; then
21052 echo $ECHO_N "(cached
) $ECHO_C" >&6
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21062 #include <string.h>
21068 strcasecmp("foo
", "bar
");
21074 rm -f conftest.$ac_objext conftest$ac_exeext
21075 if { (ac_try="$ac_link"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_link") 2>conftest.er1
21083 grep -v '^ *+' conftest.er1 >conftest.err
21085 cat conftest.err >&5
21086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest$ac_exeext &&
21091 $as_test_x conftest$ac_exeext; then
21092 ac_cv_string_strcasecmp=yes
21094 echo "$as_me: failed program was
:" >&5
21095 sed 's/^/| /' conftest.$ac_ext >&5
21097 ac_cv_string_strcasecmp=no
21101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21102 conftest$ac_exeext conftest.$ac_ext
21105 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21106 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21108 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21109 cat >>confdefs.h <<\_ACEOF
21110 #define HAVE_STRCASECMP_IN_STRING_H 1
21114 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21115 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21116 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21117 echo $ECHO_N "(cached
) $ECHO_C" >&6
21120 cat >conftest.$ac_ext <<_ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21127 #include <strings.h>
21133 strcasecmp("foo
", "bar
");
21139 rm -f conftest.$ac_objext conftest$ac_exeext
21140 if { (ac_try="$ac_link"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_link") 2>conftest.er1
21148 grep -v '^ *+' conftest.er1 >conftest.err
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21152 (exit $ac_status); } && {
21153 test -z "$ac_c_werror_flag" ||
21154 test ! -s conftest.err
21155 } && test -s conftest$ac_exeext &&
21156 $as_test_x conftest$ac_exeext; then
21157 ac_cv_strings_strcasecmp=yes
21159 echo "$as_me: failed program was
:" >&5
21160 sed 's/^/| /' conftest.$ac_ext >&5
21162 ac_cv_strings_strcasecmp=no
21166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21167 conftest$ac_exeext conftest.$ac_ext
21170 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21171 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21173 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21174 cat >>confdefs.h <<\_ACEOF
21175 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21179 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21180 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21181 { (exit 1); exit 1; }; }
21189 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21190 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21191 if test "${ac_cv_header_stdc+set}" = set; then
21192 echo $ECHO_N "(cached
) $ECHO_C" >&6
21194 cat >conftest.$ac_ext <<_ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 #include <stdlib.h>
21201 #include <stdarg.h>
21202 #include <string.h>
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21222 grep -v '^ *+' conftest.er1 >conftest.err
21224 cat conftest.err >&5
21225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.$ac_objext; then
21230 ac_cv_header_stdc=yes
21232 echo "$as_me: failed program was
:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21235 ac_cv_header_stdc=no
21238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 if test $ac_cv_header_stdc = yes; then
21241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21242 cat >conftest.$ac_ext <<_ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 #include <string.h>
21251 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21252 $EGREP "memchr
" >/dev/null 2>&1; then
21255 ac_cv_header_stdc=no
21261 if test $ac_cv_header_stdc = yes; then
21262 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21263 cat >conftest.$ac_ext <<_ACEOF
21266 cat confdefs.h >>conftest.$ac_ext
21267 cat >>conftest.$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 #include <stdlib.h>
21272 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21273 $EGREP "free
" >/dev/null 2>&1; then
21276 ac_cv_header_stdc=no
21282 if test $ac_cv_header_stdc = yes; then
21283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21284 if test "$cross_compiling" = yes; then
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21294 #include <stdlib.h>
21295 #if ((' ' & 0x0FF) == 0x020)
21296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21299 # define ISLOWER(c) \
21300 (('a' <= (c) && (c) <= 'i') \
21301 || ('j' <= (c) && (c) <= 'r') \
21302 || ('s' <= (c) && (c) <= 'z'))
21303 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21311 for (i = 0; i < 256; i++)
21312 if (XOR (islower (i), ISLOWER (i))
21313 || toupper (i) != TOUPPER (i))
21318 rm -f conftest$ac_exeext
21319 if { (ac_try="$ac_link"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_link") 2>&5
21327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21329 { (case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_try") 2>&5
21336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21337 (exit $ac_status); }; }; then
21340 echo "$as_me: program exited with status
$ac_status" >&5
21341 echo "$as_me: failed program was
:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21344 ( exit $ac_status )
21345 ac_cv_header_stdc=no
21347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21353 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21354 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21355 if test $ac_cv_header_stdc = yes; then
21357 cat >>confdefs.h <<\_ACEOF
21358 #define STDC_HEADERS 1
21363 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21373 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21374 inttypes.h stdint.h unistd.h
21376 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21377 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21378 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21379 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21380 echo $ECHO_N "(cached
) $ECHO_C" >&6
21382 cat >conftest.$ac_ext <<_ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 $ac_includes_default
21390 #include <$ac_header>
21392 rm -f conftest.$ac_objext
21393 if { (ac_try="$ac_compile"
21394 case "(($ac_try" in
21395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21396 *) ac_try_echo=$ac_try;;
21398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21399 (eval "$ac_compile") 2>conftest.er1
21401 grep -v '^ *+' conftest.er1 >conftest.err
21403 cat conftest.err >&5
21404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21405 (exit $ac_status); } && {
21406 test -z "$ac_c_werror_flag" ||
21407 test ! -s conftest.err
21408 } && test -s conftest.$ac_objext; then
21409 eval "$as_ac_Header=yes"
21411 echo "$as_me: failed program was
:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21414 eval "$as_ac_Header=no
"
21417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 ac_res=`eval echo '${'$as_ac_Header'}'`
21420 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21421 echo "${ECHO_T}$ac_res" >&6; }
21422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21423 cat >>confdefs.h <<_ACEOF
21424 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21434 for ac_header in langinfo.h wchar.h
21436 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21437 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21438 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21439 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21440 echo $ECHO_N "(cached
) $ECHO_C" >&6
21442 cat >conftest.$ac_ext <<_ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21450 #include <$ac_header>
21452 rm -f conftest.$ac_objext
21453 if { (ac_try="$ac_compile"
21454 case "(($ac_try" in
21455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21456 *) ac_try_echo=$ac_try;;
21458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21459 (eval "$ac_compile") 2>conftest.er1
21461 grep -v '^ *+' conftest.er1 >conftest.err
21463 cat conftest.err >&5
21464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21465 (exit $ac_status); } && {
21466 test -z "$ac_c_werror_flag" ||
21467 test ! -s conftest.err
21468 } && test -s conftest.$ac_objext; then
21469 eval "$as_ac_Header=yes"
21471 echo "$as_me: failed program was
:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21474 eval "$as_ac_Header=no
"
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21479 ac_res=`eval echo '${'$as_ac_Header'}'`
21480 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21481 echo "${ECHO_T}$ac_res" >&6; }
21482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21483 cat >>confdefs.h <<_ACEOF
21484 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21492 if test "$ac_cv_header_wchar_h" != "yes"; then
21494 for ac_header in wcstr.h
21496 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21497 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21498 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21499 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21500 echo $ECHO_N "(cached
) $ECHO_C" >&6
21502 cat >conftest.$ac_ext <<_ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21510 #include <$ac_header>
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1 >conftest.err
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21525 (exit $ac_status); } && {
21526 test -z "$ac_c_werror_flag" ||
21527 test ! -s conftest.err
21528 } && test -s conftest.$ac_objext; then
21529 eval "$as_ac_Header=yes"
21531 echo "$as_me: failed program was
:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 eval "$as_ac_Header=no
"
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 ac_res=`eval echo '${'$as_ac_Header'}'`
21540 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21541 echo "${ECHO_T}$ac_res" >&6; }
21542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21543 cat >>confdefs.h <<_ACEOF
21544 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21554 *-pc-os2_emx | *-pc-os2-emx )
21555 if test $ac_cv_header_langinfo_h = "yes" \
21556 -a \( "$wx_cv_gccversion" = "EMX2
" \
21557 -o "$wx_cv_gccversion" = "EMX3
" \
21558 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21559 LIBS="$LIBS -lintl"
21564 if test "$USE_UNIX" = 1 ; then
21566 for ac_header in sys/select.h
21568 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21569 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21570 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21571 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21572 echo $ECHO_N "(cached
) $ECHO_C" >&6
21574 cat >conftest.$ac_ext <<_ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21580 $ac_includes_default
21582 #include <$ac_header>
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21590 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21593 grep -v '^ *+' conftest.er1 >conftest.err
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21597 (exit $ac_status); } && {
21598 test -z "$ac_c_werror_flag" ||
21599 test ! -s conftest.err
21600 } && test -s conftest.$ac_objext; then
21601 eval "$as_ac_Header=yes"
21603 echo "$as_me: failed program was
:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21606 eval "$as_ac_Header=no
"
21609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 ac_res=`eval echo '${'$as_ac_Header'}'`
21612 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21613 echo "${ECHO_T}$ac_res" >&6; }
21614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21615 cat >>confdefs.h <<_ACEOF
21616 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21626 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21627 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21628 if test "${ac_cv_c_const+set}" = set; then
21629 echo $ECHO_N "(cached
) $ECHO_C" >&6
21631 cat >conftest.$ac_ext <<_ACEOF
21634 cat confdefs.h >>conftest.$ac_ext
21635 cat >>conftest.$ac_ext <<_ACEOF
21636 /* end confdefs.h. */
21641 /* FIXME: Include the comments suggested by Paul. */
21642 #ifndef __cplusplus
21643 /* Ultrix mips cc rejects this. */
21644 typedef int charset[2];
21646 /* SunOS 4.1.1 cc rejects this. */
21647 char const *const *pcpcc;
21649 /* NEC SVR4.0.2 mips cc rejects this. */
21650 struct point {int x, y;};
21651 static struct point const zero = {0,0};
21652 /* AIX XL C 1.02.0.0 rejects this.
21653 It does not let you subtract one const X* pointer from another in
21654 an arm of an if-expression whose if-part is not a constant
21656 const char *g = "string
";
21657 pcpcc = &g + (g ? g-g : 0);
21658 /* HPUX 7.0 cc rejects these. */
21660 ppc = (char**) pcpcc;
21661 pcpcc = (char const *const *) ppc;
21662 { /* SCO 3.2v4 cc rejects this. */
21664 char const *s = 0 ? (char *) 0 : (char const *) 0;
21669 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21670 int x[] = {25, 17};
21671 const int *foo = &x[0];
21674 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21675 typedef const int *iptr;
21679 { /* AIX XL C 1.02.0.0 rejects this saying
21680 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21681 struct s { int j; const int *ap[3]; };
21682 struct s *b; b->j = 5;
21684 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21685 const int foo = 10;
21686 if (!foo) return 0;
21688 return !cs[0] && !zero.x;
21695 rm -f conftest.$ac_objext
21696 if { (ac_try="$ac_compile"
21697 case "(($ac_try" in
21698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21699 *) ac_try_echo=$ac_try;;
21701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21702 (eval "$ac_compile") 2>conftest.er1
21704 grep -v '^ *+' conftest.er1 >conftest.err
21706 cat conftest.err >&5
21707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21708 (exit $ac_status); } && {
21709 test -z "$ac_c_werror_flag" ||
21710 test ! -s conftest.err
21711 } && test -s conftest.$ac_objext; then
21714 echo "$as_me: failed program was
:" >&5
21715 sed 's/^/| /' conftest.$ac_ext >&5
21720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21722 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21723 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21724 if test $ac_cv_c_const = no; then
21726 cat >>confdefs.h <<\_ACEOF
21732 { echo "$as_me:$LINENO: checking
for inline
" >&5
21733 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21734 if test "${ac_cv_c_inline+set}" = set; then
21735 echo $ECHO_N "(cached
) $ECHO_C" >&6
21738 for ac_kw in inline __inline__ __inline; do
21739 cat >conftest.$ac_ext <<_ACEOF
21742 cat confdefs.h >>conftest.$ac_ext
21743 cat >>conftest.$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 #ifndef __cplusplus
21747 static $ac_kw foo_t static_foo () {return 0; }
21748 $ac_kw foo_t foo () {return 0; }
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21761 grep -v '^ *+' conftest.er1 >conftest.err
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21769 ac_cv_c_inline=$ac_kw
21771 echo "$as_me: failed program was
:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 test "$ac_cv_c_inline" != no && break
21782 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21783 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21786 case $ac_cv_c_inline in
21789 case $ac_cv_c_inline in
21791 *) ac_val=$ac_cv_c_inline;;
21793 cat >>confdefs.h <<_ACEOF
21794 #ifndef __cplusplus
21795 #define inline $ac_val
21802 { echo "$as_me:$LINENO: checking
for short
" >&5
21803 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21804 if test "${ac_cv_type_short+set}" = set; then
21805 echo $ECHO_N "(cached
) $ECHO_C" >&6
21807 cat >conftest.$ac_ext <<_ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21814 typedef short ac__type_new_;
21818 if ((ac__type_new_ *) 0)
21820 if (sizeof (ac__type_new_))
21826 rm -f conftest.$ac_objext
21827 if { (ac_try="$ac_compile"
21828 case "(($ac_try" in
21829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21830 *) ac_try_echo=$ac_try;;
21832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_compile") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1 >conftest.err
21837 cat conftest.err >&5
21838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21839 (exit $ac_status); } && {
21840 test -z "$ac_c_werror_flag" ||
21841 test ! -s conftest.err
21842 } && test -s conftest.$ac_objext; then
21843 ac_cv_type_short=yes
21845 echo "$as_me: failed program was
:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21848 ac_cv_type_short=no
21851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21854 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21856 # The cast to long int works around a bug in the HP C Compiler
21857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21859 # This bug is HP SR number 8606223364.
21860 { echo "$as_me:$LINENO: checking size of short
" >&5
21861 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21862 if test "${ac_cv_sizeof_short+set}" = set; then
21863 echo $ECHO_N "(cached
) $ECHO_C" >&6
21865 if test "$cross_compiling" = yes; then
21866 # Depending upon the size, compute the lo and hi bounds.
21867 cat >conftest.$ac_ext <<_ACEOF
21870 cat confdefs.h >>conftest.$ac_ext
21871 cat >>conftest.$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 $ac_includes_default
21874 typedef short ac__type_sizeof_;
21878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21885 rm -f conftest.$ac_objext
21886 if { (ac_try="$ac_compile"
21887 case "(($ac_try" in
21888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21889 *) ac_try_echo=$ac_try;;
21891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21892 (eval "$ac_compile") 2>conftest.er1
21894 grep -v '^ *+' conftest.er1 >conftest.err
21896 cat conftest.err >&5
21897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21898 (exit $ac_status); } && {
21899 test -z "$ac_c_werror_flag" ||
21900 test ! -s conftest.err
21901 } && test -s conftest.$ac_objext; then
21904 cat >conftest.$ac_ext <<_ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21910 $ac_includes_default
21911 typedef short ac__type_sizeof_;
21915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21922 rm -f conftest.$ac_objext
21923 if { (ac_try="$ac_compile"
21924 case "(($ac_try" in
21925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21926 *) ac_try_echo=$ac_try;;
21928 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21929 (eval "$ac_compile") 2>conftest.er1
21931 grep -v '^ *+' conftest.er1 >conftest.err
21933 cat conftest.err >&5
21934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21935 (exit $ac_status); } && {
21936 test -z "$ac_c_werror_flag" ||
21937 test ! -s conftest.err
21938 } && test -s conftest.$ac_objext; then
21939 ac_hi=$ac_mid; break
21941 echo "$as_me: failed program was
:" >&5
21942 sed 's/^/| /' conftest.$ac_ext >&5
21944 ac_lo=`expr $ac_mid + 1`
21945 if test $ac_lo -le $ac_mid; then
21949 ac_mid=`expr 2 '*' $ac_mid + 1`
21952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21955 echo "$as_me: failed program was
:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21958 cat >conftest.$ac_ext <<_ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 $ac_includes_default
21965 typedef short ac__type_sizeof_;
21969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21976 rm -f conftest.$ac_objext
21977 if { (ac_try="$ac_compile"
21978 case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_compile") 2>conftest.er1
21985 grep -v '^ *+' conftest.er1 >conftest.err
21987 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21989 (exit $ac_status); } && {
21990 test -z "$ac_c_werror_flag" ||
21991 test ! -s conftest.err
21992 } && test -s conftest.$ac_objext; then
21995 cat >conftest.$ac_ext <<_ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22002 typedef short ac__type_sizeof_;
22006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22022 grep -v '^ *+' conftest.er1 >conftest.err
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22026 (exit $ac_status); } && {
22027 test -z "$ac_c_werror_flag" ||
22028 test ! -s conftest.err
22029 } && test -s conftest.$ac_objext; then
22030 ac_lo=$ac_mid; break
22032 echo "$as_me: failed program was
:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22035 ac_hi=`expr '(' $ac_mid ')' - 1`
22036 if test $ac_mid -le $ac_hi; then
22040 ac_mid=`expr 2 '*' $ac_mid`
22043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046 echo "$as_me: failed program was
:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 # Binary search between lo and hi bounds.
22057 while test "x
$ac_lo" != "x
$ac_hi"; do
22058 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22065 $ac_includes_default
22066 typedef short ac__type_sizeof_;
22070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22077 rm -f conftest.$ac_objext
22078 if { (ac_try="$ac_compile"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_compile") 2>conftest.er1
22086 grep -v '^ *+' conftest.er1 >conftest.err
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22090 (exit $ac_status); } && {
22091 test -z "$ac_c_werror_flag" ||
22092 test ! -s conftest.err
22093 } && test -s conftest.$ac_objext; then
22096 echo "$as_me: failed program was
:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 ac_lo=`expr '(' $ac_mid ')' + 1`
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ?*) ac_cv_sizeof_short=$ac_lo;;
22106 '') if test "$ac_cv_type_short" = yes; then
22107 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22108 See \
`config.log' for more details." >&5
22109 echo "$as_me: error: cannot compute sizeof (short)
22110 See \`config.log
' for more details." >&2;}
22111 { (exit 77); exit 77; }; }
22113 ac_cv_sizeof_short=0
22117 cat >conftest.$ac_ext <<_ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef short ac__type_sizeof_;
22125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22128 #include <stdlib.h>
22133 FILE *f = fopen ("conftest.val", "w");
22136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22138 long int i = longval ();
22139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22141 fprintf (f, "%ld\n", i);
22145 unsigned long int i = ulongval ();
22146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22148 fprintf (f, "%lu\n", i);
22150 return ferror (f) || fclose (f) != 0;
22156 rm -f conftest$ac_exeext
22157 if { (ac_try="$ac_link"
22158 case "(($ac_try" in
22159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22160 *) ac_try_echo=$ac_try;;
22162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22163 (eval "$ac_link") 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22167 { (case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_try") 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_cv_sizeof_short=`cat conftest.val`
22178 echo "$as_me: program exited with status $ac_status" >&5
22179 echo "$as_me: failed program was:" >&5
22180 sed 's
/^
/| /' conftest.$ac_ext >&5
22182 ( exit $ac_status )
22183 if test "$ac_cv_type_short" = yes; then
22184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22185 See \`config.log' for more details.
" >&5
22186 echo "$as_me: error
: cannot compute sizeof
(short
)
22187 See \
`config.log' for more details." >&2;}
22188 { (exit 77); exit 77; }; }
22190 ac_cv_sizeof_short=0
22193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22197 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22198 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22202 cat >>confdefs.h <<_ACEOF
22203 #define SIZEOF_SHORT $ac_cv_sizeof_short
22207 { echo "$as_me:$LINENO: checking for void *" >&5
22208 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22209 if test "${ac_cv_type_void_p+set}" = set; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22212 cat >conftest.$ac_ext <<_ACEOF
22215 cat confdefs.h >>conftest.$ac_ext
22216 cat >>conftest.$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22218 $ac_includes_default
22219 typedef void * ac__type_new_;
22223 if ((ac__type_new_ *) 0)
22225 if (sizeof (ac__type_new_))
22231 rm -f conftest.$ac_objext
22232 if { (ac_try="$ac_compile"
22233 case "(($ac_try" in
22234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22235 *) ac_try_echo
=$ac_try;;
22237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22238 (eval "$ac_compile") 2>conftest.er1
22240 grep -v '^ *+' conftest.er1
>conftest.err
22242 cat conftest.err
>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } && {
22245 test -z "$ac_c_werror_flag" ||
22246 test ! -s conftest.err
22247 } && test -s conftest.
$ac_objext; then
22248 ac_cv_type_void_p
=yes
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.
$ac_ext >&5
22253 ac_cv_type_void_p
=no
22256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22258 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22259 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22261 # The cast to long int works around a bug in the HP C Compiler
22262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22264 # This bug is HP SR number 8606223364.
22265 { echo "$as_me:$LINENO: checking size of void *" >&5
22266 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22267 if test "${ac_cv_sizeof_void_p+set}" = set; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 if test "$cross_compiling" = yes; then
22271 # Depending upon the size, compute the lo and hi bounds.
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 $ac_includes_default
22279 typedef void * ac__type_sizeof_;
22283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22290 rm -f conftest.
$ac_objext
22291 if { (ac_try
="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22299 grep -v '^ *+' conftest.er1 >conftest.err
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22309 cat >conftest.$ac_ext <<_ACEOF
22312 cat confdefs.h >>conftest.$ac_ext
22313 cat >>conftest.$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 $ac_includes_default
22316 typedef void * ac__type_sizeof_;
22320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22327 rm -f conftest.$ac_objext
22328 if { (ac_try="$ac_compile"
22329 case "(($ac_try" in
22330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22331 *) ac_try_echo
=$ac_try;;
22333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22334 (eval "$ac_compile") 2>conftest.er1
22336 grep -v '^ *+' conftest.er1
>conftest.err
22338 cat conftest.err
>&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } && {
22341 test -z "$ac_c_werror_flag" ||
22342 test ! -s conftest.err
22343 } && test -s conftest.
$ac_objext; then
22344 ac_hi
=$ac_mid; break
22346 echo "$as_me: failed program was:" >&5
22347 sed 's/^/| /' conftest.
$ac_ext >&5
22349 ac_lo
=`expr $ac_mid + 1`
22350 if test $ac_lo -le $ac_mid; then
22354 ac_mid
=`expr 2 '*' $ac_mid + 1`
22357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 cat >conftest.
$ac_ext <<_ACEOF
22366 cat confdefs.h
>>conftest.
$ac_ext
22367 cat >>conftest.
$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 $ac_includes_default
22370 typedef void * ac__type_sizeof_;
22374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22381 rm -f conftest.
$ac_objext
22382 if { (ac_try
="$ac_compile"
22383 case "(($ac_try" in
22384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_compile") 2>conftest.er1
22390 grep -v '^ *+' conftest.er1 >conftest.err
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } && {
22395 test -z "$ac_c_werror_flag" ||
22396 test ! -s conftest.err
22397 } && test -s conftest.$ac_objext; then
22400 cat >conftest.$ac_ext <<_ACEOF
22403 cat confdefs.h >>conftest.$ac_ext
22404 cat >>conftest.$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 typedef void * ac__type_sizeof_;
22411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22418 rm -f conftest.$ac_objext
22419 if { (ac_try="$ac_compile"
22420 case "(($ac_try" in
22421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22422 *) ac_try_echo
=$ac_try;;
22424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22425 (eval "$ac_compile") 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } && {
22432 test -z "$ac_c_werror_flag" ||
22433 test ! -s conftest.err
22434 } && test -s conftest.
$ac_objext; then
22435 ac_lo
=$ac_mid; break
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 ac_hi
=`expr '(' $ac_mid ')' - 1`
22441 if test $ac_mid -le $ac_hi; then
22445 ac_mid
=`expr 2 '*' $ac_mid`
22448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22461 # Binary search between lo and hi bounds.
22462 while test "x$ac_lo" != "x$ac_hi"; do
22463 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22464 cat >conftest.
$ac_ext <<_ACEOF
22467 cat confdefs.h
>>conftest.
$ac_ext
22468 cat >>conftest.
$ac_ext <<_ACEOF
22469 /* end confdefs.h. */
22470 $ac_includes_default
22471 typedef void * ac__type_sizeof_;
22475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22482 rm -f conftest.
$ac_objext
22483 if { (ac_try
="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22486 *) ac_try_echo=$ac_try;;
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22491 grep -v '^ *+' conftest.er1 >conftest.err
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && {
22496 test -z "$ac_c_werror_flag" ||
22497 test ! -s conftest.err
22498 } && test -s conftest.$ac_objext; then
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22504 ac_lo=`expr '(' $ac_mid ')' + 1`
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22510 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22511 '') if test "$ac_cv_type_void_p" = yes; then
22512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22513 See \`config.log
' for more details." >&5
22514 echo "$as_me: error: cannot compute sizeof (void *)
22515 See \`config.log' for more details.
" >&2;}
22516 { (exit 77); exit 77; }; }
22518 ac_cv_sizeof_void_p=0
22522 cat >conftest.$ac_ext <<_ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 typedef void * ac__type_sizeof_;
22530 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22531 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22533 #include <stdlib.h>
22538 FILE *f = fopen ("conftest.val
", "w
");
22541 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22543 long int i = longval ();
22544 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22546 fprintf (f, "%ld
\n", i);
22550 unsigned long int i = ulongval ();
22551 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22553 fprintf (f, "%lu
\n", i);
22555 return ferror (f) || fclose (f) != 0;
22561 rm -f conftest$ac_exeext
22562 if { (ac_try="$ac_link"
22563 case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565 *) ac_try_echo=$ac_try;;
22567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22568 (eval "$ac_link") 2>&5
22570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22572 { (case "(($ac_try" in
22573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22574 *) ac_try_echo=$ac_try;;
22576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22577 (eval "$ac_try") 2>&5
22579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22580 (exit $ac_status); }; }; then
22581 ac_cv_sizeof_void_p=`cat conftest.val`
22583 echo "$as_me: program exited with status
$ac_status" >&5
22584 echo "$as_me: failed program was
:" >&5
22585 sed 's/^/| /' conftest.$ac_ext >&5
22587 ( exit $ac_status )
22588 if test "$ac_cv_type_void_p" = yes; then
22589 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22590 See \
`config.log' for more details." >&5
22591 echo "$as_me: error: cannot compute sizeof (void *)
22592 See \`config.log
' for more details." >&2;}
22593 { (exit 77); exit 77; }; }
22595 ac_cv_sizeof_void_p=0
22598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22602 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22603 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22607 cat >>confdefs.h <<_ACEOF
22608 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22612 { echo "$as_me:$LINENO: checking for int" >&5
22613 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22614 if test "${ac_cv_type_int+set}" = set; then
22615 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 cat >conftest.$ac_ext <<_ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 $ac_includes_default
22624 typedef int ac__type_new_;
22628 if ((ac__type_new_ *) 0)
22630 if (sizeof (ac__type_new_))
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^
*+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22655 echo "$as_me: failed program was:" >&5
22656 sed 's
/^
/| /' conftest.$ac_ext >&5
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22663 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22664 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22666 # The cast to long int works around a bug in the HP C Compiler
22667 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22668 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22669 # This bug is HP SR number 8606223364.
22670 { echo "$as_me:$LINENO: checking size of int" >&5
22671 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22672 if test "${ac_cv_sizeof_int+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 if test "$cross_compiling" = yes; then
22676 # Depending upon the size, compute the lo and hi bounds.
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683 $ac_includes_default
22684 typedef int ac__type_sizeof_;
22688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22695 rm -f conftest.
$ac_objext
22696 if { (ac_try
="$ac_compile"
22697 case "(($ac_try" in
22698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22699 *) ac_try_echo=$ac_try;;
22701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22702 (eval "$ac_compile") 2>conftest.er1
22704 grep -v '^ *+' conftest.er1 >conftest.err
22706 cat conftest.err >&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); } && {
22709 test -z "$ac_c_werror_flag" ||
22710 test ! -s conftest.err
22711 } && test -s conftest.$ac_objext; then
22714 cat >conftest.$ac_ext <<_ACEOF
22717 cat confdefs.h >>conftest.$ac_ext
22718 cat >>conftest.$ac_ext <<_ACEOF
22719 /* end confdefs.h. */
22720 $ac_includes_default
22721 typedef int ac__type_sizeof_;
22725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22732 rm -f conftest.$ac_objext
22733 if { (ac_try="$ac_compile"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22736 *) ac_try_echo
=$ac_try;;
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_compile") 2>conftest.er1
22741 grep -v '^ *+' conftest.er1
>conftest.err
22743 cat conftest.err
>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } && {
22746 test -z "$ac_c_werror_flag" ||
22747 test ! -s conftest.err
22748 } && test -s conftest.
$ac_objext; then
22749 ac_hi
=$ac_mid; break
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.
$ac_ext >&5
22754 ac_lo
=`expr $ac_mid + 1`
22755 if test $ac_lo -le $ac_mid; then
22759 ac_mid
=`expr 2 '*' $ac_mid + 1`
22762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.
$ac_ext >&5
22768 cat >conftest.
$ac_ext <<_ACEOF
22771 cat confdefs.h
>>conftest.
$ac_ext
22772 cat >>conftest.
$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 $ac_includes_default
22775 typedef int ac__type_sizeof_;
22779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22786 rm -f conftest.
$ac_objext
22787 if { (ac_try
="$ac_compile"
22788 case "(($ac_try" in
22789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_compile") 2>conftest.er1
22795 grep -v '^ *+' conftest.er1 >conftest.err
22797 cat conftest.err >&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } && {
22800 test -z "$ac_c_werror_flag" ||
22801 test ! -s conftest.err
22802 } && test -s conftest.$ac_objext; then
22805 cat >conftest.$ac_ext <<_ACEOF
22808 cat confdefs.h >>conftest.$ac_ext
22809 cat >>conftest.$ac_ext <<_ACEOF
22810 /* end confdefs.h. */
22811 $ac_includes_default
22812 typedef int ac__type_sizeof_;
22816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22823 rm -f conftest.$ac_objext
22824 if { (ac_try="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22827 *) ac_try_echo
=$ac_try;;
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22832 grep -v '^ *+' conftest.er1
>conftest.err
22834 cat conftest.err
>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.
$ac_objext; then
22840 ac_lo
=$ac_mid; break
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22845 ac_hi
=`expr '(' $ac_mid ')' - 1`
22846 if test $ac_mid -le $ac_hi; then
22850 ac_mid
=`expr 2 '*' $ac_mid`
22853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.
$ac_ext >&5
22862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22866 # Binary search between lo and hi bounds.
22867 while test "x$ac_lo" != "x$ac_hi"; do
22868 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22869 cat >conftest.
$ac_ext <<_ACEOF
22872 cat confdefs.h
>>conftest.
$ac_ext
22873 cat >>conftest.
$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875 $ac_includes_default
22876 typedef int ac__type_sizeof_;
22880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22887 rm -f conftest.
$ac_objext
22888 if { (ac_try
="$ac_compile"
22889 case "(($ac_try" in
22890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22891 *) ac_try_echo=$ac_try;;
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_compile") 2>conftest.er1
22896 grep -v '^ *+' conftest.er1 >conftest.err
22898 cat conftest.err >&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } && {
22901 test -z "$ac_c_werror_flag" ||
22902 test ! -s conftest.err
22903 } && test -s conftest.$ac_objext; then
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.$ac_ext >&5
22909 ac_lo=`expr '(' $ac_mid ')' + 1`
22912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 ?*) ac_cv_sizeof_int=$ac_lo;;
22916 '') if test "$ac_cv_type_int" = yes; then
22917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22918 See \`config.log
' for more details." >&5
22919 echo "$as_me: error: cannot compute sizeof (int)
22920 See \`config.log' for more details.
" >&2;}
22921 { (exit 77); exit 77; }; }
22927 cat >conftest.$ac_ext <<_ACEOF
22930 cat confdefs.h >>conftest.$ac_ext
22931 cat >>conftest.$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933 $ac_includes_default
22934 typedef int ac__type_sizeof_;
22935 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22936 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22938 #include <stdlib.h>
22943 FILE *f = fopen ("conftest.val
", "w
");
22946 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22948 long int i = longval ();
22949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22951 fprintf (f, "%ld
\n", i);
22955 unsigned long int i = ulongval ();
22956 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22958 fprintf (f, "%lu
\n", i);
22960 return ferror (f) || fclose (f) != 0;
22966 rm -f conftest$ac_exeext
22967 if { (ac_try="$ac_link"
22968 case "(($ac_try" in
22969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22970 *) ac_try_echo=$ac_try;;
22972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22973 (eval "$ac_link") 2>&5
22975 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22977 { (case "(($ac_try" in
22978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22979 *) ac_try_echo=$ac_try;;
22981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22982 (eval "$ac_try") 2>&5
22984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_sizeof_int=`cat conftest.val`
22988 echo "$as_me: program exited with status
$ac_status" >&5
22989 echo "$as_me: failed program was
:" >&5
22990 sed 's/^/| /' conftest.$ac_ext >&5
22992 ( exit $ac_status )
22993 if test "$ac_cv_type_int" = yes; then
22994 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22995 See \
`config.log' for more details." >&5
22996 echo "$as_me: error: cannot compute sizeof (int)
22997 See \`config.log
' for more details." >&2;}
22998 { (exit 77); exit 77; }; }
23003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23007 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23008 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23012 cat >>confdefs.h <<_ACEOF
23013 #define SIZEOF_INT $ac_cv_sizeof_int
23017 { echo "$as_me:$LINENO: checking for long" >&5
23018 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23019 if test "${ac_cv_type_long+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23022 cat >conftest.$ac_ext <<_ACEOF
23025 cat confdefs.h >>conftest.$ac_ext
23026 cat >>conftest.$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23028 $ac_includes_default
23029 typedef long ac__type_new_;
23033 if ((ac__type_new_ *) 0)
23035 if (sizeof (ac__type_new_))
23041 rm -f conftest.$ac_objext
23042 if { (ac_try="$ac_compile"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_compile") 2>conftest.er1
23050 grep -v '^
*+' conftest.er1 >conftest.err
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest.$ac_objext; then
23058 ac_cv_type_long=yes
23060 echo "$as_me: failed program was:" >&5
23061 sed 's
/^
/| /' conftest.$ac_ext >&5
23066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23069 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23071 # The cast to long int works around a bug in the HP C Compiler
23072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23074 # This bug is HP SR number 8606223364.
23075 { echo "$as_me:$LINENO: checking size of long" >&5
23076 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23077 if test "${ac_cv_sizeof_long+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 if test "$cross_compiling" = yes; then
23081 # Depending upon the size, compute the lo and hi bounds.
23082 cat >conftest.
$ac_ext <<_ACEOF
23085 cat confdefs.h
>>conftest.
$ac_ext
23086 cat >>conftest.
$ac_ext <<_ACEOF
23087 /* end confdefs.h. */
23088 $ac_includes_default
23089 typedef long ac__type_sizeof_;
23093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23100 rm -f conftest.
$ac_objext
23101 if { (ac_try
="$ac_compile"
23102 case "(($ac_try" in
23103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23104 *) ac_try_echo=$ac_try;;
23106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23107 (eval "$ac_compile") 2>conftest.er1
23109 grep -v '^ *+' conftest.er1 >conftest.err
23111 cat conftest.err >&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } && {
23114 test -z "$ac_c_werror_flag" ||
23115 test ! -s conftest.err
23116 } && test -s conftest.$ac_objext; then
23119 cat >conftest.$ac_ext <<_ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125 $ac_includes_default
23126 typedef long ac__type_sizeof_;
23130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23137 rm -f conftest.$ac_objext
23138 if { (ac_try="$ac_compile"
23139 case "(($ac_try" in
23140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23141 *) ac_try_echo
=$ac_try;;
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_compile") 2>conftest.er1
23146 grep -v '^ *+' conftest.er1
>conftest.err
23148 cat conftest.err
>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } && {
23151 test -z "$ac_c_werror_flag" ||
23152 test ! -s conftest.err
23153 } && test -s conftest.
$ac_objext; then
23154 ac_hi
=$ac_mid; break
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.
$ac_ext >&5
23159 ac_lo
=`expr $ac_mid + 1`
23160 if test $ac_lo -le $ac_mid; then
23164 ac_mid
=`expr 2 '*' $ac_mid + 1`
23167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.
$ac_ext >&5
23173 cat >conftest.
$ac_ext <<_ACEOF
23176 cat confdefs.h
>>conftest.
$ac_ext
23177 cat >>conftest.
$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 $ac_includes_default
23180 typedef long ac__type_sizeof_;
23184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23191 rm -f conftest.
$ac_objext
23192 if { (ac_try
="$ac_compile"
23193 case "(($ac_try" in
23194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23195 *) ac_try_echo=$ac_try;;
23197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23198 (eval "$ac_compile") 2>conftest.er1
23200 grep -v '^ *+' conftest.er1 >conftest.err
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } && {
23205 test -z "$ac_c_werror_flag" ||
23206 test ! -s conftest.err
23207 } && test -s conftest.$ac_objext; then
23210 cat >conftest.$ac_ext <<_ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 $ac_includes_default
23217 typedef long ac__type_sizeof_;
23221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23228 rm -f conftest.$ac_objext
23229 if { (ac_try="$ac_compile"
23230 case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23232 *) ac_try_echo
=$ac_try;;
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_compile") 2>conftest.er1
23237 grep -v '^ *+' conftest.er1
>conftest.err
23239 cat conftest.err
>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } && {
23242 test -z "$ac_c_werror_flag" ||
23243 test ! -s conftest.err
23244 } && test -s conftest.
$ac_objext; then
23245 ac_lo
=$ac_mid; break
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.
$ac_ext >&5
23250 ac_hi
=`expr '(' $ac_mid ')' - 1`
23251 if test $ac_mid -le $ac_hi; then
23255 ac_mid
=`expr 2 '*' $ac_mid`
23258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.
$ac_ext >&5
23267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23271 # Binary search between lo and hi bounds.
23272 while test "x$ac_lo" != "x$ac_hi"; do
23273 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23274 cat >conftest.
$ac_ext <<_ACEOF
23277 cat confdefs.h
>>conftest.
$ac_ext
23278 cat >>conftest.
$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 $ac_includes_default
23281 typedef long ac__type_sizeof_;
23285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23292 rm -f conftest.
$ac_objext
23293 if { (ac_try
="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23301 grep -v '^ *+' conftest.er1 >conftest.err
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_c_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.$ac_objext; then
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23314 ac_lo=`expr '(' $ac_mid ')' + 1`
23317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23320 ?*) ac_cv_sizeof_long=$ac_lo;;
23321 '') if test "$ac_cv_type_long" = yes; then
23322 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23323 See \`config.log
' for more details." >&5
23324 echo "$as_me: error: cannot compute sizeof (long)
23325 See \`config.log' for more details.
" >&2;}
23326 { (exit 77); exit 77; }; }
23328 ac_cv_sizeof_long=0
23332 cat >conftest.$ac_ext <<_ACEOF
23335 cat confdefs.h >>conftest.$ac_ext
23336 cat >>conftest.$ac_ext <<_ACEOF
23337 /* end confdefs.h. */
23338 $ac_includes_default
23339 typedef long ac__type_sizeof_;
23340 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23341 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23343 #include <stdlib.h>
23348 FILE *f = fopen ("conftest.val
", "w
");
23351 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23353 long int i = longval ();
23354 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23356 fprintf (f, "%ld
\n", i);
23360 unsigned long int i = ulongval ();
23361 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23363 fprintf (f, "%lu
\n", i);
23365 return ferror (f) || fclose (f) != 0;
23371 rm -f conftest$ac_exeext
23372 if { (ac_try="$ac_link"
23373 case "(($ac_try" in
23374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_link") 2>&5
23380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23382 { (case "(($ac_try" in
23383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23384 *) ac_try_echo=$ac_try;;
23386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23387 (eval "$ac_try") 2>&5
23389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23390 (exit $ac_status); }; }; then
23391 ac_cv_sizeof_long=`cat conftest.val`
23393 echo "$as_me: program exited with status
$ac_status" >&5
23394 echo "$as_me: failed program was
:" >&5
23395 sed 's/^/| /' conftest.$ac_ext >&5
23397 ( exit $ac_status )
23398 if test "$ac_cv_type_long" = yes; then
23399 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23400 See \
`config.log' for more details." >&5
23401 echo "$as_me: error: cannot compute sizeof (long)
23402 See \`config.log
' for more details." >&2;}
23403 { (exit 77); exit 77; }; }
23405 ac_cv_sizeof_long=0
23408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23412 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23413 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23417 cat >>confdefs.h <<_ACEOF
23418 #define SIZEOF_LONG $ac_cv_sizeof_long
23422 { echo "$as_me:$LINENO: checking for size_t" >&5
23423 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23424 if test "${ac_cv_type_size_t+set}" = set; then
23425 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 cat >conftest.$ac_ext <<_ACEOF
23430 cat confdefs.h >>conftest.$ac_ext
23431 cat >>conftest.$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433 $ac_includes_default
23434 typedef size_t ac__type_new_;
23438 if ((ac__type_new_ *) 0)
23440 if (sizeof (ac__type_new_))
23446 rm -f conftest.$ac_objext
23447 if { (ac_try="$ac_compile"
23448 case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_compile") 2>conftest.er1
23455 grep -v '^
*+' conftest.er1 >conftest.err
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } && {
23460 test -z "$ac_c_werror_flag" ||
23461 test ! -s conftest.err
23462 } && test -s conftest.$ac_objext; then
23463 ac_cv_type_size_t=yes
23465 echo "$as_me: failed program was:" >&5
23466 sed 's
/^
/| /' conftest.$ac_ext >&5
23468 ac_cv_type_size_t=no
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23474 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23476 # The cast to long int works around a bug in the HP C Compiler
23477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23479 # This bug is HP SR number 8606223364.
23480 { echo "$as_me:$LINENO: checking size of size_t" >&5
23481 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23482 if test "${ac_cv_sizeof_size_t+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 if test "$cross_compiling" = yes; then
23486 # Depending upon the size, compute the lo and hi bounds.
23487 cat >conftest.
$ac_ext <<_ACEOF
23490 cat confdefs.h
>>conftest.
$ac_ext
23491 cat >>conftest.
$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23493 $ac_includes_default
23494 typedef size_t ac__type_sizeof_;
23498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23505 rm -f conftest.
$ac_objext
23506 if { (ac_try
="$ac_compile"
23507 case "(($ac_try" in
23508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23509 *) ac_try_echo=$ac_try;;
23511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23512 (eval "$ac_compile") 2>conftest.er1
23514 grep -v '^ *+' conftest.er1 >conftest.err
23516 cat conftest.err >&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); } && {
23519 test -z "$ac_c_werror_flag" ||
23520 test ! -s conftest.err
23521 } && test -s conftest.$ac_objext; then
23524 cat >conftest.$ac_ext <<_ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 $ac_includes_default
23531 typedef size_t ac__type_sizeof_;
23535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23546 *) ac_try_echo
=$ac_try;;
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23551 grep -v '^ *+' conftest.er1
>conftest.err
23553 cat conftest.err
>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_c_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.
$ac_objext; then
23559 ac_hi
=$ac_mid; break
23561 echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.
$ac_ext >&5
23564 ac_lo
=`expr $ac_mid + 1`
23565 if test $ac_lo -le $ac_mid; then
23569 ac_mid
=`expr 2 '*' $ac_mid + 1`
23572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23575 echo "$as_me: failed program was:" >&5
23576 sed 's/^/| /' conftest.
$ac_ext >&5
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 $ac_includes_default
23585 typedef size_t ac__type_sizeof_;
23589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23596 rm -f conftest.
$ac_objext
23597 if { (ac_try
="$ac_compile"
23598 case "(($ac_try" in
23599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23600 *) ac_try_echo=$ac_try;;
23602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23603 (eval "$ac_compile") 2>conftest.er1
23605 grep -v '^ *+' conftest.er1 >conftest.err
23607 cat conftest.err >&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } && {
23610 test -z "$ac_c_werror_flag" ||
23611 test ! -s conftest.err
23612 } && test -s conftest.$ac_objext; then
23615 cat >conftest.$ac_ext <<_ACEOF
23618 cat confdefs.h >>conftest.$ac_ext
23619 cat >>conftest.$ac_ext <<_ACEOF
23620 /* end confdefs.h. */
23621 $ac_includes_default
23622 typedef size_t ac__type_sizeof_;
23626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23633 rm -f conftest.$ac_objext
23634 if { (ac_try="$ac_compile"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23637 *) ac_try_echo
=$ac_try;;
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_compile") 2>conftest.er1
23642 grep -v '^ *+' conftest.er1
>conftest.err
23644 cat conftest.err
>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest.
$ac_objext; then
23650 ac_lo
=$ac_mid; break
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.
$ac_ext >&5
23655 ac_hi
=`expr '(' $ac_mid ')' - 1`
23656 if test $ac_mid -le $ac_hi; then
23660 ac_mid
=`expr 2 '*' $ac_mid`
23663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23676 # Binary search between lo and hi bounds.
23677 while test "x$ac_lo" != "x$ac_hi"; do
23678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23679 cat >conftest.
$ac_ext <<_ACEOF
23682 cat confdefs.h
>>conftest.
$ac_ext
23683 cat >>conftest.
$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685 $ac_includes_default
23686 typedef size_t ac__type_sizeof_;
23690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23697 rm -f conftest.
$ac_objext
23698 if { (ac_try
="$ac_compile"
23699 case "(($ac_try" in
23700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23701 *) ac_try_echo=$ac_try;;
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23704 (eval "$ac_compile") 2>conftest.er1
23706 grep -v '^ *+' conftest.er1 >conftest.err
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } && {
23711 test -z "$ac_c_werror_flag" ||
23712 test ! -s conftest.err
23713 } && test -s conftest.$ac_objext; then
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23719 ac_lo=`expr '(' $ac_mid ')' + 1`
23722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23726 '') if test "$ac_cv_type_size_t" = yes; then
23727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23728 See \`config.log
' for more details." >&5
23729 echo "$as_me: error: cannot compute sizeof (size_t)
23730 See \`config.log' for more details.
" >&2;}
23731 { (exit 77); exit 77; }; }
23733 ac_cv_sizeof_size_t=0
23737 cat >conftest.$ac_ext <<_ACEOF
23740 cat confdefs.h >>conftest.$ac_ext
23741 cat >>conftest.$ac_ext <<_ACEOF
23742 /* end confdefs.h. */
23743 $ac_includes_default
23744 typedef size_t ac__type_sizeof_;
23745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23748 #include <stdlib.h>
23753 FILE *f = fopen ("conftest.val
", "w
");
23756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23758 long int i = longval ();
23759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23761 fprintf (f, "%ld
\n", i);
23765 unsigned long int i = ulongval ();
23766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23768 fprintf (f, "%lu
\n", i);
23770 return ferror (f) || fclose (f) != 0;
23776 rm -f conftest$ac_exeext
23777 if { (ac_try="$ac_link"
23778 case "(($ac_try" in
23779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23780 *) ac_try_echo=$ac_try;;
23782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23783 (eval "$ac_link") 2>&5
23785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23787 { (case "(($ac_try" in
23788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23789 *) ac_try_echo=$ac_try;;
23791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23792 (eval "$ac_try") 2>&5
23794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23795 (exit $ac_status); }; }; then
23796 ac_cv_sizeof_size_t=`cat conftest.val`
23798 echo "$as_me: program exited with status
$ac_status" >&5
23799 echo "$as_me: failed program was
:" >&5
23800 sed 's/^/| /' conftest.$ac_ext >&5
23802 ( exit $ac_status )
23803 if test "$ac_cv_type_size_t" = yes; then
23804 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23805 See \
`config.log' for more details." >&5
23806 echo "$as_me: error: cannot compute sizeof (size_t)
23807 See \`config.log
' for more details." >&2;}
23808 { (exit 77); exit 77; }; }
23810 ac_cv_sizeof_size_t=0
23813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23818 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23822 cat >>confdefs.h <<_ACEOF
23823 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23830 { echo "$as_me:$LINENO: checking for long long" >&5
23831 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23832 if test "${ac_cv_type_long_long+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 cat >conftest.$ac_ext <<_ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 $ac_includes_default
23842 typedef long long ac__type_new_;
23846 if ((ac__type_new_ *) 0)
23848 if (sizeof (ac__type_new_))
23854 rm -f conftest.$ac_objext
23855 if { (ac_try="$ac_compile"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_compile") 2>conftest.er1
23863 grep -v '^
*+' conftest.er1 >conftest.err
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && {
23868 test -z "$ac_c_werror_flag" ||
23869 test ! -s conftest.err
23870 } && test -s conftest.$ac_objext; then
23871 ac_cv_type_long_long=yes
23873 echo "$as_me: failed program was:" >&5
23874 sed 's
/^
/| /' conftest.$ac_ext >&5
23876 ac_cv_type_long_long=no
23879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23882 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23884 # The cast to long int works around a bug in the HP C Compiler
23885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23887 # This bug is HP SR number 8606223364.
23888 { echo "$as_me:$LINENO: checking size of long long" >&5
23889 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23890 if test "${ac_cv_sizeof_long_long+set}" = set; then
23891 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 if test "$cross_compiling" = yes; then
23894 # Depending upon the size, compute the lo and hi bounds.
23895 cat >conftest.
$ac_ext <<_ACEOF
23898 cat confdefs.h
>>conftest.
$ac_ext
23899 cat >>conftest.
$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 $ac_includes_default
23902 typedef long long ac__type_sizeof_;
23906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23913 rm -f conftest.
$ac_objext
23914 if { (ac_try
="$ac_compile"
23915 case "(($ac_try" in
23916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_compile") 2>conftest.er1
23922 grep -v '^ *+' conftest.er1 >conftest.err
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); } && {
23927 test -z "$ac_c_werror_flag" ||
23928 test ! -s conftest.err
23929 } && test -s conftest.$ac_objext; then
23932 cat >conftest.$ac_ext <<_ACEOF
23935 cat confdefs.h >>conftest.$ac_ext
23936 cat >>conftest.$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23938 $ac_includes_default
23939 typedef long long ac__type_sizeof_;
23943 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23950 rm -f conftest.$ac_objext
23951 if { (ac_try="$ac_compile"
23952 case "(($ac_try" in
23953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23954 *) ac_try_echo
=$ac_try;;
23956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23957 (eval "$ac_compile") 2>conftest.er1
23959 grep -v '^ *+' conftest.er1
>conftest.err
23961 cat conftest.err
>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } && {
23964 test -z "$ac_c_werror_flag" ||
23965 test ! -s conftest.err
23966 } && test -s conftest.
$ac_objext; then
23967 ac_hi
=$ac_mid; break
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.
$ac_ext >&5
23972 ac_lo
=`expr $ac_mid + 1`
23973 if test $ac_lo -le $ac_mid; then
23977 ac_mid
=`expr 2 '*' $ac_mid + 1`
23980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23983 echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.
$ac_ext >&5
23986 cat >conftest.
$ac_ext <<_ACEOF
23989 cat confdefs.h
>>conftest.
$ac_ext
23990 cat >>conftest.
$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992 $ac_includes_default
23993 typedef long long ac__type_sizeof_;
23997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24004 rm -f conftest.
$ac_objext
24005 if { (ac_try
="$ac_compile"
24006 case "(($ac_try" in
24007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_compile") 2>conftest.er1
24013 grep -v '^ *+' conftest.er1 >conftest.err
24015 cat conftest.err >&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } && {
24018 test -z "$ac_c_werror_flag" ||
24019 test ! -s conftest.err
24020 } && test -s conftest.$ac_objext; then
24023 cat >conftest.$ac_ext <<_ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029 $ac_includes_default
24030 typedef long long ac__type_sizeof_;
24034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24045 *) ac_try_echo
=$ac_try;;
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24050 grep -v '^ *+' conftest.er1
>conftest.err
24052 cat conftest.err
>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_c_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.
$ac_objext; then
24058 ac_lo
=$ac_mid; break
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.
$ac_ext >&5
24063 ac_hi
=`expr '(' $ac_mid ')' - 1`
24064 if test $ac_mid -le $ac_hi; then
24068 ac_mid
=`expr 2 '*' $ac_mid`
24071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24074 echo "$as_me: failed program was:" >&5
24075 sed 's/^/| /' conftest.
$ac_ext >&5
24080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24084 # Binary search between lo and hi bounds.
24085 while test "x$ac_lo" != "x$ac_hi"; do
24086 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24087 cat >conftest.
$ac_ext <<_ACEOF
24090 cat confdefs.h
>>conftest.
$ac_ext
24091 cat >>conftest.
$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 $ac_includes_default
24094 typedef long long ac__type_sizeof_;
24098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24105 rm -f conftest.
$ac_objext
24106 if { (ac_try
="$ac_compile"
24107 case "(($ac_try" in
24108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_compile") 2>conftest.er1
24114 grep -v '^ *+' conftest.er1 >conftest.err
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest.$ac_objext; then
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24127 ac_lo=`expr '(' $ac_mid ')' + 1`
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24133 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24134 '') if test "$ac_cv_type_long_long" = yes; then
24135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24136 See \`config.log
' for more details." >&5
24137 echo "$as_me: error: cannot compute sizeof (long long)
24138 See \`config.log' for more details.
" >&2;}
24139 { (exit 77); exit 77; }; }
24141 ac_cv_sizeof_long_long=0
24145 cat >conftest.$ac_ext <<_ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151 $ac_includes_default
24152 typedef long long ac__type_sizeof_;
24153 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24154 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24156 #include <stdlib.h>
24161 FILE *f = fopen ("conftest.val
", "w
");
24164 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24166 long int i = longval ();
24167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24169 fprintf (f, "%ld
\n", i);
24173 unsigned long int i = ulongval ();
24174 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24176 fprintf (f, "%lu
\n", i);
24178 return ferror (f) || fclose (f) != 0;
24184 rm -f conftest$ac_exeext
24185 if { (ac_try="$ac_link"
24186 case "(($ac_try" in
24187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24188 *) ac_try_echo=$ac_try;;
24190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24191 (eval "$ac_link") 2>&5
24193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24195 { (case "(($ac_try" in
24196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24197 *) ac_try_echo=$ac_try;;
24199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24200 (eval "$ac_try") 2>&5
24202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24203 (exit $ac_status); }; }; then
24204 ac_cv_sizeof_long_long=`cat conftest.val`
24206 echo "$as_me: program exited with status
$ac_status" >&5
24207 echo "$as_me: failed program was
:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24210 ( exit $ac_status )
24211 if test "$ac_cv_type_long_long" = yes; then
24212 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24213 See \
`config.log' for more details." >&5
24214 echo "$as_me: error: cannot compute sizeof (long long)
24215 See \`config.log
' for more details." >&2;}
24216 { (exit 77); exit 77; }; }
24218 ac_cv_sizeof_long_long=0
24221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24225 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24226 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24230 cat >>confdefs.h <<_ACEOF
24231 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24237 { echo "$as_me:$LINENO: checking for long long" >&5
24238 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24239 if test "${ac_cv_type_long_long+set}" = set; then
24240 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 cat >conftest.$ac_ext <<_ACEOF
24245 cat confdefs.h >>conftest.$ac_ext
24246 cat >>conftest.$ac_ext <<_ACEOF
24247 /* end confdefs.h. */
24248 $ac_includes_default
24249 typedef long long ac__type_new_;
24253 if ((ac__type_new_ *) 0)
24255 if (sizeof (ac__type_new_))
24261 rm -f conftest.$ac_objext
24262 if { (ac_try="$ac_compile"
24263 case "(($ac_try" in
24264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24265 *) ac_try_echo=$ac_try;;
24267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24268 (eval "$ac_compile") 2>conftest.er1
24270 grep -v '^
*+' conftest.er1 >conftest.err
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } && {
24275 test -z "$ac_c_werror_flag" ||
24276 test ! -s conftest.err
24277 } && test -s conftest.$ac_objext; then
24278 ac_cv_type_long_long=yes
24280 echo "$as_me: failed program was:" >&5
24281 sed 's
/^
/| /' conftest.$ac_ext >&5
24283 ac_cv_type_long_long=no
24286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24289 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24291 # The cast to long int works around a bug in the HP C Compiler
24292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24294 # This bug is HP SR number 8606223364.
24295 { echo "$as_me:$LINENO: checking size of long long" >&5
24296 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24297 if test "${ac_cv_sizeof_long_long+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 if test "$cross_compiling" = yes; then
24301 # Depending upon the size, compute the lo and hi bounds.
24302 cat >conftest.
$ac_ext <<_ACEOF
24305 cat confdefs.h
>>conftest.
$ac_ext
24306 cat >>conftest.
$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 $ac_includes_default
24309 typedef long long ac__type_sizeof_;
24313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24320 rm -f conftest.
$ac_objext
24321 if { (ac_try
="$ac_compile"
24322 case "(($ac_try" in
24323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24324 *) ac_try_echo=$ac_try;;
24326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24327 (eval "$ac_compile") 2>conftest.er1
24329 grep -v '^ *+' conftest.er1 >conftest.err
24331 cat conftest.err >&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } && {
24334 test -z "$ac_c_werror_flag" ||
24335 test ! -s conftest.err
24336 } && test -s conftest.$ac_objext; then
24339 cat >conftest.$ac_ext <<_ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24345 $ac_includes_default
24346 typedef long long ac__type_sizeof_;
24350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24357 rm -f conftest.$ac_objext
24358 if { (ac_try="$ac_compile"
24359 case "(($ac_try" in
24360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24361 *) ac_try_echo
=$ac_try;;
24363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24364 (eval "$ac_compile") 2>conftest.er1
24366 grep -v '^ *+' conftest.er1
>conftest.err
24368 cat conftest.err
>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && {
24371 test -z "$ac_c_werror_flag" ||
24372 test ! -s conftest.err
24373 } && test -s conftest.
$ac_objext; then
24374 ac_hi
=$ac_mid; break
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.
$ac_ext >&5
24379 ac_lo
=`expr $ac_mid + 1`
24380 if test $ac_lo -le $ac_mid; then
24384 ac_mid
=`expr 2 '*' $ac_mid + 1`
24387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.
$ac_ext >&5
24393 cat >conftest.
$ac_ext <<_ACEOF
24396 cat confdefs.h
>>conftest.
$ac_ext
24397 cat >>conftest.
$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24399 $ac_includes_default
24400 typedef long long ac__type_sizeof_;
24404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24411 rm -f conftest.
$ac_objext
24412 if { (ac_try
="$ac_compile"
24413 case "(($ac_try" in
24414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24415 *) ac_try_echo=$ac_try;;
24417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24418 (eval "$ac_compile") 2>conftest.er1
24420 grep -v '^ *+' conftest.er1 >conftest.err
24422 cat conftest.err >&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && {
24425 test -z "$ac_c_werror_flag" ||
24426 test ! -s conftest.err
24427 } && test -s conftest.$ac_objext; then
24430 cat >conftest.$ac_ext <<_ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h. */
24436 $ac_includes_default
24437 typedef long long ac__type_sizeof_;
24441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24448 rm -f conftest.$ac_objext
24449 if { (ac_try="$ac_compile"
24450 case "(($ac_try" in
24451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24452 *) ac_try_echo
=$ac_try;;
24454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24455 (eval "$ac_compile") 2>conftest.er1
24457 grep -v '^ *+' conftest.er1
>conftest.err
24459 cat conftest.err
>&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } && {
24462 test -z "$ac_c_werror_flag" ||
24463 test ! -s conftest.err
24464 } && test -s conftest.
$ac_objext; then
24465 ac_lo
=$ac_mid; break
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.
$ac_ext >&5
24470 ac_hi
=`expr '(' $ac_mid ')' - 1`
24471 if test $ac_mid -le $ac_hi; then
24475 ac_mid
=`expr 2 '*' $ac_mid`
24478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.
$ac_ext >&5
24487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24491 # Binary search between lo and hi bounds.
24492 while test "x$ac_lo" != "x$ac_hi"; do
24493 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24494 cat >conftest.
$ac_ext <<_ACEOF
24497 cat confdefs.h
>>conftest.
$ac_ext
24498 cat >>conftest.
$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 $ac_includes_default
24501 typedef long long ac__type_sizeof_;
24505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24512 rm -f conftest.
$ac_objext
24513 if { (ac_try
="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24521 grep -v '^ *+' conftest.er1 >conftest.err
24523 cat conftest.err >&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_c_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.$ac_objext; then
24531 echo "$as_me: failed program was:" >&5
24532 sed 's/^/| /' conftest.$ac_ext >&5
24534 ac_lo=`expr '(' $ac_mid ')' + 1`
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24541 '') if test "$ac_cv_type_long_long" = yes; then
24542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24543 See \`config.log
' for more details." >&5
24544 echo "$as_me: error: cannot compute sizeof (long long)
24545 See \`config.log' for more details.
" >&2;}
24546 { (exit 77); exit 77; }; }
24548 ac_cv_sizeof_long_long=0
24552 cat >conftest.$ac_ext <<_ACEOF
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24558 $ac_includes_default
24559 typedef long long ac__type_sizeof_;
24560 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24561 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24563 #include <stdlib.h>
24568 FILE *f = fopen ("conftest.val
", "w
");
24571 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24573 long int i = longval ();
24574 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24576 fprintf (f, "%ld
\n", i);
24580 unsigned long int i = ulongval ();
24581 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24583 fprintf (f, "%lu
\n", i);
24585 return ferror (f) || fclose (f) != 0;
24591 rm -f conftest$ac_exeext
24592 if { (ac_try="$ac_link"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_link") 2>&5
24600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24602 { (case "(($ac_try" in
24603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24604 *) ac_try_echo=$ac_try;;
24606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24607 (eval "$ac_try") 2>&5
24609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24610 (exit $ac_status); }; }; then
24611 ac_cv_sizeof_long_long=`cat conftest.val`
24613 echo "$as_me: program exited with status
$ac_status" >&5
24614 echo "$as_me: failed program was
:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24617 ( exit $ac_status )
24618 if test "$ac_cv_type_long_long" = yes; then
24619 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24620 See \
`config.log' for more details." >&5
24621 echo "$as_me: error: cannot compute sizeof (long long)
24622 See \`config.log
' for more details." >&2;}
24623 { (exit 77); exit 77; }; }
24625 ac_cv_sizeof_long_long=0
24628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24632 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24633 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24637 cat >>confdefs.h <<_ACEOF
24638 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24642 if test "$ac_cv_sizeof_long_long" != "0"; then
24643 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24647 { echo "$as_me:$LINENO: checking for long long" >&5
24648 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24649 if test "${ac_cv_type_long_long+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 cat >conftest.$ac_ext <<_ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24658 $ac_includes_default
24659 typedef long long ac__type_new_;
24663 if ((ac__type_new_ *) 0)
24665 if (sizeof (ac__type_new_))
24671 rm -f conftest.$ac_objext
24672 if { (ac_try="$ac_compile"
24673 case "(($ac_try" in
24674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24675 *) ac_try_echo=$ac_try;;
24677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24678 (eval "$ac_compile") 2>conftest.er1
24680 grep -v '^
*+' conftest.er1 >conftest.err
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } && {
24685 test -z "$ac_c_werror_flag" ||
24686 test ! -s conftest.err
24687 } && test -s conftest.$ac_objext; then
24688 ac_cv_type_long_long=yes
24690 echo "$as_me: failed program was:" >&5
24691 sed 's
/^
/| /' conftest.$ac_ext >&5
24693 ac_cv_type_long_long=no
24696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24699 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24701 # The cast to long int works around a bug in the HP C Compiler
24702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24704 # This bug is HP SR number 8606223364.
24705 { echo "$as_me:$LINENO: checking size of long long" >&5
24706 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24707 if test "${ac_cv_sizeof_long_long+set}" = set; then
24708 echo $ECHO_N "(cached) $ECHO_C" >&6
24710 if test "$cross_compiling" = yes; then
24711 # Depending upon the size, compute the lo and hi bounds.
24712 cat >conftest.
$ac_ext <<_ACEOF
24715 cat confdefs.h
>>conftest.
$ac_ext
24716 cat >>conftest.
$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24718 $ac_includes_default
24719 typedef long long ac__type_sizeof_;
24723 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24730 rm -f conftest.
$ac_objext
24731 if { (ac_try
="$ac_compile"
24732 case "(($ac_try" in
24733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_compile") 2>conftest.er1
24739 grep -v '^ *+' conftest.er1 >conftest.err
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } && {
24744 test -z "$ac_c_werror_flag" ||
24745 test ! -s conftest.err
24746 } && test -s conftest.$ac_objext; then
24749 cat >conftest.$ac_ext <<_ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 $ac_includes_default
24756 typedef long long ac__type_sizeof_;
24760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24767 rm -f conftest.$ac_objext
24768 if { (ac_try="$ac_compile"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24771 *) ac_try_echo
=$ac_try;;
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_compile") 2>conftest.er1
24776 grep -v '^ *+' conftest.er1
>conftest.err
24778 cat conftest.err
>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_c_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest.
$ac_objext; then
24784 ac_hi
=$ac_mid; break
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.
$ac_ext >&5
24789 ac_lo
=`expr $ac_mid + 1`
24790 if test $ac_lo -le $ac_mid; then
24794 ac_mid
=`expr 2 '*' $ac_mid + 1`
24797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.
$ac_ext >&5
24803 cat >conftest.
$ac_ext <<_ACEOF
24806 cat confdefs.h
>>conftest.
$ac_ext
24807 cat >>conftest.
$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809 $ac_includes_default
24810 typedef long long ac__type_sizeof_;
24814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24821 rm -f conftest.
$ac_objext
24822 if { (ac_try
="$ac_compile"
24823 case "(($ac_try" in
24824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24825 *) ac_try_echo=$ac_try;;
24827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24828 (eval "$ac_compile") 2>conftest.er1
24830 grep -v '^ *+' conftest.er1 >conftest.err
24832 cat conftest.err >&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } && {
24835 test -z "$ac_c_werror_flag" ||
24836 test ! -s conftest.err
24837 } && test -s conftest.$ac_objext; then
24840 cat >conftest.$ac_ext <<_ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846 $ac_includes_default
24847 typedef long long ac__type_sizeof_;
24851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24862 *) ac_try_echo
=$ac_try;;
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24867 grep -v '^ *+' conftest.er1
>conftest.err
24869 cat conftest.err
>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_c_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.
$ac_objext; then
24875 ac_lo
=$ac_mid; break
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24880 ac_hi
=`expr '(' $ac_mid ')' - 1`
24881 if test $ac_mid -le $ac_hi; then
24885 ac_mid
=`expr 2 '*' $ac_mid`
24888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24891 echo "$as_me: failed program was:" >&5
24892 sed 's/^/| /' conftest.
$ac_ext >&5
24897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24901 # Binary search between lo and hi bounds.
24902 while test "x$ac_lo" != "x$ac_hi"; do
24903 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24904 cat >conftest.
$ac_ext <<_ACEOF
24907 cat confdefs.h
>>conftest.
$ac_ext
24908 cat >>conftest.
$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910 $ac_includes_default
24911 typedef long long ac__type_sizeof_;
24915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24922 rm -f conftest.
$ac_objext
24923 if { (ac_try
="$ac_compile"
24924 case "(($ac_try" in
24925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_compile") 2>conftest.er1
24931 grep -v '^ *+' conftest.er1 >conftest.err
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && {
24936 test -z "$ac_c_werror_flag" ||
24937 test ! -s conftest.err
24938 } && test -s conftest.$ac_objext; then
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24944 ac_lo=`expr '(' $ac_mid ')' + 1`
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24951 '') if test "$ac_cv_type_long_long" = yes; then
24952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24953 See \`config.log
' for more details." >&5
24954 echo "$as_me: error: cannot compute sizeof (long long)
24955 See \`config.log' for more details.
" >&2;}
24956 { (exit 77); exit 77; }; }
24958 ac_cv_sizeof_long_long=0
24962 cat >conftest.$ac_ext <<_ACEOF
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h. */
24968 $ac_includes_default
24969 typedef long long ac__type_sizeof_;
24970 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24971 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24973 #include <stdlib.h>
24978 FILE *f = fopen ("conftest.val
", "w
");
24981 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24983 long int i = longval ();
24984 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24986 fprintf (f, "%ld
\n", i);
24990 unsigned long int i = ulongval ();
24991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24993 fprintf (f, "%lu
\n", i);
24995 return ferror (f) || fclose (f) != 0;
25001 rm -f conftest$ac_exeext
25002 if { (ac_try="$ac_link"
25003 case "(($ac_try" in
25004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25005 *) ac_try_echo=$ac_try;;
25007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25008 (eval "$ac_link") 2>&5
25010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25012 { (case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;;
25016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25017 (eval "$ac_try") 2>&5
25019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25020 (exit $ac_status); }; }; then
25021 ac_cv_sizeof_long_long=`cat conftest.val`
25023 echo "$as_me: program exited with status
$ac_status" >&5
25024 echo "$as_me: failed program was
:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25027 ( exit $ac_status )
25028 if test "$ac_cv_type_long_long" = yes; then
25029 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25030 See \
`config.log' for more details." >&5
25031 echo "$as_me: error: cannot compute sizeof (long long)
25032 See \`config.log
' for more details." >&2;}
25033 { (exit 77); exit 77; }; }
25035 ac_cv_sizeof_long_long=0
25038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25042 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25043 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25047 cat >>confdefs.h <<_ACEOF
25048 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25054 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25055 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25056 if test "${ac_cv_type_wchar_t+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 cat >conftest.$ac_ext <<_ACEOF
25062 cat confdefs.h >>conftest.$ac_ext
25063 cat >>conftest.$ac_ext <<_ACEOF
25064 /* end confdefs.h. */
25066 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25067 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25068 # error "fake wchar_t"
25070 #ifdef HAVE_WCHAR_H
25072 # include <stddef.h>
25074 # include <wchar.h>
25076 #ifdef HAVE_STDLIB_H
25077 # include <stdlib.h>
25083 typedef wchar_t ac__type_new_
;
25087 if ((ac__type_new_
*) 0)
25089 if (sizeof
(ac__type_new_
))
25095 rm -f conftest.
$ac_objext
25096 if { (ac_try
="$ac_compile"
25097 case "(($ac_try" in
25098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25099 *) ac_try_echo=$ac_try;;
25101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25102 (eval "$ac_compile") 2>conftest.er1
25104 grep -v '^ *+' conftest.er1 >conftest.err
25106 cat conftest.err >&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); } && {
25109 test -z "$ac_c_werror_flag" ||
25110 test ! -s conftest.err
25111 } && test -s conftest.$ac_objext; then
25112 ac_cv_type_wchar_t=yes
25114 echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25117 ac_cv_type_wchar_t=no
25120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25123 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25125 # The cast to long int works around a bug in the HP C Compiler
25126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25127 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25128 # This bug is HP SR number 8606223364.
25129 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25130 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25131 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25132 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 if test "$cross_compiling" = yes; then
25135 # Depending upon the size, compute the lo and hi bounds.
25136 cat >conftest.$ac_ext <<_ACEOF
25139 cat confdefs.h >>conftest.$ac_ext
25140 cat >>conftest.$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25143 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25144 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25145 # error "fake wchar_t"
25147 #ifdef HAVE_WCHAR_H
25149 # include <stddef.h>
25151 # include <wchar.h>
25153 #ifdef HAVE_STDLIB_H
25154 # include <stdlib.h>
25160 typedef wchar_t ac__type_sizeof_
;
25164 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25171 rm -f conftest.
$ac_objext
25172 if { (ac_try
="$ac_compile"
25173 case "(($ac_try" in
25174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25175 *) ac_try_echo=$ac_try;;
25177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25178 (eval "$ac_compile") 2>conftest.er1
25180 grep -v '^ *+' conftest.er1 >conftest.err
25182 cat conftest.err >&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } && {
25185 test -z "$ac_c_werror_flag" ||
25186 test ! -s conftest.err
25187 } && test -s conftest.$ac_objext; then
25190 cat >conftest.$ac_ext <<_ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25197 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25198 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25199 # error "fake wchar_t"
25201 #ifdef HAVE_WCHAR_H
25203 # include <stddef.h>
25205 # include <wchar.h>
25207 #ifdef HAVE_STDLIB_H
25208 # include <stdlib.h>
25214 typedef wchar_t ac__type_sizeof_;
25218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25225 rm -f conftest.$ac_objext
25226 if { (ac_try="$ac_compile"
25227 case "(($ac_try" in
25228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25229 *) ac_try_echo
=$ac_try;;
25231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25232 (eval "$ac_compile") 2>conftest.er1
25234 grep -v '^ *+' conftest.er1
>conftest.err
25236 cat conftest.err
>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); } && {
25239 test -z "$ac_c_werror_flag" ||
25240 test ! -s conftest.err
25241 } && test -s conftest.
$ac_objext; then
25242 ac_hi
=$ac_mid; break
25244 echo "$as_me: failed program was:" >&5
25245 sed 's/^/| /' conftest.
$ac_ext >&5
25247 ac_lo
=`expr $ac_mid + 1`
25248 if test $ac_lo -le $ac_mid; then
25252 ac_mid
=`expr 2 '*' $ac_mid + 1`
25255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25258 echo "$as_me: failed program was:" >&5
25259 sed 's/^/| /' conftest.
$ac_ext >&5
25261 cat >conftest.
$ac_ext <<_ACEOF
25264 cat confdefs.h
>>conftest.
$ac_ext
25265 cat >>conftest.
$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25268 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25269 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25270 # error "fake wchar_t"
25272 #ifdef HAVE_WCHAR_H
25274 # include <stddef.h>
25276 # include <wchar.h>
25278 #ifdef HAVE_STDLIB_H
25279 # include <stdlib.h>
25285 typedef wchar_t ac__type_sizeof_;
25289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25296 rm -f conftest.
$ac_objext
25297 if { (ac_try
="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25305 grep -v '^ *+' conftest.er1 >conftest.err
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_c_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25315 cat >conftest.$ac_ext <<_ACEOF
25318 cat confdefs.h >>conftest.$ac_ext
25319 cat >>conftest.$ac_ext <<_ACEOF
25320 /* end confdefs.h. */
25322 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25323 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25324 # error "fake wchar_t"
25326 #ifdef HAVE_WCHAR_H
25328 # include <stddef.h>
25330 # include <wchar.h>
25332 #ifdef HAVE_STDLIB_H
25333 # include <stdlib.h>
25339 typedef wchar_t ac__type_sizeof_;
25343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25350 rm -f conftest.$ac_objext
25351 if { (ac_try="$ac_compile"
25352 case "(($ac_try" in
25353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25354 *) ac_try_echo
=$ac_try;;
25356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25357 (eval "$ac_compile") 2>conftest.er1
25359 grep -v '^ *+' conftest.er1
>conftest.err
25361 cat conftest.err
>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } && {
25364 test -z "$ac_c_werror_flag" ||
25365 test ! -s conftest.err
25366 } && test -s conftest.
$ac_objext; then
25367 ac_lo
=$ac_mid; break
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.
$ac_ext >&5
25372 ac_hi
=`expr '(' $ac_mid ')' - 1`
25373 if test $ac_mid -le $ac_hi; then
25377 ac_mid
=`expr 2 '*' $ac_mid`
25380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.
$ac_ext >&5
25389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25393 # Binary search between lo and hi bounds.
25394 while test "x$ac_lo" != "x$ac_hi"; do
25395 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25396 cat >conftest.
$ac_ext <<_ACEOF
25399 cat confdefs.h
>>conftest.
$ac_ext
25400 cat >>conftest.
$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
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"
25407 #ifdef HAVE_WCHAR_H
25409 # include <stddef.h>
25411 # include <wchar.h>
25413 #ifdef HAVE_STDLIB_H
25414 # include <stdlib.h>
25420 typedef wchar_t ac__type_sizeof_;
25424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
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;;
25437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25438 (eval "$ac_compile") 2>conftest.er1
25440 grep -v '^ *+' conftest.er1 >conftest.err
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
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25453 ac_lo=`expr '(' $ac_mid ')' + 1`
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25460 '') if test "$ac_cv_type_wchar_t" = yes; then
25461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25462 See \`config.log
' for more details." >&5
25463 echo "$as_me: error: cannot compute sizeof (wchar_t)
25464 See \`config.log' for more details.
" >&2;}
25465 { (exit 77); exit 77; }; }
25467 ac_cv_sizeof_wchar_t=0
25471 cat >conftest.$ac_ext <<_ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25478 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25479 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25480 # error "fake wchar_t
"
25482 #ifdef HAVE_WCHAR_H
25484 # include <stddef.h>
25486 # include <wchar.h>
25488 #ifdef HAVE_STDLIB_H
25489 # include <stdlib.h>
25495 typedef wchar_t ac__type_sizeof_;
25496 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25497 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25499 #include <stdlib.h>
25504 FILE *f = fopen ("conftest.val
", "w
");
25507 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25509 long int i = longval ();
25510 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25512 fprintf (f, "%ld
\n", i);
25516 unsigned long int i = ulongval ();
25517 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25519 fprintf (f, "%lu
\n", i);
25521 return ferror (f) || fclose (f) != 0;
25527 rm -f conftest$ac_exeext
25528 if { (ac_try="$ac_link"
25529 case "(($ac_try" in
25530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25531 *) ac_try_echo=$ac_try;;
25533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25534 (eval "$ac_link") 2>&5
25536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25538 { (case "(($ac_try" in
25539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25540 *) ac_try_echo=$ac_try;;
25542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25543 (eval "$ac_try") 2>&5
25545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25546 (exit $ac_status); }; }; then
25547 ac_cv_sizeof_wchar_t=`cat conftest.val`
25549 echo "$as_me: program exited with status
$ac_status" >&5
25550 echo "$as_me: failed program was
:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25553 ( exit $ac_status )
25554 if test "$ac_cv_type_wchar_t" = yes; then
25555 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25556 See \
`config.log' for more details." >&5
25557 echo "$as_me: error: cannot compute sizeof (wchar_t)
25558 See \`config.log
' for more details." >&2;}
25559 { (exit 77); exit 77; }; }
25561 ac_cv_sizeof_wchar_t=0
25564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25568 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25569 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25573 cat >>confdefs.h <<_ACEOF
25574 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25578 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25584 { echo "$as_me:$LINENO: checking for va_copy" >&5
25585 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25586 if test "${wx_cv_func_va_copy+set}" = set; then
25587 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 ac_cpp='$CXXCPP $CPPFLAGS'
25592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25593 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596 cat >conftest.$ac_ext <<_ACEOF
25598 #include <stdarg.h>
25599 void foo(char *f, ...)
25613 rm -f conftest.$ac_objext conftest$ac_exeext
25614 if { (ac_try="$ac_link"
25615 case "(($ac_try" in
25616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25617 *) ac_try_echo=$ac_try;;
25619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25620 (eval "$ac_link") 2>conftest.er1
25622 grep -v '^
*+' conftest.er1 >conftest.err
25624 cat conftest.err >&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } && {
25627 test -z "$ac_cxx_werror_flag" ||
25628 test ! -s conftest.err
25629 } && test -s conftest$ac_exeext &&
25630 $as_test_x conftest$ac_exeext; then
25631 wx_cv_func_va_copy=yes
25633 echo "$as_me: failed program was:" >&5
25634 sed 's
/^
/| /' conftest.$ac_ext >&5
25636 wx_cv_func_va_copy=no
25640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25641 conftest$ac_exeext conftest.$ac_ext
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25645 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25652 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25654 if test $wx_cv_func_va_copy = "yes"; then
25655 cat >>confdefs.h <<\_ACEOF
25656 #define HAVE_VA_COPY 1
25660 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25661 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25662 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25666 if test "$cross_compiling" = yes; then
25667 wx_cv_type_va_list_lvalue=yes
25670 cat >conftest.$ac_ext <<_ACEOF
25672 #include <stdarg.h>
25673 int foo(char *f, ...)
25678 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25686 return foo("hi", 17);
25689 rm -f conftest$ac_exeext
25690 if { (ac_try="$ac_link"
25691 case "(($ac_try" in
25692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25693 *) ac_try_echo=$ac_try;;
25695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25696 (eval "$ac_link") 2>&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25700 { (case "(($ac_try" in
25701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25702 *) ac_try_echo=$ac_try;;
25704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25705 (eval "$ac_try") 2>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 wx_cv_type_va_list_lvalue=yes
25711 echo "$as_me: program exited with status $ac_status" >&5
25712 echo "$as_me: failed program was:" >&5
25713 sed 's
/^
/| /' conftest.$ac_ext >&5
25715 ( exit $ac_status )
25716 wx_cv_type_va_list_lvalue=no
25718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25725 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25726 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25728 if test $wx_cv_type_va_list_lvalue != "yes"; then
25729 cat >>confdefs.h <<\_ACEOF
25730 #define VA_LIST_IS_ARRAY 1
25736 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25738 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25739 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25740 if test "${wx_cv_have_variadic_macros+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 ac_cpp='$CXXCPP $CPPFLAGS'
25746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25747 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750 cat >conftest.$ac_ext <<_ACEOF
25753 cat confdefs.h >>conftest.$ac_ext
25754 cat >>conftest.$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25758 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25764 test("%s %d %p", "test", 1, 0);
25771 rm -f conftest.$ac_objext
25772 if { (ac_try="$ac_compile"
25773 case "(($ac_try" in
25774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25775 *) ac_try_echo=$ac_try;;
25777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25778 (eval "$ac_compile") 2>conftest.er1
25780 grep -v '^
*+' conftest.er1 >conftest.err
25782 cat conftest.err >&5
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); } && {
25785 test -z "$ac_cxx_werror_flag" ||
25786 test ! -s conftest.err
25787 } && test -s conftest.$ac_objext; then
25788 wx_cv_have_variadic_macros=yes
25790 echo "$as_me: failed program was:" >&5
25791 sed 's
/^
/| /' conftest.$ac_ext >&5
25793 wx_cv_have_variadic_macros=no
25797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25799 ac_cpp='$CPP $CPPFLAGS'
25800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25801 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25808 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25810 if test $wx_cv_have_variadic_macros = "yes"; then
25811 cat >>confdefs.h <<\_ACEOF
25812 #define HAVE_VARIADIC_MACROS 1
25818 # Check whether --enable-largefile was given.
25819 if test "${enable_largefile+set}" = set; then
25820 enableval=$enable_largefile;
25823 if test "$enable_largefile" != no; then
25826 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25827 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25828 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25829 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 cat >conftest.$ac_ext <<_ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25838 #define _FILE_OFFSET_BITS 64
25839 #include <sys/types.h>
25844 unsigned int field: sizeof(off_t) == 8;
25851 rm -f conftest.$ac_objext
25852 if { (ac_try="$ac_compile"
25853 case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_compile") 2>conftest.er1
25860 grep -v '^
*+' conftest.er1 >conftest.err
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } && {
25865 test -z "$ac_c_werror_flag" ||
25866 test ! -s conftest.err
25867 } && test -s conftest.$ac_objext; then
25868 ac_cv_sys_file_offset_bits=64
25870 echo "$as_me: failed program was:" >&5
25871 sed 's
/^
/| /' conftest.$ac_ext >&5
25873 ac_cv_sys_file_offset_bits=no
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25880 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25881 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25883 if test "$ac_cv_sys_file_offset_bits" != no; then
25885 cat >>confdefs.h <<_ACEOF
25886 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25891 if test "x$wx_largefile" != "xyes"; then
25893 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25894 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25895 if test "${ac_cv_sys_large_files+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25899 cat >conftest.$ac_ext <<_ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 #define _LARGE_FILES 1
25906 #include <sys/types.h>
25911 unsigned int field: sizeof(off_t) == 8;
25918 rm -f conftest.$ac_objext
25919 if { (ac_try="$ac_compile"
25920 case "(($ac_try" in
25921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25922 *) ac_try_echo=$ac_try;;
25924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25925 (eval "$ac_compile") 2>conftest.er1
25927 grep -v '^
*+' conftest.er1 >conftest.err
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } && {
25932 test -z "$ac_c_werror_flag" ||
25933 test ! -s conftest.err
25934 } && test -s conftest.$ac_objext; then
25935 ac_cv_sys_large_files=1
25937 echo "$as_me: failed program was:" >&5
25938 sed 's
/^
/| /' conftest.$ac_ext >&5
25940 ac_cv_sys_large_files=no
25943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25948 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25950 if test "$ac_cv_sys_large_files" != no; then
25952 cat >>confdefs.h <<_ACEOF
25953 #define _LARGE_FILES $ac_cv_sys_large_files
25960 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25961 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25962 if test "x$wx_largefile" = "xyes"; then
25963 cat >>confdefs.h <<\_ACEOF
25964 #define HAVE_LARGEFILE_SUPPORT 1
25968 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25969 echo "${ECHO_T}$wx_largefile" >&6; }
25973 if test "x$wx_largefile" = "xyes"; then
25974 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25975 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25977 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25978 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25979 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25980 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25981 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 ac_cpp='$CXXCPP $CPPFLAGS'
25986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25987 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25990 cat >conftest.$ac_ext <<_ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
26001 #ifndef __STDC_EXT__
26009 rm -f conftest.$ac_objext
26010 if { (ac_try="$ac_compile"
26011 case "(($ac_try" in
26012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26013 *) ac_try_echo=$ac_try;;
26015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26016 (eval "$ac_compile") 2>conftest.er1
26018 grep -v '^
*+' conftest.er1 >conftest.err
26020 cat conftest.err >&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } && {
26023 test -z "$ac_cxx_werror_flag" ||
26024 test ! -s conftest.err
26025 } && test -s conftest.$ac_objext; then
26026 wx_cv_STDC_EXT_required=no
26028 echo "$as_me: failed program was:" >&5
26029 sed 's
/^
/| /' conftest.$ac_ext >&5
26031 wx_cv_STDC_EXT_required=yes
26035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26037 ac_cpp='$CPP $CPPFLAGS'
26038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26039 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26046 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26047 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26052 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26054 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26055 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26056 if test "${ac_cv_sys_largefile_source+set}" = set; then
26057 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 cat >conftest.$ac_ext <<_ACEOF
26063 cat confdefs.h >>conftest.$ac_ext
26064 cat >>conftest.$ac_ext <<_ACEOF
26065 /* end confdefs.h. */
26066 #include <sys/types.h> /* for off_t */
26071 int (*fp) (FILE *, off_t, int) = fseeko;
26072 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26077 rm -f conftest.$ac_objext conftest$ac_exeext
26078 if { (ac_try="$ac_link"
26079 case "(($ac_try" in
26080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26081 *) ac_try_echo=$ac_try;;
26083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26084 (eval "$ac_link") 2>conftest.er1
26086 grep -v '^
*+' conftest.er1 >conftest.err
26088 cat conftest.err >&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); } && {
26091 test -z "$ac_c_werror_flag" ||
26092 test ! -s conftest.err
26093 } && test -s conftest$ac_exeext &&
26094 $as_test_x conftest$ac_exeext; then
26095 ac_cv_sys_largefile_source=no; break
26097 echo "$as_me: failed program was:" >&5
26098 sed 's
/^
/| /' conftest.$ac_ext >&5
26103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26104 conftest$ac_exeext conftest.$ac_ext
26105 cat >conftest.$ac_ext <<_ACEOF
26108 cat confdefs.h >>conftest.$ac_ext
26109 cat >>conftest.$ac_ext <<_ACEOF
26110 /* end confdefs.h. */
26111 #define _LARGEFILE_SOURCE 1
26112 #include <sys/types.h> /* for off_t */
26117 int (*fp) (FILE *, off_t, int) = fseeko;
26118 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26123 rm -f conftest.$ac_objext conftest$ac_exeext
26124 if { (ac_try="$ac_link"
26125 case "(($ac_try" in
26126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26127 *) ac_try_echo=$ac_try;;
26129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26130 (eval "$ac_link") 2>conftest.er1
26132 grep -v '^
*+' conftest.er1 >conftest.err
26134 cat conftest.err >&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } && {
26137 test -z "$ac_c_werror_flag" ||
26138 test ! -s conftest.err
26139 } && test -s conftest$ac_exeext &&
26140 $as_test_x conftest$ac_exeext; then
26141 ac_cv_sys_largefile_source=1; break
26143 echo "$as_me: failed program was:" >&5
26144 sed 's
/^
/| /' conftest.$ac_ext >&5
26149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26150 conftest$ac_exeext conftest.$ac_ext
26151 ac_cv_sys_largefile_source=unknown
26155 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26156 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26157 case $ac_cv_sys_largefile_source in #(
26160 cat >>confdefs.h <<_ACEOF
26161 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26167 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26168 # in glibc 2.1.3, but that breaks too many other things.
26169 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26170 if test $ac_cv_sys_largefile_source != unknown; then
26172 cat >>confdefs.h <<\_ACEOF
26173 #define HAVE_FSEEKO 1
26178 if test "$ac_cv_sys_largefile_source" != no; then
26179 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26183 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26184 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26185 if test "${ac_cv_c_bigendian+set}" = set; then
26186 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 ac_cv_c_bigendian=unknown
26189 # See if sys/param.h defines the BYTE_ORDER macro.
26190 cat >conftest.$ac_ext <<_ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 #include <sys/types.h>
26197 #include <sys/param.h>
26202 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26203 bogus endian macros
26209 rm -f conftest.$ac_objext
26210 if { (ac_try="$ac_compile"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_compile") 2>conftest.er1
26218 grep -v '^
*+' conftest.er1 >conftest.err
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest.$ac_objext; then
26226 # It does; now see whether it defined to BIG_ENDIAN or not.
26227 cat >conftest.$ac_ext <<_ACEOF
26230 cat confdefs.h >>conftest.$ac_ext
26231 cat >>conftest.$ac_ext <<_ACEOF
26232 /* end confdefs.h. */
26233 #include <sys/types.h>
26234 #include <sys/param.h>
26239 #if BYTE_ORDER != BIG_ENDIAN
26246 rm -f conftest.$ac_objext
26247 if { (ac_try="$ac_compile"
26248 case "(($ac_try" in
26249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26250 *) ac_try_echo=$ac_try;;
26252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26253 (eval "$ac_compile") 2>conftest.er1
26255 grep -v '^
*+' conftest.er1 >conftest.err
26257 cat conftest.err >&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); } && {
26260 test -z "$ac_c_werror_flag" ||
26261 test ! -s conftest.err
26262 } && test -s conftest.$ac_objext; then
26263 ac_cv_c_bigendian=yes
26265 echo "$as_me: failed program was:" >&5
26266 sed 's
/^
/| /' conftest.$ac_ext >&5
26268 ac_cv_c_bigendian=no
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26273 echo "$as_me: failed program was:" >&5
26274 sed 's
/^
/| /' conftest.$ac_ext >&5
26279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26280 if test $ac_cv_c_bigendian = unknown; then
26281 if test "$cross_compiling" = yes; then
26282 ac_cv_c_bigendian=unknown
26284 cat >conftest.$ac_ext <<_ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26291 /* Are we little or big endian? From Harbison&Steele. */
26295 char c[sizeof (long)];
26298 exit (u.c[sizeof (long) - 1] == 1);
26301 rm -f conftest$ac_exeext
26302 if { (ac_try="$ac_link"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_link") 2>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26312 { (case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_try") 2>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 ac_cv_c_bigendian=no
26323 echo "$as_me: program exited with status $ac_status" >&5
26324 echo "$as_me: failed program was:" >&5
26325 sed 's
/^
/| /' conftest.$ac_ext >&5
26327 ( exit $ac_status )
26328 ac_cv_c_bigendian=yes
26330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26336 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26337 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26338 if test $ac_cv_c_bigendian = unknown; then
26339 { 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
26340 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;}
26342 if test $ac_cv_c_bigendian = yes; then
26343 cat >>confdefs.h <<\_ACEOF
26344 #define WORDS_BIGENDIAN 1
26353 ac_cpp='$CXXCPP $CPPFLAGS'
26354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26355 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26360 for ac_header in iostream
26362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26366 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 cat >conftest.$ac_ext <<_ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26376 #include <$ac_header>
26378 rm -f conftest.$ac_objext
26379 if { (ac_try="$ac_compile"
26380 case "(($ac_try" in
26381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26382 *) ac_try_echo=$ac_try;;
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_compile") 2>conftest.er1
26387 grep -v '^
*+' conftest.er1 >conftest.err
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && {
26392 test -z "$ac_cxx_werror_flag" ||
26393 test ! -s conftest.err
26394 } && test -s conftest.$ac_objext; then
26395 eval "$as_ac_Header=yes"
26397 echo "$as_me: failed program was:" >&5
26398 sed 's
/^
/| /' conftest.$ac_ext >&5
26400 eval "$as_ac_Header=no"
26403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26405 ac_res=`eval echo '${'$as_ac_Header'}'`
26406 { echo "$as_me:$LINENO: result: $ac_res" >&5
26407 echo "${ECHO_T}$ac_res" >&6; }
26408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26409 cat >>confdefs.h <<_ACEOF
26410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26418 if test "$ac_cv_header_iostream" = "yes" ; then
26421 cat >>confdefs.h <<\_ACEOF
26422 #define wxUSE_IOSTREAMH 1
26428 ac_cpp='$CPP $CPPFLAGS'
26429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26430 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26436 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26437 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26438 if test "${wx_cv_cpp_bool+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 ac_cpp='$CXXCPP $CPPFLAGS'
26445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26446 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26450 cat >conftest.$ac_ext <<_ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26470 rm -f conftest.$ac_objext
26471 if { (ac_try="$ac_compile"
26472 case "(($ac_try" in
26473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26474 *) ac_try_echo=$ac_try;;
26476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26477 (eval "$ac_compile") 2>conftest.er1
26479 grep -v '^
*+' conftest.er1 >conftest.err
26481 cat conftest.err >&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } && {
26484 test -z "$ac_cxx_werror_flag" ||
26485 test ! -s conftest.err
26486 } && test -s conftest.$ac_objext; then
26491 echo "$as_me: failed program was:" >&5
26492 sed 's
/^
/| /' conftest.$ac_ext >&5
26500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26503 ac_cpp='$CPP $CPPFLAGS'
26504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26505 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26510 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26511 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26513 if test "$wx_cv_cpp_bool" = "yes"; then
26514 cat >>confdefs.h <<\_ACEOF
26515 #define HAVE_BOOL 1
26522 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26523 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26524 if test "${wx_cv_explicit+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26530 ac_cpp='$CXXCPP $CPPFLAGS'
26531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26532 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26536 cat >conftest.$ac_ext <<_ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26543 class Foo { public: explicit Foo(int) {} };
26555 rm -f conftest.$ac_objext
26556 if { (ac_try="$ac_compile"
26557 case "(($ac_try" in
26558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26559 *) ac_try_echo=$ac_try;;
26561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26562 (eval "$ac_compile") 2>conftest.er1
26564 grep -v '^
*+' conftest.er1 >conftest.err
26566 cat conftest.err >&5
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); } && {
26569 test -z "$ac_cxx_werror_flag" ||
26570 test ! -s conftest.err
26571 } && test -s conftest.$ac_objext; then
26573 cat >conftest.$ac_ext <<_ACEOF
26576 cat confdefs.h >>conftest.$ac_ext
26577 cat >>conftest.$ac_ext <<_ACEOF
26578 /* end confdefs.h. */
26580 class Foo { public: explicit Foo(int) {} };
26581 static void TakeFoo(const Foo& foo) { }
26594 rm -f conftest.$ac_objext
26595 if { (ac_try="$ac_compile"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_compile") 2>conftest.er1
26603 grep -v '^
*+' conftest.er1 >conftest.err
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } && {
26608 test -z "$ac_cxx_werror_flag" ||
26609 test ! -s conftest.err
26610 } && test -s conftest.$ac_objext; then
26613 echo "$as_me: failed program was:" >&5
26614 sed 's
/^
/| /' conftest.$ac_ext >&5
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623 echo "$as_me: failed program was:" >&5
26624 sed 's
/^
/| /' conftest.$ac_ext >&5
26630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26635 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26640 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26641 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26643 if test "$wx_cv_explicit" = "yes"; then
26644 cat >>confdefs.h <<\_ACEOF
26645 #define HAVE_EXPLICIT 1
26651 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26652 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26653 if test "${ac_cv_cxx_const_cast+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 ac_cpp='$CXXCPP $CPPFLAGS'
26659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26660 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26663 cat >conftest.$ac_ext <<_ACEOF
26666 cat confdefs.h >>conftest.$ac_ext
26667 cat >>conftest.$ac_ext <<_ACEOF
26668 /* end confdefs.h. */
26673 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26678 rm -f conftest.$ac_objext
26679 if { (ac_try="$ac_compile"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_compile") 2>conftest.er1
26687 grep -v '^
*+' conftest.er1 >conftest.err
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_cxx_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest.$ac_objext; then
26695 ac_cv_cxx_const_cast=yes
26697 echo "$as_me: failed program was:" >&5
26698 sed 's
/^
/| /' conftest.$ac_ext >&5
26700 ac_cv_cxx_const_cast=no
26703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26707 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26712 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26713 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26714 if test "$ac_cv_cxx_const_cast" = yes; then
26716 cat >>confdefs.h <<\_ACEOF
26717 #define HAVE_CONST_CAST
26722 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26723 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26724 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 ac_cpp='$CXXCPP $CPPFLAGS'
26730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26731 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734 cat >conftest.$ac_ext <<_ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 #include <typeinfo>
26741 class Base { public : Base () {} virtual void f () = 0;};
26742 class Derived : public Base { public : Derived () {} virtual void f () {} };
26743 class Unrelated { public : Unrelated () {} };
26744 int g (Unrelated&) { return 0; }
26749 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26754 rm -f conftest.$ac_objext
26755 if { (ac_try="$ac_compile"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;;
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_compile") 2>conftest.er1
26763 grep -v '^
*+' conftest.er1 >conftest.err
26765 cat conftest.err >&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } && {
26768 test -z "$ac_cxx_werror_flag" ||
26769 test ! -s conftest.err
26770 } && test -s conftest.$ac_objext; then
26771 ac_cv_cxx_reinterpret_cast=yes
26773 echo "$as_me: failed program was:" >&5
26774 sed 's
/^
/| /' conftest.$ac_ext >&5
26776 ac_cv_cxx_reinterpret_cast=no
26779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781 ac_cpp='$CPP $CPPFLAGS'
26782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26783 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26788 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26789 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26790 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26792 cat >>confdefs.h <<\_ACEOF
26793 #define HAVE_REINTERPRET_CAST
26798 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26799 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26800 if test "${ac_cv_cxx_static_cast+set}" = set; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 ac_cpp='$CXXCPP $CPPFLAGS'
26806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26807 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26810 cat >conftest.$ac_ext <<_ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816 #include <typeinfo>
26817 class Base { public : Base () {} virtual void f () = 0; };
26818 class Derived : public Base { public : Derived () {} virtual void f () {} };
26819 int g (Derived&) { return 0; }
26824 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26829 rm -f conftest.$ac_objext
26830 if { (ac_try="$ac_compile"
26831 case "(($ac_try" in
26832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26833 *) ac_try_echo=$ac_try;;
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836 (eval "$ac_compile") 2>conftest.er1
26838 grep -v '^
*+' conftest.er1 >conftest.err
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } && {
26843 test -z "$ac_cxx_werror_flag" ||
26844 test ! -s conftest.err
26845 } && test -s conftest.$ac_objext; then
26846 ac_cv_cxx_static_cast=yes
26848 echo "$as_me: failed program was:" >&5
26849 sed 's
/^
/| /' conftest.$ac_ext >&5
26851 ac_cv_cxx_static_cast=no
26854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856 ac_cpp='$CPP $CPPFLAGS'
26857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26858 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26864 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26865 if test "$ac_cv_cxx_static_cast" = yes; then
26867 cat >>confdefs.h <<\_ACEOF
26868 #define HAVE_STATIC_CAST
26874 if test "x$SUNCXX" = xyes; then
26875 CXXFLAGS="-features=tmplife $CXXFLAGS"
26878 if test "x$SUNCC" = xyes; then
26879 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26882 if test "x$SGICC" = "xyes"; then
26883 CFLAGS="-woff 3970 $CFLAGS"
26885 if test "x$SGICXX" = "xyes"; then
26886 CXXFLAGS="-woff 3970 $CXXFLAGS"
26889 if test "x$HPCC" = "xyes"; then
26890 CFLAGS="+W 2011,2450 $CFLAGS"
26892 if test "x$HPCXX" = "xyes"; then
26893 CXXFLAGS="+W 2340 $CXXFLAGS"
26896 if test "x$COMPAQCXX" = "xyes"; then
26897 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26901 ac_cpp='$CXXCPP $CPPFLAGS'
26902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26903 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26907 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26908 if test "$wxUSE_UNICODE" = "yes"; then
26909 std_string="std::wstring"
26910 char_type="wchar_t"
26912 std_string="std::string"
26916 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26917 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26918 if test "${wx_cv_class_stdstring+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 cat >conftest.$ac_ext <<_ACEOF
26925 cat confdefs.h >>conftest.$ac_ext
26926 cat >>conftest.$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26937 rm -f conftest.$ac_objext
26938 if { (ac_try="$ac_compile"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_compile") 2>conftest.er1
26946 grep -v '^
*+' conftest.er1 >conftest.err
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } && {
26951 test -z "$ac_cxx_werror_flag" ||
26952 test ! -s conftest.err
26953 } && test -s conftest.$ac_objext; then
26954 wx_cv_class_stdstring=yes
26956 echo "$as_me: failed program was:" >&5
26957 sed 's
/^
/| /' conftest.$ac_ext >&5
26959 wx_cv_class_stdstring=no
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26967 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26968 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26970 if test "$wx_cv_class_stdstring" = yes; then
26971 if test "$wxUSE_UNICODE" = "yes"; then
26972 cat >>confdefs.h <<\_ACEOF
26973 #define HAVE_STD_WSTRING 1
26978 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26979 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26980 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26984 cat >conftest.$ac_ext <<_ACEOF
26987 cat confdefs.h >>conftest.$ac_ext
26988 cat >>conftest.$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26991 #ifdef HAVE_WCHAR_H
26993 # include <stddef.h>
26995 # include <wchar.h>
26997 #ifdef HAVE_STDLIB_H
26998 # include <stdlib.h>
27006 std::basic_string<$char_type> foo;
27007 const $char_type* dummy = foo.c_str();
27012 rm -f conftest.$ac_objext
27013 if { (ac_try="$ac_compile"
27014 case "(($ac_try" in
27015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27016 *) ac_try_echo=$ac_try;;
27018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27019 (eval "$ac_compile") 2>conftest.er1
27021 grep -v '^
*+' conftest.er1 >conftest.err
27023 cat conftest.err >&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } && {
27026 test -z "$ac_cxx_werror_flag" ||
27027 test ! -s conftest.err
27028 } && test -s conftest.$ac_objext; then
27029 wx_cv_class_stdbasicstring=yes
27031 echo "$as_me: failed program was:" >&5
27032 sed 's
/^
/| /' conftest.$ac_ext >&5
27034 wx_cv_class_stdbasicstring=no
27038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27043 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27045 if test "$wx_cv_class_stdbasicstring" != yes; then
27046 if test "$wxUSE_STL" = "yes"; then
27047 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27048 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27049 { (exit 1); exit 1; }; }
27050 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27051 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27052 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27053 { (exit 1); exit 1; }; }
27055 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27056 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27057 wxUSE_STD_STRING=no
27063 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27064 { echo "$as_me:$LINENO: checking for std::istream" >&5
27065 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27066 if test "${ac_cv_type_std__istream+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27069 cat >conftest.$ac_ext <<_ACEOF
27072 cat confdefs.h >>conftest.$ac_ext
27073 cat >>conftest.$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27075 #include <iostream>
27077 typedef std::istream ac__type_new_;
27081 if ((ac__type_new_ *) 0)
27083 if (sizeof (ac__type_new_))
27089 rm -f conftest.$ac_objext
27090 if { (ac_try="$ac_compile"
27091 case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27093 *) ac_try_echo=$ac_try;;
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_compile") 2>conftest.er1
27098 grep -v '^
*+' conftest.er1 >conftest.err
27100 cat conftest.err >&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } && {
27103 test -z "$ac_cxx_werror_flag" ||
27104 test ! -s conftest.err
27105 } && test -s conftest.$ac_objext; then
27106 ac_cv_type_std__istream=yes
27108 echo "$as_me: failed program was:" >&5
27109 sed 's
/^
/| /' conftest.$ac_ext >&5
27111 ac_cv_type_std__istream=no
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27117 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27118 if test $ac_cv_type_std__istream = yes; then
27120 cat >>confdefs.h <<_ACEOF
27121 #define HAVE_STD__ISTREAM 1
27126 wxUSE_STD_IOSTREAM=no
27128 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27129 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27130 if test "${ac_cv_type_std__ostream+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 cat >conftest.$ac_ext <<_ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <iostream>
27141 typedef std::ostream ac__type_new_;
27145 if ((ac__type_new_ *) 0)
27147 if (sizeof (ac__type_new_))
27153 rm -f conftest.$ac_objext
27154 if { (ac_try="$ac_compile"
27155 case "(($ac_try" in
27156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27157 *) ac_try_echo=$ac_try;;
27159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27160 (eval "$ac_compile") 2>conftest.er1
27162 grep -v '^
*+' conftest.er1 >conftest.err
27164 cat conftest.err >&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } && {
27167 test -z "$ac_cxx_werror_flag" ||
27168 test ! -s conftest.err
27169 } && test -s conftest.$ac_objext; then
27170 ac_cv_type_std__ostream=yes
27172 echo "$as_me: failed program was:" >&5
27173 sed 's
/^
/| /' conftest.$ac_ext >&5
27175 ac_cv_type_std__ostream=no
27178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27180 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27181 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27182 if test $ac_cv_type_std__ostream = yes; then
27184 cat >>confdefs.h <<_ACEOF
27185 #define HAVE_STD__OSTREAM 1
27190 wxUSE_STD_IOSTREAM=no
27194 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27195 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27196 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27197 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27198 { (exit 1); exit 1; }; }
27200 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27201 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27206 if test "$wxUSE_STL" = "yes"; then
27207 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27208 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27209 if test "${wx_cv_lib_stl+set}" = set; then
27210 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 cat >conftest.$ac_ext <<_ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27219 #include <functional>
27220 #include <algorithm>
27226 std::vector<int> moo;
27227 std::list<int> foo;
27228 std::vector<int>::iterator it =
27229 std::find_if(moo.begin(), moo.end(),
27230 std::bind2nd(std::less<int>(), 3));
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27244 grep -v '^
*+' conftest.er1 >conftest.err
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_cxx_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27254 echo "$as_me: failed program was:" >&5
27255 sed 's
/^
/| /' conftest.$ac_ext >&5
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27265 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27267 if test "$wx_cv_lib_stl" != yes; then
27268 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27269 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27270 { (exit 1); exit 1; }; }
27273 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27274 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27275 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 cat >conftest.$ac_ext <<_ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27288 std::string foo, bar;
27290 foo.compare(1, 1, bar);
27291 foo.compare(1, 1, bar, 1, 1);
27293 foo.compare(1, 1, "");
27294 foo.compare(1, 1, "", 2);
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^
*+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_cxx_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 wx_cv_func_stdstring_compare=yes
27318 echo "$as_me: failed program was:" >&5
27319 sed 's
/^
/| /' conftest.$ac_ext >&5
27321 wx_cv_func_stdstring_compare=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27329 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27331 if test "$wx_cv_func_stdstring_compare" = yes; then
27332 cat >>confdefs.h <<\_ACEOF
27333 #define HAVE_STD_STRING_COMPARE 1
27338 { echo "$as_me:$LINENO: checking for hash_map" >&5
27339 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27340 if test "${ac_cv_header_hash_map+set}" = set; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 cat >conftest.$ac_ext <<_ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27352 #include <hash_map>
27354 rm -f conftest.$ac_objext
27355 if { (ac_try="$ac_compile"
27356 case "(($ac_try" in
27357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27358 *) ac_try_echo=$ac_try;;
27360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27361 (eval "$ac_compile") 2>conftest.er1
27363 grep -v '^
*+' conftest.er1 >conftest.err
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } && {
27368 test -z "$ac_cxx_werror_flag" ||
27369 test ! -s conftest.err
27370 } && test -s conftest.$ac_objext; then
27371 ac_cv_header_hash_map=yes
27373 echo "$as_me: failed program was:" >&5
27374 sed 's
/^
/| /' conftest.$ac_ext >&5
27376 ac_cv_header_hash_map=no
27379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27382 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27383 if test $ac_cv_header_hash_map = yes; then
27384 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27385 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27386 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 cat >conftest.$ac_ext <<_ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <hash_map>
27396 #include <hash_set>
27400 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27401 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27406 rm -f conftest.$ac_objext
27407 if { (ac_try="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27415 grep -v '^
*+' conftest.er1 >conftest.err
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_cxx_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423 wx_cv_class_stdhashmapset=yes
27425 echo "$as_me: failed program was:" >&5
27426 sed 's
/^
/| /' conftest.$ac_ext >&5
27428 wx_cv_class_stdhashmapset=no
27431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27435 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27436 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27441 if test "$wx_cv_class_stdhashmapset" = yes; then
27442 cat >>confdefs.h <<\_ACEOF
27443 #define HAVE_HASH_MAP 1
27446 cat >>confdefs.h <<\_ACEOF
27447 #define HAVE_STD_HASH_MAP 1
27452 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27453 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27454 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 cat >conftest.$ac_ext <<_ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27466 #include <ext/hash_map>
27468 rm -f conftest.$ac_objext
27469 if { (ac_try="$ac_compile"
27470 case "(($ac_try" in
27471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27472 *) ac_try_echo=$ac_try;;
27474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27475 (eval "$ac_compile") 2>conftest.er1
27477 grep -v '^
*+' conftest.er1 >conftest.err
27479 cat conftest.err >&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } && {
27482 test -z "$ac_cxx_werror_flag" ||
27483 test ! -s conftest.err
27484 } && test -s conftest.$ac_objext; then
27485 ac_cv_header_ext_hash_map=yes
27487 echo "$as_me: failed program was:" >&5
27488 sed 's
/^
/| /' conftest.$ac_ext >&5
27490 ac_cv_header_ext_hash_map=no
27493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27496 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27497 if test $ac_cv_header_ext_hash_map = yes; then
27498 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27499 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27500 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 cat >conftest.$ac_ext <<_ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27509 #include <ext/hash_map>
27510 #include <ext/hash_set>
27514 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27515 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27520 rm -f conftest.$ac_objext
27521 if { (ac_try="$ac_compile"
27522 case "(($ac_try" in
27523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27524 *) ac_try_echo=$ac_try;;
27526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27527 (eval "$ac_compile") 2>conftest.er1
27529 grep -v '^
*+' conftest.er1 >conftest.err
27531 cat conftest.err >&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); } && {
27534 test -z "$ac_cxx_werror_flag" ||
27535 test ! -s conftest.err
27536 } && test -s conftest.$ac_objext; then
27537 wx_cv_class_gnuhashmapset=yes
27539 echo "$as_me: failed program was:" >&5
27540 sed 's
/^
/| /' conftest.$ac_ext >&5
27542 wx_cv_class_gnuhashmapset=no
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27550 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27555 if test "$wx_cv_class_gnuhashmapset" = yes; then
27556 cat >>confdefs.h <<\_ACEOF
27557 #define HAVE_EXT_HASH_MAP 1
27560 cat >>confdefs.h <<\_ACEOF
27561 #define HAVE_GNU_CXX_HASH_MAP 1
27569 if test -n "$GCC"; then
27570 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27571 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27572 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 cat >conftest.$ac_ext <<_ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27588 __sync_fetch_and_add(&value, 1);
27589 __sync_sub_and_fetch(&value, 1);
27595 rm -f conftest.$ac_objext
27596 if { (ac_try="$ac_compile"
27597 case "(($ac_try" in
27598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 *) ac_try_echo=$ac_try;;
27601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_compile") 2>conftest.er1
27604 grep -v '^
*+' conftest.er1 >conftest.err
27606 cat conftest.err >&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } && {
27609 test -z "$ac_cxx_werror_flag" ||
27610 test ! -s conftest.err
27611 } && test -s conftest.$ac_objext; then
27612 wx_cv_cc_gcc_atomic_builtins=yes
27614 echo "$as_me: failed program was:" >&5
27615 sed 's
/^
/| /' conftest.$ac_ext >&5
27617 wx_cv_cc_gcc_atomic_builtins=no
27620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27624 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27625 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27626 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27627 cat >>confdefs.h <<\_ACEOF
27628 #define HAVE_GCC_ATOMIC_BUILTINS 1
27636 ac_cpp='$CPP $CPPFLAGS'
27637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27638 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644 /usr/local/include \
27646 /usr/Motif-2.1/include \
27647 /usr/Motif-1.2/include \
27648 /usr/include/Motif1.2 \
27651 /usr/openwin/include \
27655 /usr/X11R6/include \
27656 /usr/X11R6.4/include \
27657 /usr/X11R5/include \
27658 /usr/X11R4/include \
27660 /usr/include/X11R6 \
27661 /usr/include/X11R5 \
27662 /usr/include/X11R4 \
27664 /usr/local/X11R6/include \
27665 /usr/local/X11R5/include \
27666 /usr/local/X11R4/include \
27668 /usr/local/include/X11R6 \
27669 /usr/local/include/X11R5 \
27670 /usr/local/include/X11R4 \
27674 /usr/local/X11/include \
27675 /usr/local/include/X11 \
27677 /usr/XFree86/include/X11 \
27680 /usr/openwin/share/include"
27682 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27683 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27687 if test "${wx_cv_std_libpath+set}" = set; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27692 for e in a so sl dylib dll.a; do
27694 if test -f $libc; then
27697 cat >conftest.$ac_ext <<_ACEOF
27698 int main() { return 0; }
27700 rm -f conftest.$ac_objext conftest$ac_exeext
27701 if { (ac_try="$ac_link"
27702 case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_link") 2>conftest.er1
27709 grep -v '^
*+' conftest.er1 >conftest.err
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } && {
27714 test -z "$ac_c_werror_flag" ||
27715 test ! -s conftest.err
27716 } && test -s conftest$ac_exeext &&
27717 $as_test_x conftest$ac_exeext; then
27718 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27720 echo "$as_me: failed program was:" >&5
27721 sed 's
/^
/| /' conftest.$ac_ext >&5
27726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27727 conftest$ac_exeext conftest.$ac_ext
27729 if test "x$wx_cv_std_libpath" != "x"; then
27735 if test "x$wx_cv_std_libpath" = "x"; then
27736 wx_cv_std_libpath="lib"
27745 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27746 wx_cv_std_libpath="lib/64"
27748 wx_cv_std_libpath="lib"
27753 if test "$ac_cv_sizeof_void_p" = 8 -a \
27754 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27755 wx_cv_std_libpath="lib64"
27757 wx_cv_std_libpath="lib"
27762 wx_cv_std_libpath="lib";
27766 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27767 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27769 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27771 if test "$build" != "$host" -a "$GCC" = yes; then
27772 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27773 cross_root=`dirname $cross_root`
27774 cross_root=`dirname $cross_root`
27776 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27777 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27778 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27780 if test -z "$PKG_CONFIG_PATH"; then
27781 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27782 export PKG_CONFIG_PATH
27785 if test -z "$x_includes" -o "$x_includes" = NONE; then
27788 for ac_dir in $SEARCH_INCLUDE /usr/include;
27790 if test -f "$ac_dir/X11/Intrinsic.h"; then
27791 ac_find_includes=$ac_dir
27796 x_includes=$ac_find_includes
27798 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27801 for ac_dir in $SEARCH_LIB;
27803 for ac_extension in a so sl dylib dll.a; do
27804 if test -f "$ac_dir/libXt.$ac_extension"; then
27805 ac_find_libraries=$ac_dir
27811 x_libraries=$ac_find_libraries
27817 cat >confcache <<\_ACEOF
27818 # This file is a shell script that caches the results of configure
27819 # tests run on this system so they can be shared between configure
27820 # scripts and configure runs, see configure's option
--config-cache.
27821 # It is not useful on other systems. If it contains results you don't
27822 # want to keep, you may remove or edit it.
27824 # config.status only pays attention to the cache file if you give it
27825 # the --recheck option to rerun configure.
27827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27829 # following values.
27833 # The following way of writing the cache mishandles newlines in values,
27834 # but we know of no workaround that is simple, portable, and efficient.
27835 # So, we kill variables containing newlines.
27836 # Ultrix sh set writes to stderr and can't be redirected directly,
27837 # and sets the high bit in the cache file unless we assign to the vars.
27839 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27840 eval ac_val
=\$
$ac_var
27844 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27845 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27848 _
| IFS
| as_nl
) ;; #(
27849 *) $as_unset $ac_var ;;
27855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27856 *${as_nl}ac_space
=\
*)
27857 # `set' does not quote correctly, so add quotes (double-quote
27858 # substitution turns \\\\ into \\, and sed turns \\ into \).
27861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27864 # `set' quotes correctly as required by POSIX, so do not add quotes.
27865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27878 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27879 if test -w "$cache_file"; then
27880 test "x$cache_file" != "x/dev/null" &&
27881 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27882 echo "$as_me: updating cache $cache_file" >&6;}
27883 cat confcache
>$cache_file
27885 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27886 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27891 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27892 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27893 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27894 if test "${wx_cv_lib_glibc21+set}" = set; then
27895 echo $ECHO_N "(cached) $ECHO_C" >&6
27898 cat >conftest.
$ac_ext <<_ACEOF
27901 cat confdefs.h
>>conftest.
$ac_ext
27902 cat >>conftest.
$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904 #include <features.h>
27909 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27917 rm -f conftest.
$ac_objext
27918 if { (ac_try
="$ac_compile"
27919 case "(($ac_try" in
27920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_compile") 2>conftest.er1
27926 grep -v '^ *+' conftest.er1 >conftest.err
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest.$ac_objext; then
27935 wx_cv_lib_glibc21=yes
27938 echo "$as_me: failed program was:" >&5
27939 sed 's/^/| /' conftest.$ac_ext >&5
27942 wx_cv_lib_glibc21=no
27947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27951 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27952 if test "$wx_cv_lib_glibc21" = "yes"; then
27953 cat >>confdefs.h <<\_ACEOF
27954 #define wxHAVE_GLIBC2 1
27960 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27961 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27962 cat >>confdefs.h <<\_ACEOF
27963 #define _GNU_SOURCE 1
27974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27975 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27977 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 cat >conftest.$ac_ext <<_ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27988 #define $ac_func innocuous_$ac_func
27990 /* System header to define __stub macros and hopefully few prototypes,
27991 which can conflict with char $ac_func (); below.
27992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27993 <limits.h> exists even on freestanding compilers. */
27996 # include <limits.h>
27998 # include <assert.h>
28003 /* Override any GCC internal prototype to avoid an error.
28004 Use char because int might match the return type of a GCC
28005 builtin and then its argument prototype would still apply. */
28010 /* The GNU C library defines this for functions which it implements
28011 to always fail with ENOSYS. Some functions are actually named
28012 something starting with __ and the normal name is an alias. */
28013 #if defined __stub_$ac_func || defined __stub___$ac_func
28020 return $ac_func ();
28025 rm -f conftest.$ac_objext conftest$ac_exeext
28026 if { (ac_try="$ac_link"
28027 case "(($ac_try" in
28028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28029 *) ac_try_echo
=$ac_try;;
28031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28032 (eval "$ac_link") 2>conftest.er1
28034 grep -v '^ *+' conftest.er1
>conftest.err
28036 cat conftest.err
>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } && {
28039 test -z "$ac_c_werror_flag" ||
28040 test ! -s conftest.err
28041 } && test -s conftest
$ac_exeext &&
28042 $as_test_x conftest
$ac_exeext; then
28043 eval "$as_ac_var=yes"
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.
$ac_ext >&5
28048 eval "$as_ac_var=no"
28051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28052 conftest
$ac_exeext conftest.
$ac_ext
28054 ac_res
=`eval echo '${'$as_ac_var'}'`
28055 { echo "$as_me:$LINENO: result: $ac_res" >&5
28056 echo "${ECHO_T}$ac_res" >&6; }
28057 if test `eval echo '${'$as_ac_var'}'` = yes; then
28058 cat >>confdefs.h
<<_ACEOF
28059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28066 for ac_func
in floor
28068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28071 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28072 echo $ECHO_N "(cached) $ECHO_C" >&6
28074 cat >conftest.
$ac_ext <<_ACEOF
28077 cat confdefs.h
>>conftest.
$ac_ext
28078 cat >>conftest.
$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28082 #define $ac_func innocuous_$ac_func
28084 /* System header to define __stub macros and hopefully few prototypes,
28085 which can conflict with char $ac_func (); below.
28086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28087 <limits.h> exists even on freestanding compilers. */
28090 # include <limits.h>
28092 # include <assert.h>
28097 /* Override any GCC internal prototype to avoid an error.
28098 Use char because int might match the return type of a GCC
28099 builtin and then its argument prototype would still apply. */
28104 /* The GNU C library defines this for functions which it implements
28105 to always fail with ENOSYS. Some functions are actually named
28106 something starting with __ and the normal name is an alias. */
28107 #if defined __stub_$ac_func || defined __stub___$ac_func
28114 return $ac_func ();
28119 rm -f conftest.
$ac_objext conftest
$ac_exeext
28120 if { (ac_try
="$ac_link"
28121 case "(($ac_try" in
28122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28123 *) ac_try_echo=$ac_try;;
28125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28126 (eval "$ac_link") 2>conftest.er1
28128 grep -v '^ *+' conftest.er1 >conftest.err
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } && {
28133 test -z "$ac_c_werror_flag" ||
28134 test ! -s conftest.err
28135 } && test -s conftest$ac_exeext &&
28136 $as_test_x conftest$ac_exeext; then
28137 eval "$as_ac_var=yes"
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28142 eval "$as_ac_var=no"
28145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28146 conftest$ac_exeext conftest.$ac_ext
28148 ac_res=`eval echo '${'$as_ac_var'}'`
28149 { echo "$as_me:$LINENO: result: $ac_res" >&5
28150 echo "${ECHO_T}$ac_res" >&6; }
28151 if test `eval echo '${'$as_ac_var'}'` = yes; then
28152 cat >>confdefs.h <<_ACEOF
28153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28159 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28160 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28161 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28162 { echo "$as_me:$LINENO: result: yes" >&5
28163 echo "${ECHO_T}yes" >&6; }
28165 { echo "$as_me:$LINENO: result: no" >&5
28166 echo "${ECHO_T}no" >&6; }
28168 # use different functions to avoid configure caching
28174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28180 cat >conftest.$ac_ext <<_ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28188 #define $ac_func innocuous_$ac_func
28190 /* System header to define __stub macros and hopefully few prototypes,
28191 which can conflict with char $ac_func (); below.
28192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28193 <limits.h> exists even on freestanding compilers. */
28196 # include <limits.h>
28198 # include <assert.h>
28203 /* Override any GCC internal prototype to avoid an error.
28204 Use char because int might match the return type of a GCC
28205 builtin and then its argument prototype would still apply. */
28210 /* The GNU C library defines this for functions which it implements
28211 to always fail with ENOSYS. Some functions are actually named
28212 something starting with __ and the normal name is an alias. */
28213 #if defined __stub_$ac_func || defined __stub___$ac_func
28220 return $ac_func ();
28225 rm -f conftest.$ac_objext conftest$ac_exeext
28226 if { (ac_try="$ac_link"
28227 case "(($ac_try" in
28228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28229 *) ac_try_echo
=$ac_try;;
28231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28232 (eval "$ac_link") 2>conftest.er1
28234 grep -v '^ *+' conftest.er1
>conftest.err
28236 cat conftest.err
>&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); } && {
28239 test -z "$ac_c_werror_flag" ||
28240 test ! -s conftest.err
28241 } && test -s conftest
$ac_exeext &&
28242 $as_test_x conftest
$ac_exeext; then
28243 eval "$as_ac_var=yes"
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.
$ac_ext >&5
28248 eval "$as_ac_var=no"
28251 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28252 conftest
$ac_exeext conftest.
$ac_ext
28254 ac_res
=`eval echo '${'$as_ac_var'}'`
28255 { echo "$as_me:$LINENO: result: $ac_res" >&5
28256 echo "${ECHO_T}$ac_res" >&6; }
28257 if test `eval echo '${'$as_ac_var'}'` = yes; then
28258 cat >>confdefs.h
<<_ACEOF
28259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28266 for ac_func
in ceil
28268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28271 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28272 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 cat >conftest.
$ac_ext <<_ACEOF
28277 cat confdefs.h
>>conftest.
$ac_ext
28278 cat >>conftest.
$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28282 #define $ac_func innocuous_$ac_func
28284 /* System header to define __stub macros and hopefully few prototypes,
28285 which can conflict with char $ac_func (); below.
28286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28287 <limits.h> exists even on freestanding compilers. */
28290 # include <limits.h>
28292 # include <assert.h>
28297 /* Override any GCC internal prototype to avoid an error.
28298 Use char because int might match the return type of a GCC
28299 builtin and then its argument prototype would still apply. */
28304 /* The GNU C library defines this for functions which it implements
28305 to always fail with ENOSYS. Some functions are actually named
28306 something starting with __ and the normal name is an alias. */
28307 #if defined __stub_$ac_func || defined __stub___$ac_func
28314 return $ac_func ();
28319 rm -f conftest.
$ac_objext conftest
$ac_exeext
28320 if { (ac_try
="$ac_link"
28321 case "(($ac_try" in
28322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28323 *) ac_try_echo=$ac_try;;
28325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28326 (eval "$ac_link") 2>conftest.er1
28328 grep -v '^ *+' conftest.er1 >conftest.err
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } && {
28333 test -z "$ac_c_werror_flag" ||
28334 test ! -s conftest.err
28335 } && test -s conftest$ac_exeext &&
28336 $as_test_x conftest$ac_exeext; then
28337 eval "$as_ac_var=yes"
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28342 eval "$as_ac_var=no"
28345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28346 conftest$ac_exeext conftest.$ac_ext
28348 ac_res=`eval echo '${'$as_ac_var'}'`
28349 { echo "$as_me:$LINENO: result: $ac_res" >&5
28350 echo "${ECHO_T}$ac_res" >&6; }
28351 if test `eval echo '${'$as_ac_var'}'` = yes; then
28352 cat >>confdefs.h <<_ACEOF
28353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28359 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28360 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28361 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28362 { echo "$as_me:$LINENO: result: yes" >&5
28363 echo "${ECHO_T}yes" >&6; }
28365 { echo "$as_me:$LINENO: result: no" >&5
28366 echo "${ECHO_T}no" >&6; }
28367 # not sure we should warn the user, crash, etc.
28372 ac_cpp='$CXXCPP $CPPFLAGS'
28373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28377 if test "wxUSE_UNICODE" = "yes"; then
28379 for wx_func in wcstoull
28381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28384 echo $ECHO_N "(cached) $ECHO_C" >&6
28387 cat >conftest.$ac_ext <<_ACEOF
28391 cat confdefs.h >>conftest.$ac_ext
28392 cat >>conftest.$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28396 $ac_includes_default
28412 rm -f conftest.$ac_objext conftest$ac_exeext
28413 if { (ac_try="$ac_link"
28414 case "(($ac_try" in
28415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28416 *) ac_try_echo
=$ac_try;;
28418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28419 (eval "$ac_link") 2>conftest.er1
28421 grep -v '^ *+' conftest.er1
>conftest.err
28423 cat conftest.err
>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } && {
28426 test -z "$ac_cxx_werror_flag" ||
28427 test ! -s conftest.err
28428 } && test -s conftest
$ac_exeext &&
28429 $as_test_x conftest
$ac_exeext; then
28430 eval wx_cv_func_
$wx_func=yes
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.
$ac_ext >&5
28435 eval wx_cv_func_
$wx_func=no
28438 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28439 conftest
$ac_exeext conftest.
$ac_ext
28442 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28443 { echo "$as_me:$LINENO: result: $ac_res" >&5
28444 echo "${ECHO_T}$ac_res" >&6; }
28446 if eval test \
$wx_cv_func_$wx_func = yes
28448 cat >>confdefs.h
<<_ACEOF
28449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28461 for wx_func
in strtoull
28463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28465 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 cat >conftest.
$ac_ext <<_ACEOF
28473 cat confdefs.h
>>conftest.
$ac_ext
28474 cat >>conftest.
$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28478 $ac_includes_default
28494 rm -f conftest.
$ac_objext conftest
$ac_exeext
28495 if { (ac_try
="$ac_link"
28496 case "(($ac_try" in
28497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_link") 2>conftest.er1
28503 grep -v '^ *+' conftest.er1 >conftest.err
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } && {
28508 test -z "$ac_cxx_werror_flag" ||
28509 test ! -s conftest.err
28510 } && test -s conftest$ac_exeext &&
28511 $as_test_x conftest$ac_exeext; then
28512 eval wx_cv_func_$wx_func=yes
28514 echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28517 eval wx_cv_func_$wx_func=no
28520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28521 conftest$ac_exeext conftest.$ac_ext
28524 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28525 { echo "$as_me:$LINENO: result: $ac_res" >&5
28526 echo "${ECHO_T}$ac_res" >&6; }
28528 if eval test \$wx_cv_func_$wx_func = yes
28530 cat >>confdefs.h <<_ACEOF
28531 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28551 if test "$wxUSE_REGEX" != "no"; then
28552 cat >>confdefs.h <<\_ACEOF
28553 #define wxUSE_REGEX 1
28557 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28558 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28559 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28560 wxUSE_REGEX=builtin
28563 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28564 { echo "$as_me:$LINENO: checking for regex.h" >&5
28565 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28566 if test "${ac_cv_header_regex_h+set}" = set; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 cat >conftest.$ac_ext <<_ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28579 rm -f conftest.$ac_objext
28580 if { (ac_try="$ac_compile"
28581 case "(($ac_try" in
28582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28583 *) ac_try_echo
=$ac_try;;
28585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28586 (eval "$ac_compile") 2>conftest.er1
28588 grep -v '^ *+' conftest.er1
>conftest.err
28590 cat conftest.err
>&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } && {
28593 test -z "$ac_c_werror_flag" ||
28594 test ! -s conftest.err
28595 } && test -s conftest.
$ac_objext; then
28596 ac_cv_header_regex_h
=yes
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.
$ac_ext >&5
28601 ac_cv_header_regex_h
=no
28604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28606 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28607 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28608 if test $ac_cv_header_regex_h = yes; then
28611 for ac_func
in regcomp re_search
28613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28616 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28617 echo $ECHO_N "(cached) $ECHO_C" >&6
28619 cat >conftest.
$ac_ext <<_ACEOF
28622 cat confdefs.h
>>conftest.
$ac_ext
28623 cat >>conftest.
$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28627 #define $ac_func innocuous_$ac_func
28629 /* System header to define __stub macros and hopefully few prototypes,
28630 which can conflict with char $ac_func (); below.
28631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28632 <limits.h> exists even on freestanding compilers. */
28635 # include <limits.h>
28637 # include <assert.h>
28642 /* Override any GCC internal prototype to avoid an error.
28643 Use char because int might match the return type of a GCC
28644 builtin and then its argument prototype would still apply. */
28649 /* The GNU C library defines this for functions which it implements
28650 to always fail with ENOSYS. Some functions are actually named
28651 something starting with __ and the normal name is an alias. */
28652 #if defined __stub_$ac_func || defined __stub___$ac_func
28659 return $ac_func ();
28664 rm -f conftest.
$ac_objext conftest
$ac_exeext
28665 if { (ac_try
="$ac_link"
28666 case "(($ac_try" in
28667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;;
28670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_link") 2>conftest.er1
28673 grep -v '^ *+' conftest.er1 >conftest.err
28675 cat conftest.err >&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } && {
28678 test -z "$ac_c_werror_flag" ||
28679 test ! -s conftest.err
28680 } && test -s conftest$ac_exeext &&
28681 $as_test_x conftest$ac_exeext; then
28682 eval "$as_ac_var=yes"
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28687 eval "$as_ac_var=no"
28690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28691 conftest$ac_exeext conftest.$ac_ext
28693 ac_res=`eval echo '${'$as_ac_var'}'`
28694 { echo "$as_me:$LINENO: result: $ac_res" >&5
28695 echo "${ECHO_T}$ac_res" >&6; }
28696 if test `eval echo '${'$as_ac_var'}'` = yes; then
28697 cat >>confdefs.h <<_ACEOF
28698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28708 if test "x$ac_cv_func_regcomp" != "xyes"; then
28709 if test "$wxUSE_REGEX" = "sys" ; then
28710 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28711 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28712 { (exit 1); exit 1; }; }
28714 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28715 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28716 wxUSE_REGEX=builtin
28720 cat >>confdefs.h <<\_ACEOF
28721 #define WX_NO_REGEX_ADVANCED 1
28730 if test "$wxUSE_ZLIB" != "no" ; then
28731 cat >>confdefs.h <<\_ACEOF
28732 #define wxUSE_ZLIB 1
28736 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28737 if test "$USE_DARWIN" = 1; then
28738 system_zlib_h_ok="yes"
28740 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28741 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28742 if test "${ac_cv_header_zlib_h+set}" = set; then
28743 echo $ECHO_N "(cached) $ECHO_C" >&6
28745 if test "$cross_compiling" = yes; then
28746 unset ac_cv_header_zlib_h
28749 cat >conftest.$ac_ext <<_ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28761 FILE *f=fopen("conftestval", "w");
28764 ZLIB_VERSION[0] == '1' &&
28765 (ZLIB_VERSION[2] > '1' ||
28766 (ZLIB_VERSION[2] == '1' &&
28767 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28772 rm -f conftest$ac_exeext
28773 if { (ac_try="$ac_link"
28774 case "(($ac_try" in
28775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28776 *) ac_try_echo
=$ac_try;;
28778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28779 (eval "$ac_link") 2>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28783 { (case "(($ac_try" in
28784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_try") 2>&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; }; then
28792 ac_cv_header_zlib_h=`cat conftestval
`
28794 echo "$as_me: program exited with status $ac_status" >&5
28795 echo "$as_me: failed program was:" >&5
28796 sed 's/^/| /' conftest.$ac_ext >&5
28798 ( exit $ac_status )
28799 ac_cv_header_zlib_h=no
28801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28807 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28808 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28809 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28810 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28811 if test "${ac_cv_header_zlib_h+set}" = set; then
28812 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 cat >conftest.$ac_ext <<_ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28824 rm -f conftest.$ac_objext
28825 if { (ac_try="$ac_compile"
28826 case "(($ac_try" in
28827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28828 *) ac_try_echo
=$ac_try;;
28830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28831 (eval "$ac_compile") 2>conftest.er1
28833 grep -v '^ *+' conftest.er1
>conftest.err
28835 cat conftest.err
>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } && {
28838 test -z "$ac_c_werror_flag" ||
28839 test ! -s conftest.err
28840 } && test -s conftest.
$ac_objext; then
28841 ac_cv_header_zlib_h
=yes
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.
$ac_ext >&5
28846 ac_cv_header_zlib_h
=no
28849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28851 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28852 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28856 system_zlib_h_ok
=$ac_cv_header_zlib_h
28859 if test "$system_zlib_h_ok" = "yes"; then
28860 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28861 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28862 if test "${ac_cv_lib_z_deflate+set}" = set; then
28863 echo $ECHO_N "(cached) $ECHO_C" >&6
28865 ac_check_lib_save_LIBS
=$LIBS
28867 cat >conftest.
$ac_ext <<_ACEOF
28870 cat confdefs.h
>>conftest.
$ac_ext
28871 cat >>conftest.
$ac_ext <<_ACEOF
28872 /* end confdefs.h. */
28874 /* Override any GCC internal prototype to avoid an error.
28875 Use char because int might match the return type of a GCC
28876 builtin and then its argument prototype would still apply. */
28889 rm -f conftest.
$ac_objext conftest
$ac_exeext
28890 if { (ac_try
="$ac_link"
28891 case "(($ac_try" in
28892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28893 *) ac_try_echo=$ac_try;;
28895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28896 (eval "$ac_link") 2>conftest.er1
28898 grep -v '^ *+' conftest.er1 >conftest.err
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } && {
28903 test -z "$ac_c_werror_flag" ||
28904 test ! -s conftest.err
28905 } && test -s conftest$ac_exeext &&
28906 $as_test_x conftest$ac_exeext; then
28907 ac_cv_lib_z_deflate=yes
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28912 ac_cv_lib_z_deflate=no
28915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28916 conftest$ac_exeext conftest.$ac_ext
28917 LIBS=$ac_check_lib_save_LIBS
28919 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28920 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28921 if test $ac_cv_lib_z_deflate = yes; then
28927 if test "x$ZLIB_LINK" = "x" ; then
28928 if test "$wxUSE_ZLIB" = "sys" ; then
28929 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28930 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28931 { (exit 1); exit 1; }; }
28933 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28934 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28945 if test "$wxUSE_LIBPNG" != "no" ; then
28946 cat >>confdefs.h <<\_ACEOF
28947 #define wxUSE_LIBPNG 1
28951 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28952 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28953 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28957 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28958 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28959 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28960 wxUSE_LIBPNG=builtin
28963 if test "$wxUSE_MGL" != 1 ; then
28964 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28965 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28966 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28967 if test "${ac_cv_header_png_h+set}" = set; then
28968 echo $ECHO_N "(cached) $ECHO_C" >&6
28970 if test "$cross_compiling" = yes; then
28971 unset ac_cv_header_png_h
28974 cat >conftest.$ac_ext <<_ACEOF
28977 cat confdefs.h >>conftest.$ac_ext
28978 cat >>conftest.$ac_ext <<_ACEOF
28979 /* end confdefs.h. */
28986 FILE *f=fopen("conftestval", "w");
28989 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28994 rm -f conftest$ac_exeext
28995 if { (ac_try="$ac_link"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28998 *) ac_try_echo
=$ac_try;;
29000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29001 (eval "$ac_link") 2>&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29005 { (case "(($ac_try" in
29006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29007 *) ac_try_echo=$ac_try;;
29009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29010 (eval "$ac_try") 2>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; }; then
29014 ac_cv_header_png_h=`cat conftestval
`
29016 echo "$as_me: program exited with status $ac_status" >&5
29017 echo "$as_me: failed program was:" >&5
29018 sed 's/^/| /' conftest.$ac_ext >&5
29020 ( exit $ac_status )
29021 ac_cv_header_png_h=no
29023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29029 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29030 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29031 { echo "$as_me:$LINENO: checking for png.h" >&5
29032 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29033 if test "${ac_cv_header_png_h+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29036 cat >conftest.$ac_ext <<_ACEOF
29039 cat confdefs.h >>conftest.$ac_ext
29040 cat >>conftest.$ac_ext <<_ACEOF
29041 /* end confdefs.h. */
29046 rm -f conftest.$ac_objext
29047 if { (ac_try="$ac_compile"
29048 case "(($ac_try" in
29049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29050 *) ac_try_echo
=$ac_try;;
29052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29053 (eval "$ac_compile") 2>conftest.er1
29055 grep -v '^ *+' conftest.er1
>conftest.err
29057 cat conftest.err
>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } && {
29060 test -z "$ac_c_werror_flag" ||
29061 test ! -s conftest.err
29062 } && test -s conftest.
$ac_objext; then
29063 ac_cv_header_png_h
=yes
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.
$ac_ext >&5
29068 ac_cv_header_png_h
=no
29071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29073 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29074 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29078 if test "$ac_cv_header_png_h" = "yes"; then
29079 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29080 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29081 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29084 ac_check_lib_save_LIBS
=$LIBS
29085 LIBS
="-lpng -lz -lm $LIBS"
29086 cat >conftest.
$ac_ext <<_ACEOF
29089 cat confdefs.h
>>conftest.
$ac_ext
29090 cat >>conftest.
$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29093 /* Override any GCC internal prototype to avoid an error.
29094 Use char because int might match the return type of a GCC
29095 builtin and then its argument prototype would still apply. */
29099 char png_check_sig ();
29103 return png_check_sig ();
29108 rm -f conftest.
$ac_objext conftest
$ac_exeext
29109 if { (ac_try
="$ac_link"
29110 case "(($ac_try" in
29111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29112 *) ac_try_echo=$ac_try;;
29114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29115 (eval "$ac_link") 2>conftest.er1
29117 grep -v '^ *+' conftest.er1 >conftest.err
29119 cat conftest.err >&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); } && {
29122 test -z "$ac_c_werror_flag" ||
29123 test ! -s conftest.err
29124 } && test -s conftest$ac_exeext &&
29125 $as_test_x conftest$ac_exeext; then
29126 ac_cv_lib_png_png_check_sig=yes
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29131 ac_cv_lib_png_png_check_sig=no
29134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29135 conftest$ac_exeext conftest.$ac_ext
29136 LIBS=$ac_check_lib_save_LIBS
29138 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29139 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29140 if test $ac_cv_lib_png_png_check_sig = yes; then
29141 PNG_LINK=" -lpng -lz"
29146 if test "x$PNG_LINK" = "x" ; then
29147 if test "$wxUSE_LIBPNG" = "sys" ; then
29148 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29149 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29150 { (exit 1); exit 1; }; }
29152 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29153 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29154 wxUSE_LIBPNG=builtin
29165 if test "$wxUSE_LIBJPEG" != "no" ; then
29166 cat >>confdefs.h <<\_ACEOF
29167 #define wxUSE_LIBJPEG 1
29171 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29172 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29173 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29177 if test "$wxUSE_MGL" != 1 ; then
29178 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29179 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29180 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29181 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 cat >conftest.$ac_ext <<_ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29191 #undef HAVE_STDLIB_H
29193 #include <jpeglib.h>
29204 rm -f conftest.$ac_objext
29205 if { (ac_try="$ac_compile"
29206 case "(($ac_try" in
29207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29208 *) ac_try_echo
=$ac_try;;
29210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29211 (eval "$ac_compile") 2>conftest.er1
29213 grep -v '^ *+' conftest.er1
>conftest.err
29215 cat conftest.err
>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); } && {
29218 test -z "$ac_c_werror_flag" ||
29219 test ! -s conftest.err
29220 } && test -s conftest.
$ac_objext; then
29221 ac_cv_header_jpeglib_h
=yes
29223 echo "$as_me: failed program was:" >&5
29224 sed 's/^/| /' conftest.
$ac_ext >&5
29226 ac_cv_header_jpeglib_h
=no
29230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29234 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29235 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29237 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29238 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29239 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29240 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 ac_check_lib_save_LIBS
=$LIBS
29244 LIBS
="-ljpeg $LIBS"
29245 cat >conftest.
$ac_ext <<_ACEOF
29248 cat confdefs.h
>>conftest.
$ac_ext
29249 cat >>conftest.
$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29252 /* Override any GCC internal prototype to avoid an error.
29253 Use char because int might match the return type of a GCC
29254 builtin and then its argument prototype would still apply. */
29258 char jpeg_read_header ();
29262 return jpeg_read_header ();
29267 rm -f conftest.
$ac_objext conftest
$ac_exeext
29268 if { (ac_try
="$ac_link"
29269 case "(($ac_try" in
29270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29271 *) ac_try_echo=$ac_try;;
29273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29274 (eval "$ac_link") 2>conftest.er1
29276 grep -v '^ *+' conftest.er1 >conftest.err
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } && {
29281 test -z "$ac_c_werror_flag" ||
29282 test ! -s conftest.err
29283 } && test -s conftest$ac_exeext &&
29284 $as_test_x conftest$ac_exeext; then
29285 ac_cv_lib_jpeg_jpeg_read_header=yes
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.$ac_ext >&5
29290 ac_cv_lib_jpeg_jpeg_read_header=no
29293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29294 conftest$ac_exeext conftest.$ac_ext
29295 LIBS=$ac_check_lib_save_LIBS
29297 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29298 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29299 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29300 JPEG_LINK=" -ljpeg"
29305 if test "x$JPEG_LINK" = "x" ; then
29306 if test "$wxUSE_LIBJPEG" = "sys" ; then
29307 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29308 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29309 { (exit 1); exit 1; }; }
29311 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29312 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29313 wxUSE_LIBJPEG=builtin
29318 if test "$wxUSE_MSW" = 1; then
29319 { echo "$as_me:$LINENO: checking for boolean" >&5
29320 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29321 if test "${ac_cv_type_boolean+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 cat >conftest.$ac_ext <<_ACEOF
29327 cat confdefs.h >>conftest.$ac_ext
29328 cat >>conftest.$ac_ext <<_ACEOF
29329 /* end confdefs.h. */
29330 #include <windows.h>
29332 typedef boolean ac__type_new_;
29336 if ((ac__type_new_ *) 0)
29338 if (sizeof (ac__type_new_))
29344 rm -f conftest.$ac_objext
29345 if { (ac_try="$ac_compile"
29346 case "(($ac_try" in
29347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29348 *) ac_try_echo
=$ac_try;;
29350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29351 (eval "$ac_compile") 2>conftest.er1
29353 grep -v '^ *+' conftest.er1
>conftest.err
29355 cat conftest.err
>&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); } && {
29358 test -z "$ac_c_werror_flag" ||
29359 test ! -s conftest.err
29360 } && test -s conftest.
$ac_objext; then
29361 ac_cv_type_boolean
=yes
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.
$ac_ext >&5
29366 ac_cv_type_boolean
=no
29369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29371 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29372 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29373 if test $ac_cv_type_boolean = yes; then
29375 cat >>confdefs.h
<<_ACEOF
29376 #define HAVE_BOOLEAN 1
29380 { echo "$as_me:$LINENO: checking for boolean" >&5
29381 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29382 if test "${ac_cv_type_boolean+set}" = set; then
29383 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 cat >conftest.
$ac_ext <<_ACEOF
29388 cat confdefs.h
>>conftest.
$ac_ext
29389 cat >>conftest.
$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29392 #undef HAVE_BOOLEAN
29394 #include <jpeglib.h>
29397 typedef boolean ac__type_new_;
29401 if ((ac__type_new_ *) 0)
29403 if (sizeof (ac__type_new_))
29409 rm -f conftest.
$ac_objext
29410 if { (ac_try
="$ac_compile"
29411 case "(($ac_try" in
29412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29413 *) ac_try_echo=$ac_try;;
29415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29416 (eval "$ac_compile") 2>conftest.er1
29418 grep -v '^ *+' conftest.er1 >conftest.err
29420 cat conftest.err >&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } && {
29423 test -z "$ac_c_werror_flag" ||
29424 test ! -s conftest.err
29425 } && test -s conftest.$ac_objext; then
29426 ac_cv_type_boolean=yes
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29431 ac_cv_type_boolean=no
29434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29437 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29439 # The cast to long int works around a bug in the HP C Compiler
29440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29441 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29442 # This bug is HP SR number 8606223364.
29443 { echo "$as_me:$LINENO: checking size of boolean" >&5
29444 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29445 if test "${ac_cv_sizeof_boolean+set}" = set; then
29446 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 if test "$cross_compiling" = yes; then
29449 # Depending upon the size, compute the lo and hi bounds.
29450 cat >conftest.$ac_ext <<_ACEOF
29453 cat confdefs.h >>conftest.$ac_ext
29454 cat >>conftest.$ac_ext <<_ACEOF
29455 /* end confdefs.h. */
29457 #undef HAVE_BOOLEAN
29459 #include <jpeglib.h>
29462 typedef boolean ac__type_sizeof_;
29466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29473 rm -f conftest.$ac_objext
29474 if { (ac_try="$ac_compile"
29475 case "(($ac_try" in
29476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29477 *) ac_try_echo=$ac_try;;
29479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29480 (eval "$ac_compile") 2>conftest.er1
29482 grep -v '^
*+' conftest.er1 >conftest.err
29484 cat conftest.err >&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); } && {
29487 test -z "$ac_c_werror_flag" ||
29488 test ! -s conftest.err
29489 } && test -s conftest.$ac_objext; then
29492 cat >conftest.$ac_ext <<_ACEOF
29495 cat confdefs.h >>conftest.$ac_ext
29496 cat >>conftest.$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29499 #undef HAVE_BOOLEAN
29501 #include <jpeglib.h>
29504 typedef boolean ac__type_sizeof_;
29508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29515 rm -f conftest.$ac_objext
29516 if { (ac_try="$ac_compile"
29517 case "(($ac_try" in
29518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29519 *) ac_try_echo=$ac_try;;
29521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29522 (eval "$ac_compile") 2>conftest.er1
29524 grep -v '^
*+' conftest.er1 >conftest.err
29526 cat conftest.err >&5
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); } && {
29529 test -z "$ac_c_werror_flag" ||
29530 test ! -s conftest.err
29531 } && test -s conftest.$ac_objext; then
29532 ac_hi=$ac_mid; break
29534 echo "$as_me: failed program was:" >&5
29535 sed 's
/^
/| /' conftest.$ac_ext >&5
29537 ac_lo=`expr $ac_mid + 1`
29538 if test $ac_lo -le $ac_mid; then
29542 ac_mid=`expr 2 '*' $ac_mid + 1`
29545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29548 echo "$as_me: failed program was:" >&5
29549 sed 's
/^
/| /' conftest.$ac_ext >&5
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29558 #undef HAVE_BOOLEAN
29560 #include <jpeglib.h>
29563 typedef boolean ac__type_sizeof_;
29567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29574 rm -f conftest.$ac_objext
29575 if { (ac_try="$ac_compile"
29576 case "(($ac_try" in
29577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29578 *) ac_try_echo=$ac_try;;
29580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29581 (eval "$ac_compile") 2>conftest.er1
29583 grep -v '^
*+' conftest.er1 >conftest.err
29585 cat conftest.err >&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); } && {
29588 test -z "$ac_c_werror_flag" ||
29589 test ! -s conftest.err
29590 } && test -s conftest.$ac_objext; then
29593 cat >conftest.$ac_ext <<_ACEOF
29596 cat confdefs.h >>conftest.$ac_ext
29597 cat >>conftest.$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29600 #undef HAVE_BOOLEAN
29602 #include <jpeglib.h>
29605 typedef boolean ac__type_sizeof_;
29609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29616 rm -f conftest.$ac_objext
29617 if { (ac_try="$ac_compile"
29618 case "(($ac_try" in
29619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29620 *) ac_try_echo=$ac_try;;
29622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_compile") 2>conftest.er1
29625 grep -v '^
*+' conftest.er1 >conftest.err
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } && {
29630 test -z "$ac_c_werror_flag" ||
29631 test ! -s conftest.err
29632 } && test -s conftest.$ac_objext; then
29633 ac_lo=$ac_mid; break
29635 echo "$as_me: failed program was:" >&5
29636 sed 's
/^
/| /' conftest.$ac_ext >&5
29638 ac_hi=`expr '(' $ac_mid ')' - 1`
29639 if test $ac_mid -le $ac_hi; then
29643 ac_mid=`expr 2 '*' $ac_mid`
29646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29649 echo "$as_me: failed program was:" >&5
29650 sed 's
/^
/| /' conftest.$ac_ext >&5
29655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29659 # Binary search between lo and hi bounds.
29660 while test "x$ac_lo" != "x$ac_hi"; do
29661 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29662 cat >conftest.$ac_ext <<_ACEOF
29665 cat confdefs.h >>conftest.$ac_ext
29666 cat >>conftest.$ac_ext <<_ACEOF
29667 /* end confdefs.h. */
29669 #undef HAVE_BOOLEAN
29671 #include <jpeglib.h>
29674 typedef boolean ac__type_sizeof_;
29678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29685 rm -f conftest.$ac_objext
29686 if { (ac_try="$ac_compile"
29687 case "(($ac_try" in
29688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29689 *) ac_try_echo=$ac_try;;
29691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29692 (eval "$ac_compile") 2>conftest.er1
29694 grep -v '^
*+' conftest.er1 >conftest.err
29696 cat conftest.err >&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); } && {
29699 test -z "$ac_c_werror_flag" ||
29700 test ! -s conftest.err
29701 } && test -s conftest.$ac_objext; then
29704 echo "$as_me: failed program was:" >&5
29705 sed 's
/^
/| /' conftest.$ac_ext >&5
29707 ac_lo=`expr '(' $ac_mid ')' + 1`
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29714 '') if test "$ac_cv_type_boolean" = yes; then
29715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29716 See \`config.log' for more details.
" >&5
29717 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29718 See \
`config.log' for more details." >&2;}
29719 { (exit 77); exit 77; }; }
29721 ac_cv_sizeof_boolean=0
29725 cat >conftest.$ac_ext <<_ACEOF
29728 cat confdefs.h >>conftest.$ac_ext
29729 cat >>conftest.$ac_ext <<_ACEOF
29730 /* end confdefs.h. */
29732 #undef HAVE_BOOLEAN
29734 #include <jpeglib.h>
29737 typedef boolean ac__type_sizeof_;
29738 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29739 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29741 #include <stdlib.h>
29746 FILE *f = fopen ("conftest.val", "w");
29749 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29751 long int i = longval ();
29752 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29754 fprintf (f, "%ld\n", i);
29758 unsigned long int i = ulongval ();
29759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29761 fprintf (f, "%lu\n", i);
29763 return ferror (f) || fclose (f) != 0;
29769 rm -f conftest$ac_exeext
29770 if { (ac_try="$ac_link"
29771 case "(($ac_try" in
29772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29773 *) ac_try_echo
=$ac_try;;
29775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29776 (eval "$ac_link") 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29780 { (case "(($ac_try" in
29781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29782 *) ac_try_echo=$ac_try;;
29784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29785 (eval "$ac_try") 2>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); }; }; then
29789 ac_cv_sizeof_boolean=`cat conftest.val
`
29791 echo "$as_me: program exited with status $ac_status" >&5
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29795 ( exit $ac_status )
29796 if test "$ac_cv_type_boolean" = yes; then
29797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29798 See \`config.log
' for more details." >&5
29799 echo "$as_me: error: cannot compute sizeof (boolean)
29800 See \`config.log' for more details.
" >&2;}
29801 { (exit 77); exit 77; }; }
29803 ac_cv_sizeof_boolean=0
29806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29810 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29811 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29815 cat >>confdefs.h <<_ACEOF
29816 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29820 cat >>confdefs.h <<_ACEOF
29821 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29835 TIFF_PREREQ_LINKS=-lm
29836 if test "$wxUSE_LIBTIFF" != "no
" ; then
29837 cat >>confdefs.h <<\_ACEOF
29838 #define wxUSE_LIBTIFF 1
29842 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29843 if test "$wxUSE_LIBJPEG" = "sys
"; then
29844 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29846 if test "$wxUSE_ZLIB" = "sys
"; then
29847 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29849 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29850 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29851 if test "${ac_cv_header_tiffio_h+set}" = set; then
29852 echo $ECHO_N "(cached
) $ECHO_C" >&6
29854 cat >conftest.$ac_ext <<_ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29863 #include <tiffio.h>
29865 rm -f conftest.$ac_objext
29866 if { (ac_try="$ac_compile"
29867 case "(($ac_try" in
29868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29869 *) ac_try_echo=$ac_try;;
29871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29872 (eval "$ac_compile") 2>conftest.er1
29874 grep -v '^ *+' conftest.er1 >conftest.err
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29878 (exit $ac_status); } && {
29879 test -z "$ac_c_werror_flag" ||
29880 test ! -s conftest.err
29881 } && test -s conftest.$ac_objext; then
29882 ac_cv_header_tiffio_h=yes
29884 echo "$as_me: failed program was
:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29887 ac_cv_header_tiffio_h=no
29890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29893 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29894 if test $ac_cv_header_tiffio_h = yes; then
29896 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29897 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29898 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29899 echo $ECHO_N "(cached
) $ECHO_C" >&6
29901 ac_check_lib_save_LIBS=$LIBS
29902 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29903 cat >conftest.$ac_ext <<_ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29910 /* Override any GCC internal prototype to avoid an error.
29911 Use char because int might match the return type of a GCC
29912 builtin and then its argument prototype would still apply. */
29920 return TIFFError ();
29925 rm -f conftest.$ac_objext conftest$ac_exeext
29926 if { (ac_try="$ac_link"
29927 case "(($ac_try" in
29928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29929 *) ac_try_echo=$ac_try;;
29931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29932 (eval "$ac_link") 2>conftest.er1
29934 grep -v '^ *+' conftest.er1 >conftest.err
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29938 (exit $ac_status); } && {
29939 test -z "$ac_c_werror_flag" ||
29940 test ! -s conftest.err
29941 } && test -s conftest$ac_exeext &&
29942 $as_test_x conftest$ac_exeext; then
29943 ac_cv_lib_tiff_TIFFError=yes
29945 echo "$as_me: failed program was
:" >&5
29946 sed 's/^/| /' conftest.$ac_ext >&5
29948 ac_cv_lib_tiff_TIFFError=no
29951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29952 conftest$ac_exeext conftest.$ac_ext
29953 LIBS=$ac_check_lib_save_LIBS
29955 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29956 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29957 if test $ac_cv_lib_tiff_TIFFError = yes; then
29958 TIFF_LINK=" -ltiff"
29966 if test "x
$TIFF_LINK" = "x
" ; then
29967 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29968 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29969 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29970 { (exit 1); exit 1; }; }
29972 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29973 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29974 wxUSE_LIBTIFF=builtin
29980 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29981 subdirs="$subdirs src
/tiff
"
29987 if test "$wxUSE_WCHAR_T" != "yes"; then
29988 if test "$wxUSE_EXPAT" != "no
"; then
29989 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29990 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29993 if test "$wxUSE_XML" != "no
"; then
29994 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29995 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30000 if test "$wxUSE_EXPAT" != "no
"; then
30002 cat >>confdefs.h <<\_ACEOF
30003 #define wxUSE_EXPAT 1
30006 cat >>confdefs.h <<\_ACEOF
30007 #define wxUSE_XML 1
30011 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30012 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30013 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30014 if test "${ac_cv_header_expat_h+set}" = set; then
30015 echo $ECHO_N "(cached
) $ECHO_C" >&6
30017 cat >conftest.$ac_ext <<_ACEOF
30020 cat confdefs.h >>conftest.$ac_ext
30021 cat >>conftest.$ac_ext <<_ACEOF
30022 /* end confdefs.h. */
30027 rm -f conftest.$ac_objext
30028 if { (ac_try="$ac_compile"
30029 case "(($ac_try" in
30030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30031 *) ac_try_echo=$ac_try;;
30033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30034 (eval "$ac_compile") 2>conftest.er1
30036 grep -v '^ *+' conftest.er1 >conftest.err
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30040 (exit $ac_status); } && {
30041 test -z "$ac_c_werror_flag" ||
30042 test ! -s conftest.err
30043 } && test -s conftest.$ac_objext; then
30044 ac_cv_header_expat_h=yes
30046 echo "$as_me: failed program was
:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30049 ac_cv_header_expat_h=no
30052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30055 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30056 if test $ac_cv_header_expat_h = yes; then
30061 if test "x
$found_expat_h" = "x1
"; then
30062 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30063 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30064 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30065 echo $ECHO_N "(cached
) $ECHO_C" >&6
30069 ac_cpp='$CXXCPP $CPPFLAGS'
30070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30074 cat >conftest.$ac_ext <<_ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30089 rm -f conftest.$ac_objext
30090 if { (ac_try="$ac_compile"
30091 case "(($ac_try" in
30092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30093 *) ac_try_echo=$ac_try;;
30095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30096 (eval "$ac_compile") 2>conftest.er1
30098 grep -v '^ *+' conftest.er1 >conftest.err
30100 cat conftest.err >&5
30101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30102 (exit $ac_status); } && {
30103 test -z "$ac_cxx_werror_flag" ||
30104 test ! -s conftest.err
30105 } && test -s conftest.$ac_objext; then
30106 wx_cv_expat_is_not_broken=yes
30108 echo "$as_me: failed program was
:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30111 wx_cv_expat_is_not_broken=no
30115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_cpp='$CPP $CPPFLAGS'
30118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30125 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30126 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30127 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30128 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30129 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30130 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30131 echo $ECHO_N "(cached
) $ECHO_C" >&6
30133 ac_check_lib_save_LIBS=$LIBS
30134 LIBS="-lexpat $LIBS"
30135 cat >conftest.$ac_ext <<_ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30142 /* Override any GCC internal prototype to avoid an error.
30143 Use char because int might match the return type of a GCC
30144 builtin and then its argument prototype would still apply. */
30148 char XML_ParserCreate ();
30152 return XML_ParserCreate ();
30157 rm -f conftest.$ac_objext conftest$ac_exeext
30158 if { (ac_try="$ac_link"
30159 case "(($ac_try" in
30160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30161 *) ac_try_echo=$ac_try;;
30163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30164 (eval "$ac_link") 2>conftest.er1
30166 grep -v '^ *+' conftest.er1 >conftest.err
30168 cat conftest.err >&5
30169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30170 (exit $ac_status); } && {
30171 test -z "$ac_c_werror_flag" ||
30172 test ! -s conftest.err
30173 } && test -s conftest$ac_exeext &&
30174 $as_test_x conftest$ac_exeext; then
30175 ac_cv_lib_expat_XML_ParserCreate=yes
30177 echo "$as_me: failed program was
:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30180 ac_cv_lib_expat_XML_ParserCreate=no
30183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30184 conftest$ac_exeext conftest.$ac_ext
30185 LIBS=$ac_check_lib_save_LIBS
30187 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30188 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30189 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30190 EXPAT_LINK=" -lexpat"
30195 if test "x
$EXPAT_LINK" = "x
" ; then
30196 if test "$wxUSE_EXPAT" = "sys
" ; then
30197 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30198 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30199 { (exit 1); exit 1; }; }
30201 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30202 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30203 wxUSE_EXPAT=builtin
30209 if test "$wxUSE_EXPAT" = "builtin" ; then
30210 subdirs="$subdirs src
/expat
"
30217 if test "$wxUSE_LIBMSPACK" != "no
"; then
30218 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30219 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30220 if test "${ac_cv_header_mspack_h+set}" = set; then
30221 echo $ECHO_N "(cached
) $ECHO_C" >&6
30223 cat >conftest.$ac_ext <<_ACEOF
30226 cat confdefs.h >>conftest.$ac_ext
30227 cat >>conftest.$ac_ext <<_ACEOF
30228 /* end confdefs.h. */
30231 #include <mspack.h>
30233 rm -f conftest.$ac_objext
30234 if { (ac_try="$ac_compile"
30235 case "(($ac_try" in
30236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30237 *) ac_try_echo=$ac_try;;
30239 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30240 (eval "$ac_compile") 2>conftest.er1
30242 grep -v '^ *+' conftest.er1 >conftest.err
30244 cat conftest.err >&5
30245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30246 (exit $ac_status); } && {
30247 test -z "$ac_c_werror_flag" ||
30248 test ! -s conftest.err
30249 } && test -s conftest.$ac_objext; then
30250 ac_cv_header_mspack_h=yes
30252 echo "$as_me: failed program was
:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 ac_cv_header_mspack_h=no
30258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30260 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30261 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30262 if test $ac_cv_header_mspack_h = yes; then
30267 if test "x
$found_mspack_h" = "x1
"; then
30268 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30269 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30270 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30271 echo $ECHO_N "(cached
) $ECHO_C" >&6
30273 ac_check_lib_save_LIBS=$LIBS
30274 LIBS="-lmspack $LIBS"
30275 cat >conftest.$ac_ext <<_ACEOF
30278 cat confdefs.h >>conftest.$ac_ext
30279 cat >>conftest.$ac_ext <<_ACEOF
30280 /* end confdefs.h. */
30282 /* Override any GCC internal prototype to avoid an error.
30283 Use char because int might match the return type of a GCC
30284 builtin and then its argument prototype would still apply. */
30288 char mspack_create_chm_decompressor ();
30292 return mspack_create_chm_decompressor ();
30297 rm -f conftest.$ac_objext conftest$ac_exeext
30298 if { (ac_try="$ac_link"
30299 case "(($ac_try" in
30300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30301 *) ac_try_echo=$ac_try;;
30303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30304 (eval "$ac_link") 2>conftest.er1
30306 grep -v '^ *+' conftest.er1 >conftest.err
30308 cat conftest.err >&5
30309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30310 (exit $ac_status); } && {
30311 test -z "$ac_c_werror_flag" ||
30312 test ! -s conftest.err
30313 } && test -s conftest$ac_exeext &&
30314 $as_test_x conftest$ac_exeext; then
30315 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30317 echo "$as_me: failed program was
:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30320 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30324 conftest$ac_exeext conftest.$ac_ext
30325 LIBS=$ac_check_lib_save_LIBS
30327 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30328 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30329 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30330 MSPACK_LINK=" -lmspack"
30334 if test "x
$MSPACK_LINK" = "x
" ; then
30339 if test "$wxUSE_LIBMSPACK" != "no
"; then
30340 cat >>confdefs.h <<\_ACEOF
30341 #define wxUSE_LIBMSPACK 1
30355 if test "$USE_WIN32" = 1 ; then
30357 for ac_header in w32api.h
30359 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30360 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30361 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30362 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30363 echo $ECHO_N "(cached
) $ECHO_C" >&6
30365 cat >conftest.$ac_ext <<_ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30373 #include <$ac_header>
30375 rm -f conftest.$ac_objext
30376 if { (ac_try="$ac_compile"
30377 case "(($ac_try" in
30378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30379 *) ac_try_echo=$ac_try;;
30381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30382 (eval "$ac_compile") 2>conftest.er1
30384 grep -v '^ *+' conftest.er1 >conftest.err
30386 cat conftest.err >&5
30387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30388 (exit $ac_status); } && {
30389 test -z "$ac_c_werror_flag" ||
30390 test ! -s conftest.err
30391 } && test -s conftest.$ac_objext; then
30392 eval "$as_ac_Header=yes"
30394 echo "$as_me: failed program was
:" >&5
30395 sed 's/^/| /' conftest.$ac_ext >&5
30397 eval "$as_ac_Header=no
"
30400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30402 ac_res=`eval echo '${'$as_ac_Header'}'`
30403 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30404 echo "${ECHO_T}$ac_res" >&6; }
30405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30406 cat >>confdefs.h <<_ACEOF
30407 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30414 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30415 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30416 if test "${ac_cv_header_windows_h+set}" = set; then
30417 echo $ECHO_N "(cached
) $ECHO_C" >&6
30419 cat >conftest.$ac_ext <<_ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30427 #include <windows.h>
30429 rm -f conftest.$ac_objext
30430 if { (ac_try="$ac_compile"
30431 case "(($ac_try" in
30432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30433 *) ac_try_echo=$ac_try;;
30435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30436 (eval "$ac_compile") 2>conftest.er1
30438 grep -v '^ *+' conftest.er1 >conftest.err
30440 cat conftest.err >&5
30441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30442 (exit $ac_status); } && {
30443 test -z "$ac_c_werror_flag" ||
30444 test ! -s conftest.err
30445 } && test -s conftest.$ac_objext; then
30446 ac_cv_header_windows_h=yes
30448 echo "$as_me: failed program was
:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30451 ac_cv_header_windows_h=no
30454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30456 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30457 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30458 if test $ac_cv_header_windows_h = yes; then
30462 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30463 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30464 { (exit 1); exit 1; }; }
30470 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30472 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30473 LIBS="$LIBS -loleacc"
30478 LIBS="$LIBS -lkernel32 -luser32"
30481 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30482 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30484 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30486 WIN32INSTALL=win32install
30488 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30489 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30490 if test "${ac_cv_header_pbt_h+set}" = set; then
30491 echo $ECHO_N "(cached
) $ECHO_C" >&6
30493 cat >conftest.$ac_ext <<_ACEOF
30496 cat confdefs.h >>conftest.$ac_ext
30497 cat >>conftest.$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30503 rm -f conftest.$ac_objext
30504 if { (ac_try="$ac_compile"
30505 case "(($ac_try" in
30506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30507 *) ac_try_echo=$ac_try;;
30509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30510 (eval "$ac_compile") 2>conftest.er1
30512 grep -v '^ *+' conftest.er1 >conftest.err
30514 cat conftest.err >&5
30515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30516 (exit $ac_status); } && {
30517 test -z "$ac_c_werror_flag" ||
30518 test ! -s conftest.err
30519 } && test -s conftest.$ac_objext; then
30520 ac_cv_header_pbt_h=yes
30522 echo "$as_me: failed program was
:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30525 ac_cv_header_pbt_h=no
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30530 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30531 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30532 if test $ac_cv_header_pbt_h = yes; then
30535 cat >>confdefs.h <<\_ACEOF
30536 #define NEED_PBT_H 1
30544 if test "$wxUSE_GUI" = "yes"; then
30554 if test "$wxUSE_COCOA" = 1 ; then
30555 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30556 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30557 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30558 wxUSE_PRINTING_ARCHITECTURE=no
30560 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30561 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30562 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30563 wxUSE_DRAG_AND_DROP=no
30565 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30566 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30567 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30572 if test "$wxUSE_MSW" = 1 ; then
30578 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30582 if test "$wxUSE_GTK" = 1; then
30583 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30584 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30586 gtk_version_cached=1
30587 if test "${wx_cv_lib_gtk+set}" = set; then
30588 echo $ECHO_N "(cached
) $ECHO_C" >&6
30591 gtk_version_cached=0
30592 { echo "$as_me:$LINENO: result
: " >&5
30593 echo "${ECHO_T}" >&6; }
30596 if test "$wxUSE_THREADS" = "yes"; then
30597 GTK_MODULES=gthread
30601 if test "x
$wxGTK_VERSION" != "x1
"
30605 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30610 # Check whether --enable-gtktest was given.
30611 if test "${enable_gtktest+set}" = set; then
30612 enableval=$enable_gtktest;
30618 pkg_config_args=gtk+-2.0
30619 for module in . $GTK_MODULES
30623 pkg_config_args="$pkg_config_args gthread
-2.0
"
30630 # Extract the first word of "pkg
-config", so it can be a program name with args.
30631 set dummy pkg-config; ac_word=$2
30632 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30635 echo $ECHO_N "(cached
) $ECHO_C" >&6
30637 case $PKG_CONFIG in
30639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30643 for as_dir in $PATH
30646 test -z "$as_dir" && as_dir=.
30647 for ac_exec_ext in '' $ac_executable_extensions; do
30648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30649 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30650 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30657 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30661 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30662 if test -n "$PKG_CONFIG"; then
30663 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30664 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30666 { echo "$as_me:$LINENO: result
: no
" >&5
30667 echo "${ECHO_T}no
" >&6; }
30672 if test x$PKG_CONFIG != xno ; then
30673 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30676 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30684 min_gtk_version=2.0.0
30685 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30686 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30688 if test x$PKG_CONFIG != xno ; then
30689 ## don't try to run the test against uninstalled libtool libs
30690 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30691 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30695 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30702 if test x"$no_gtk" = x ; then
30703 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30704 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30705 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30707 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30709 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30711 if test "x
$enable_gtktest" = "xyes
" ; then
30712 ac_save_CFLAGS="$CFLAGS"
30713 ac_save_LIBS="$LIBS"
30714 CFLAGS="$CFLAGS $GTK_CFLAGS"
30715 LIBS="$GTK_LIBS $LIBS"
30717 if test "$cross_compiling" = yes; then
30718 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30720 cat >conftest.$ac_ext <<_ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30727 #include <gtk/gtk.h>
30729 #include <stdlib.h>
30734 int major, minor, micro;
30737 system ("touch conf.gtktest
");
30739 /* HP/UX 9 (%@#!) writes to sscanf strings */
30740 tmp_version = g_strdup("$min_gtk_version");
30741 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30742 printf("%s
, bad version string
\n", "$min_gtk_version");
30746 if ((gtk_major_version != $gtk_config_major_version) ||
30747 (gtk_minor_version != $gtk_config_minor_version) ||
30748 (gtk_micro_version != $gtk_config_micro_version))
30750 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30751 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30752 gtk_major_version, gtk_minor_version, gtk_micro_version);
30753 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30754 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30755 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30756 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30757 printf("*** required on your system.
\n");
30758 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30759 printf("*** to point to the correct configuration files
\n");
30761 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30762 (gtk_minor_version != GTK_MINOR_VERSION) ||
30763 (gtk_micro_version != GTK_MICRO_VERSION))
30765 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30766 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30767 printf("*** library
(version
%d.
%d.
%d
)\n",
30768 gtk_major_version, gtk_minor_version, gtk_micro_version);
30772 if ((gtk_major_version > major) ||
30773 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30774 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30780 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30781 gtk_major_version, gtk_minor_version, gtk_micro_version);
30782 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30783 major, minor, micro);
30784 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30786 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30787 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30788 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30789 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30790 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30791 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30792 printf("*** so that the correct libraries are found
at run
-time))\n");
30799 rm -f conftest$ac_exeext
30800 if { (ac_try="$ac_link"
30801 case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_link") 2>&5
30808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30810 { (case "(($ac_try" in
30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30812 *) ac_try_echo=$ac_try;;
30814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30815 (eval "$ac_try") 2>&5
30817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30818 (exit $ac_status); }; }; then
30821 echo "$as_me: program exited with status
$ac_status" >&5
30822 echo "$as_me: failed program was
:" >&5
30823 sed 's/^/| /' conftest.$ac_ext >&5
30825 ( exit $ac_status )
30828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30832 CFLAGS="$ac_save_CFLAGS"
30833 LIBS="$ac_save_LIBS"
30836 if test "x
$no_gtk" = x ; then
30837 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30838 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30841 { echo "$as_me:$LINENO: result
: no
" >&5
30842 echo "${ECHO_T}no
" >&6; }
30843 if test "$PKG_CONFIG" = "no
" ; then
30844 echo "*** A new enough version of pkg
-config was not found.
"
30845 echo "*** See http
://pkgconfig.sourceforge.net
"
30847 if test -f conf.gtktest ; then
30850 echo "*** Could not run GTK
+ test program
, checking why...
"
30851 ac_save_CFLAGS="$CFLAGS"
30852 ac_save_LIBS="$LIBS"
30853 CFLAGS="$CFLAGS $GTK_CFLAGS"
30854 LIBS="$LIBS $GTK_LIBS"
30855 cat >conftest.$ac_ext <<_ACEOF
30858 cat confdefs.h >>conftest.$ac_ext
30859 cat >>conftest.$ac_ext <<_ACEOF
30860 /* end confdefs.h. */
30862 #include <gtk/gtk.h>
30868 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30873 rm -f conftest.$ac_objext conftest$ac_exeext
30874 if { (ac_try="$ac_link"
30875 case "(($ac_try" in
30876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30877 *) ac_try_echo=$ac_try;;
30879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30880 (eval "$ac_link") 2>conftest.er1
30882 grep -v '^ *+' conftest.er1 >conftest.err
30884 cat conftest.err >&5
30885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30886 (exit $ac_status); } && {
30887 test -z "$ac_c_werror_flag" ||
30888 test ! -s conftest.err
30889 } && test -s conftest$ac_exeext &&
30890 $as_test_x conftest$ac_exeext; then
30891 echo "*** The
test program compiled
, but did not run. This usually means
"
30892 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30893 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30894 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30895 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30896 echo "*** is required on your system"
30898 echo "*** If you have an old version installed, it is best to remove it, although"
30899 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30901 echo "$as_me: failed program was:" >&5
30902 sed 's
/^
/| /' conftest.$ac_ext >&5
30904 echo "*** The test program failed to compile or link. See the file config.log for the"
30905 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30909 conftest$ac_exeext conftest.$ac_ext
30910 CFLAGS="$ac_save_CFLAGS"
30911 LIBS="$ac_save_LIBS"
30925 if test "$wxUSE_SHARED" != "yes"; then
30926 GTK_LIBS="$GTK_LIBS -lX11"
30931 if test -z "$wx_cv_lib_gtk"; then
30932 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30934 # Check whether --with-gtk-prefix was given.
30935 if test "${with_gtk_prefix+set}" = set; then
30936 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30938 gtk_config_prefix=""
30942 # Check whether --with-gtk-exec-prefix was given.
30943 if test "${with_gtk_exec_prefix+set}" = set; then
30944 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30946 gtk_config_exec_prefix=""
30949 # Check whether --enable-gtktest was given.
30950 if test "${enable_gtktest+set}" = set; then
30951 enableval=$enable_gtktest;
30957 for module in . $GTK_MODULES
30961 gtk_config_args="$gtk_config_args gthread"
30966 if test x$gtk_config_exec_prefix != x ; then
30967 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30968 if test x${GTK_CONFIG+set} != xset ; then
30969 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30972 if test x$gtk_config_prefix != x ; then
30973 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30974 if test x${GTK_CONFIG+set} != xset ; then
30975 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30979 # Extract the first word of "gtk-config", so it can be a program name with args.
30980 set dummy gtk-config; ac_word=$2
30981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30983 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 case $GTK_CONFIG in
30988 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30992 for as_dir in $PATH
30995 test -z "$as_dir" && as_dir=.
30996 for ac_exec_ext in '' $ac_executable_extensions; do
30997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30998 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31006 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31010 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31011 if test -n "$GTK_CONFIG"; then
31012 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31013 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31015 { echo "$as_me:$LINENO: result: no" >&5
31016 echo "${ECHO_T}no" >&6; }
31020 min_gtk_version=1.2.7
31021 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31022 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31024 if test "$GTK_CONFIG" = "no" ; then
31027 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31028 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31029 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31030 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31031 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31032 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31033 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31034 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31035 if test "x$enable_gtktest" = "xyes" ; then
31036 ac_save_CFLAGS="$CFLAGS"
31037 ac_save_LIBS="$LIBS"
31038 CFLAGS="$CFLAGS $GTK_CFLAGS"
31039 LIBS="$GTK_LIBS $LIBS"
31041 if test "$cross_compiling" = yes; then
31042 echo $ac_n "cross compiling; assumed OK... $ac_c"
31044 cat >conftest.$ac_ext <<_ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31051 #include <gtk/gtk.h>
31053 #include <stdlib.h>
31058 int major, minor, micro;
31061 system ("touch conf.gtktest");
31063 /* HP/UX 9 (%@#!) writes to sscanf strings */
31064 tmp_version = g_strdup("$min_gtk_version");
31065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31066 printf("%s, bad version string\n", "$min_gtk_version");
31070 if ((gtk_major_version != $gtk_config_major_version) ||
31071 (gtk_minor_version != $gtk_config_minor_version) ||
31072 (gtk_micro_version != $gtk_config_micro_version))
31074 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31076 gtk_major_version, gtk_minor_version, gtk_micro_version);
31077 printf ("*** was found! If gtk-config was correct, then it is best\n");
31078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31081 printf("*** required on your system.\n");
31082 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31083 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31084 printf("*** before re-running configure\n");
31086 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31087 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31088 (gtk_minor_version != GTK_MINOR_VERSION) ||
31089 (gtk_micro_version != GTK_MICRO_VERSION))
31091 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31092 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31093 printf("*** library (version %d.%d.%d)\n",
31094 gtk_major_version, gtk_minor_version, gtk_micro_version);
31096 #endif /* defined (GTK_MAJOR_VERSION) ... */
31099 if ((gtk_major_version > major) ||
31100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31108 gtk_major_version, gtk_minor_version, gtk_micro_version);
31109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31110 major, minor, micro);
31111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31113 printf("*** If you have already installed a sufficiently new version, this error\n");
31114 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31116 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31117 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31119 printf("*** so that the correct libraries are found at run-time))\n");
31126 rm -f conftest$ac_exeext
31127 if { (ac_try="$ac_link"
31128 case "(($ac_try" in
31129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31130 *) ac_try_echo=$ac_try;;
31132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31133 (eval "$ac_link") 2>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31137 { (case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_try") 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; }; then
31148 echo "$as_me: program exited with status $ac_status" >&5
31149 echo "$as_me: failed program was:" >&5
31150 sed 's
/^
/| /' conftest.$ac_ext >&5
31152 ( exit $ac_status )
31155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31159 CFLAGS="$ac_save_CFLAGS"
31160 LIBS="$ac_save_LIBS"
31163 if test "x$no_gtk" = x ; then
31164 { echo "$as_me:$LINENO: result: yes" >&5
31165 echo "${ECHO_T}yes" >&6; }
31166 wx_cv_lib_gtk=1.2.7
31168 { echo "$as_me:$LINENO: result: no" >&5
31169 echo "${ECHO_T}no" >&6; }
31170 if test "$GTK_CONFIG" = "no" ; then
31171 echo "*** The gtk-config script installed by GTK could not be found"
31172 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31173 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31174 echo "*** full path to gtk-config."
31176 if test -f conf.gtktest ; then
31179 echo "*** Could not run GTK test program, checking why..."
31180 CFLAGS="$CFLAGS $GTK_CFLAGS"
31181 LIBS="$LIBS $GTK_LIBS"
31182 cat >conftest.$ac_ext <<_ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 #include <gtk/gtk.h>
31195 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (ac_try="$ac_link"
31202 case "(($ac_try" in
31203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31204 *) ac_try_echo=$ac_try;;
31206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31207 (eval "$ac_link") 2>conftest.er1
31209 grep -v '^
*+' conftest.er1 >conftest.err
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } && {
31214 test -z "$ac_c_werror_flag" ||
31215 test ! -s conftest.err
31216 } && test -s conftest$ac_exeext &&
31217 $as_test_x conftest$ac_exeext; then
31218 echo "*** The test program compiled, but did not run. This usually means"
31219 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31220 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31221 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31222 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31223 echo "*** is required on your system
"
31225 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31226 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31228 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31229 echo "*** came with the system with the
command"
31231 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31233 echo "$as_me: failed program was
:" >&5
31234 sed 's/^/| /' conftest.$ac_ext >&5
31236 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31237 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31238 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31239 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31243 conftest$ac_exeext conftest.$ac_ext
31244 CFLAGS="$ac_save_CFLAGS"
31245 LIBS="$ac_save_LIBS"
31257 if test -z "$wx_cv_lib_gtk"; then
31259 # Check whether --with-gtk-prefix was given.
31260 if test "${with_gtk_prefix+set}" = set; then
31261 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31263 gtk_config_prefix=""
31267 # Check whether --with-gtk-exec-prefix was given.
31268 if test "${with_gtk_exec_prefix+set}" = set; then
31269 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31271 gtk_config_exec_prefix=""
31274 # Check whether --enable-gtktest was given.
31275 if test "${enable_gtktest+set}" = set; then
31276 enableval=$enable_gtktest;
31282 for module in . $GTK_MODULES
31286 gtk_config_args="$gtk_config_args gthread
"
31291 if test x$gtk_config_exec_prefix != x ; then
31292 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31293 if test x${GTK_CONFIG+set} != xset ; then
31294 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31297 if test x$gtk_config_prefix != x ; then
31298 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31299 if test x${GTK_CONFIG+set} != xset ; then
31300 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31304 # Extract the first word of "gtk
-config", so it can be a program name with args.
31305 set dummy gtk-config; ac_word=$2
31306 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31307 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31308 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31309 echo $ECHO_N "(cached
) $ECHO_C" >&6
31311 case $GTK_CONFIG in
31313 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31317 for as_dir in $PATH
31320 test -z "$as_dir" && as_dir=.
31321 for ac_exec_ext in '' $ac_executable_extensions; do
31322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31323 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31324 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31331 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31335 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31336 if test -n "$GTK_CONFIG"; then
31337 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31338 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31340 { echo "$as_me:$LINENO: result
: no
" >&5
31341 echo "${ECHO_T}no
" >&6; }
31345 min_gtk_version=1.2.3
31346 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31347 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31349 if test "$GTK_CONFIG" = "no
" ; then
31352 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31353 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31354 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31356 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31358 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31360 if test "x
$enable_gtktest" = "xyes
" ; then
31361 ac_save_CFLAGS="$CFLAGS"
31362 ac_save_LIBS="$LIBS"
31363 CFLAGS="$CFLAGS $GTK_CFLAGS"
31364 LIBS="$GTK_LIBS $LIBS"
31366 if test "$cross_compiling" = yes; then
31367 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31369 cat >conftest.$ac_ext <<_ACEOF
31372 cat confdefs.h >>conftest.$ac_ext
31373 cat >>conftest.$ac_ext <<_ACEOF
31374 /* end confdefs.h. */
31376 #include <gtk/gtk.h>
31378 #include <stdlib.h>
31383 int major, minor, micro;
31386 system ("touch conf.gtktest
");
31388 /* HP/UX 9 (%@#!) writes to sscanf strings */
31389 tmp_version = g_strdup("$min_gtk_version");
31390 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31391 printf("%s
, bad version string
\n", "$min_gtk_version");
31395 if ((gtk_major_version != $gtk_config_major_version) ||
31396 (gtk_minor_version != $gtk_config_minor_version) ||
31397 (gtk_micro_version != $gtk_config_micro_version))
31399 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31400 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31401 gtk_major_version, gtk_minor_version, gtk_micro_version);
31402 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31403 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31404 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31405 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31406 printf("*** required on your system.
\n");
31407 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31408 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31409 printf("*** before re
-running configure
\n");
31411 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31412 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31413 (gtk_minor_version != GTK_MINOR_VERSION) ||
31414 (gtk_micro_version != GTK_MICRO_VERSION))
31416 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31417 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31418 printf("*** library
(version
%d.
%d.
%d
)\n",
31419 gtk_major_version, gtk_minor_version, gtk_micro_version);
31421 #endif /* defined (GTK_MAJOR_VERSION) ... */
31424 if ((gtk_major_version > major) ||
31425 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31426 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31432 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31433 gtk_major_version, gtk_minor_version, gtk_micro_version);
31434 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31435 major, minor, micro);
31436 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31438 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31439 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31440 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31441 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31442 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31443 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31444 printf("*** so that the correct libraries are found
at run
-time))\n");
31451 rm -f conftest$ac_exeext
31452 if { (ac_try="$ac_link"
31453 case "(($ac_try" in
31454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31455 *) ac_try_echo=$ac_try;;
31457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31458 (eval "$ac_link") 2>&5
31460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31462 { (case "(($ac_try" in
31463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31464 *) ac_try_echo=$ac_try;;
31466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31467 (eval "$ac_try") 2>&5
31469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31470 (exit $ac_status); }; }; then
31473 echo "$as_me: program exited with status
$ac_status" >&5
31474 echo "$as_me: failed program was
:" >&5
31475 sed 's/^/| /' conftest.$ac_ext >&5
31477 ( exit $ac_status )
31480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31484 CFLAGS="$ac_save_CFLAGS"
31485 LIBS="$ac_save_LIBS"
31488 if test "x
$no_gtk" = x ; then
31489 { echo "$as_me:$LINENO: result
: yes" >&5
31490 echo "${ECHO_T}yes" >&6; }
31491 wx_cv_lib_gtk=1.2.3
31493 { echo "$as_me:$LINENO: result
: no
" >&5
31494 echo "${ECHO_T}no
" >&6; }
31495 if test "$GTK_CONFIG" = "no
" ; then
31496 echo "*** The gtk
-config script installed by GTK could not be found
"
31497 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31498 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31499 echo "*** full path to gtk
-config.
"
31501 if test -f conf.gtktest ; then
31504 echo "*** Could not run GTK
test program
, checking why...
"
31505 CFLAGS="$CFLAGS $GTK_CFLAGS"
31506 LIBS="$LIBS $GTK_LIBS"
31507 cat >conftest.$ac_ext <<_ACEOF
31510 cat confdefs.h >>conftest.$ac_ext
31511 cat >>conftest.$ac_ext <<_ACEOF
31512 /* end confdefs.h. */
31514 #include <gtk/gtk.h>
31520 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31525 rm -f conftest.$ac_objext conftest$ac_exeext
31526 if { (ac_try="$ac_link"
31527 case "(($ac_try" in
31528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31529 *) ac_try_echo=$ac_try;;
31531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31532 (eval "$ac_link") 2>conftest.er1
31534 grep -v '^ *+' conftest.er1 >conftest.err
31536 cat conftest.err >&5
31537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31538 (exit $ac_status); } && {
31539 test -z "$ac_c_werror_flag" ||
31540 test ! -s conftest.err
31541 } && test -s conftest$ac_exeext &&
31542 $as_test_x conftest$ac_exeext; then
31543 echo "*** The
test program compiled
, but did not run. This usually means
"
31544 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31545 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31546 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31547 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31548 echo "*** is required on your system"
31550 echo "*** If you have an old version installed, it is best to remove it, although"
31551 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31553 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31554 echo "*** came with the system with the command"
31556 echo "*** rpm --erase --nodeps gtk gtk-devel"
31558 echo "$as_me: failed program was:" >&5
31559 sed 's
/^
/| /' conftest.$ac_ext >&5
31561 echo "*** The test program failed to compile or link. See the file config.log for the"
31562 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31563 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31564 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31568 conftest$ac_exeext conftest.$ac_ext
31569 CFLAGS="$ac_save_CFLAGS"
31570 LIBS="$ac_save_LIBS"
31585 if test -z "$wx_cv_lib_gtk"; then
31588 wx_cv_cflags_gtk=$GTK_CFLAGS
31589 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31596 if test "$gtk_version_cached" = 1; then
31597 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31598 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31601 case "$wx_cv_lib_gtk" in
31610 *) { { echo "$as_me:$LINENO: error:
31611 The development files for GTK+ were not found. For GTK+ 2, please
31612 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31613 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31614 and that the version is 1.2.3 or above. Also check that the
31615 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31616 --libs' are in the LD_LIBRARY_PATH or equivalent.
31618 echo "$as_me: error:
31619 The development files for GTK+ were not found. For GTK+ 2, please
31620 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31621 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31622 and that the version is 1.2.3 or above. Also check that the
31623 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31624 --libs' are in the LD_LIBRARY_PATH or equivalent.
31626 { (exit 1); exit 1; }; }
31630 if test "$WXGTK20" = 1; then
31631 save_CFLAGS="$CFLAGS"
31633 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31634 LIBS="$LIBS $wx_cv_libs_gtk"
31636 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31637 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31638 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31639 echo $ECHO_N "(cached) $ECHO_C" >&6
31641 cat >conftest.$ac_ext <<_ACEOF
31644 cat confdefs.h >>conftest.$ac_ext
31645 cat >>conftest.$ac_ext <<_ACEOF
31646 /* end confdefs.h. */
31647 #include <gtk/gtk.h>
31652 #ifndef gtk_icon_size_lookup
31653 (void) gtk_icon_size_lookup;
31660 rm -f conftest.$ac_objext
31661 if { (ac_try="$ac_compile"
31662 case "(($ac_try" in
31663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31664 *) ac_try_echo=$ac_try;;
31666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31667 (eval "$ac_compile") 2>conftest.er1
31669 grep -v '^
*+' conftest.er1 >conftest.err
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } && {
31674 test -z "$ac_c_werror_flag" ||
31675 test ! -s conftest.err
31676 } && test -s conftest.$ac_objext; then
31677 ac_cv_have_decl_gtk_icon_size_lookup=yes
31679 echo "$as_me: failed program was:" >&5
31680 sed 's
/^
/| /' conftest.$ac_ext >&5
31682 ac_cv_have_decl_gtk_icon_size_lookup=no
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31688 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31689 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31691 cat >>confdefs.h <<_ACEOF
31692 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31697 cat >>confdefs.h <<_ACEOF
31698 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31701 cat >>confdefs.h <<\_ACEOF
31702 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31710 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31711 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31712 cat >conftest.$ac_ext <<_ACEOF
31715 cat confdefs.h >>conftest.$ac_ext
31716 cat >>conftest.$ac_ext <<_ACEOF
31717 /* end confdefs.h. */
31719 #include <gtk/gtk.h>
31725 #if !GTK_CHECK_VERSION(2,10,0)
31733 rm -f conftest.$ac_objext
31734 if { (ac_try="$ac_compile"
31735 case "(($ac_try" in
31736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31737 *) ac_try_echo=$ac_try;;
31739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31740 (eval "$ac_compile") 2>conftest.er1
31742 grep -v '^
*+' conftest.er1 >conftest.err
31744 cat conftest.err >&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); } && {
31747 test -z "$ac_c_werror_flag" ||
31748 test ! -s conftest.err
31749 } && test -s conftest.$ac_objext; then
31751 cat >>confdefs.h <<\_ACEOF
31752 #define __WXGTK210__ 1
31755 cat >>confdefs.h <<\_ACEOF
31756 #define __WXGTK26__ 1
31759 cat >>confdefs.h <<\_ACEOF
31760 #define __WXGTK24__ 1
31763 { echo "$as_me:$LINENO: result: yes" >&5
31764 echo "${ECHO_T}yes" >&6; }
31768 echo "$as_me: failed program was:" >&5
31769 sed 's
/^
/| /' conftest.$ac_ext >&5
31772 { echo "$as_me:$LINENO: result: no" >&5
31773 echo "${ECHO_T}no" >&6; }
31778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31780 if test "$ac_wxgtk210" = 0; then
31781 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31782 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31783 cat >conftest.$ac_ext <<_ACEOF
31786 cat confdefs.h >>conftest.$ac_ext
31787 cat >>conftest.$ac_ext <<_ACEOF
31788 /* end confdefs.h. */
31790 #include <gtk/gtk.h>
31796 #if !GTK_CHECK_VERSION(2,6,0)
31804 rm -f conftest.$ac_objext
31805 if { (ac_try="$ac_compile"
31806 case "(($ac_try" in
31807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31808 *) ac_try_echo=$ac_try;;
31810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31811 (eval "$ac_compile") 2>conftest.er1
31813 grep -v '^
*+' conftest.er1 >conftest.err
31815 cat conftest.err >&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); } && {
31818 test -z "$ac_c_werror_flag" ||
31819 test ! -s conftest.err
31820 } && test -s conftest.$ac_objext; then
31822 cat >>confdefs.h <<\_ACEOF
31823 #define __WXGTK26__ 1
31826 cat >>confdefs.h <<\_ACEOF
31827 #define __WXGTK24__ 1
31830 { echo "$as_me:$LINENO: result: yes" >&5
31831 echo "${ECHO_T}yes" >&6; }
31835 echo "$as_me: failed program was:" >&5
31836 sed 's
/^
/| /' conftest.$ac_ext >&5
31839 { echo "$as_me:$LINENO: result: no" >&5
31840 echo "${ECHO_T}no" >&6; }
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31848 if test "$ac_wxgtk26" = 0; then
31849 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31850 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31851 cat >conftest.$ac_ext <<_ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31858 #include <gtk/gtk.h>
31864 #if !GTK_CHECK_VERSION(2,4,0)
31872 rm -f conftest.$ac_objext
31873 if { (ac_try="$ac_compile"
31874 case "(($ac_try" in
31875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31876 *) ac_try_echo=$ac_try;;
31878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31879 (eval "$ac_compile") 2>conftest.er1
31881 grep -v '^
*+' conftest.er1 >conftest.err
31883 cat conftest.err >&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } && {
31886 test -z "$ac_c_werror_flag" ||
31887 test ! -s conftest.err
31888 } && test -s conftest.$ac_objext; then
31890 cat >>confdefs.h <<\_ACEOF
31891 #define __WXGTK24__ 1
31894 { echo "$as_me:$LINENO: result: yes" >&5
31895 echo "${ECHO_T}yes" >&6; }
31898 echo "$as_me: failed program was:" >&5
31899 sed 's
/^
/| /' conftest.$ac_ext >&5
31902 { echo "$as_me:$LINENO: result: no" >&5
31903 echo "${ECHO_T}no" >&6; }
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31910 CFLAGS="$save_CFLAGS"
31913 if test "$wxUSE_UNICODE" = "yes"; then
31914 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31915 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31919 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31920 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31921 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 ac_check_lib_save_LIBS=$LIBS
31926 cat >conftest.$ac_ext <<_ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31933 /* Override any GCC internal prototype to avoid an error.
31934 Use char because int might match the return type of a GCC
31935 builtin and then its argument prototype would still apply. */
31939 char gdk_im_open ();
31943 return gdk_im_open ();
31948 rm -f conftest.$ac_objext conftest$ac_exeext
31949 if { (ac_try="$ac_link"
31950 case "(($ac_try" in
31951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31952 *) ac_try_echo=$ac_try;;
31954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31955 (eval "$ac_link") 2>conftest.er1
31957 grep -v '^
*+' conftest.er1 >conftest.err
31959 cat conftest.err >&5
31960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961 (exit $ac_status); } && {
31962 test -z "$ac_c_werror_flag" ||
31963 test ! -s conftest.err
31964 } && test -s conftest$ac_exeext &&
31965 $as_test_x conftest$ac_exeext; then
31966 ac_cv_lib_gdk_gdk_im_open=yes
31968 echo "$as_me: failed program was:" >&5
31969 sed 's
/^
/| /' conftest.$ac_ext >&5
31971 ac_cv_lib_gdk_gdk_im_open=no
31974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31975 conftest$ac_exeext conftest.$ac_ext
31976 LIBS=$ac_check_lib_save_LIBS
31978 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31979 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31980 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31981 cat >>confdefs.h <<\_ACEOF
31988 if test "$USE_DARWIN" != 1; then
31990 for ac_func in poll
31992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 cat >conftest.$ac_ext <<_ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32006 #define $ac_func innocuous_$ac_func
32008 /* System header to define __stub macros and hopefully few prototypes,
32009 which can conflict with char $ac_func (); below.
32010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32011 <limits.h> exists even on freestanding compilers. */
32014 # include <limits.h>
32016 # include <assert.h>
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32028 /* The GNU C library defines this for functions which it implements
32029 to always fail with ENOSYS. Some functions are actually named
32030 something starting with __ and the normal name is an alias. */
32031 #if defined __stub_$ac_func || defined __stub___$ac_func
32038 return $ac_func ();
32043 rm -f conftest.$ac_objext conftest$ac_exeext
32044 if { (ac_try="$ac_link"
32045 case "(($ac_try" in
32046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32047 *) ac_try_echo=$ac_try;;
32049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32050 (eval "$ac_link") 2>conftest.er1
32052 grep -v '^
*+' conftest.er1 >conftest.err
32054 cat conftest.err >&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } && {
32057 test -z "$ac_c_werror_flag" ||
32058 test ! -s conftest.err
32059 } && test -s conftest$ac_exeext &&
32060 $as_test_x conftest$ac_exeext; then
32061 eval "$as_ac_var=yes"
32063 echo "$as_me: failed program was:" >&5
32064 sed 's
/^
/| /' conftest.$ac_ext >&5
32066 eval "$as_ac_var=no"
32069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32070 conftest$ac_exeext conftest.$ac_ext
32072 ac_res=`eval echo '${'$as_ac_var'}'`
32073 { echo "$as_me:$LINENO: result: $ac_res" >&5
32074 echo "${ECHO_T}$ac_res" >&6; }
32075 if test `eval echo '${'$as_ac_var'}'` = yes; then
32076 cat >>confdefs.h <<_ACEOF
32077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32086 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32087 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32089 AFMINSTALL=afminstall
32093 if test "$wxUSE_GPE" = "yes"; then
32094 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32095 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32098 for ac_dir in $SEARCH_LIB;
32100 for ac_extension in a so sl dylib dll.a; do
32101 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32102 ac_find_libraries=$ac_dir
32108 if test "$ac_find_libraries" != "" ; then
32110 if test "$ac_find_libraries" = "default location"; then
32113 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32115 if test $result = 0; then
32118 ac_path_to_link=" -L$ac_find_libraries"
32122 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32124 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32125 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32127 { echo "$as_me:$LINENO: result: not found" >&5
32128 echo "${ECHO_T}not found" >&6; }
32134 if test "$wxUSE_MGL" = 1; then
32135 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32136 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32137 if test "x$MGL_ROOT" = x ; then
32138 { echo "$as_me:$LINENO: result: not found" >&5
32139 echo "${ECHO_T}not found" >&6; }
32140 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32141 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32142 { (exit 1); exit 1; }; }
32144 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32145 echo "${ECHO_T}$MGL_ROOT" >&6; }
32148 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32149 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32152 if test "x$wxUSE_SHARED" = xyes ; then
32153 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32155 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32159 mgl_os_candidates="dos32/dj2"
32162 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32163 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32164 { (exit 1); exit 1; }; }
32170 for mgl_os_i in $mgl_os_candidates ; do
32171 if test "x$mgl_os" = x ; then
32172 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32173 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32174 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32179 if test "x$mgl_lib_type" = x ; then
32180 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32181 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32182 mgl_lib_type=release
32189 if test "x$mgl_os" = x ; then
32190 { echo "$as_me:$LINENO: result: not found" >&5
32191 echo "${ECHO_T}not found" >&6; }
32192 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32193 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32194 { (exit 1); exit 1; }; }
32196 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32197 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32199 wxUSE_UNIVERSAL="yes"
32201 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32202 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32204 AFMINSTALL=afminstall
32209 if test "$wxUSE_DFB" = 1; then
32212 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32213 if test -n "$ac_tool_prefix"; then
32214 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32215 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32218 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32219 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 case $PKG_CONFIG in
32223 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32227 for as_dir in $PATH
32230 test -z "$as_dir" && as_dir=.
32231 for ac_exec_ext in '' $ac_executable_extensions; do
32232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32233 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32244 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32245 if test -n "$PKG_CONFIG"; then
32246 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32247 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32249 { echo "$as_me:$LINENO: result: no" >&5
32250 echo "${ECHO_T}no" >&6; }
32255 if test -z "$ac_cv_path_PKG_CONFIG"; then
32256 ac_pt_PKG_CONFIG=$PKG_CONFIG
32257 # Extract the first word of "pkg-config", so it can be a program name with args.
32258 set dummy pkg-config; ac_word=$2
32259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32261 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 case $ac_pt_PKG_CONFIG in
32266 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32270 for as_dir in $PATH
32273 test -z "$as_dir" && as_dir=.
32274 for ac_exec_ext in '' $ac_executable_extensions; do
32275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32276 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32287 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32288 if test -n "$ac_pt_PKG_CONFIG"; then
32289 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32290 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32292 { echo "$as_me:$LINENO: result: no" >&5
32293 echo "${ECHO_T}no" >&6; }
32296 if test "x$ac_pt_PKG_CONFIG" = x; then
32299 case $cross_compiling:$ac_tool_warned in
32301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32302 whose name does not start with the host triplet. If you think this
32303 configuration is useful to you, please write to autoconf@gnu.org." >&5
32304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32305 whose name does not start with the host triplet. If you think this
32306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32307 ac_tool_warned=yes ;;
32309 PKG_CONFIG=$ac_pt_PKG_CONFIG
32312 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32316 if test -n "$PKG_CONFIG"; then
32317 _pkg_min_version=0.9.0
32318 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32319 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32320 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32321 { echo "$as_me:$LINENO: result: yes" >&5
32322 echo "${ECHO_T}yes" >&6; }
32324 { echo "$as_me:$LINENO: result: no" >&5
32325 echo "${ECHO_T}no" >&6; }
32333 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32334 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32336 if test -n "$PKG_CONFIG"; then
32337 if test -n "$DIRECTFB_CFLAGS"; then
32338 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32340 if test -n "$PKG_CONFIG" && \
32341 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32342 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; then
32346 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32354 if test -n "$PKG_CONFIG"; then
32355 if test -n "$DIRECTFB_LIBS"; then
32356 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32358 if test -n "$PKG_CONFIG" && \
32359 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32360 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; then
32364 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32375 if test $pkg_failed = yes; then
32377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32378 _pkg_short_errors_supported=yes
32380 _pkg_short_errors_supported=no
32382 if test $_pkg_short_errors_supported = yes; then
32383 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32385 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32387 # Put the nasty error message in config.log where it belongs
32388 echo "$DIRECTFB_PKG_ERRORS" >&5
32391 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32392 echo "$as_me: error: DirectFB not found." >&2;}
32393 { (exit 1); exit 1; }; }
32396 elif test $pkg_failed = untried; then
32398 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32399 echo "$as_me: error: DirectFB not found." >&2;}
32400 { (exit 1); exit 1; }; }
32404 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32405 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32406 { echo "$as_me:$LINENO: result: yes" >&5
32407 echo "${ECHO_T}yes" >&6; }
32409 wxUSE_UNIVERSAL="yes"
32410 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32411 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32418 if test "$wxUSE_MICROWIN" = 1; then
32419 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32420 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32421 if test "x$MICROWINDOWS" = x ; then
32422 { echo "$as_me:$LINENO: result: not found" >&5
32423 echo "${ECHO_T}not found" >&6; }
32424 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32425 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32426 { (exit 1); exit 1; }; }
32428 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32429 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32432 if test -f $MICROWINDOWS/lib/libmwin.a; then
32433 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32434 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32436 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32437 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32438 { (exit 1); exit 1; }; }
32441 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32442 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32444 wxUSE_UNIVERSAL="yes"
32446 AFMINSTALL=afminstall
32448 GUIDIST=MICROWIN_DIST
32450 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32453 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32454 { echo "$as_me:$LINENO: checking for X" >&5
32455 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32458 # Check whether --with-x was given.
32459 if test "${with_x+set}" = set; then
32463 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32464 if test "x$with_x" = xno; then
32465 # The user explicitly disabled X.
32468 case $x_includes,$x_libraries in #(
32469 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32470 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32471 { (exit 1); exit 1; }; };; #(
32472 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 # One or both of the vars are not set, and there is no cached value.
32476 ac_x_includes=no ac_x_libraries=no
32477 rm -f -r conftest.dir
32478 if mkdir conftest.dir; then
32480 cat >Imakefile <<'_ACEOF'
32482 @echo incroot='${INCROOT}'
32484 @echo usrlibdir='${USRLIBDIR}'
32486 @echo libdir='${LIBDIR}'
32488 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32489 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32490 for ac_var in incroot usrlibdir libdir; do
32491 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32493 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32494 for ac_extension in a so sl; do
32495 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32496 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32497 ac_im_usrlibdir=$ac_im_libdir; break
32500 # Screen out bogus values from the imake configuration. They are
32501 # bogus both because they are the default anyway, and because
32502 # using them would break gcc on systems where it needs fixed includes.
32503 case $ac_im_incroot in
32504 /usr/include) ac_x_includes= ;;
32505 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32507 case $ac_im_usrlibdir in
32508 /usr/lib | /lib) ;;
32509 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32513 rm -f -r conftest.dir
32516 # Standard set of common directories for X headers.
32517 # Check X11 before X11Rn because it is often a symlink to the current release.
32529 /usr
/local
/X
11/include
32530 /usr
/local
/X
11R
6/include
32531 /usr
/local
/X
11R
5/include
32532 /usr
/local
/X
11R
4/include
32534 /usr
/local
/include
/X11
32535 /usr
/local
/include
/X11R6
32536 /usr
/local
/include
/X11R5
32537 /usr
/local
/include
/X11R4
32541 /usr
/XFree
86/include
/X11
32545 /usr
/unsupported
/include
32546 /usr
/athena
/include
32547 /usr
/local
/x
11r
5/include
32548 /usr
/lpp
/Xamples
/include
32550 /usr
/openwin
/include
32551 /usr
/openwin
/share
/include
'
32553 if test "$ac_x_includes" = no; then
32554 # Guess where to find include files, by looking for Xlib.h.
32555 # First, try using that file with no special directory specified.
32556 cat >conftest.$ac_ext <<_ACEOF
32559 cat confdefs.h >>conftest.$ac_ext
32560 cat >>conftest.$ac_ext <<_ACEOF
32561 /* end confdefs.h. */
32562 #include <X11/Xlib.h>
32564 if { (ac_try="$ac_cpp conftest.$ac_ext"
32565 case "(($ac_try" in
32566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32567 *) ac_try_echo=$ac_try;;
32569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32572 grep -v '^
*+' conftest.er1 >conftest.err
32574 cat conftest.err >&5
32575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32576 (exit $ac_status); } >/dev/null && {
32577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32578 test ! -s conftest.err
32580 # We can compile using X headers with no special include directory.
32583 echo "$as_me: failed program was:" >&5
32584 sed 's
/^
/| /' conftest.$ac_ext >&5
32586 for ac_dir in $ac_x_header_dirs; do
32587 if test -r "$ac_dir/X11/Xlib.h"; then
32588 ac_x_includes=$ac_dir
32594 rm -f conftest.err conftest.$ac_ext
32595 fi # $ac_x_includes = no
32597 if test "$ac_x_libraries" = no; then
32598 # Check for the libraries.
32599 # See if we find them without any special options.
32600 # Don't add to
$LIBS permanently.
32603 cat >conftest.
$ac_ext <<_ACEOF
32606 cat confdefs.h
>>conftest.
$ac_ext
32607 cat >>conftest.
$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32609 #include <X11/Xlib.h>
32618 rm -f conftest.
$ac_objext conftest
$ac_exeext
32619 if { (ac_try
="$ac_link"
32620 case "(($ac_try" in
32621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32622 *) ac_try_echo=$ac_try;;
32624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32625 (eval "$ac_link") 2>conftest.er1
32627 grep -v '^ *+' conftest.er1 >conftest.err
32629 cat conftest.err >&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } && {
32632 test -z "$ac_c_werror_flag" ||
32633 test ! -s conftest.err
32634 } && test -s conftest$ac_exeext &&
32635 $as_test_x conftest$ac_exeext; then
32637 # We can link X programs with no special library path.
32640 echo "$as_me: failed program was:" >&5
32641 sed 's/^/| /' conftest.$ac_ext >&5
32644 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32646 # Don't even attempt the hair of trying to link an X program!
32647 for ac_extension in a so sl; do
32648 if test -r "$ac_dir/libX11.$ac_extension"; then
32649 ac_x_libraries=$ac_dir
32656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32657 conftest$ac_exeext conftest.$ac_ext
32658 fi # $ac_x_libraries = no
32660 case $ac_x_includes,$ac_x_libraries in #(
32661 no,* | *,no | *\'*)
32662 # Didn't find X, or a directory has "'" in its name.
32663 ac_cv_have_x="have_x=no";; #(
32665 # Record where we found X for the cache.
32666 ac_cv_have_x="have_x=yes\
32667 ac_x_includes='$ac_x_includes'\
32668 ac_x_libraries='$ac_x_libraries'"
32674 eval "$ac_cv_have_x"
32677 if test "$have_x" != yes; then
32678 { echo "$as_me:$LINENO: result: $have_x" >&5
32679 echo "${ECHO_T}$have_x" >&6; }
32682 # If each of the values was on the command line, it overrides each guess.
32683 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32684 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32685 # Update the cache value to reflect the command line values.
32686 ac_cv_have_x="have_x=yes\
32687 ac_x_includes='$x_includes'\
32688 ac_x_libraries='$x_libraries'"
32689 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32690 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32693 if test "$no_x" = yes; then
32694 # Not all programs may use this symbol, but it does not hurt to define it.
32696 cat >>confdefs.h <<\_ACEOF
32697 #define X_DISPLAY_MISSING 1
32700 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32702 if test -n "$x_includes"; then
32703 X_CFLAGS="$X_CFLAGS -I$x_includes"
32706 # It would also be nice to do this for all -L options, not just this one.
32707 if test -n "$x_libraries"; then
32708 X_LIBS="$X_LIBS -L$x_libraries"
32709 # For Solaris; some versions of Sun CC require a space after -R and
32710 # others require no space. Words are not sufficient . . . .
32711 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32712 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32713 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32714 ac_xsave_c_werror_flag=$ac_c_werror_flag
32715 ac_c_werror_flag=yes
32716 cat >conftest.$ac_ext <<_ACEOF
32719 cat confdefs.h >>conftest.$ac_ext
32720 cat >>conftest.$ac_ext <<_ACEOF
32721 /* end confdefs.h. */
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (ac_try="$ac_link"
32733 case "(($ac_try" in
32734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32735 *) ac_try_echo
=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_link") 2>conftest.er1
32740 grep -v '^ *+' conftest.er1
>conftest.err
32742 cat conftest.err
>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest
$ac_exeext &&
32748 $as_test_x conftest
$ac_exeext; then
32749 { echo "$as_me:$LINENO: result: no" >&5
32750 echo "${ECHO_T}no" >&6; }
32751 X_LIBS
="$X_LIBS -R$x_libraries"
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.
$ac_ext >&5
32756 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32757 cat >conftest.
$ac_ext <<_ACEOF
32760 cat confdefs.h
>>conftest.
$ac_ext
32761 cat >>conftest.
$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32772 rm -f conftest.
$ac_objext conftest
$ac_exeext
32773 if { (ac_try
="$ac_link"
32774 case "(($ac_try" in
32775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32776 *) ac_try_echo=$ac_try;;
32778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32779 (eval "$ac_link") 2>conftest.er1
32781 grep -v '^ *+' conftest.er1 >conftest.err
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } && {
32786 test -z "$ac_c_werror_flag" ||
32787 test ! -s conftest.err
32788 } && test -s conftest$ac_exeext &&
32789 $as_test_x conftest$ac_exeext; then
32790 { echo "$as_me:$LINENO: result: yes" >&5
32791 echo "${ECHO_T}yes" >&6; }
32792 X_LIBS="$X_LIBS -R $x_libraries"
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.$ac_ext >&5
32797 { echo "$as_me:$LINENO: result: neither works" >&5
32798 echo "${ECHO_T}neither works" >&6; }
32801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32802 conftest$ac_exeext conftest.$ac_ext
32805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32806 conftest$ac_exeext conftest.$ac_ext
32807 ac_c_werror_flag=$ac_xsave_c_werror_flag
32808 LIBS=$ac_xsave_LIBS
32811 # Check for system-dependent libraries X programs must link with.
32812 # Do this before checking for the system-independent R6 libraries
32813 # (-lICE), since we may need -lsocket or whatever for X linking.
32815 if test "$ISC" = yes; then
32816 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32818 # Martyn Johnson says this is needed for Ultrix, if the X
32819 # libraries were built with DECnet support. And Karl Berry says
32820 # the Alpha needs dnet_stub (dnet does not exist).
32821 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32822 cat >conftest.$ac_ext <<_ACEOF
32825 cat confdefs.h >>conftest.$ac_ext
32826 cat >>conftest.$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32829 /* Override any GCC internal prototype to avoid an error.
32830 Use char because int might match the return type of a GCC
32831 builtin and then its argument prototype would still apply. */
32835 char XOpenDisplay ();
32839 return XOpenDisplay ();
32844 rm -f conftest.$ac_objext conftest$ac_exeext
32845 if { (ac_try="$ac_link"
32846 case "(($ac_try" in
32847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32848 *) ac_try_echo
=$ac_try;;
32850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32851 (eval "$ac_link") 2>conftest.er1
32853 grep -v '^ *+' conftest.er1
>conftest.err
32855 cat conftest.err
>&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } && {
32858 test -z "$ac_c_werror_flag" ||
32859 test ! -s conftest.err
32860 } && test -s conftest
$ac_exeext &&
32861 $as_test_x conftest
$ac_exeext; then
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.
$ac_ext >&5
32867 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32868 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32869 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 ac_check_lib_save_LIBS
=$LIBS
32873 LIBS
="-ldnet $LIBS"
32874 cat >conftest.
$ac_ext <<_ACEOF
32877 cat confdefs.h
>>conftest.
$ac_ext
32878 cat >>conftest.
$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32881 /* Override any GCC internal prototype to avoid an error.
32882 Use char because int might match the return type of a GCC
32883 builtin and then its argument prototype would still apply. */
32891 return dnet_ntoa ();
32896 rm -f conftest.
$ac_objext conftest
$ac_exeext
32897 if { (ac_try
="$ac_link"
32898 case "(($ac_try" in
32899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32900 *) ac_try_echo=$ac_try;;
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_link") 2>conftest.er1
32905 grep -v '^ *+' conftest.er1 >conftest.err
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest$ac_exeext &&
32913 $as_test_x conftest$ac_exeext; then
32914 ac_cv_lib_dnet_dnet_ntoa=yes
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32919 ac_cv_lib_dnet_dnet_ntoa=no
32922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32923 conftest$ac_exeext conftest.$ac_ext
32924 LIBS=$ac_check_lib_save_LIBS
32926 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32927 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32928 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32929 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32932 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32933 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32934 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32935 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32936 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 ac_check_lib_save_LIBS=$LIBS
32939 LIBS="-ldnet_stub $LIBS"
32940 cat >conftest.$ac_ext <<_ACEOF
32943 cat confdefs.h >>conftest.$ac_ext
32944 cat >>conftest.$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32947 /* Override any GCC internal prototype to avoid an error.
32948 Use char because int might match the return type of a GCC
32949 builtin and then its argument prototype would still apply. */
32957 return dnet_ntoa ();
32962 rm -f conftest.$ac_objext conftest$ac_exeext
32963 if { (ac_try="$ac_link"
32964 case "(($ac_try" in
32965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32966 *) ac_try_echo
=$ac_try;;
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_link") 2>conftest.er1
32971 grep -v '^ *+' conftest.er1
>conftest.err
32973 cat conftest.err
>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } && {
32976 test -z "$ac_c_werror_flag" ||
32977 test ! -s conftest.err
32978 } && test -s conftest
$ac_exeext &&
32979 $as_test_x conftest
$ac_exeext; then
32980 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.
$ac_ext >&5
32985 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32989 conftest
$ac_exeext conftest.
$ac_ext
32990 LIBS
=$ac_check_lib_save_LIBS
32992 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32993 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32994 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32995 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33002 conftest
$ac_exeext conftest.
$ac_ext
33003 LIBS
="$ac_xsave_LIBS"
33005 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33006 # to get the SysV transport functions.
33007 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33009 # The nsl library prevents programs from opening the X display
33010 # on Irix 5.2, according to T.E. Dickey.
33011 # The functions gethostbyname, getservbyname, and inet_addr are
33012 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33013 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33014 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33015 if test "${ac_cv_func_gethostbyname+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 cat >conftest.
$ac_ext <<_ACEOF
33021 cat confdefs.h
>>conftest.
$ac_ext
33022 cat >>conftest.
$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33026 #define gethostbyname innocuous_gethostbyname
33028 /* System header to define __stub macros and hopefully few prototypes,
33029 which can conflict with char gethostbyname (); below.
33030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33031 <limits.h> exists even on freestanding compilers. */
33034 # include <limits.h>
33036 # include <assert.h>
33039 #undef gethostbyname
33041 /* Override any GCC internal prototype to avoid an error.
33042 Use char because int might match the return type of a GCC
33043 builtin and then its argument prototype would still apply. */
33047 char gethostbyname ();
33048 /* The GNU C library defines this for functions which it implements
33049 to always fail with ENOSYS. Some functions are actually named
33050 something starting with __ and the normal name is an alias. */
33051 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33058 return gethostbyname ();
33063 rm -f conftest.
$ac_objext conftest
$ac_exeext
33064 if { (ac_try
="$ac_link"
33065 case "(($ac_try" in
33066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33067 *) ac_try_echo=$ac_try;;
33069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33070 (eval "$ac_link") 2>conftest.er1
33072 grep -v '^ *+' conftest.er1 >conftest.err
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } && {
33077 test -z "$ac_c_werror_flag" ||
33078 test ! -s conftest.err
33079 } && test -s conftest$ac_exeext &&
33080 $as_test_x conftest$ac_exeext; then
33081 ac_cv_func_gethostbyname=yes
33083 echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.$ac_ext >&5
33086 ac_cv_func_gethostbyname=no
33089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33090 conftest$ac_exeext conftest.$ac_ext
33092 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33093 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33095 if test $ac_cv_func_gethostbyname = no; then
33096 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33097 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33098 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 ac_check_lib_save_LIBS=$LIBS
33103 cat >conftest.$ac_ext <<_ACEOF
33106 cat confdefs.h >>conftest.$ac_ext
33107 cat >>conftest.$ac_ext <<_ACEOF
33108 /* end confdefs.h. */
33110 /* Override any GCC internal prototype to avoid an error.
33111 Use char because int might match the return type of a GCC
33112 builtin and then its argument prototype would still apply. */
33116 char gethostbyname ();
33120 return gethostbyname ();
33125 rm -f conftest.$ac_objext conftest$ac_exeext
33126 if { (ac_try="$ac_link"
33127 case "(($ac_try" in
33128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33129 *) ac_try_echo
=$ac_try;;
33131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33132 (eval "$ac_link") 2>conftest.er1
33134 grep -v '^ *+' conftest.er1
>conftest.err
33136 cat conftest.err
>&5
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); } && {
33139 test -z "$ac_c_werror_flag" ||
33140 test ! -s conftest.err
33141 } && test -s conftest
$ac_exeext &&
33142 $as_test_x conftest
$ac_exeext; then
33143 ac_cv_lib_nsl_gethostbyname
=yes
33145 echo "$as_me: failed program was:" >&5
33146 sed 's/^/| /' conftest.
$ac_ext >&5
33148 ac_cv_lib_nsl_gethostbyname
=no
33151 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33152 conftest
$ac_exeext conftest.
$ac_ext
33153 LIBS
=$ac_check_lib_save_LIBS
33155 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33156 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33157 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33161 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33162 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33163 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33164 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 ac_check_lib_save_LIBS
=$LIBS
33169 cat >conftest.
$ac_ext <<_ACEOF
33172 cat confdefs.h
>>conftest.
$ac_ext
33173 cat >>conftest.
$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33176 /* Override any GCC internal prototype to avoid an error.
33177 Use char because int might match the return type of a GCC
33178 builtin and then its argument prototype would still apply. */
33182 char gethostbyname ();
33186 return gethostbyname ();
33191 rm -f conftest.
$ac_objext conftest
$ac_exeext
33192 if { (ac_try
="$ac_link"
33193 case "(($ac_try" in
33194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33195 *) ac_try_echo=$ac_try;;
33197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33198 (eval "$ac_link") 2>conftest.er1
33200 grep -v '^ *+' conftest.er1 >conftest.err
33202 cat conftest.err >&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } && {
33205 test -z "$ac_c_werror_flag" ||
33206 test ! -s conftest.err
33207 } && test -s conftest$ac_exeext &&
33208 $as_test_x conftest$ac_exeext; then
33209 ac_cv_lib_bsd_gethostbyname=yes
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33214 ac_cv_lib_bsd_gethostbyname=no
33217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33218 conftest$ac_exeext conftest.$ac_ext
33219 LIBS=$ac_check_lib_save_LIBS
33221 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33222 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33223 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33230 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33231 # socket/setsockopt and other routines are undefined under SCO ODT
33232 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33233 # on later versions), says Simon Leinen: it contains gethostby*
33234 # variants that don't use the name server (or something). -lsocket
33235 # must be given before -lnsl if both are needed. We assume that
33236 # if connect needs -lnsl, so does gethostbyname.
33237 { echo "$as_me:$LINENO: checking for connect" >&5
33238 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33239 if test "${ac_cv_func_connect+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 cat >conftest.$ac_ext <<_ACEOF
33245 cat confdefs.h >>conftest.$ac_ext
33246 cat >>conftest.$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33250 #define connect innocuous_connect
33252 /* System header to define __stub macros and hopefully few prototypes,
33253 which can conflict with char connect (); below.
33254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33255 <limits.h> exists even on freestanding compilers. */
33258 # include <limits.h>
33260 # include <assert.h>
33265 /* Override any GCC internal prototype to avoid an error.
33266 Use char because int might match the return type of a GCC
33267 builtin and then its argument prototype would still apply. */
33272 /* The GNU C library defines this for functions which it implements
33273 to always fail with ENOSYS. Some functions are actually named
33274 something starting with __ and the normal name is an alias. */
33275 #if defined __stub_connect || defined __stub___connect
33287 rm -f conftest.$ac_objext conftest$ac_exeext
33288 if { (ac_try="$ac_link"
33289 case "(($ac_try" in
33290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33291 *) ac_try_echo
=$ac_try;;
33293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33294 (eval "$ac_link") 2>conftest.er1
33296 grep -v '^ *+' conftest.er1
>conftest.err
33298 cat conftest.err
>&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } && {
33301 test -z "$ac_c_werror_flag" ||
33302 test ! -s conftest.err
33303 } && test -s conftest
$ac_exeext &&
33304 $as_test_x conftest
$ac_exeext; then
33305 ac_cv_func_connect
=yes
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.
$ac_ext >&5
33310 ac_cv_func_connect
=no
33313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33314 conftest
$ac_exeext conftest.
$ac_ext
33316 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33317 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33319 if test $ac_cv_func_connect = no
; then
33320 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33321 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33322 if test "${ac_cv_lib_socket_connect+set}" = set; then
33323 echo $ECHO_N "(cached) $ECHO_C" >&6
33325 ac_check_lib_save_LIBS
=$LIBS
33326 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33327 cat >conftest.
$ac_ext <<_ACEOF
33330 cat confdefs.h
>>conftest.
$ac_ext
33331 cat >>conftest.
$ac_ext <<_ACEOF
33332 /* end confdefs.h. */
33334 /* Override any GCC internal prototype to avoid an error.
33335 Use char because int might match the return type of a GCC
33336 builtin and then its argument prototype would still apply. */
33349 rm -f conftest.
$ac_objext conftest
$ac_exeext
33350 if { (ac_try
="$ac_link"
33351 case "(($ac_try" in
33352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33353 *) ac_try_echo=$ac_try;;
33355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33356 (eval "$ac_link") 2>conftest.er1
33358 grep -v '^ *+' conftest.er1 >conftest.err
33360 cat conftest.err >&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } && {
33363 test -z "$ac_c_werror_flag" ||
33364 test ! -s conftest.err
33365 } && test -s conftest$ac_exeext &&
33366 $as_test_x conftest$ac_exeext; then
33367 ac_cv_lib_socket_connect=yes
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.$ac_ext >&5
33372 ac_cv_lib_socket_connect=no
33375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33376 conftest$ac_exeext conftest.$ac_ext
33377 LIBS=$ac_check_lib_save_LIBS
33379 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33380 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33381 if test $ac_cv_lib_socket_connect = yes; then
33382 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33387 # Guillermo Gomez says -lposix is necessary on A/UX.
33388 { echo "$as_me:$LINENO: checking for remove" >&5
33389 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33390 if test "${ac_cv_func_remove+set}" = set; then
33391 echo $ECHO_N "(cached) $ECHO_C" >&6
33393 cat >conftest.$ac_ext <<_ACEOF
33396 cat confdefs.h >>conftest.$ac_ext
33397 cat >>conftest.$ac_ext <<_ACEOF
33398 /* end confdefs.h. */
33399 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33401 #define remove innocuous_remove
33403 /* System header to define __stub macros and hopefully few prototypes,
33404 which can conflict with char remove (); below.
33405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33406 <limits.h> exists even on freestanding compilers. */
33409 # include <limits.h>
33411 # include <assert.h>
33416 /* Override any GCC internal prototype to avoid an error.
33417 Use char because int might match the return type of a GCC
33418 builtin and then its argument prototype would still apply. */
33423 /* The GNU C library defines this for functions which it implements
33424 to always fail with ENOSYS. Some functions are actually named
33425 something starting with __ and the normal name is an alias. */
33426 #if defined __stub_remove || defined __stub___remove
33438 rm -f conftest.$ac_objext conftest$ac_exeext
33439 if { (ac_try="$ac_link"
33440 case "(($ac_try" in
33441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33442 *) ac_try_echo
=$ac_try;;
33444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33445 (eval "$ac_link") 2>conftest.er1
33447 grep -v '^ *+' conftest.er1
>conftest.err
33449 cat conftest.err
>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); } && {
33452 test -z "$ac_c_werror_flag" ||
33453 test ! -s conftest.err
33454 } && test -s conftest
$ac_exeext &&
33455 $as_test_x conftest
$ac_exeext; then
33456 ac_cv_func_remove
=yes
33458 echo "$as_me: failed program was:" >&5
33459 sed 's/^/| /' conftest.
$ac_ext >&5
33461 ac_cv_func_remove
=no
33464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33465 conftest
$ac_exeext conftest.
$ac_ext
33467 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33468 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33470 if test $ac_cv_func_remove = no
; then
33471 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33472 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33473 if test "${ac_cv_lib_posix_remove+set}" = set; then
33474 echo $ECHO_N "(cached) $ECHO_C" >&6
33476 ac_check_lib_save_LIBS
=$LIBS
33477 LIBS
="-lposix $LIBS"
33478 cat >conftest.
$ac_ext <<_ACEOF
33481 cat confdefs.h
>>conftest.
$ac_ext
33482 cat >>conftest.
$ac_ext <<_ACEOF
33483 /* end confdefs.h. */
33485 /* Override any GCC internal prototype to avoid an error.
33486 Use char because int might match the return type of a GCC
33487 builtin and then its argument prototype would still apply. */
33500 rm -f conftest.
$ac_objext conftest
$ac_exeext
33501 if { (ac_try
="$ac_link"
33502 case "(($ac_try" in
33503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33504 *) ac_try_echo=$ac_try;;
33506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33507 (eval "$ac_link") 2>conftest.er1
33509 grep -v '^ *+' conftest.er1 >conftest.err
33511 cat conftest.err >&5
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); } && {
33514 test -z "$ac_c_werror_flag" ||
33515 test ! -s conftest.err
33516 } && test -s conftest$ac_exeext &&
33517 $as_test_x conftest$ac_exeext; then
33518 ac_cv_lib_posix_remove=yes
33520 echo "$as_me: failed program was:" >&5
33521 sed 's/^/| /' conftest.$ac_ext >&5
33523 ac_cv_lib_posix_remove=no
33526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33527 conftest$ac_exeext conftest.$ac_ext
33528 LIBS=$ac_check_lib_save_LIBS
33530 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33531 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33532 if test $ac_cv_lib_posix_remove = yes; then
33533 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33538 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33539 { echo "$as_me:$LINENO: checking for shmat" >&5
33540 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33541 if test "${ac_cv_func_shmat+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33544 cat >conftest.$ac_ext <<_ACEOF
33547 cat confdefs.h >>conftest.$ac_ext
33548 cat >>conftest.$ac_ext <<_ACEOF
33549 /* end confdefs.h. */
33550 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33552 #define shmat innocuous_shmat
33554 /* System header to define __stub macros and hopefully few prototypes,
33555 which can conflict with char shmat (); below.
33556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33557 <limits.h> exists even on freestanding compilers. */
33560 # include <limits.h>
33562 # include <assert.h>
33567 /* Override any GCC internal prototype to avoid an error.
33568 Use char because int might match the return type of a GCC
33569 builtin and then its argument prototype would still apply. */
33574 /* The GNU C library defines this for functions which it implements
33575 to always fail with ENOSYS. Some functions are actually named
33576 something starting with __ and the normal name is an alias. */
33577 #if defined __stub_shmat || defined __stub___shmat
33589 rm -f conftest.$ac_objext conftest$ac_exeext
33590 if { (ac_try="$ac_link"
33591 case "(($ac_try" in
33592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33593 *) ac_try_echo
=$ac_try;;
33595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33596 (eval "$ac_link") 2>conftest.er1
33598 grep -v '^ *+' conftest.er1
>conftest.err
33600 cat conftest.err
>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } && {
33603 test -z "$ac_c_werror_flag" ||
33604 test ! -s conftest.err
33605 } && test -s conftest
$ac_exeext &&
33606 $as_test_x conftest
$ac_exeext; then
33607 ac_cv_func_shmat
=yes
33609 echo "$as_me: failed program was:" >&5
33610 sed 's/^/| /' conftest.
$ac_ext >&5
33612 ac_cv_func_shmat
=no
33615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33616 conftest
$ac_exeext conftest.
$ac_ext
33618 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33619 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33621 if test $ac_cv_func_shmat = no
; then
33622 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33623 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33624 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 ac_check_lib_save_LIBS
=$LIBS
33629 cat >conftest.
$ac_ext <<_ACEOF
33632 cat confdefs.h
>>conftest.
$ac_ext
33633 cat >>conftest.
$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33636 /* Override any GCC internal prototype to avoid an error.
33637 Use char because int might match the return type of a GCC
33638 builtin and then its argument prototype would still apply. */
33651 rm -f conftest.
$ac_objext conftest
$ac_exeext
33652 if { (ac_try
="$ac_link"
33653 case "(($ac_try" in
33654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33655 *) ac_try_echo=$ac_try;;
33657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33658 (eval "$ac_link") 2>conftest.er1
33660 grep -v '^ *+' conftest.er1 >conftest.err
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } && {
33665 test -z "$ac_c_werror_flag" ||
33666 test ! -s conftest.err
33667 } && test -s conftest$ac_exeext &&
33668 $as_test_x conftest$ac_exeext; then
33669 ac_cv_lib_ipc_shmat=yes
33671 echo "$as_me: failed program was:" >&5
33672 sed 's/^/| /' conftest.$ac_ext >&5
33674 ac_cv_lib_ipc_shmat=no
33677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33678 conftest$ac_exeext conftest.$ac_ext
33679 LIBS=$ac_check_lib_save_LIBS
33681 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33682 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33683 if test $ac_cv_lib_ipc_shmat = yes; then
33684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33690 # Check for libraries that X11R6 Xt/Xaw programs need.
33691 ac_save_LDFLAGS=$LDFLAGS
33692 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33693 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33694 # check for ICE first), but we must link in the order -lSM -lICE or
33695 # we get undefined symbols. So assume we have SM if we have ICE.
33696 # These have to be linked with before -lX11, unlike the other
33697 # libraries we check for below, so use a different variable.
33698 # John Interrante, Karl Berry
33699 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33700 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33701 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33702 echo $ECHO_N "(cached) $ECHO_C" >&6
33704 ac_check_lib_save_LIBS=$LIBS
33705 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33706 cat >conftest.$ac_ext <<_ACEOF
33709 cat confdefs.h >>conftest.$ac_ext
33710 cat >>conftest.$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33713 /* Override any GCC internal prototype to avoid an error.
33714 Use char because int might match the return type of a GCC
33715 builtin and then its argument prototype would still apply. */
33719 char IceConnectionNumber ();
33723 return IceConnectionNumber ();
33728 rm -f conftest.$ac_objext conftest$ac_exeext
33729 if { (ac_try="$ac_link"
33730 case "(($ac_try" in
33731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33732 *) ac_try_echo
=$ac_try;;
33734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33735 (eval "$ac_link") 2>conftest.er1
33737 grep -v '^ *+' conftest.er1
>conftest.err
33739 cat conftest.err
>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); } && {
33742 test -z "$ac_c_werror_flag" ||
33743 test ! -s conftest.err
33744 } && test -s conftest
$ac_exeext &&
33745 $as_test_x conftest
$ac_exeext; then
33746 ac_cv_lib_ICE_IceConnectionNumber
=yes
33748 echo "$as_me: failed program was:" >&5
33749 sed 's/^/| /' conftest.
$ac_ext >&5
33751 ac_cv_lib_ICE_IceConnectionNumber
=no
33754 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33755 conftest
$ac_exeext conftest.
$ac_ext
33756 LIBS
=$ac_check_lib_save_LIBS
33758 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33759 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33760 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33761 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33764 LDFLAGS
=$ac_save_LDFLAGS
33769 if test "$no_x" = "yes"; then
33770 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33771 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33772 { (exit 1); exit 1; }; }
33775 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33776 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33777 AFMINSTALL
=afminstall
33778 COMPILED_X_PROGRAM
=0
33782 if test "$wxUSE_X11" = 1; then
33783 if test "$wxUSE_NANOX" = "yes"; then
33784 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33785 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33786 if test "x$MICROWIN" = x
; then
33787 { echo "$as_me:$LINENO: result: not found" >&5
33788 echo "${ECHO_T}not found" >&6; }
33789 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33790 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33791 { (exit 1); exit 1; }; }
33793 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33794 echo "${ECHO_T}$MICROWIN" >&6; }
33795 cat >>confdefs.h
<<\_ACEOF
33796 #define wxUSE_NANOX 1
33802 if test "$wxUSE_UNICODE" = "yes"; then
33805 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33806 if test -n "$ac_tool_prefix"; then
33807 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33808 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33812 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 case $PKG_CONFIG in
33816 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33820 for as_dir
in $PATH
33823 test -z "$as_dir" && as_dir
=.
33824 for ac_exec_ext
in '' $ac_executable_extensions; do
33825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33826 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33837 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33838 if test -n "$PKG_CONFIG"; then
33839 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33840 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33842 { echo "$as_me:$LINENO: result: no" >&5
33843 echo "${ECHO_T}no" >&6; }
33848 if test -z "$ac_cv_path_PKG_CONFIG"; then
33849 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33850 # Extract the first word of "pkg-config", so it can be a program name with args.
33851 set dummy pkg
-config; ac_word
=$2
33852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33854 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33855 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 case $ac_pt_PKG_CONFIG in
33859 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33863 for as_dir
in $PATH
33866 test -z "$as_dir" && as_dir
=.
33867 for ac_exec_ext
in '' $ac_executable_extensions; do
33868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33869 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33880 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33881 if test -n "$ac_pt_PKG_CONFIG"; then
33882 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33883 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33885 { echo "$as_me:$LINENO: result: no" >&5
33886 echo "${ECHO_T}no" >&6; }
33889 if test "x$ac_pt_PKG_CONFIG" = x
; then
33892 case $cross_compiling:$ac_tool_warned in
33894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33895 whose name does not start with the host triplet. If you think this
33896 configuration is useful to you, please write to autoconf@gnu.org." >&5
33897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33898 whose name does not start with the host triplet. If you think this
33899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33900 ac_tool_warned
=yes ;;
33902 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33905 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33909 if test -n "$PKG_CONFIG"; then
33910 _pkg_min_version
=0.9.0
33911 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33912 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33913 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33914 { echo "$as_me:$LINENO: result: yes" >&5
33915 echo "${ECHO_T}yes" >&6; }
33917 { echo "$as_me:$LINENO: result: no" >&5
33918 echo "${ECHO_T}no" >&6; }
33926 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33927 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33929 if test -n "$PKG_CONFIG"; then
33930 if test -n "$PANGOX_CFLAGS"; then
33931 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33933 if test -n "$PKG_CONFIG" && \
33934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33935 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; then
33939 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33947 if test -n "$PKG_CONFIG"; then
33948 if test -n "$PANGOX_LIBS"; then
33949 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33951 if test -n "$PKG_CONFIG" && \
33952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33953 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; then
33957 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33968 if test $pkg_failed = yes; then
33970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33971 _pkg_short_errors_supported
=yes
33973 _pkg_short_errors_supported
=no
33975 if test $_pkg_short_errors_supported = yes; then
33976 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33978 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33980 # Put the nasty error message in config.log where it belongs
33981 echo "$PANGOX_PKG_ERRORS" >&5
33984 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33985 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33986 { (exit 1); exit 1; }; }
33989 elif test $pkg_failed = untried
; then
33991 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33992 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33993 { (exit 1); exit 1; }; }
33997 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33998 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33999 { echo "$as_me:$LINENO: result: yes" >&5
34000 echo "${ECHO_T}yes" >&6; }
34002 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34003 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34004 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34009 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34010 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34012 if test -n "$PKG_CONFIG"; then
34013 if test -n "$PANGOFT2_CFLAGS"; then
34014 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34016 if test -n "$PKG_CONFIG" && \
34017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34018 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; then
34022 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34030 if test -n "$PKG_CONFIG"; then
34031 if test -n "$PANGOFT2_LIBS"; then
34032 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34034 if test -n "$PKG_CONFIG" && \
34035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34036 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; then
34040 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34051 if test $pkg_failed = yes; then
34053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34054 _pkg_short_errors_supported
=yes
34056 _pkg_short_errors_supported
=no
34058 if test $_pkg_short_errors_supported = yes; then
34059 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34061 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34063 # Put the nasty error message in config.log where it belongs
34064 echo "$PANGOFT2_PKG_ERRORS" >&5
34067 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34068 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34069 wxUSE_PRINTING_ARCHITECTURE
="no"
34072 elif test $pkg_failed = untried
; then
34074 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34075 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34076 wxUSE_PRINTING_ARCHITECTURE
="no"
34080 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34081 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34082 { echo "$as_me:$LINENO: result: yes" >&5
34083 echo "${ECHO_T}yes" >&6; }
34085 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34086 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34087 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34092 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34093 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34095 if test -n "$PKG_CONFIG"; then
34096 if test -n "$PANGOXFT_CFLAGS"; then
34097 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34099 if test -n "$PKG_CONFIG" && \
34100 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34101 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; then
34105 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34113 if test -n "$PKG_CONFIG"; then
34114 if test -n "$PANGOXFT_LIBS"; then
34115 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34117 if test -n "$PKG_CONFIG" && \
34118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34119 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; then
34123 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34134 if test $pkg_failed = yes; then
34136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34137 _pkg_short_errors_supported
=yes
34139 _pkg_short_errors_supported
=no
34141 if test $_pkg_short_errors_supported = yes; then
34142 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34144 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34146 # Put the nasty error message in config.log where it belongs
34147 echo "$PANGOXFT_PKG_ERRORS" >&5
34150 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34151 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34154 elif test $pkg_failed = untried
; then
34156 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34157 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34161 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34162 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34163 { echo "$as_me:$LINENO: result: yes" >&5
34164 echo "${ECHO_T}yes" >&6; }
34166 cat >>confdefs.h
<<\_ACEOF
34167 #define HAVE_PANGO_XFT 1
34170 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34171 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34176 LIBS
="$LIBS $PANGOX_LIBS"
34178 for ac_func
in pango_font_family_is_monospace
34180 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34181 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34183 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 cat >conftest.
$ac_ext <<_ACEOF
34189 cat confdefs.h
>>conftest.
$ac_ext
34190 cat >>conftest.
$ac_ext <<_ACEOF
34191 /* end confdefs.h. */
34192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34194 #define $ac_func innocuous_$ac_func
34196 /* System header to define __stub macros and hopefully few prototypes,
34197 which can conflict with char $ac_func (); below.
34198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34199 <limits.h> exists even on freestanding compilers. */
34202 # include <limits.h>
34204 # include <assert.h>
34209 /* Override any GCC internal prototype to avoid an error.
34210 Use char because int might match the return type of a GCC
34211 builtin and then its argument prototype would still apply. */
34216 /* The GNU C library defines this for functions which it implements
34217 to always fail with ENOSYS. Some functions are actually named
34218 something starting with __ and the normal name is an alias. */
34219 #if defined __stub_$ac_func || defined __stub___$ac_func
34226 return $ac_func ();
34231 rm -f conftest.
$ac_objext conftest
$ac_exeext
34232 if { (ac_try
="$ac_link"
34233 case "(($ac_try" in
34234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34235 *) ac_try_echo=$ac_try;;
34237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34238 (eval "$ac_link") 2>conftest.er1
34240 grep -v '^ *+' conftest.er1 >conftest.err
34242 cat conftest.err >&5
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); } && {
34245 test -z "$ac_c_werror_flag" ||
34246 test ! -s conftest.err
34247 } && test -s conftest$ac_exeext &&
34248 $as_test_x conftest$ac_exeext; then
34249 eval "$as_ac_var=yes"
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34254 eval "$as_ac_var=no"
34257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34258 conftest$ac_exeext conftest.$ac_ext
34260 ac_res=`eval echo '${'$as_ac_var'}'`
34261 { echo "$as_me:$LINENO: result: $ac_res" >&5
34262 echo "${ECHO_T}$ac_res" >&6; }
34263 if test `eval echo '${'$as_ac_var'}'` = yes; then
34264 cat >>confdefs.h <<_ACEOF
34265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34274 wxUSE_UNIVERSAL="yes"
34276 if test "$wxUSE_NANOX" = "yes"; then
34277 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34278 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"
34279 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34288 if test "$wxUSE_MOTIF" = 1; then
34289 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34290 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34293 for ac_dir in $SEARCH_INCLUDE /usr/include;
34295 if test -f "$ac_dir/Xm/Xm.h"; then
34296 ac_find_includes=$ac_dir
34301 if test "$ac_find_includes" != "" ; then
34302 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34303 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34305 if test "x$ac_find_includes" = "x/usr/include"; then
34306 ac_path_to_include=""
34308 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34310 if test $result = 0; then
34311 ac_path_to_include=""
34313 ac_path_to_include=" -I$ac_find_includes"
34317 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34319 save_CFLAGS=$CFLAGS
34320 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34336 version = xmUseVersion;
34342 rm -f conftest.$ac_objext
34343 if { (ac_try="$ac_compile"
34344 case "(($ac_try" in
34345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34346 *) ac_try_echo
=$ac_try;;
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_compile") 2>conftest.er1
34351 grep -v '^ *+' conftest.er1
>conftest.err
34353 cat conftest.err
>&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest.
$ac_objext; then
34360 { echo "$as_me:$LINENO: result: found in default search path" >&5
34361 echo "${ECHO_T}found in default search path" >&6; }
34362 COMPILED_X_PROGRAM
=1
34365 echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.
$ac_ext >&5
34369 { echo "$as_me:$LINENO: result: no" >&5
34370 echo "${ECHO_T}no" >&6; }
34371 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34372 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34373 { (exit 1); exit 1; }; }
34378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34380 CFLAGS
=$save_CFLAGS
34384 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34385 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34388 for ac_dir
in $SEARCH_LIB;
34390 for ac_extension
in a so sl dylib dll.a
; do
34391 if test -f "$ac_dir/libXm.$ac_extension"; then
34392 ac_find_libraries
=$ac_dir
34399 if test "x$ac_find_libraries" != "x" ; then
34400 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34401 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34404 if test "$ac_find_libraries" = "default location"; then
34407 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34409 if test $result = 0; then
34412 ac_path_to_link
=" -L$ac_find_libraries"
34416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34418 save_CFLAGS
=$CFLAGS
34419 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34421 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34423 cat >conftest.
$ac_ext <<_ACEOF
34426 cat confdefs.h
>>conftest.
$ac_ext
34427 cat >>conftest.
$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34437 version = xmUseVersion;
34443 rm -f conftest.
$ac_objext conftest
$ac_exeext
34444 if { (ac_try
="$ac_link"
34445 case "(($ac_try" in
34446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34447 *) ac_try_echo=$ac_try;;
34449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34450 (eval "$ac_link") 2>conftest.er1
34452 grep -v '^ *+' conftest.er1 >conftest.err
34454 cat conftest.err >&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } && {
34457 test -z "$ac_c_werror_flag" ||
34458 test ! -s conftest.err
34459 } && test -s conftest$ac_exeext &&
34460 $as_test_x conftest$ac_exeext; then
34462 { echo "$as_me:$LINENO: result: found in default search path" >&5
34463 echo "${ECHO_T}found in default search path" >&6; }
34464 COMPILED_X_PROGRAM=1
34467 echo "$as_me: failed program was:" >&5
34468 sed 's/^/| /' conftest.$ac_ext >&5
34471 { echo "$as_me:$LINENO: result: no" >&5
34472 echo "${ECHO_T}no" >&6; }
34473 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34474 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34475 { (exit 1); exit 1; }; }
34480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34481 conftest$ac_exeext conftest.$ac_ext
34483 CFLAGS=$save_CFLAGS
34487 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34488 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34492 for libp in "" " -lXp"; do
34493 if test "$libs_found" = "0"; then
34494 for libsm_ice in "" " -lSM -lICE"; do
34495 if test "$libs_found" = "0"; then
34497 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34498 save_CFLAGS=$CFLAGS
34499 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34501 cat >conftest.$ac_ext <<_ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34509 #include <Xm/List.h>
34515 XmString string = NULL;
34518 XmListAddItem(w, string, position);
34524 rm -f conftest.$ac_objext conftest$ac_exeext
34525 if { (ac_try="$ac_link"
34526 case "(($ac_try" in
34527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34528 *) ac_try_echo
=$ac_try;;
34530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34531 (eval "$ac_link") 2>conftest.er1
34533 grep -v '^ *+' conftest.er1
>conftest.err
34535 cat conftest.err
>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } && {
34538 test -z "$ac_c_werror_flag" ||
34539 test ! -s conftest.err
34540 } && test -s conftest
$ac_exeext &&
34541 $as_test_x conftest
$ac_exeext; then
34544 libsm_ice_link
="$libsm_ice"
34545 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34546 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.
$ac_ext >&5
34557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34558 conftest
$ac_exeext conftest.
$ac_ext
34561 CFLAGS
=$save_CFLAGS
34567 if test "$libs_found" = "0"; then
34568 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34569 echo "${ECHO_T}can't find the right libraries" >&6; }
34570 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34571 echo "$as_me: error: can't link a simple motif program" >&2;}
34572 { (exit 1); exit 1; }; }
34575 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34576 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34577 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 ac_check_lib_save_LIBS
=$LIBS
34582 cat >conftest.
$ac_ext <<_ACEOF
34585 cat confdefs.h
>>conftest.
$ac_ext
34586 cat >>conftest.
$ac_ext <<_ACEOF
34587 /* end confdefs.h. */
34589 /* Override any GCC internal prototype to avoid an error.
34590 Use char because int might match the return type of a GCC
34591 builtin and then its argument prototype would still apply. */
34595 char SgCreateList ();
34599 return SgCreateList ();
34604 rm -f conftest.
$ac_objext conftest
$ac_exeext
34605 if { (ac_try
="$ac_link"
34606 case "(($ac_try" in
34607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34608 *) ac_try_echo=$ac_try;;
34610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34611 (eval "$ac_link") 2>conftest.er1
34613 grep -v '^ *+' conftest.er1 >conftest.err
34615 cat conftest.err >&5
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); } && {
34618 test -z "$ac_c_werror_flag" ||
34619 test ! -s conftest.err
34620 } && test -s conftest$ac_exeext &&
34621 $as_test_x conftest$ac_exeext; then
34622 ac_cv_lib_Sgm_SgCreateList=yes
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34627 ac_cv_lib_Sgm_SgCreateList=no
34630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34631 conftest$ac_exeext conftest.$ac_ext
34632 LIBS=$ac_check_lib_save_LIBS
34634 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34635 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34636 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34637 libsgm_link=" -lSgm"
34641 save_CFLAGS=$CFLAGS
34642 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34644 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34645 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34646 if test "${wx_cv_lib_motif2+set}" = set; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 cat >conftest.$ac_ext <<_ACEOF
34652 cat confdefs.h >>conftest.$ac_ext
34653 cat >>conftest.$ac_ext <<_ACEOF
34654 /* end confdefs.h. */
34662 #if XmVersion < 2000
34670 rm -f conftest.$ac_objext
34671 if { (ac_try="$ac_compile"
34672 case "(($ac_try" in
34673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34674 *) ac_try_echo
=$ac_try;;
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_compile") 2>conftest.er1
34679 grep -v '^ *+' conftest.er1
>conftest.err
34681 cat conftest.err
>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_c_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest.
$ac_objext; then
34687 wx_cv_lib_motif2
="yes"
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.
$ac_ext >&5
34692 wx_cv_lib_motif2
="no"
34695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34697 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34698 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34699 if test "$wx_cv_lib_motif2" = "yes"; then
34700 cat >>confdefs.h
<<\_ACEOF
34701 #define __WXMOTIF20__ 1
34705 cat >>confdefs.h
<<\_ACEOF
34706 #define __WXMOTIF20__ 0
34711 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34712 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34713 if test "${wx_cv_lib_lesstif+set}" = set; then
34714 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 cat >conftest.
$ac_ext <<_ACEOF
34719 cat confdefs.h
>>conftest.
$ac_ext
34720 cat >>conftest.
$ac_ext <<_ACEOF
34721 /* end confdefs.h. */
34729 #if !defined(LesstifVersion) || LesstifVersion <= 0
34737 rm -f conftest.
$ac_objext
34738 if { (ac_try
="$ac_compile"
34739 case "(($ac_try" in
34740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34741 *) ac_try_echo=$ac_try;;
34743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34744 (eval "$ac_compile") 2>conftest.er1
34746 grep -v '^ *+' conftest.er1 >conftest.err
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && {
34751 test -z "$ac_c_werror_flag" ||
34752 test ! -s conftest.err
34753 } && test -s conftest.$ac_objext; then
34754 wx_cv_lib_lesstif="yes"
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34759 wx_cv_lib_lesstif="no"
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34765 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34766 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34767 if test "$wx_cv_lib_lesstif" = "yes"; then
34768 cat >>confdefs.h <<\_ACEOF
34769 #define __WXLESSTIF__ 1
34773 cat >>confdefs.h <<\_ACEOF
34774 #define __WXLESSTIF__ 0
34779 CFLAGS=$save_CFLAGS
34781 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34786 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34787 if test "$wxUSE_LIBXPM" = "sys"; then
34788 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34789 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34792 for ac_dir in $SEARCH_LIB;
34794 for ac_extension in a so sl dylib dll.a; do
34795 if test -f "$ac_dir/libXpm.$ac_extension"; then
34796 ac_find_libraries=$ac_dir
34802 if test "$ac_find_libraries" != "" ; then
34804 if test "$ac_find_libraries" = "default location"; then
34807 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34809 if test $result = 0; then
34812 ac_path_to_link=" -L$ac_find_libraries"
34816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34817 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34818 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34820 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34821 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34822 if test "${wx_cv_x11_xpm_h+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 save_CFLAGS=$CFLAGS
34827 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34829 cat >conftest.$ac_ext <<_ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34836 #include <X11/xpm.h>
34843 version = XpmLibraryVersion();
34849 rm -f conftest.$ac_objext
34850 if { (ac_try="$ac_compile"
34851 case "(($ac_try" in
34852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34853 *) ac_try_echo
=$ac_try;;
34855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34856 (eval "$ac_compile") 2>conftest.er1
34858 grep -v '^ *+' conftest.er1
>conftest.err
34860 cat conftest.err
>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } && {
34863 test -z "$ac_c_werror_flag" ||
34864 test ! -s conftest.err
34865 } && test -s conftest.
$ac_objext; then
34866 wx_cv_x11_xpm_h
=yes
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.
$ac_ext >&5
34875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34877 CFLAGS
=$save_CFLAGS
34881 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34882 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34884 if test $wx_cv_x11_xpm_h = "yes"; then
34885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34886 cat >>confdefs.h
<<\_ACEOF
34887 #define wxHAVE_LIB_XPM 1
34891 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34892 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34898 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34899 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34900 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 ac_check_lib_save_LIBS
=$LIBS
34904 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34905 cat >conftest.
$ac_ext <<_ACEOF
34908 cat confdefs.h
>>conftest.
$ac_ext
34909 cat >>conftest.
$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34912 /* Override any GCC internal prototype to avoid an error.
34913 Use char because int might match the return type of a GCC
34914 builtin and then its argument prototype would still apply. */
34918 char XShapeQueryExtension ();
34922 return XShapeQueryExtension ();
34927 rm -f conftest.
$ac_objext conftest
$ac_exeext
34928 if { (ac_try
="$ac_link"
34929 case "(($ac_try" in
34930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34931 *) ac_try_echo=$ac_try;;
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_link") 2>conftest.er1
34936 grep -v '^ *+' conftest.er1 >conftest.err
34938 cat conftest.err >&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest$ac_exeext &&
34944 $as_test_x conftest$ac_exeext; then
34945 ac_cv_lib_Xext_XShapeQueryExtension=yes
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34950 ac_cv_lib_Xext_XShapeQueryExtension=no
34953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34954 conftest$ac_exeext conftest.$ac_ext
34955 LIBS=$ac_check_lib_save_LIBS
34957 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34958 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34959 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34967 if test "$wxHAVE_XEXT_LIB" = 1; then
34968 save_CFLAGS="$CFLAGS"
34969 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34971 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34972 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34973 cat >conftest.$ac_ext <<_ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h. */
34980 #include <X11/Xlib.h>
34981 #include <X11/extensions/shape.h>
34987 int dummy1, dummy2;
34988 XShapeQueryExtension((Display*)NULL,
34989 (int*)NULL, (int*)NULL);
34995 rm -f conftest.$ac_objext
34996 if { (ac_try="$ac_compile"
34997 case "(($ac_try" in
34998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34999 *) ac_try_echo
=$ac_try;;
35001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35002 (eval "$ac_compile") 2>conftest.er1
35004 grep -v '^ *+' conftest.er1
>conftest.err
35006 cat conftest.err
>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); } && {
35009 test -z "$ac_c_werror_flag" ||
35010 test ! -s conftest.err
35011 } && test -s conftest.
$ac_objext; then
35013 cat >>confdefs.h
<<\_ACEOF
35014 #define HAVE_XSHAPE 1
35017 { echo "$as_me:$LINENO: result: found" >&5
35018 echo "${ECHO_T}found" >&6; }
35021 echo "$as_me: failed program was:" >&5
35022 sed 's/^/| /' conftest.
$ac_ext >&5
35025 { echo "$as_me:$LINENO: result: not found" >&5
35026 echo "${ECHO_T}not found" >&6; }
35030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35031 CFLAGS
="$save_CFLAGS"
35036 if test "$wxUSE_MAC" = 1; then
35037 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35038 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35039 if test "$GCC" = yes; then
35040 { echo "$as_me:$LINENO: result: gcc" >&5
35041 echo "${ECHO_T}gcc" >&6; }
35042 CPPFLAGS_PASCAL
="-fpascal-strings"
35043 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35044 { echo "$as_me:$LINENO: result: xlc" >&5
35045 echo "${ECHO_T}xlc" >&6; }
35046 CPPFLAGS_PASCAL
="-qmacpstr"
35048 { echo "$as_me:$LINENO: result: none" >&5
35049 echo "${ECHO_T}none" >&6; }
35052 if test "x$wxUSE_UNIX" = "xyes"; then
35053 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35055 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35060 WXBASEPORT
="_carbon"
35063 if test "$wxUSE_COCOA" = 1; then
35068 if test "$wxUSE_PM" = 1; then
35071 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35072 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35073 if test "${wx_cv_spbcdata+set}" = set; then
35074 echo $ECHO_N "(cached) $ECHO_C" >&6
35077 cat >conftest.
$ac_ext <<_ACEOF
35080 cat confdefs.h
>>conftest.
$ac_ext
35081 cat >>conftest.
$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35097 rm -f conftest.
$ac_objext
35098 if { (ac_try
="$ac_compile"
35099 case "(($ac_try" in
35100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35101 *) ac_try_echo=$ac_try;;
35103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35104 (eval "$ac_compile") 2>conftest.er1
35106 grep -v '^ *+' conftest.er1 >conftest.err
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } && {
35111 test -z "$ac_c_werror_flag" ||
35112 test ! -s conftest.err
35113 } && test -s conftest.$ac_objext; then
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.$ac_ext >&5
35123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35128 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35130 if test $wx_cv_spbcdata = "yes"; then
35131 cat >>confdefs.h <<\_ACEOF
35132 #define HAVE_SPBCDATA 1
35138 if test "$TOOLKIT" = "PM" ; then
35141 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35144 if test "$wxUSE_UNIVERSAL" = "yes"; then
35145 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35149 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35150 DISTDIR="wx\$(TOOLKIT)"
35156 if test "$USE_WIN32" = 1 ; then
35160 GUIDIST="BASE_DIST"
35166 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35167 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35168 wxUSE_UNICODE_UTF8=yes
35169 elif test "$USE_OS2" = "1" ; then
35170 wxUSE_UNICODE_UTF8=yes
35172 wxUSE_UNICODE_UTF8=no
35177 if test "$wxUSE_GUI" = "yes"; then
35178 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35180 for ac_header in X11/Xlib.h
35182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35186 echo $ECHO_N "(cached) $ECHO_C" >&6
35188 cat >conftest.$ac_ext <<_ACEOF
35191 cat confdefs.h >>conftest.$ac_ext
35192 cat >>conftest.$ac_ext <<_ACEOF
35193 /* end confdefs.h. */
35196 #include <$ac_header>
35198 rm -f conftest.$ac_objext
35199 if { (ac_try="$ac_compile"
35200 case "(($ac_try" in
35201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35202 *) ac_try_echo
=$ac_try;;
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_compile") 2>conftest.er1
35207 grep -v '^ *+' conftest.er1
>conftest.err
35209 cat conftest.err
>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); } && {
35212 test -z "$ac_c_werror_flag" ||
35213 test ! -s conftest.err
35214 } && test -s conftest.
$ac_objext; then
35215 eval "$as_ac_Header=yes"
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.
$ac_ext >&5
35220 eval "$as_ac_Header=no"
35223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35225 ac_res
=`eval echo '${'$as_ac_Header'}'`
35226 { echo "$as_me:$LINENO: result: $ac_res" >&5
35227 echo "${ECHO_T}$ac_res" >&6; }
35228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35229 cat >>confdefs.h
<<_ACEOF
35230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35238 for ac_header
in X
11/XKBlib.h
35240 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35243 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 cat >conftest.
$ac_ext <<_ACEOF
35249 cat confdefs.h
>>conftest.
$ac_ext
35250 cat >>conftest.
$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35253 #if HAVE_X11_XLIB_H
35254 #include <X11/Xlib.h>
35258 #include <$ac_header>
35260 rm -f conftest.
$ac_objext
35261 if { (ac_try
="$ac_compile"
35262 case "(($ac_try" in
35263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35264 *) ac_try_echo=$ac_try;;
35266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35267 (eval "$ac_compile") 2>conftest.er1
35269 grep -v '^ *+' conftest.er1 >conftest.err
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } && {
35274 test -z "$ac_c_werror_flag" ||
35275 test ! -s conftest.err
35276 } && test -s conftest.$ac_objext; then
35277 eval "$as_ac_Header=yes"
35279 echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.$ac_ext >&5
35282 eval "$as_ac_Header=no"
35285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287 ac_res=`eval echo '${'$as_ac_Header'}'`
35288 { echo "$as_me:$LINENO: result: $ac_res" >&5
35289 echo "${ECHO_T}$ac_res" >&6; }
35290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35291 cat >>confdefs.h <<_ACEOF
35292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35304 if test "$wxUSE_DISPLAY" = "yes"; then
35305 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35306 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35307 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35310 for ac_dir in $SEARCH_LIB;
35312 for ac_extension in a so sl dylib dll.a; do
35313 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35314 ac_find_libraries=$ac_dir
35320 if test "$ac_find_libraries" != "" ; then
35322 if test "$ac_find_libraries" = "default location"; then
35325 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35327 if test $result = 0; then
35330 ac_path_to_link=" -L$ac_find_libraries"
35334 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35335 LDFLAGS="$LDFLAGS $ac_path_to_link"
35337 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35341 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35342 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35345 for ac_dir in $SEARCH_LIB;
35347 for ac_extension in a so sl dylib dll.a; do
35348 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35349 ac_find_libraries=$ac_dir
35355 if test "$ac_find_libraries" != "" ; then
35356 { echo "$as_me:$LINENO: result: yes" >&5
35357 echo "${ECHO_T}yes" >&6; }
35359 for ac_header in X11/extensions/xf86vmode.h
35361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35365 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 cat >conftest.$ac_ext <<_ACEOF
35370 cat confdefs.h >>conftest.$ac_ext
35371 cat >>conftest.$ac_ext <<_ACEOF
35372 /* end confdefs.h. */
35374 #if HAVE_X11_XLIB_H
35375 #include <X11/Xlib.h>
35379 #include <$ac_header>
35381 rm -f conftest.$ac_objext
35382 if { (ac_try="$ac_compile"
35383 case "(($ac_try" in
35384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35385 *) ac_try_echo
=$ac_try;;
35387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35388 (eval "$ac_compile") 2>conftest.er1
35390 grep -v '^ *+' conftest.er1
>conftest.err
35392 cat conftest.err
>&5
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); } && {
35395 test -z "$ac_c_werror_flag" ||
35396 test ! -s conftest.err
35397 } && test -s conftest.
$ac_objext; then
35398 eval "$as_ac_Header=yes"
35400 echo "$as_me: failed program was:" >&5
35401 sed 's/^/| /' conftest.
$ac_ext >&5
35403 eval "$as_ac_Header=no"
35406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35408 ac_res
=`eval echo '${'$as_ac_Header'}'`
35409 { echo "$as_me:$LINENO: result: $ac_res" >&5
35410 echo "${ECHO_T}$ac_res" >&6; }
35411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35412 cat >>confdefs.h
<<_ACEOF
35413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35423 { echo "$as_me:$LINENO: result: no" >&5
35424 echo "${ECHO_T}no" >&6; }
35428 { echo "$as_me:$LINENO: result: no" >&5
35429 echo "${ECHO_T}no" >&6; }
35430 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35431 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35434 elif test "$wxUSE_MSW" = 1; then
35435 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35436 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35437 if test "${ac_cv_header_ddraw_h+set}" = set; then
35438 echo $ECHO_N "(cached) $ECHO_C" >&6
35440 cat >conftest.
$ac_ext <<_ACEOF
35443 cat confdefs.h
>>conftest.
$ac_ext
35444 cat >>conftest.
$ac_ext <<_ACEOF
35445 /* end confdefs.h. */
35446 #include <windows.h>
35450 rm -f conftest.
$ac_objext
35451 if { (ac_try
="$ac_compile"
35452 case "(($ac_try" in
35453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35454 *) ac_try_echo=$ac_try;;
35456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35457 (eval "$ac_compile") 2>conftest.er1
35459 grep -v '^ *+' conftest.er1 >conftest.err
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } && {
35464 test -z "$ac_c_werror_flag" ||
35465 test ! -s conftest.err
35466 } && test -s conftest.$ac_objext; then
35467 ac_cv_header_ddraw_h=yes
35469 echo "$as_me: failed program was:" >&5
35470 sed 's/^/| /' conftest.$ac_ext >&5
35472 ac_cv_header_ddraw_h=no
35475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35477 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35478 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35484 if test "$wxUSE_DETECT_SM" = "yes"; then
35485 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35486 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35487 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35490 for ac_dir in $SEARCH_LIB;
35492 for ac_extension in a so sl dylib dll.a; do
35493 if test -f "$ac_dir/libSM.$ac_extension"; then
35494 ac_find_libraries=$ac_dir
35500 if test "$ac_find_libraries" != "" ; then
35502 if test "$ac_find_libraries" = "default location"; then
35505 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35507 if test $result = 0; then
35510 ac_path_to_link=" -L$ac_find_libraries"
35514 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35515 LDFLAGS="$LDFLAGS $ac_path_to_link"
35517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35518 { echo "$as_me:$LINENO: result: yes" >&5
35519 echo "${ECHO_T}yes" >&6; }
35521 { echo "$as_me:$LINENO: result: no" >&5
35522 echo "${ECHO_T}no" >&6; }
35523 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35524 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35525 wxUSE_DETECT_SM="no"
35528 wxUSE_DETECT_SM="no"
35535 if test "$wxUSE_OPENGL" = "yes"; then
35536 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35537 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35538 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35540 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35541 OPENGL_LIBS="-framework OpenGL -framework AGL"
35542 elif test "$wxUSE_MSW" = 1; then
35543 OPENGL_LIBS="-lopengl32 -lglu32"
35545 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35546 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35549 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35551 if test -f "$ac_dir/GL/gl.h"; then
35552 ac_find_includes=$ac_dir
35557 if test "$ac_find_includes" != "" ; then
35558 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35559 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35561 if test "x$ac_find_includes" = "x/usr/include"; then
35562 ac_path_to_include=""
35564 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35566 if test $result = 0; then
35567 ac_path_to_include=""
35569 ac_path_to_include=" -I$ac_find_includes"
35573 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35575 { echo "$as_me:$LINENO: result: not found" >&5
35576 echo "${ECHO_T}not found" >&6; }
35579 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35580 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35581 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 cat >conftest.$ac_ext <<_ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35594 rm -f conftest.$ac_objext
35595 if { (ac_try="$ac_compile"
35596 case "(($ac_try" in
35597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35598 *) ac_try_echo
=$ac_try;;
35600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35601 (eval "$ac_compile") 2>conftest.er1
35603 grep -v '^ *+' conftest.er1
>conftest.err
35605 cat conftest.err
>&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } && {
35608 test -z "$ac_c_werror_flag" ||
35609 test ! -s conftest.err
35610 } && test -s conftest.
$ac_objext; then
35611 ac_cv_header_GL_gl_h
=yes
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.
$ac_ext >&5
35616 ac_cv_header_GL_gl_h
=no
35619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35621 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35622 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35623 if test $ac_cv_header_GL_gl_h = yes; then
35625 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35626 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35627 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 cat >conftest.
$ac_ext <<_ACEOF
35633 cat confdefs.h
>>conftest.
$ac_ext
35634 cat >>conftest.
$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35638 #include <GL/glu.h>
35640 rm -f conftest.
$ac_objext
35641 if { (ac_try
="$ac_compile"
35642 case "(($ac_try" in
35643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35644 *) ac_try_echo=$ac_try;;
35646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35647 (eval "$ac_compile") 2>conftest.er1
35649 grep -v '^ *+' conftest.er1 >conftest.err
35651 cat conftest.err >&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); } && {
35654 test -z "$ac_c_werror_flag" ||
35655 test ! -s conftest.err
35656 } && test -s conftest.$ac_objext; then
35657 ac_cv_header_GL_glu_h=yes
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35662 ac_cv_header_GL_glu_h=no
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35667 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35668 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35669 if test $ac_cv_header_GL_glu_h = yes; then
35673 { echo "$as_me:$LINENO: checking for -lGL" >&5
35674 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35677 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35679 for ac_extension in a so sl dylib dll.a; do
35680 if test -f "$ac_dir/libGL.$ac_extension"; then
35681 ac_find_libraries=$ac_dir
35687 if test "$ac_find_libraries" != "" ; then
35688 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35689 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35692 if test "$ac_find_libraries" = "default location"; then
35695 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35697 if test $result = 0; then
35700 ac_path_to_link=" -L$ac_find_libraries"
35704 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35705 LDFLAGS_GL="$ac_path_to_link"
35708 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35709 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35712 for ac_dir in $SEARCH_LIB;
35714 for ac_extension in a so sl dylib dll.a; do
35715 if test -f "$ac_dir/libGLU.$ac_extension"; then
35716 ac_find_libraries=$ac_dir
35722 if test "$ac_find_libraries" != "" ; then
35724 if test "$ac_find_libraries" = "default location"; then
35727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35729 if test $result = 0; then
35732 ac_path_to_link=" -L$ac_find_libraries"
35736 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35737 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35738 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35742 OPENGL_LIBS="-lGL -lGLU"
35743 { echo "$as_me:$LINENO: result: yes" >&5
35744 echo "${ECHO_T}yes" >&6; }
35746 { echo "$as_me:$LINENO: result: no" >&5
35747 echo "${ECHO_T}no" >&6; }
35750 { echo "$as_me:$LINENO: result: no" >&5
35751 echo "${ECHO_T}no" >&6; }
35754 if test "$found_gl" != 1; then
35755 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35756 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35759 for ac_dir in $SEARCH_LIB;
35761 for ac_extension in a so sl dylib dll.a; do
35762 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35763 ac_find_libraries=$ac_dir
35769 if test "$ac_find_libraries" != "" ; then
35771 if test "$ac_find_libraries" = "default location"; then
35774 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35776 if test $result = 0; then
35779 ac_path_to_link=" -L$ac_find_libraries"
35783 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35784 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35785 { echo "$as_me:$LINENO: result: yes" >&5
35786 echo "${ECHO_T}yes" >&6; }
35788 { echo "$as_me:$LINENO: result: no" >&5
35789 echo "${ECHO_T}no" >&6; }
35801 if test "x$OPENGL_LIBS" = "x"; then
35802 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35803 echo "$as_me: error: OpenGL libraries not available" >&2;}
35804 { (exit 1); exit 1; }; }
35808 if test "$wxUSE_OPENGL" = "yes"; then
35810 cat >>confdefs.h <<\_ACEOF
35811 #define wxUSE_OPENGL 1
35814 cat >>confdefs.h <<\_ACEOF
35815 #define wxUSE_GLCANVAS 1
35818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35823 if test -n "$TOOLKIT" ; then
35824 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35829 if test "$wxUSE_SHARED" = "yes"; then
35833 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35834 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35839 if test "$wxUSE_SHARED" = "yes"; then
35843 *-*-cygwin* | *-*-mingw* )
35844 wx_cv_version_script=no
35848 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35849 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35850 if test "${wx_cv_version_script+set}" = set; then
35851 echo $ECHO_N "(cached) $ECHO_C" >&6
35854 echo "VER_1 { *; };" >conftest.sym
35855 echo "int main() { return 0; }" >conftest.cpp
35858 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35859 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35861 (eval $ac_try) 2>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); }; } ; then
35865 if test -s conftest.stderr ; then
35866 wx_cv_version_script=no
35868 wx_cv_version_script=yes
35871 wx_cv_version_script=no
35874 if test $wx_cv_version_script = yes
35876 echo "struct B { virtual ~B() { } }; \
35877 struct D : public B { }; \
35878 void F() { D d; }" > conftest.cpp
35881 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35882 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35884 (eval $ac_try) 2>&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; } &&
35889 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35890 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }
35898 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35899 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; }
35906 wx_cv_version_script=yes
35908 wx_cv_version_script=no
35913 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35914 rm -f conftest1.output conftest2.output conftest3.output
35917 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35918 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35920 if test $wx_cv_version_script = yes ; then
35921 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35927 if test "$wxUSE_VISIBILITY" != "no"; then
35930 if test -n "$GCC"; then
35931 CFLAGS_VISIBILITY="-fvisibility=hidden"
35932 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35933 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35934 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35935 if test "${wx_cv_cc_visibility+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35939 wx_save_CXXFLAGS="$CXXFLAGS"
35940 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35947 cat >conftest.$ac_ext <<_ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35954 /* we need gcc >= 4.0, older versions with visibility support
35955 didn't have class visibility: */
35956 #if defined(__GNUC__) && __GNUC__ < 4
35957 error this gcc is too old;
35960 /* visibility only makes sense for ELF shared libs: */
35961 #if !defined(__ELF__) && !defined(__APPLE__)
35962 error this platform has no visibility;
35965 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35966 extern __attribute__((__visibility__("default"))) int exportedvar;
35967 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35968 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35969 class __attribute__((__visibility__("default"))) Foo {
35981 rm -f conftest.$ac_objext
35982 if { (ac_try="$ac_compile"
35983 case "(($ac_try" in
35984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35985 *) ac_try_echo
=$ac_try;;
35987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35988 (eval "$ac_compile") 2>conftest.er1
35990 grep -v '^ *+' conftest.er1
>conftest.err
35992 cat conftest.err
>&5
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); } && {
35995 test -z "$ac_cxx_werror_flag" ||
35996 test ! -s conftest.err
35997 } && test -s conftest.
$ac_objext; then
35998 wx_cv_cc_visibility
=yes
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.
$ac_ext >&5
36003 wx_cv_cc_visibility
=no
36006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36008 ac_cpp
='$CPP $CPPFLAGS'
36009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36013 CXXFLAGS
="$wx_save_CXXFLAGS"
36016 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36017 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36018 if test $wx_cv_cc_visibility = yes; then
36019 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36020 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36021 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36022 echo $ECHO_N "(cached) $ECHO_C" >&6
36025 wx_save_CXXFLAGS
="$CXXFLAGS"
36026 wx_save_LDFLAGS
="$LDFLAGS"
36027 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36028 LDFLAGS
="$LDFLAGS -shared -fPIC"
36030 ac_cpp
='$CXXCPP $CPPFLAGS'
36031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36035 cat >conftest.
$ac_ext <<_ACEOF
36038 cat confdefs.h
>>conftest.
$ac_ext
36039 cat >>conftest.
$ac_ext <<_ACEOF
36040 /* end confdefs.h. */
36048 std::string s("hello");
36055 rm -f conftest.
$ac_objext conftest
$ac_exeext
36056 if { (ac_try
="$ac_link"
36057 case "(($ac_try" in
36058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36059 *) ac_try_echo=$ac_try;;
36061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36062 (eval "$ac_link") 2>conftest.er1
36064 grep -v '^ *+' conftest.er1 >conftest.err
36066 cat conftest.err >&5
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); } && {
36069 test -z "$ac_cxx_werror_flag" ||
36070 test ! -s conftest.err
36071 } && test -s conftest$ac_exeext &&
36072 $as_test_x conftest$ac_exeext; then
36073 wx_cv_cc_broken_libstdcxx_visibility=no
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36078 wx_cv_cc_broken_libstdcxx_visibility=yes
36081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36082 conftest$ac_exeext conftest.$ac_ext
36084 ac_cpp='$CPP $CPPFLAGS'
36085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 CXXFLAGS="$wx_save_CXXFLAGS"
36090 LDFLAGS="$wx_save_LDFLAGS"
36093 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36094 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36096 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36097 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36098 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36099 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36100 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36109 cat >conftest.$ac_ext <<_ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36116 #pragma GCC visibility push(default)
36118 #pragma GCC visibility pop
36124 std::string s("hello");
36131 rm -f conftest.$ac_objext conftest$ac_exeext
36132 if { (ac_try="$ac_link"
36133 case "(($ac_try" in
36134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36135 *) ac_try_echo
=$ac_try;;
36137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36138 (eval "$ac_link") 2>conftest.er1
36140 grep -v '^ *+' conftest.er1
>conftest.err
36142 cat conftest.err
>&5
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); } && {
36145 test -z "$ac_cxx_werror_flag" ||
36146 test ! -s conftest.err
36147 } && test -s conftest
$ac_exeext &&
36148 $as_test_x conftest
$ac_exeext; then
36149 wx_cv_cc_visibility_workaround
=no
36151 echo "$as_me: failed program was:" >&5
36152 sed 's/^/| /' conftest.
$ac_ext >&5
36154 wx_cv_cc_visibility_workaround
=yes
36157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36158 conftest
$ac_exeext conftest.
$ac_ext
36160 ac_cpp
='$CPP $CPPFLAGS'
36161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36168 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36169 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36171 if test $wx_cv_cc_visibility_workaround = no
; then
36172 wx_cv_cc_visibility
=no
36177 if test $wx_cv_cc_visibility = yes; then
36178 cat >>confdefs.h
<<\_ACEOF
36179 #define HAVE_VISIBILITY 1
36182 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36183 cat >>confdefs.h
<<\_ACEOF
36184 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36189 CFLAGS_VISIBILITY
=""
36190 CXXFLAGS_VISIBILITY
=""
36198 if test "x$SUNCXX" = xyes
; then
36199 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36200 WXCONFIG_RPATH
="-R\$libdir"
36203 *-*-linux* | *-*-gnu* )
36204 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36205 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36210 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36212 saveLdflags
="$LDFLAGS"
36213 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36214 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36215 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36216 cat >conftest.
$ac_ext <<_ACEOF
36219 cat confdefs.h
>>conftest.
$ac_ext
36220 cat >>conftest.
$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36231 rm -f conftest.
$ac_objext conftest
$ac_exeext
36232 if { (ac_try
="$ac_link"
36233 case "(($ac_try" in
36234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36235 *) ac_try_echo=$ac_try;;
36237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36238 (eval "$ac_link") 2>conftest.er1
36240 grep -v '^ *+' conftest.er1 >conftest.err
36242 cat conftest.err >&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } && {
36245 test -z "$ac_c_werror_flag" ||
36246 test ! -s conftest.err
36247 } && test -s conftest$ac_exeext &&
36248 $as_test_x conftest$ac_exeext; then
36250 { echo "$as_me:$LINENO: result: yes" >&5
36251 echo "${ECHO_T}yes" >&6; }
36252 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36253 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.$ac_ext >&5
36260 { echo "$as_me:$LINENO: result: no" >&5
36261 echo "${ECHO_T}no" >&6; }
36262 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36263 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36264 LDFLAGS="$saveLdflags -Wl,-R,/"
36265 cat >conftest.$ac_ext <<_ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36280 rm -f conftest.$ac_objext conftest$ac_exeext
36281 if { (ac_try="$ac_link"
36282 case "(($ac_try" in
36283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36284 *) ac_try_echo
=$ac_try;;
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_link") 2>conftest.er1
36289 grep -v '^ *+' conftest.er1
>conftest.err
36291 cat conftest.err
>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_c_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest
$ac_exeext &&
36297 $as_test_x conftest
$ac_exeext; then
36299 { echo "$as_me:$LINENO: result: yes" >&5
36300 echo "${ECHO_T}yes" >&6; }
36301 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36302 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.
$ac_ext >&5
36309 { echo "$as_me:$LINENO: result: no" >&5
36310 echo "${ECHO_T}no" >&6; }
36314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36315 conftest
$ac_exeext conftest.
$ac_ext
36319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36320 conftest
$ac_exeext conftest.
$ac_ext
36321 LDFLAGS
="$saveLdflags"
36325 install_name_tool
=`which install_name_tool`
36326 if test "$install_name_tool" -a -x "$install_name_tool"; then
36327 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36328 cat <<EOF >change-install-names
36330 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36331 inst_cmd="install_name_tool "
36332 for i in \${libnames} ; do
36333 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36337 chmod +x change
-install-names
36341 *-*-cygwin* | *-*-mingw32* )
36345 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36346 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36352 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36354 if test $wxUSE_RPATH = "no"; then
36355 SAMPLES_RPATH_FLAG
=''
36356 SAMPLES_RPATH_POSTLINK
=''
36364 config_linkage_component
="-static"
36371 lib_unicode_suffix
=
36373 if test "$wxUSE_UNICODE" = "yes"; then
36374 lib_unicode_suffix
=u
36375 WX_CHARTYPE
="unicode"
36380 WX_DEBUGTYPE
="release"
36382 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36384 WX_DEBUGTYPE
="debug"
36388 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36389 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36392 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36396 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36398 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36400 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36402 if test "$cross_compiling" = "yes"; then
36403 HOST_SUFFIX
="-$host_alias"
36404 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36405 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36408 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36409 if test "${TOOLKIT_DIR}" = "os2"; then
36410 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36412 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36417 if test "$wxUSE_COCOA" = 1; then
36420 ac_cpp
='$CPP $CPPFLAGS'
36421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36427 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36428 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36429 cat >conftest.
$ac_ext <<_ACEOF
36432 cat confdefs.h
>>conftest.
$ac_ext
36433 cat >>conftest.
$ac_ext <<_ACEOF
36434 /* end confdefs.h. */
36435 #include <AppKit/NSEvent.h>
36436 #include <CoreFoundation/CoreFoundation.h>
36446 rm -f conftest.
$ac_objext
36447 if { (ac_try
="$ac_compile"
36448 case "(($ac_try" in
36449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_compile") 2>conftest.er1
36455 grep -v '^ *+' conftest.er1 >conftest.err
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest.$ac_objext; then
36463 { echo "$as_me:$LINENO: result: no" >&5
36464 echo "${ECHO_T}no" >&6; }
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36469 { echo "$as_me:$LINENO: result: yes" >&5
36470 echo "${ECHO_T}yes" >&6; }
36471 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36472 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36473 cat >conftest.$ac_ext <<_ACEOF
36476 cat confdefs.h >>conftest.$ac_ext
36477 cat >>conftest.$ac_ext <<_ACEOF
36478 /* end confdefs.h. */
36479 #define __Point__ 1
36480 #include <AppKit/NSEvent.h>
36481 #include <CoreFoundation/CoreFoundation.h>
36491 rm -f conftest.$ac_objext
36492 if { (ac_try="$ac_compile"
36493 case "(($ac_try" in
36494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36495 *) ac_try_echo
=$ac_try;;
36497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36498 (eval "$ac_compile") 2>conftest.er1
36500 grep -v '^ *+' conftest.er1
>conftest.err
36502 cat conftest.err
>&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); } && {
36505 test -z "$ac_c_werror_flag" ||
36506 test ! -s conftest.err
36507 } && test -s conftest.
$ac_objext; then
36508 { echo "$as_me:$LINENO: result: yes" >&5
36509 echo "${ECHO_T}yes" >&6; }
36510 cat >>confdefs.h
<<\_ACEOF
36511 #define __Point__ 1
36516 echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.
$ac_ext >&5
36519 { { echo "$as_me:$LINENO: error: no
36520 See \`config.log' for more details." >&5
36521 echo "$as_me: error: no
36522 See \`config.log' for more details." >&2;}
36523 { (exit 1); exit 1; }; }
36527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36533 ac_cpp
='$CPP $CPPFLAGS'
36534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36541 { echo "$as_me:$LINENO: checking for mode_t" >&5
36542 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36543 if test "${ac_cv_type_mode_t+set}" = set; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 cat >conftest.
$ac_ext <<_ACEOF
36549 cat confdefs.h
>>conftest.
$ac_ext
36550 cat >>conftest.
$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 $ac_includes_default
36553 typedef mode_t ac__type_new_;
36557 if ((ac__type_new_ *) 0)
36559 if (sizeof (ac__type_new_))
36565 rm -f conftest.
$ac_objext
36566 if { (ac_try
="$ac_compile"
36567 case "(($ac_try" in
36568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36569 *) ac_try_echo=$ac_try;;
36571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36572 (eval "$ac_compile") 2>conftest.er1
36574 grep -v '^ *+' conftest.er1 >conftest.err
36576 cat conftest.err >&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); } && {
36579 test -z "$ac_c_werror_flag" ||
36580 test ! -s conftest.err
36581 } && test -s conftest.$ac_objext; then
36582 ac_cv_type_mode_t=yes
36584 echo "$as_me: failed program was:" >&5
36585 sed 's/^/| /' conftest.$ac_ext >&5
36587 ac_cv_type_mode_t=no
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36592 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36593 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36594 if test $ac_cv_type_mode_t = yes; then
36598 cat >>confdefs.h <<_ACEOF
36604 { echo "$as_me:$LINENO: checking for off_t" >&5
36605 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36606 if test "${ac_cv_type_off_t+set}" = set; then
36607 echo $ECHO_N "(cached) $ECHO_C" >&6
36609 cat >conftest.$ac_ext <<_ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 $ac_includes_default
36616 typedef off_t ac__type_new_;
36620 if ((ac__type_new_ *) 0)
36622 if (sizeof (ac__type_new_))
36628 rm -f conftest.$ac_objext
36629 if { (ac_try="$ac_compile"
36630 case "(($ac_try" in
36631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36632 *) ac_try_echo
=$ac_try;;
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_compile") 2>conftest.er1
36637 grep -v '^ *+' conftest.er1
>conftest.err
36639 cat conftest.err
>&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest.
$ac_objext; then
36645 ac_cv_type_off_t
=yes
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.
$ac_ext >&5
36650 ac_cv_type_off_t
=no
36653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36655 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36657 if test $ac_cv_type_off_t = yes; then
36661 cat >>confdefs.h
<<_ACEOF
36662 #define off_t long int
36667 { echo "$as_me:$LINENO: checking for pid_t" >&5
36668 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_pid_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.
$ac_ext <<_ACEOF
36675 cat confdefs.h
>>conftest.
$ac_ext
36676 cat >>conftest.
$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef pid_t ac__type_new_;
36683 if ((ac__type_new_ *) 0)
36685 if (sizeof (ac__type_new_))
36691 rm -f conftest.
$ac_objext
36692 if { (ac_try
="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36700 grep -v '^ *+' conftest.er1 >conftest.err
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } && {
36705 test -z "$ac_c_werror_flag" ||
36706 test ! -s conftest.err
36707 } && test -s conftest.$ac_objext; then
36708 ac_cv_type_pid_t=yes
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36713 ac_cv_type_pid_t=no
36716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36718 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36719 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36720 if test $ac_cv_type_pid_t = yes; then
36724 cat >>confdefs.h <<_ACEOF
36730 { echo "$as_me:$LINENO: checking for size_t" >&5
36731 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36732 if test "${ac_cv_type_size_t+set}" = set; then
36733 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 cat >conftest.$ac_ext <<_ACEOF
36738 cat confdefs.h >>conftest.$ac_ext
36739 cat >>conftest.$ac_ext <<_ACEOF
36740 /* end confdefs.h. */
36741 $ac_includes_default
36742 typedef size_t ac__type_new_;
36746 if ((ac__type_new_ *) 0)
36748 if (sizeof (ac__type_new_))
36754 rm -f conftest.$ac_objext
36755 if { (ac_try="$ac_compile"
36756 case "(($ac_try" in
36757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36758 *) ac_try_echo
=$ac_try;;
36760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36761 (eval "$ac_compile") 2>conftest.er1
36763 grep -v '^ *+' conftest.er1
>conftest.err
36765 cat conftest.err
>&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } && {
36768 test -z "$ac_c_werror_flag" ||
36769 test ! -s conftest.err
36770 } && test -s conftest.
$ac_objext; then
36771 ac_cv_type_size_t
=yes
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.
$ac_ext >&5
36776 ac_cv_type_size_t
=no
36779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36781 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36782 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36783 if test $ac_cv_type_size_t = yes; then
36787 cat >>confdefs.h
<<_ACEOF
36788 #define size_t unsigned int
36793 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36794 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36795 if test "${ac_cv_type_uid_t+set}" = set; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 cat >conftest.
$ac_ext <<_ACEOF
36801 cat confdefs.h
>>conftest.
$ac_ext
36802 cat >>conftest.
$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 #include <sys/types.h>
36807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36808 $EGREP "uid_t" >/dev
/null
2>&1; then
36809 ac_cv_type_uid_t
=yes
36811 ac_cv_type_uid_t
=no
36816 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36817 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36818 if test $ac_cv_type_uid_t = no
; then
36820 cat >>confdefs.h
<<\_ACEOF
36825 cat >>confdefs.h
<<\_ACEOF
36832 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36833 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36834 if test "${ac_cv_type_ssize_t+set}" = set; then
36835 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 cat >conftest.
$ac_ext <<_ACEOF
36840 cat confdefs.h
>>conftest.
$ac_ext
36841 cat >>conftest.
$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843 $ac_includes_default
36844 typedef ssize_t ac__type_new_;
36848 if ((ac__type_new_ *) 0)
36850 if (sizeof (ac__type_new_))
36856 rm -f conftest.
$ac_objext
36857 if { (ac_try
="$ac_compile"
36858 case "(($ac_try" in
36859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36860 *) ac_try_echo=$ac_try;;
36862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36863 (eval "$ac_compile") 2>conftest.er1
36865 grep -v '^ *+' conftest.er1 >conftest.err
36867 cat conftest.err >&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } && {
36870 test -z "$ac_c_werror_flag" ||
36871 test ! -s conftest.err
36872 } && test -s conftest.$ac_objext; then
36873 ac_cv_type_ssize_t=yes
36875 echo "$as_me: failed program was:" >&5
36876 sed 's/^/| /' conftest.$ac_ext >&5
36878 ac_cv_type_ssize_t=no
36881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36883 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36884 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36885 if test $ac_cv_type_ssize_t = yes; then
36887 cat >>confdefs.h <<_ACEOF
36888 #define HAVE_SSIZE_T 1
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36900 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36901 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36902 if test "${wx_cv_size_t_is_uint+set}" = set; then
36903 echo $ECHO_N "(cached) $ECHO_C" >&6
36906 cat >conftest.$ac_ext <<_ACEOF
36909 cat confdefs.h >>conftest.$ac_ext
36910 cat >>conftest.$ac_ext <<_ACEOF
36911 /* end confdefs.h. */
36912 #include <stddef.h>
36919 struct Foo { void foo(size_t); void foo(unsigned int); };
36927 rm -f conftest.$ac_objext
36928 if { (ac_try="$ac_compile"
36929 case "(($ac_try" in
36930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36931 *) ac_try_echo
=$ac_try;;
36933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36934 (eval "$ac_compile") 2>conftest.er1
36936 grep -v '^ *+' conftest.er1
>conftest.err
36938 cat conftest.err
>&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); } && {
36941 test -z "$ac_cxx_werror_flag" ||
36942 test ! -s conftest.err
36943 } && test -s conftest.
$ac_objext; then
36944 wx_cv_size_t_is_uint
=no
36946 echo "$as_me: failed program was:" >&5
36947 sed 's/^/| /' conftest.
$ac_ext >&5
36949 wx_cv_size_t_is_uint
=yes
36953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36957 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36958 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36960 if test "$wx_cv_size_t_is_uint" = "yes"; then
36961 cat >>confdefs.h
<<\_ACEOF
36962 #define wxSIZE_T_IS_UINT 1
36966 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36967 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36968 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36971 cat >conftest.
$ac_ext <<_ACEOF
36974 cat confdefs.h
>>conftest.
$ac_ext
36975 cat >>conftest.
$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 #include <stddef.h>
36984 struct Foo { void foo(size_t); void foo(unsigned long); };
36992 rm -f conftest.
$ac_objext
36993 if { (ac_try
="$ac_compile"
36994 case "(($ac_try" in
36995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36996 *) ac_try_echo=$ac_try;;
36998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36999 (eval "$ac_compile") 2>conftest.er1
37001 grep -v '^ *+' conftest.er1 >conftest.err
37003 cat conftest.err >&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } && {
37006 test -z "$ac_cxx_werror_flag" ||
37007 test ! -s conftest.err
37008 } && test -s conftest.$ac_objext; then
37009 wx_cv_size_t_is_ulong=no
37011 echo "$as_me: failed program was:" >&5
37012 sed 's/^/| /' conftest.$ac_ext >&5
37014 wx_cv_size_t_is_ulong=yes
37018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37022 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37024 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37025 cat >>confdefs.h <<\_ACEOF
37026 #define wxSIZE_T_IS_ULONG 1
37032 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37033 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37034 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 cat >conftest.$ac_ext <<_ACEOF
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37050 struct Foo { void foo(wchar_t);
37051 void foo(unsigned short);
37052 void foo(unsigned int);
37053 void foo(unsigned long); };
37061 rm -f conftest.$ac_objext
37062 if { (ac_try="$ac_compile"
37063 case "(($ac_try" in
37064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37065 *) ac_try_echo
=$ac_try;;
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_compile") 2>conftest.er1
37070 grep -v '^ *+' conftest.er1
>conftest.err
37072 cat conftest.err
>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_cxx_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest.
$ac_objext; then
37078 wx_cv_wchar_t_is_separate_type
=yes
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.
$ac_ext >&5
37083 wx_cv_wchar_t_is_separate_type
=no
37087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37090 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37091 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37093 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37094 cat >>confdefs.h
<<\_ACEOF
37095 #define wxWCHAR_T_IS_REAL_TYPE 1
37099 cat >>confdefs.h
<<\_ACEOF
37100 #define wxWCHAR_T_IS_REAL_TYPE 0
37106 ac_cpp
='$CPP $CPPFLAGS'
37107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37112 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37113 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37114 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37115 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 cat >conftest.
$ac_ext <<_ACEOF
37121 cat confdefs.h
>>conftest.
$ac_ext
37122 cat >>conftest.
$ac_ext <<_ACEOF
37123 /* end confdefs.h. */
37137 rm -f conftest.
$ac_objext
37138 if { (ac_try
="$ac_compile"
37139 case "(($ac_try" in
37140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37141 *) ac_try_echo=$ac_try;;
37143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37144 (eval "$ac_compile") 2>conftest.er1
37146 grep -v '^ *+' conftest.er1 >conftest.err
37148 cat conftest.err >&5
37149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150 (exit $ac_status); } && {
37151 test -z "$ac_c_werror_flag" ||
37152 test ! -s conftest.err
37153 } && test -s conftest.$ac_objext; then
37155 wx_cv_struct_pw_gecos=yes
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37162 wx_cv_struct_pw_gecos=no
37167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37171 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37172 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37174 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37175 cat >>confdefs.h <<\_ACEOF
37176 #define HAVE_PW_GECOS 1
37182 if test "$wxUSE_WCHAR_T" = "yes"; then
37183 cat >>confdefs.h <<\_ACEOF
37184 #define wxUSE_WCHAR_T 1
37191 for ac_func in wcslen
37193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37196 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37197 echo $ECHO_N "(cached) $ECHO_C" >&6
37199 cat >conftest.$ac_ext <<_ACEOF
37202 cat confdefs.h >>conftest.$ac_ext
37203 cat >>conftest.$ac_ext <<_ACEOF
37204 /* end confdefs.h. */
37205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37207 #define $ac_func innocuous_$ac_func
37209 /* System header to define __stub macros and hopefully few prototypes,
37210 which can conflict with char $ac_func (); below.
37211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37212 <limits.h> exists even on freestanding compilers. */
37215 # include <limits.h>
37217 # include <assert.h>
37222 /* Override any GCC internal prototype to avoid an error.
37223 Use char because int might match the return type of a GCC
37224 builtin and then its argument prototype would still apply. */
37229 /* The GNU C library defines this for functions which it implements
37230 to always fail with ENOSYS. Some functions are actually named
37231 something starting with __ and the normal name is an alias. */
37232 #if defined __stub_$ac_func || defined __stub___$ac_func
37239 return $ac_func ();
37244 rm -f conftest.$ac_objext conftest$ac_exeext
37245 if { (ac_try="$ac_link"
37246 case "(($ac_try" in
37247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37248 *) ac_try_echo
=$ac_try;;
37250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37251 (eval "$ac_link") 2>conftest.er1
37253 grep -v '^ *+' conftest.er1
>conftest.err
37255 cat conftest.err
>&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } && {
37258 test -z "$ac_c_werror_flag" ||
37259 test ! -s conftest.err
37260 } && test -s conftest
$ac_exeext &&
37261 $as_test_x conftest
$ac_exeext; then
37262 eval "$as_ac_var=yes"
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.
$ac_ext >&5
37267 eval "$as_ac_var=no"
37270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37271 conftest
$ac_exeext conftest.
$ac_ext
37273 ac_res
=`eval echo '${'$as_ac_var'}'`
37274 { echo "$as_me:$LINENO: result: $ac_res" >&5
37275 echo "${ECHO_T}$ac_res" >&6; }
37276 if test `eval echo '${'$as_ac_var'}'` = yes; then
37277 cat >>confdefs.h
<<_ACEOF
37278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37285 if test "$WCSLEN_FOUND" = 0; then
37286 if test "$TOOLKIT" = "MSW"; then
37287 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37288 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37289 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37290 echo $ECHO_N "(cached) $ECHO_C" >&6
37292 ac_check_lib_save_LIBS
=$LIBS
37293 LIBS
="-lmsvcrt $LIBS"
37294 cat >conftest.
$ac_ext <<_ACEOF
37297 cat confdefs.h
>>conftest.
$ac_ext
37298 cat >>conftest.
$ac_ext <<_ACEOF
37299 /* end confdefs.h. */
37301 /* Override any GCC internal prototype to avoid an error.
37302 Use char because int might match the return type of a GCC
37303 builtin and then its argument prototype would still apply. */
37316 rm -f conftest.
$ac_objext conftest
$ac_exeext
37317 if { (ac_try
="$ac_link"
37318 case "(($ac_try" in
37319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37320 *) ac_try_echo=$ac_try;;
37322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37323 (eval "$ac_link") 2>conftest.er1
37325 grep -v '^ *+' conftest.er1 >conftest.err
37327 cat conftest.err >&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } && {
37330 test -z "$ac_c_werror_flag" ||
37331 test ! -s conftest.err
37332 } && test -s conftest$ac_exeext &&
37333 $as_test_x conftest$ac_exeext; then
37334 ac_cv_lib_msvcrt_wcslen=yes
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.$ac_ext >&5
37339 ac_cv_lib_msvcrt_wcslen=no
37342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37343 conftest$ac_exeext conftest.$ac_ext
37344 LIBS=$ac_check_lib_save_LIBS
37346 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37347 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37348 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37353 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37354 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37355 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37358 ac_check_lib_save_LIBS=$LIBS
37360 cat >conftest.$ac_ext <<_ACEOF
37363 cat confdefs.h >>conftest.$ac_ext
37364 cat >>conftest.$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37367 /* Override any GCC internal prototype to avoid an error.
37368 Use char because int might match the return type of a GCC
37369 builtin and then its argument prototype would still apply. */
37382 rm -f conftest.$ac_objext conftest$ac_exeext
37383 if { (ac_try="$ac_link"
37384 case "(($ac_try" in
37385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37386 *) ac_try_echo
=$ac_try;;
37388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37389 (eval "$ac_link") 2>conftest.er1
37391 grep -v '^ *+' conftest.er1
>conftest.err
37393 cat conftest.err
>&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); } && {
37396 test -z "$ac_c_werror_flag" ||
37397 test ! -s conftest.err
37398 } && test -s conftest
$ac_exeext &&
37399 $as_test_x conftest
$ac_exeext; then
37400 ac_cv_lib_w_wcslen
=yes
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.
$ac_ext >&5
37405 ac_cv_lib_w_wcslen
=no
37408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37409 conftest
$ac_exeext conftest.
$ac_ext
37410 LIBS
=$ac_check_lib_save_LIBS
37412 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37413 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37414 if test $ac_cv_lib_w_wcslen = yes; then
37424 if test "$WCSLEN_FOUND" = 1; then
37425 cat >>confdefs.h
<<\_ACEOF
37426 #define HAVE_WCSLEN 1
37432 for ac_func
in wcsdup
37434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37437 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37440 cat >conftest.
$ac_ext <<_ACEOF
37443 cat confdefs.h
>>conftest.
$ac_ext
37444 cat >>conftest.
$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37448 #define $ac_func innocuous_$ac_func
37450 /* System header to define __stub macros and hopefully few prototypes,
37451 which can conflict with char $ac_func (); below.
37452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37453 <limits.h> exists even on freestanding compilers. */
37456 # include <limits.h>
37458 # include <assert.h>
37463 /* Override any GCC internal prototype to avoid an error.
37464 Use char because int might match the return type of a GCC
37465 builtin and then its argument prototype would still apply. */
37470 /* The GNU C library defines this for functions which it implements
37471 to always fail with ENOSYS. Some functions are actually named
37472 something starting with __ and the normal name is an alias. */
37473 #if defined __stub_$ac_func || defined __stub___$ac_func
37480 return $ac_func ();
37485 rm -f conftest.
$ac_objext conftest
$ac_exeext
37486 if { (ac_try
="$ac_link"
37487 case "(($ac_try" in
37488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37489 *) ac_try_echo=$ac_try;;
37491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37492 (eval "$ac_link") 2>conftest.er1
37494 grep -v '^ *+' conftest.er1 >conftest.err
37496 cat conftest.err >&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } && {
37499 test -z "$ac_c_werror_flag" ||
37500 test ! -s conftest.err
37501 } && test -s conftest$ac_exeext &&
37502 $as_test_x conftest$ac_exeext; then
37503 eval "$as_ac_var=yes"
37505 echo "$as_me: failed program was:" >&5
37506 sed 's/^/| /' conftest.$ac_ext >&5
37508 eval "$as_ac_var=no"
37511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37512 conftest$ac_exeext conftest.$ac_ext
37514 ac_res=`eval echo '${'$as_ac_var'}'`
37515 { echo "$as_me:$LINENO: result: $ac_res" >&5
37516 echo "${ECHO_T}$ac_res" >&6; }
37517 if test `eval echo '${'$as_ac_var'}'` = yes; then
37518 cat >>confdefs.h <<_ACEOF
37519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37527 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37530 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37531 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37532 if test "${ac_cv_type_mbstate_t+set}" = set; then
37533 echo $ECHO_N "(cached) $ECHO_C" >&6
37535 cat >conftest.$ac_ext <<_ACEOF
37538 cat confdefs.h >>conftest.$ac_ext
37539 cat >>conftest.$ac_ext <<_ACEOF
37540 /* end confdefs.h. */
37543 typedef mbstate_t ac__type_new_;
37547 if ((ac__type_new_ *) 0)
37549 if (sizeof (ac__type_new_))
37555 rm -f conftest.$ac_objext
37556 if { (ac_try="$ac_compile"
37557 case "(($ac_try" in
37558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37559 *) ac_try_echo
=$ac_try;;
37561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37562 (eval "$ac_compile") 2>conftest.er1
37564 grep -v '^ *+' conftest.er1
>conftest.err
37566 cat conftest.err
>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } && {
37569 test -z "$ac_c_werror_flag" ||
37570 test ! -s conftest.err
37571 } && test -s conftest.
$ac_objext; then
37572 ac_cv_type_mbstate_t
=yes
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.
$ac_ext >&5
37577 ac_cv_type_mbstate_t
=no
37580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37582 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37583 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37584 if test $ac_cv_type_mbstate_t = yes; then
37586 cat >>confdefs.h
<<_ACEOF
37587 #define HAVE_MBSTATE_T 1
37591 for ac_func
in wcsrtombs
37593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37596 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 cat >conftest.
$ac_ext <<_ACEOF
37602 cat confdefs.h
>>conftest.
$ac_ext
37603 cat >>conftest.
$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37607 #define $ac_func innocuous_$ac_func
37609 /* System header to define __stub macros and hopefully few prototypes,
37610 which can conflict with char $ac_func (); below.
37611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37612 <limits.h> exists even on freestanding compilers. */
37615 # include <limits.h>
37617 # include <assert.h>
37622 /* Override any GCC internal prototype to avoid an error.
37623 Use char because int might match the return type of a GCC
37624 builtin and then its argument prototype would still apply. */
37629 /* The GNU C library defines this for functions which it implements
37630 to always fail with ENOSYS. Some functions are actually named
37631 something starting with __ and the normal name is an alias. */
37632 #if defined __stub_$ac_func || defined __stub___$ac_func
37639 return $ac_func ();
37644 rm -f conftest.
$ac_objext conftest
$ac_exeext
37645 if { (ac_try
="$ac_link"
37646 case "(($ac_try" in
37647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37648 *) ac_try_echo=$ac_try;;
37650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37651 (eval "$ac_link") 2>conftest.er1
37653 grep -v '^ *+' conftest.er1 >conftest.err
37655 cat conftest.err >&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); } && {
37658 test -z "$ac_c_werror_flag" ||
37659 test ! -s conftest.err
37660 } && test -s conftest$ac_exeext &&
37661 $as_test_x conftest$ac_exeext; then
37662 eval "$as_ac_var=yes"
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37667 eval "$as_ac_var=no"
37670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37671 conftest$ac_exeext conftest.$ac_ext
37673 ac_res=`eval echo '${'$as_ac_var'}'`
37674 { echo "$as_me:$LINENO: result: $ac_res" >&5
37675 echo "${ECHO_T}$ac_res" >&6; }
37676 if test `eval echo '${'$as_ac_var'}'` = yes; then
37677 cat >>confdefs.h <<_ACEOF
37678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37687 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37688 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37693 for ac_func in snprintf vsnprintf
37695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37699 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 cat >conftest.$ac_ext <<_ACEOF
37704 cat confdefs.h >>conftest.$ac_ext
37705 cat >>conftest.$ac_ext <<_ACEOF
37706 /* end confdefs.h. */
37707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37709 #define $ac_func innocuous_$ac_func
37711 /* System header to define __stub macros and hopefully few prototypes,
37712 which can conflict with char $ac_func (); below.
37713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37714 <limits.h> exists even on freestanding compilers. */
37717 # include <limits.h>
37719 # include <assert.h>
37724 /* Override any GCC internal prototype to avoid an error.
37725 Use char because int might match the return type of a GCC
37726 builtin and then its argument prototype would still apply. */
37731 /* The GNU C library defines this for functions which it implements
37732 to always fail with ENOSYS. Some functions are actually named
37733 something starting with __ and the normal name is an alias. */
37734 #if defined __stub_$ac_func || defined __stub___$ac_func
37741 return $ac_func ();
37746 rm -f conftest.$ac_objext conftest$ac_exeext
37747 if { (ac_try="$ac_link"
37748 case "(($ac_try" in
37749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37750 *) ac_try_echo
=$ac_try;;
37752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37753 (eval "$ac_link") 2>conftest.er1
37755 grep -v '^ *+' conftest.er1
>conftest.err
37757 cat conftest.err
>&5
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); } && {
37760 test -z "$ac_c_werror_flag" ||
37761 test ! -s conftest.err
37762 } && test -s conftest
$ac_exeext &&
37763 $as_test_x conftest
$ac_exeext; then
37764 eval "$as_ac_var=yes"
37766 echo "$as_me: failed program was:" >&5
37767 sed 's/^/| /' conftest.
$ac_ext >&5
37769 eval "$as_ac_var=no"
37772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37773 conftest
$ac_exeext conftest.
$ac_ext
37775 ac_res
=`eval echo '${'$as_ac_var'}'`
37776 { echo "$as_me:$LINENO: result: $ac_res" >&5
37777 echo "${ECHO_T}$ac_res" >&6; }
37778 if test `eval echo '${'$as_ac_var'}'` = yes; then
37779 cat >>confdefs.h
<<_ACEOF
37780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37787 if test "$ac_cv_func_vsnprintf" = "yes"; then
37788 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37789 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37790 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 cat >conftest.
$ac_ext <<_ACEOF
37797 cat confdefs.h
>>conftest.
$ac_ext
37798 cat >>conftest.
$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37802 #include <stdarg.h>
37804 #if __MSL__ >= 0x6000
37806 using namespace std;
37816 vsnprintf(buf, 10u, "%s", ap);
37822 rm -f conftest.
$ac_objext
37823 if { (ac_try
="$ac_compile"
37824 case "(($ac_try" in
37825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37826 *) ac_try_echo=$ac_try;;
37828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37829 (eval "$ac_compile") 2>conftest.er1
37831 grep -v '^ *+' conftest.er1 >conftest.err
37833 cat conftest.err >&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); } && {
37836 test -z "$ac_c_werror_flag" ||
37837 test ! -s conftest.err
37838 } && test -s conftest.$ac_objext; then
37839 wx_cv_func_vsnprintf_decl=yes
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 wx_cv_func_vsnprintf_decl=no
37848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37852 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37853 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37855 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37856 cat >>confdefs.h <<\_ACEOF
37857 #define HAVE_VSNPRINTF_DECL 1
37861 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37862 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37863 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 cat >conftest.$ac_ext <<_ACEOF
37870 cat confdefs.h >>conftest.$ac_ext
37871 cat >>conftest.$ac_ext <<_ACEOF
37872 /* end confdefs.h. */
37875 #include <stdarg.h>
37877 #if __MSL__ >= 0x6000
37879 using namespace std;
37889 const char *fmt = "%s";
37890 vsnprintf(buf, 10u, fmt, ap);
37896 rm -f conftest.$ac_objext
37897 if { (ac_try="$ac_compile"
37898 case "(($ac_try" in
37899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37900 *) ac_try_echo
=$ac_try;;
37902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37903 (eval "$ac_compile") 2>conftest.er1
37905 grep -v '^ *+' conftest.er1
>conftest.err
37907 cat conftest.err
>&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); } && {
37910 test -z "$ac_c_werror_flag" ||
37911 test ! -s conftest.err
37912 } && test -s conftest.
$ac_objext; then
37913 wx_cv_func_broken_vsnprintf_decl
=no
37915 echo "$as_me: failed program was:" >&5
37916 sed 's/^/| /' conftest.
$ac_ext >&5
37918 wx_cv_func_broken_vsnprintf_decl
=yes
37922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37926 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37927 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37929 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37930 cat >>confdefs.h
<<\_ACEOF
37931 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37938 if test "$ac_cv_func_snprintf" = "yes"; then
37939 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37940 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37941 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.
$ac_ext <<_ACEOF
37948 cat confdefs.h
>>conftest.
$ac_ext
37949 cat >>conftest.
$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37953 #include <stdarg.h>
37955 #if __MSL__ >= 0x6000
37957 using namespace std;
37966 snprintf(buf, 10u, "%s", "wx");
37972 rm -f conftest.
$ac_objext
37973 if { (ac_try
="$ac_compile"
37974 case "(($ac_try" in
37975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37976 *) ac_try_echo=$ac_try;;
37978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37979 (eval "$ac_compile") 2>conftest.er1
37981 grep -v '^ *+' conftest.er1 >conftest.err
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } && {
37986 test -z "$ac_c_werror_flag" ||
37987 test ! -s conftest.err
37988 } && test -s conftest.$ac_objext; then
37989 wx_cv_func_snprintf_decl=yes
37991 echo "$as_me: failed program was:" >&5
37992 sed 's/^/| /' conftest.$ac_ext >&5
37994 wx_cv_func_snprintf_decl=no
37998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38002 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38003 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38005 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38006 cat >>confdefs.h <<\_ACEOF
38007 #define HAVE_SNPRINTF_DECL 1
38012 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38014 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38015 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38016 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38020 if test "$cross_compiling" = yes; then
38022 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38023 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38024 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38025 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38026 wx_cv_func_snprintf_pos_params=no
38030 cat >conftest.$ac_ext <<_ACEOF
38033 cat confdefs.h >>conftest.$ac_ext
38034 cat >>conftest.$ac_ext <<_ACEOF
38035 /* end confdefs.h. */
38042 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38043 if (strcmp ("2 3 1", buffer) == 0)
38049 rm -f conftest$ac_exeext
38050 if { (ac_try="$ac_link"
38051 case "(($ac_try" in
38052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38053 *) ac_try_echo
=$ac_try;;
38055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38056 (eval "$ac_link") 2>&5
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38060 { (case "(($ac_try" in
38061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_try") 2>&5
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); }; }; then
38069 wx_cv_func_snprintf_pos_params=no
38071 echo "$as_me: program exited with status $ac_status" >&5
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.$ac_ext >&5
38075 ( exit $ac_status )
38076 wx_cv_func_snprintf_pos_params=yes
38078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38085 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38086 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38088 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38089 cat >>confdefs.h <<\_ACEOF
38090 #define HAVE_UNIX98_PRINTF 1
38097 if test "$wxUSE_UNICODE" = yes; then
38099 wchar_headers="#include <stdio.h>
38100 #include <wchar.h>"
38104 for ac_header in widec.h
38106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 cat >conftest.$ac_ext <<_ACEOF
38115 cat confdefs.h >>conftest.$ac_ext
38116 cat >>conftest.$ac_ext <<_ACEOF
38117 /* end confdefs.h. */
38118 $ac_includes_default
38120 #include <$ac_header>
38122 rm -f conftest.$ac_objext
38123 if { (ac_try="$ac_compile"
38124 case "(($ac_try" in
38125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38126 *) ac_try_echo
=$ac_try;;
38128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38129 (eval "$ac_compile") 2>conftest.er1
38131 grep -v '^ *+' conftest.er1
>conftest.err
38133 cat conftest.err
>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } && {
38136 test -z "$ac_c_werror_flag" ||
38137 test ! -s conftest.err
38138 } && test -s conftest.
$ac_objext; then
38139 eval "$as_ac_Header=yes"
38141 echo "$as_me: failed program was:" >&5
38142 sed 's/^/| /' conftest.
$ac_ext >&5
38144 eval "$as_ac_Header=no"
38147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38149 ac_res
=`eval echo '${'$as_ac_Header'}'`
38150 { echo "$as_me:$LINENO: result: $ac_res" >&5
38151 echo "${ECHO_T}$ac_res" >&6; }
38152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38153 cat >>confdefs.h
<<_ACEOF
38154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38161 if test "$ac_cv_header_widec_h" = "yes"; then
38162 wchar_headers
="$wchar_headers
38163 #include <widec.h>"
38168 for wx_func
in putws fputws wprintf vswprintf
38170 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38171 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38172 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38173 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 cat >conftest.
$ac_ext <<_ACEOF
38180 cat confdefs.h
>>conftest.
$ac_ext
38181 cat >>conftest.
$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38185 $ac_includes_default
38201 rm -f conftest.
$ac_objext conftest
$ac_exeext
38202 if { (ac_try
="$ac_link"
38203 case "(($ac_try" in
38204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38205 *) ac_try_echo=$ac_try;;
38207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38208 (eval "$ac_link") 2>conftest.er1
38210 grep -v '^ *+' conftest.er1 >conftest.err
38212 cat conftest.err >&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } && {
38215 test -z "$ac_c_werror_flag" ||
38216 test ! -s conftest.err
38217 } && test -s conftest$ac_exeext &&
38218 $as_test_x conftest$ac_exeext; then
38219 eval wx_cv_func_$wx_func=yes
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38224 eval wx_cv_func_$wx_func=no
38227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38228 conftest$ac_exeext conftest.$ac_ext
38231 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38232 { echo "$as_me:$LINENO: result: $ac_res" >&5
38233 echo "${ECHO_T}$ac_res" >&6; }
38235 if eval test \$wx_cv_func_$wx_func = yes
38237 cat >>confdefs.h <<_ACEOF
38238 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38249 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38250 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38251 cat >conftest.$ac_ext <<_ACEOF
38254 cat confdefs.h >>conftest.$ac_ext
38255 cat >>conftest.$ac_ext <<_ACEOF
38256 /* end confdefs.h. */
38266 rm -f conftest.$ac_objext
38267 if { (ac_try="$ac_compile"
38268 case "(($ac_try" in
38269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38270 *) ac_try_echo
=$ac_try;;
38272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38273 (eval "$ac_compile") 2>conftest.er1
38275 grep -v '^ *+' conftest.er1
>conftest.err
38277 cat conftest.err
>&5
38278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38279 (exit $ac_status); } && {
38280 test -z "$ac_c_werror_flag" ||
38281 test ! -s conftest.err
38282 } && test -s conftest.
$ac_objext; then
38283 { echo "$as_me:$LINENO: result: yes" >&5
38284 echo "${ECHO_T}yes" >&6; }
38285 cat >>confdefs.h
<<\_ACEOF
38286 #define HAVE__VSNWPRINTF 1
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.
$ac_ext >&5
38293 { echo "$as_me:$LINENO: result: no" >&5
38294 echo "${ECHO_T}no" >&6; }
38297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38300 if test "$wxUSE_FILE" = "yes"; then
38302 for wx_func
in fsync
38304 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38305 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38306 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38307 echo $ECHO_N "(cached) $ECHO_C" >&6
38310 cat >conftest.
$ac_ext <<_ACEOF
38314 cat confdefs.h
>>conftest.
$ac_ext
38315 cat >>conftest.
$ac_ext <<_ACEOF
38316 /* end confdefs.h. */
38319 $ac_includes_default
38335 rm -f conftest.
$ac_objext conftest
$ac_exeext
38336 if { (ac_try
="$ac_link"
38337 case "(($ac_try" in
38338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38339 *) ac_try_echo=$ac_try;;
38341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38342 (eval "$ac_link") 2>conftest.er1
38344 grep -v '^ *+' conftest.er1 >conftest.err
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } && {
38349 test -z "$ac_c_werror_flag" ||
38350 test ! -s conftest.err
38351 } && test -s conftest$ac_exeext &&
38352 $as_test_x conftest$ac_exeext; then
38353 eval wx_cv_func_$wx_func=yes
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38358 eval wx_cv_func_$wx_func=no
38361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38362 conftest$ac_exeext conftest.$ac_ext
38365 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38366 { echo "$as_me:$LINENO: result: $ac_res" >&5
38367 echo "${ECHO_T}$ac_res" >&6; }
38369 if eval test \$wx_cv_func_$wx_func = yes
38371 cat >>confdefs.h <<_ACEOF
38372 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38385 ac_cpp='$CXXCPP $CPPFLAGS'
38386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38391 for wx_func in round
38393 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38394 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38395 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38399 cat >conftest.$ac_ext <<_ACEOF
38403 cat confdefs.h >>conftest.$ac_ext
38404 cat >>conftest.$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38408 $ac_includes_default
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (ac_try="$ac_link"
38426 case "(($ac_try" in
38427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38428 *) ac_try_echo
=$ac_try;;
38430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38431 (eval "$ac_link") 2>conftest.er1
38433 grep -v '^ *+' conftest.er1
>conftest.err
38435 cat conftest.err
>&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } && {
38438 test -z "$ac_cxx_werror_flag" ||
38439 test ! -s conftest.err
38440 } && test -s conftest
$ac_exeext &&
38441 $as_test_x conftest
$ac_exeext; then
38442 eval wx_cv_func_
$wx_func=yes
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.
$ac_ext >&5
38447 eval wx_cv_func_
$wx_func=no
38450 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38451 conftest
$ac_exeext conftest.
$ac_ext
38454 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38455 { echo "$as_me:$LINENO: result: $ac_res" >&5
38456 echo "${ECHO_T}$ac_res" >&6; }
38458 if eval test \
$wx_cv_func_$wx_func = yes
38460 cat >>confdefs.h
<<_ACEOF
38461 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38472 ac_cpp
='$CPP $CPPFLAGS'
38473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38478 if test "$TOOLKIT" != "MSW"; then
38484 # Check whether --with-libiconv-prefix was given.
38485 if test "${with_libiconv_prefix+set}" = set; then
38486 withval
=$with_libiconv_prefix;
38487 for dir
in `echo "$withval" | tr : ' '`; do
38488 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38489 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38495 { echo "$as_me:$LINENO: checking for iconv" >&5
38496 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38497 if test "${am_cv_func_iconv+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 am_cv_func_iconv
="no, consider installing GNU libiconv"
38503 cat >conftest.
$ac_ext <<_ACEOF
38506 cat confdefs.h
>>conftest.
$ac_ext
38507 cat >>conftest.
$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38509 #include <stdlib.h>
38514 iconv_t cd = iconv_open("","");
38515 iconv(cd,NULL,NULL,NULL,NULL);
38521 rm -f conftest.
$ac_objext conftest
$ac_exeext
38522 if { (ac_try
="$ac_link"
38523 case "(($ac_try" in
38524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38525 *) ac_try_echo=$ac_try;;
38527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38528 (eval "$ac_link") 2>conftest.er1
38530 grep -v '^ *+' conftest.er1 >conftest.err
38532 cat conftest.err >&5
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); } && {
38535 test -z "$ac_c_werror_flag" ||
38536 test ! -s conftest.err
38537 } && test -s conftest$ac_exeext &&
38538 $as_test_x conftest$ac_exeext; then
38539 am_cv_func_iconv=yes
38541 echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.$ac_ext >&5
38547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38548 conftest$ac_exeext conftest.$ac_ext
38549 if test "$am_cv_func_iconv" != yes; then
38550 am_save_LIBS="$LIBS"
38551 LIBS="$LIBS -liconv"
38552 cat >conftest.$ac_ext <<_ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38558 #include <stdlib.h>
38563 iconv_t cd = iconv_open("","");
38564 iconv(cd,NULL,NULL,NULL,NULL);
38570 rm -f conftest.$ac_objext conftest$ac_exeext
38571 if { (ac_try="$ac_link"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38574 *) ac_try_echo
=$ac_try;;
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_link") 2>conftest.er1
38579 grep -v '^ *+' conftest.er1
>conftest.err
38581 cat conftest.err
>&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } && {
38584 test -z "$ac_c_werror_flag" ||
38585 test ! -s conftest.err
38586 } && test -s conftest
$ac_exeext &&
38587 $as_test_x conftest
$ac_exeext; then
38588 am_cv_lib_iconv
=yes
38589 am_cv_func_iconv
=yes
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.
$ac_ext >&5
38597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38598 conftest
$ac_exeext conftest.
$ac_ext
38599 LIBS
="$am_save_LIBS"
38603 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38604 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38605 if test "$am_cv_func_iconv" = yes; then
38607 cat >>confdefs.h
<<\_ACEOF
38608 #define HAVE_ICONV 1
38611 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38612 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38613 if test "${wx_cv_func_iconv_const+set}" = set; then
38614 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 cat >conftest.
$ac_ext <<_ACEOF
38619 cat confdefs.h
>>conftest.
$ac_ext
38620 cat >>conftest.
$ac_ext <<_ACEOF
38621 /* end confdefs.h. */
38623 #include <stdlib.h>
38629 #if defined(__STDC__) || defined(__cplusplus)
38630 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38643 rm -f conftest.
$ac_objext
38644 if { (ac_try
="$ac_compile"
38645 case "(($ac_try" in
38646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38647 *) ac_try_echo=$ac_try;;
38649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38650 (eval "$ac_compile") 2>conftest.er1
38652 grep -v '^ *+' conftest.er1 >conftest.err
38654 cat conftest.err >&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); } && {
38657 test -z "$ac_c_werror_flag" ||
38658 test ! -s conftest.err
38659 } && test -s conftest.$ac_objext; then
38660 wx_cv_func_iconv_const="no"
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38665 wx_cv_func_iconv_const="yes"
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38673 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38676 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38677 iconv_const="const"
38681 cat >>confdefs.h <<_ACEOF
38682 #define ICONV_CONST $iconv_const
38687 if test "$am_cv_lib_iconv" = yes; then
38692 LIBS="$LIBICONV $LIBS"
38694 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38696 for ac_func in sigaction
38698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38702 echo $ECHO_N "(cached) $ECHO_C" >&6
38704 cat >conftest.$ac_ext <<_ACEOF
38707 cat confdefs.h >>conftest.$ac_ext
38708 cat >>conftest.$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38712 #define $ac_func innocuous_$ac_func
38714 /* System header to define __stub macros and hopefully few prototypes,
38715 which can conflict with char $ac_func (); below.
38716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38717 <limits.h> exists even on freestanding compilers. */
38720 # include <limits.h>
38722 # include <assert.h>
38727 /* Override any GCC internal prototype to avoid an error.
38728 Use char because int might match the return type of a GCC
38729 builtin and then its argument prototype would still apply. */
38734 /* The GNU C library defines this for functions which it implements
38735 to always fail with ENOSYS. Some functions are actually named
38736 something starting with __ and the normal name is an alias. */
38737 #if defined __stub_$ac_func || defined __stub___$ac_func
38744 return $ac_func ();
38749 rm -f conftest.$ac_objext conftest$ac_exeext
38750 if { (ac_try="$ac_link"
38751 case "(($ac_try" in
38752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38753 *) ac_try_echo
=$ac_try;;
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_link") 2>conftest.er1
38758 grep -v '^ *+' conftest.er1
>conftest.err
38760 cat conftest.err
>&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); } && {
38763 test -z "$ac_c_werror_flag" ||
38764 test ! -s conftest.err
38765 } && test -s conftest
$ac_exeext &&
38766 $as_test_x conftest
$ac_exeext; then
38767 eval "$as_ac_var=yes"
38769 echo "$as_me: failed program was:" >&5
38770 sed 's/^/| /' conftest.
$ac_ext >&5
38772 eval "$as_ac_var=no"
38775 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38776 conftest
$ac_exeext conftest.
$ac_ext
38778 ac_res
=`eval echo '${'$as_ac_var'}'`
38779 { echo "$as_me:$LINENO: result: $ac_res" >&5
38780 echo "${ECHO_T}$ac_res" >&6; }
38781 if test `eval echo '${'$as_ac_var'}'` = yes; then
38782 cat >>confdefs.h
<<_ACEOF
38783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38790 if test "$ac_cv_func_sigaction" = "no"; then
38791 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38792 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38793 wxUSE_ON_FATAL_EXCEPTION
=no
38796 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38797 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38798 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38799 if test "${wx_cv_type_sa_handler+set}" = set; then
38800 echo $ECHO_N "(cached) $ECHO_C" >&6
38804 ac_cpp
='$CXXCPP $CPPFLAGS'
38805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38809 cat >conftest.
$ac_ext <<_ACEOF
38812 cat confdefs.h
>>conftest.
$ac_ext
38813 cat >>conftest.
$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815 #include <signal.h>
38820 extern void testSigHandler(int);
38822 struct sigaction sa;
38823 sa.sa_handler = testSigHandler;
38829 rm -f conftest.
$ac_objext
38830 if { (ac_try
="$ac_compile"
38831 case "(($ac_try" in
38832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38833 *) ac_try_echo=$ac_try;;
38835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38836 (eval "$ac_compile") 2>conftest.er1
38838 grep -v '^ *+' conftest.er1 >conftest.err
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } && {
38843 test -z "$ac_cxx_werror_flag" ||
38844 test ! -s conftest.err
38845 } && test -s conftest.$ac_objext; then
38847 wx_cv_type_sa_handler=int
38850 echo "$as_me: failed program was:" >&5
38851 sed 's/^/| /' conftest.$ac_ext >&5
38854 wx_cv_type_sa_handler=void
38858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38860 ac_cpp='$CPP $CPPFLAGS'
38861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38867 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38868 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38870 cat >>confdefs.h <<_ACEOF
38871 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38877 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38878 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38879 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38880 if test "${wx_cv_func_backtrace+set}" = set; then
38881 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 ac_cpp='$CXXCPP $CPPFLAGS'
38886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38890 cat >conftest.$ac_ext <<_ACEOF
38893 cat confdefs.h >>conftest.$ac_ext
38894 cat >>conftest.$ac_ext <<_ACEOF
38895 /* end confdefs.h. */
38896 #include <execinfo.h>
38904 backtrace(trace, 1);
38905 messages = backtrace_symbols(trace, 1);
38911 rm -f conftest.$ac_objext
38912 if { (ac_try="$ac_compile"
38913 case "(($ac_try" in
38914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38915 *) ac_try_echo
=$ac_try;;
38917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38918 (eval "$ac_compile") 2>conftest.er1
38920 grep -v '^ *+' conftest.er1
>conftest.err
38922 cat conftest.err
>&5
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); } && {
38925 test -z "$ac_cxx_werror_flag" ||
38926 test ! -s conftest.err
38927 } && test -s conftest.
$ac_objext; then
38928 wx_cv_func_backtrace
=yes
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.
$ac_ext >&5
38933 wx_cv_func_backtrace
=no
38937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38939 ac_cpp
='$CPP $CPPFLAGS'
38940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38947 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38948 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38951 if test "$wx_cv_func_backtrace" = "no"; then
38952 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38953 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38954 wxUSE_STACKWALKER
=no
38956 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38957 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38958 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38959 echo $ECHO_N "(cached) $ECHO_C" >&6
38963 ac_cpp
='$CXXCPP $CPPFLAGS'
38964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38968 cat >conftest.
$ac_ext <<_ACEOF
38971 cat confdefs.h
>>conftest.
$ac_ext
38972 cat >>conftest.
$ac_ext <<_ACEOF
38973 /* end confdefs.h. */
38974 #include <cxxabi.h>
38980 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38986 rm -f conftest.
$ac_objext conftest
$ac_exeext
38987 if { (ac_try
="$ac_link"
38988 case "(($ac_try" in
38989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38990 *) ac_try_echo=$ac_try;;
38992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38993 (eval "$ac_link") 2>conftest.er1
38995 grep -v '^ *+' conftest.er1 >conftest.err
38997 cat conftest.err >&5
38998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38999 (exit $ac_status); } && {
39000 test -z "$ac_cxx_werror_flag" ||
39001 test ! -s conftest.err
39002 } && test -s conftest$ac_exeext &&
39003 $as_test_x conftest$ac_exeext; then
39004 wx_cv_func_cxa_demangle=yes
39006 echo "$as_me: failed program was:" >&5
39007 sed 's/^/| /' conftest.$ac_ext >&5
39009 wx_cv_func_cxa_demangle=no
39013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39014 conftest$ac_exeext conftest.$ac_ext
39016 ac_cpp='$CPP $CPPFLAGS'
39017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39024 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39025 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39027 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39028 cat >>confdefs.h <<\_ACEOF
39029 #define HAVE_CXA_DEMANGLE 1
39036 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39037 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39038 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39039 wxUSE_STACKWALKER=no
39045 for ac_func in mkstemp mktemp
39047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39051 echo $ECHO_N "(cached) $ECHO_C" >&6
39053 cat >conftest.$ac_ext <<_ACEOF
39056 cat confdefs.h >>conftest.$ac_ext
39057 cat >>conftest.$ac_ext <<_ACEOF
39058 /* end confdefs.h. */
39059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39061 #define $ac_func innocuous_$ac_func
39063 /* System header to define __stub macros and hopefully few prototypes,
39064 which can conflict with char $ac_func (); below.
39065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39066 <limits.h> exists even on freestanding compilers. */
39069 # include <limits.h>
39071 # include <assert.h>
39076 /* Override any GCC internal prototype to avoid an error.
39077 Use char because int might match the return type of a GCC
39078 builtin and then its argument prototype would still apply. */
39083 /* The GNU C library defines this for functions which it implements
39084 to always fail with ENOSYS. Some functions are actually named
39085 something starting with __ and the normal name is an alias. */
39086 #if defined __stub_$ac_func || defined __stub___$ac_func
39093 return $ac_func ();
39098 rm -f conftest.$ac_objext conftest$ac_exeext
39099 if { (ac_try="$ac_link"
39100 case "(($ac_try" in
39101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39102 *) ac_try_echo
=$ac_try;;
39104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39105 (eval "$ac_link") 2>conftest.er1
39107 grep -v '^ *+' conftest.er1
>conftest.err
39109 cat conftest.err
>&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } && {
39112 test -z "$ac_c_werror_flag" ||
39113 test ! -s conftest.err
39114 } && test -s conftest
$ac_exeext &&
39115 $as_test_x conftest
$ac_exeext; then
39116 eval "$as_ac_var=yes"
39118 echo "$as_me: failed program was:" >&5
39119 sed 's/^/| /' conftest.
$ac_ext >&5
39121 eval "$as_ac_var=no"
39124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39125 conftest
$ac_exeext conftest.
$ac_ext
39127 ac_res
=`eval echo '${'$as_ac_var'}'`
39128 { echo "$as_me:$LINENO: result: $ac_res" >&5
39129 echo "${ECHO_T}$ac_res" >&6; }
39130 if test `eval echo '${'$as_ac_var'}'` = yes; then
39131 cat >>confdefs.h
<<_ACEOF
39132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39139 { echo "$as_me:$LINENO: checking for statfs" >&5
39140 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39141 if test "${wx_cv_func_statfs+set}" = set; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39144 cat >conftest.
$ac_ext <<_ACEOF
39147 cat confdefs.h
>>conftest.
$ac_ext
39148 cat >>conftest.
$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39151 #if defined(__BSD__)
39152 #include <sys/param.h>
39153 #include <sys/mount.h>
39155 #include <sys/vfs.h>
39173 rm -f conftest.
$ac_objext
39174 if { (ac_try
="$ac_compile"
39175 case "(($ac_try" in
39176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39177 *) ac_try_echo=$ac_try;;
39179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39180 (eval "$ac_compile") 2>conftest.er1
39182 grep -v '^ *+' conftest.er1 >conftest.err
39184 cat conftest.err >&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); } && {
39187 test -z "$ac_c_werror_flag" ||
39188 test ! -s conftest.err
39189 } && test -s conftest.$ac_objext; then
39190 wx_cv_func_statfs=yes
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39195 wx_cv_func_statfs=no
39199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39202 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39203 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39205 if test "$wx_cv_func_statfs" = "yes"; then
39206 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39207 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39208 if test "${wx_cv_func_statfs_decl+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 ac_cpp='$CXXCPP $CPPFLAGS'
39213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39217 cat >conftest.$ac_ext <<_ACEOF
39220 cat confdefs.h >>conftest.$ac_ext
39221 cat >>conftest.$ac_ext <<_ACEOF
39222 /* end confdefs.h. */
39224 #if defined(__BSD__)
39225 #include <sys/param.h>
39226 #include <sys/mount.h>
39228 #include <sys/vfs.h>
39242 rm -f conftest.$ac_objext
39243 if { (ac_try="$ac_compile"
39244 case "(($ac_try" in
39245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39246 *) ac_try_echo
=$ac_try;;
39248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39249 (eval "$ac_compile") 2>conftest.er1
39251 grep -v '^ *+' conftest.er1
>conftest.err
39253 cat conftest.err
>&5
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); } && {
39256 test -z "$ac_cxx_werror_flag" ||
39257 test ! -s conftest.err
39258 } && test -s conftest.
$ac_objext; then
39259 wx_cv_func_statfs_decl
=yes
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.
$ac_ext >&5
39264 wx_cv_func_statfs_decl
=no
39268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39270 ac_cpp
='$CPP $CPPFLAGS'
39271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39277 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39278 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39280 if test "$wx_cv_func_statfs_decl" = "yes"; then
39281 cat >>confdefs.h
<<\_ACEOF
39282 #define HAVE_STATFS_DECL 1
39287 wx_cv_type_statvfs_t
="struct statfs"
39288 cat >>confdefs.h
<<\_ACEOF
39289 #define HAVE_STATFS 1
39293 { echo "$as_me:$LINENO: checking for statvfs" >&5
39294 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39295 if test "${wx_cv_func_statvfs+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 cat >conftest.
$ac_ext <<_ACEOF
39301 cat confdefs.h
>>conftest.
$ac_ext
39302 cat >>conftest.
$ac_ext <<_ACEOF
39303 /* end confdefs.h. */
39305 #include <stddef.h>
39306 #include <sys/statvfs.h>
39312 statvfs("/", NULL);
39318 rm -f conftest.
$ac_objext
39319 if { (ac_try
="$ac_compile"
39320 case "(($ac_try" in
39321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39322 *) ac_try_echo=$ac_try;;
39324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39325 (eval "$ac_compile") 2>conftest.er1
39327 grep -v '^ *+' conftest.er1 >conftest.err
39329 cat conftest.err >&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } && {
39332 test -z "$ac_c_werror_flag" ||
39333 test ! -s conftest.err
39334 } && test -s conftest.$ac_objext; then
39335 wx_cv_func_statvfs=yes
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39340 wx_cv_func_statvfs=no
39344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39348 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39350 if test "$wx_cv_func_statvfs" = "yes"; then
39351 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39352 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39353 if test "${wx_cv_type_statvfs_t+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39362 cat >conftest.$ac_ext <<_ACEOF
39365 cat confdefs.h >>conftest.$ac_ext
39366 cat >>conftest.$ac_ext <<_ACEOF
39367 /* end confdefs.h. */
39369 #include <sys/statvfs.h>
39386 rm -f conftest.$ac_objext
39387 if { (ac_try="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39390 *) ac_try_echo
=$ac_try;;
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39395 grep -v '^ *+' conftest.er1
>conftest.err
39397 cat conftest.err
>&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_cxx_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.
$ac_objext; then
39403 wx_cv_type_statvfs_t
=statvfs_t
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.
$ac_ext >&5
39409 cat >conftest.
$ac_ext <<_ACEOF
39412 cat confdefs.h
>>conftest.
$ac_ext
39413 cat >>conftest.
$ac_ext <<_ACEOF
39414 /* end confdefs.h. */
39416 #include <sys/statvfs.h>
39433 rm -f conftest.
$ac_objext
39434 if { (ac_try
="$ac_compile"
39435 case "(($ac_try" in
39436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39437 *) ac_try_echo=$ac_try;;
39439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39440 (eval "$ac_compile") 2>conftest.er1
39442 grep -v '^ *+' conftest.er1 >conftest.err
39444 cat conftest.err >&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } && {
39447 test -z "$ac_cxx_werror_flag" ||
39448 test ! -s conftest.err
39449 } && test -s conftest.$ac_objext; then
39450 wx_cv_type_statvfs_t="struct statvfs"
39452 echo "$as_me: failed program was:" >&5
39453 sed 's/^/| /' conftest.$ac_ext >&5
39455 wx_cv_type_statvfs_t="unknown"
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39466 ac_cpp='$CPP $CPPFLAGS'
39467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39474 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39476 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39477 cat >>confdefs.h <<\_ACEOF
39478 #define HAVE_STATVFS 1
39483 wx_cv_type_statvfs_t="unknown"
39487 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39488 cat >>confdefs.h <<_ACEOF
39489 #define WX_STATFS_T $wx_cv_type_statvfs_t
39493 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39494 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39497 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39500 for ac_func in fcntl flock
39502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39506 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 cat >conftest.$ac_ext <<_ACEOF
39511 cat confdefs.h >>conftest.$ac_ext
39512 cat >>conftest.$ac_ext <<_ACEOF
39513 /* end confdefs.h. */
39514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39516 #define $ac_func innocuous_$ac_func
39518 /* System header to define __stub macros and hopefully few prototypes,
39519 which can conflict with char $ac_func (); below.
39520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39521 <limits.h> exists even on freestanding compilers. */
39524 # include <limits.h>
39526 # include <assert.h>
39531 /* Override any GCC internal prototype to avoid an error.
39532 Use char because int might match the return type of a GCC
39533 builtin and then its argument prototype would still apply. */
39538 /* The GNU C library defines this for functions which it implements
39539 to always fail with ENOSYS. Some functions are actually named
39540 something starting with __ and the normal name is an alias. */
39541 #if defined __stub_$ac_func || defined __stub___$ac_func
39548 return $ac_func ();
39553 rm -f conftest.$ac_objext conftest$ac_exeext
39554 if { (ac_try="$ac_link"
39555 case "(($ac_try" in
39556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39557 *) ac_try_echo
=$ac_try;;
39559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39560 (eval "$ac_link") 2>conftest.er1
39562 grep -v '^ *+' conftest.er1
>conftest.err
39564 cat conftest.err
>&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } && {
39567 test -z "$ac_c_werror_flag" ||
39568 test ! -s conftest.err
39569 } && test -s conftest
$ac_exeext &&
39570 $as_test_x conftest
$ac_exeext; then
39571 eval "$as_ac_var=yes"
39573 echo "$as_me: failed program was:" >&5
39574 sed 's/^/| /' conftest.
$ac_ext >&5
39576 eval "$as_ac_var=no"
39579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39580 conftest
$ac_exeext conftest.
$ac_ext
39582 ac_res
=`eval echo '${'$as_ac_var'}'`
39583 { echo "$as_me:$LINENO: result: $ac_res" >&5
39584 echo "${ECHO_T}$ac_res" >&6; }
39585 if test `eval echo '${'$as_ac_var'}'` = yes; then
39586 cat >>confdefs.h
<<_ACEOF
39587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39594 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39595 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39596 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39597 wxUSE_SNGLINST_CHECKER
=no
39603 for ac_func
in setenv putenv
39605 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39608 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39611 cat >conftest.
$ac_ext <<_ACEOF
39614 cat confdefs.h
>>conftest.
$ac_ext
39615 cat >>conftest.
$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39619 #define $ac_func innocuous_$ac_func
39621 /* System header to define __stub macros and hopefully few prototypes,
39622 which can conflict with char $ac_func (); below.
39623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624 <limits.h> exists even on freestanding compilers. */
39627 # include <limits.h>
39629 # include <assert.h>
39634 /* Override any GCC internal prototype to avoid an error.
39635 Use char because int might match the return type of a GCC
39636 builtin and then its argument prototype would still apply. */
39641 /* The GNU C library defines this for functions which it implements
39642 to always fail with ENOSYS. Some functions are actually named
39643 something starting with __ and the normal name is an alias. */
39644 #if defined __stub_$ac_func || defined __stub___$ac_func
39651 return $ac_func ();
39656 rm -f conftest.
$ac_objext conftest
$ac_exeext
39657 if { (ac_try
="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39665 grep -v '^ *+' conftest.er1 >conftest.err
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest$ac_exeext &&
39673 $as_test_x conftest$ac_exeext; then
39674 eval "$as_ac_var=yes"
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39679 eval "$as_ac_var=no"
39682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39683 conftest$ac_exeext conftest.$ac_ext
39685 ac_res=`eval echo '${'$as_ac_var'}'`
39686 { echo "$as_me:$LINENO: result: $ac_res" >&5
39687 echo "${ECHO_T}$ac_res" >&6; }
39688 if test `eval echo '${'$as_ac_var'}'` = yes; then
39689 cat >>confdefs.h <<_ACEOF
39690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39696 if test "$ac_cv_func_setenv" = "yes"; then
39698 for ac_func in unsetenv
39700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39704 echo $ECHO_N "(cached) $ECHO_C" >&6
39706 cat >conftest.$ac_ext <<_ACEOF
39709 cat confdefs.h >>conftest.$ac_ext
39710 cat >>conftest.$ac_ext <<_ACEOF
39711 /* end confdefs.h. */
39712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39714 #define $ac_func innocuous_$ac_func
39716 /* System header to define __stub macros and hopefully few prototypes,
39717 which can conflict with char $ac_func (); below.
39718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39719 <limits.h> exists even on freestanding compilers. */
39722 # include <limits.h>
39724 # include <assert.h>
39729 /* Override any GCC internal prototype to avoid an error.
39730 Use char because int might match the return type of a GCC
39731 builtin and then its argument prototype would still apply. */
39736 /* The GNU C library defines this for functions which it implements
39737 to always fail with ENOSYS. Some functions are actually named
39738 something starting with __ and the normal name is an alias. */
39739 #if defined __stub_$ac_func || defined __stub___$ac_func
39746 return $ac_func ();
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (ac_try="$ac_link"
39753 case "(($ac_try" in
39754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39755 *) ac_try_echo
=$ac_try;;
39757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39758 (eval "$ac_link") 2>conftest.er1
39760 grep -v '^ *+' conftest.er1
>conftest.err
39762 cat conftest.err
>&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); } && {
39765 test -z "$ac_c_werror_flag" ||
39766 test ! -s conftest.err
39767 } && test -s conftest
$ac_exeext &&
39768 $as_test_x conftest
$ac_exeext; then
39769 eval "$as_ac_var=yes"
39771 echo "$as_me: failed program was:" >&5
39772 sed 's/^/| /' conftest.
$ac_ext >&5
39774 eval "$as_ac_var=no"
39777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39778 conftest
$ac_exeext conftest.
$ac_ext
39780 ac_res
=`eval echo '${'$as_ac_var'}'`
39781 { echo "$as_me:$LINENO: result: $ac_res" >&5
39782 echo "${ECHO_T}$ac_res" >&6; }
39783 if test `eval echo '${'$as_ac_var'}'` = yes; then
39784 cat >>confdefs.h
<<_ACEOF
39785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39793 HAVE_SOME_SLEEP_FUNC
=0
39794 if test "$USE_BEOS" = 1; then
39795 cat >>confdefs.h
<<\_ACEOF
39796 #define HAVE_SLEEP 1
39799 HAVE_SOME_SLEEP_FUNC
=1
39802 if test "$USE_DARWIN" = 1; then
39803 cat >>confdefs.h
<<\_ACEOF
39804 #define HAVE_USLEEP 1
39807 HAVE_SOME_SLEEP_FUNC
=1
39810 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39813 for ac_func
in nanosleep
39815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39818 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39819 echo $ECHO_N "(cached) $ECHO_C" >&6
39821 cat >conftest.
$ac_ext <<_ACEOF
39824 cat confdefs.h
>>conftest.
$ac_ext
39825 cat >>conftest.
$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39829 #define $ac_func innocuous_$ac_func
39831 /* System header to define __stub macros and hopefully few prototypes,
39832 which can conflict with char $ac_func (); below.
39833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39834 <limits.h> exists even on freestanding compilers. */
39837 # include <limits.h>
39839 # include <assert.h>
39844 /* Override any GCC internal prototype to avoid an error.
39845 Use char because int might match the return type of a GCC
39846 builtin and then its argument prototype would still apply. */
39851 /* The GNU C library defines this for functions which it implements
39852 to always fail with ENOSYS. Some functions are actually named
39853 something starting with __ and the normal name is an alias. */
39854 #if defined __stub_$ac_func || defined __stub___$ac_func
39861 return $ac_func ();
39866 rm -f conftest.
$ac_objext conftest
$ac_exeext
39867 if { (ac_try
="$ac_link"
39868 case "(($ac_try" in
39869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39870 *) ac_try_echo=$ac_try;;
39872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39873 (eval "$ac_link") 2>conftest.er1
39875 grep -v '^ *+' conftest.er1 >conftest.err
39877 cat conftest.err >&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); } && {
39880 test -z "$ac_c_werror_flag" ||
39881 test ! -s conftest.err
39882 } && test -s conftest$ac_exeext &&
39883 $as_test_x conftest$ac_exeext; then
39884 eval "$as_ac_var=yes"
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39889 eval "$as_ac_var=no"
39892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39893 conftest$ac_exeext conftest.$ac_ext
39895 ac_res=`eval echo '${'$as_ac_var'}'`
39896 { echo "$as_me:$LINENO: result: $ac_res" >&5
39897 echo "${ECHO_T}$ac_res" >&6; }
39898 if test `eval echo '${'$as_ac_var'}'` = yes; then
39899 cat >>confdefs.h <<_ACEOF
39900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39902 cat >>confdefs.h <<\_ACEOF
39903 #define HAVE_NANOSLEEP 1
39908 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39909 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39910 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39913 ac_check_lib_save_LIBS=$LIBS
39914 LIBS="-lposix4 $LIBS"
39915 cat >conftest.$ac_ext <<_ACEOF
39918 cat confdefs.h >>conftest.$ac_ext
39919 cat >>conftest.$ac_ext <<_ACEOF
39920 /* end confdefs.h. */
39922 /* Override any GCC internal prototype to avoid an error.
39923 Use char because int might match the return type of a GCC
39924 builtin and then its argument prototype would still apply. */
39932 return nanosleep ();
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (ac_try="$ac_link"
39939 case "(($ac_try" in
39940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39941 *) ac_try_echo
=$ac_try;;
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_link") 2>conftest.er1
39946 grep -v '^ *+' conftest.er1
>conftest.err
39948 cat conftest.err
>&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } && {
39951 test -z "$ac_c_werror_flag" ||
39952 test ! -s conftest.err
39953 } && test -s conftest
$ac_exeext &&
39954 $as_test_x conftest
$ac_exeext; then
39955 ac_cv_lib_posix4_nanosleep
=yes
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.
$ac_ext >&5
39960 ac_cv_lib_posix4_nanosleep
=no
39963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39964 conftest
$ac_exeext conftest.
$ac_ext
39965 LIBS
=$ac_check_lib_save_LIBS
39967 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39968 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39969 if test $ac_cv_lib_posix4_nanosleep = yes; then
39971 cat >>confdefs.h
<<\_ACEOF
39972 #define HAVE_NANOSLEEP 1
39975 POSIX4_LINK
=" -lposix4"
39980 for wx_func
in usleep
39982 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39983 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39984 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39985 echo $ECHO_N "(cached) $ECHO_C" >&6
39988 cat >conftest.
$ac_ext <<_ACEOF
39992 cat confdefs.h
>>conftest.
$ac_ext
39993 cat >>conftest.
$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39997 $ac_includes_default
40013 rm -f conftest.
$ac_objext conftest
$ac_exeext
40014 if { (ac_try
="$ac_link"
40015 case "(($ac_try" in
40016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_link") 2>conftest.er1
40022 grep -v '^ *+' conftest.er1 >conftest.err
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } && {
40027 test -z "$ac_c_werror_flag" ||
40028 test ! -s conftest.err
40029 } && test -s conftest$ac_exeext &&
40030 $as_test_x conftest$ac_exeext; then
40031 eval wx_cv_func_$wx_func=yes
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40036 eval wx_cv_func_$wx_func=no
40039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40040 conftest$ac_exeext conftest.$ac_ext
40043 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40044 { echo "$as_me:$LINENO: result: $ac_res" >&5
40045 echo "${ECHO_T}$ac_res" >&6; }
40047 if eval test \$wx_cv_func_$wx_func = yes
40049 cat >>confdefs.h <<_ACEOF
40050 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40056 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40057 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40074 for wx_func in uname
40076 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40077 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40078 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40079 echo $ECHO_N "(cached) $ECHO_C" >&6
40082 cat >conftest.$ac_ext <<_ACEOF
40086 cat confdefs.h >>conftest.$ac_ext
40087 cat >>conftest.$ac_ext <<_ACEOF
40088 /* end confdefs.h. */
40090 #include <sys/utsname.h>
40091 $ac_includes_default
40107 rm -f conftest.$ac_objext conftest$ac_exeext
40108 if { (ac_try="$ac_link"
40109 case "(($ac_try" in
40110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40111 *) ac_try_echo
=$ac_try;;
40113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40114 (eval "$ac_link") 2>conftest.er1
40116 grep -v '^ *+' conftest.er1
>conftest.err
40118 cat conftest.err
>&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); } && {
40121 test -z "$ac_c_werror_flag" ||
40122 test ! -s conftest.err
40123 } && test -s conftest
$ac_exeext &&
40124 $as_test_x conftest
$ac_exeext; then
40125 eval wx_cv_func_
$wx_func=yes
40127 echo "$as_me: failed program was:" >&5
40128 sed 's/^/| /' conftest.
$ac_ext >&5
40130 eval wx_cv_func_
$wx_func=no
40133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40134 conftest
$ac_exeext conftest.
$ac_ext
40137 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40138 { echo "$as_me:$LINENO: result: $ac_res" >&5
40139 echo "${ECHO_T}$ac_res" >&6; }
40141 if eval test \
$wx_cv_func_$wx_func = yes
40143 cat >>confdefs.h
<<_ACEOF
40144 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40154 if test "$wx_cv_func_uname" != yes; then
40156 for wx_func
in gethostname
40158 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40159 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40160 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40161 echo $ECHO_N "(cached) $ECHO_C" >&6
40164 cat >conftest.
$ac_ext <<_ACEOF
40168 cat confdefs.h
>>conftest.
$ac_ext
40169 cat >>conftest.
$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40173 $ac_includes_default
40189 rm -f conftest.
$ac_objext conftest
$ac_exeext
40190 if { (ac_try
="$ac_link"
40191 case "(($ac_try" in
40192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40193 *) ac_try_echo=$ac_try;;
40195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40196 (eval "$ac_link") 2>conftest.er1
40198 grep -v '^ *+' conftest.er1 >conftest.err
40200 cat conftest.err >&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } && {
40203 test -z "$ac_c_werror_flag" ||
40204 test ! -s conftest.err
40205 } && test -s conftest$ac_exeext &&
40206 $as_test_x conftest$ac_exeext; then
40207 eval wx_cv_func_$wx_func=yes
40209 echo "$as_me: failed program was:" >&5
40210 sed 's/^/| /' conftest.$ac_ext >&5
40212 eval wx_cv_func_$wx_func=no
40215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40216 conftest$ac_exeext conftest.$ac_ext
40219 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40220 { echo "$as_me:$LINENO: result: $ac_res" >&5
40221 echo "${ECHO_T}$ac_res" >&6; }
40223 if eval test \$wx_cv_func_$wx_func = yes
40225 cat >>confdefs.h <<_ACEOF
40226 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40239 for wx_func in strtok_r
40241 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40242 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40243 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40244 echo $ECHO_N "(cached) $ECHO_C" >&6
40247 cat >conftest.$ac_ext <<_ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40256 $ac_includes_default
40272 rm -f conftest.$ac_objext conftest$ac_exeext
40273 if { (ac_try="$ac_link"
40274 case "(($ac_try" in
40275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40276 *) ac_try_echo
=$ac_try;;
40278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40279 (eval "$ac_link") 2>conftest.er1
40281 grep -v '^ *+' conftest.er1
>conftest.err
40283 cat conftest.err
>&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); } && {
40286 test -z "$ac_c_werror_flag" ||
40287 test ! -s conftest.err
40288 } && test -s conftest
$ac_exeext &&
40289 $as_test_x conftest
$ac_exeext; then
40290 eval wx_cv_func_
$wx_func=yes
40292 echo "$as_me: failed program was:" >&5
40293 sed 's/^/| /' conftest.
$ac_ext >&5
40295 eval wx_cv_func_
$wx_func=no
40298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40299 conftest
$ac_exeext conftest.
$ac_ext
40302 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40303 { echo "$as_me:$LINENO: result: $ac_res" >&5
40304 echo "${ECHO_T}$ac_res" >&6; }
40306 if eval test \
$wx_cv_func_$wx_func = yes
40308 cat >>confdefs.h
<<_ACEOF
40309 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40322 for ac_func
in inet_addr
40324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40327 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40330 cat >conftest.
$ac_ext <<_ACEOF
40333 cat confdefs.h
>>conftest.
$ac_ext
40334 cat >>conftest.
$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40338 #define $ac_func innocuous_$ac_func
40340 /* System header to define __stub macros and hopefully few prototypes,
40341 which can conflict with char $ac_func (); below.
40342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40343 <limits.h> exists even on freestanding compilers. */
40346 # include <limits.h>
40348 # include <assert.h>
40353 /* Override any GCC internal prototype to avoid an error.
40354 Use char because int might match the return type of a GCC
40355 builtin and then its argument prototype would still apply. */
40360 /* The GNU C library defines this for functions which it implements
40361 to always fail with ENOSYS. Some functions are actually named
40362 something starting with __ and the normal name is an alias. */
40363 #if defined __stub_$ac_func || defined __stub___$ac_func
40370 return $ac_func ();
40375 rm -f conftest.
$ac_objext conftest
$ac_exeext
40376 if { (ac_try
="$ac_link"
40377 case "(($ac_try" in
40378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_link") 2>conftest.er1
40384 grep -v '^ *+' conftest.er1 >conftest.err
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_c_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest$ac_exeext &&
40392 $as_test_x conftest$ac_exeext; then
40393 eval "$as_ac_var=yes"
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40398 eval "$as_ac_var=no"
40401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40402 conftest$ac_exeext conftest.$ac_ext
40404 ac_res=`eval echo '${'$as_ac_var'}'`
40405 { echo "$as_me:$LINENO: result: $ac_res" >&5
40406 echo "${ECHO_T}$ac_res" >&6; }
40407 if test `eval echo '${'$as_ac_var'}'` = yes; then
40408 cat >>confdefs.h <<_ACEOF
40409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40411 cat >>confdefs.h <<\_ACEOF
40412 #define HAVE_INET_ADDR 1
40417 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40418 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40419 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40420 echo $ECHO_N "(cached) $ECHO_C" >&6
40422 ac_check_lib_save_LIBS=$LIBS
40424 cat >conftest.$ac_ext <<_ACEOF
40427 cat confdefs.h >>conftest.$ac_ext
40428 cat >>conftest.$ac_ext <<_ACEOF
40429 /* end confdefs.h. */
40431 /* Override any GCC internal prototype to avoid an error.
40432 Use char because int might match the return type of a GCC
40433 builtin and then its argument prototype would still apply. */
40441 return inet_addr ();
40446 rm -f conftest.$ac_objext conftest$ac_exeext
40447 if { (ac_try="$ac_link"
40448 case "(($ac_try" in
40449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40450 *) ac_try_echo
=$ac_try;;
40452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40453 (eval "$ac_link") 2>conftest.er1
40455 grep -v '^ *+' conftest.er1
>conftest.err
40457 cat conftest.err
>&5
40458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459 (exit $ac_status); } && {
40460 test -z "$ac_c_werror_flag" ||
40461 test ! -s conftest.err
40462 } && test -s conftest
$ac_exeext &&
40463 $as_test_x conftest
$ac_exeext; then
40464 ac_cv_lib_nsl_inet_addr
=yes
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.
$ac_ext >&5
40469 ac_cv_lib_nsl_inet_addr
=no
40472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40473 conftest
$ac_exeext conftest.
$ac_ext
40474 LIBS
=$ac_check_lib_save_LIBS
40476 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40477 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40478 if test $ac_cv_lib_nsl_inet_addr = yes; then
40482 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40483 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40484 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40485 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 ac_check_lib_save_LIBS
=$LIBS
40488 LIBS
="-lresolv $LIBS"
40489 cat >conftest.
$ac_ext <<_ACEOF
40492 cat confdefs.h
>>conftest.
$ac_ext
40493 cat >>conftest.
$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40496 /* Override any GCC internal prototype to avoid an error.
40497 Use char because int might match the return type of a GCC
40498 builtin and then its argument prototype would still apply. */
40506 return inet_addr ();
40511 rm -f conftest.
$ac_objext conftest
$ac_exeext
40512 if { (ac_try
="$ac_link"
40513 case "(($ac_try" in
40514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40515 *) ac_try_echo=$ac_try;;
40517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40518 (eval "$ac_link") 2>conftest.er1
40520 grep -v '^ *+' conftest.er1 >conftest.err
40522 cat conftest.err >&5
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); } && {
40525 test -z "$ac_c_werror_flag" ||
40526 test ! -s conftest.err
40527 } && test -s conftest$ac_exeext &&
40528 $as_test_x conftest$ac_exeext; then
40529 ac_cv_lib_resolv_inet_addr=yes
40531 echo "$as_me: failed program was:" >&5
40532 sed 's/^/| /' conftest.$ac_ext >&5
40534 ac_cv_lib_resolv_inet_addr=no
40537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40538 conftest$ac_exeext conftest.$ac_ext
40539 LIBS=$ac_check_lib_save_LIBS
40541 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40542 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40543 if test $ac_cv_lib_resolv_inet_addr = yes; then
40547 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40548 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40549 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40550 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 ac_check_lib_save_LIBS=$LIBS
40553 LIBS="-lsocket $LIBS"
40554 cat >conftest.$ac_ext <<_ACEOF
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h. */
40561 /* Override any GCC internal prototype to avoid an error.
40562 Use char because int might match the return type of a GCC
40563 builtin and then its argument prototype would still apply. */
40571 return inet_addr ();
40576 rm -f conftest.$ac_objext conftest$ac_exeext
40577 if { (ac_try="$ac_link"
40578 case "(($ac_try" in
40579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40580 *) ac_try_echo
=$ac_try;;
40582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40583 (eval "$ac_link") 2>conftest.er1
40585 grep -v '^ *+' conftest.er1
>conftest.err
40587 cat conftest.err
>&5
40588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40589 (exit $ac_status); } && {
40590 test -z "$ac_c_werror_flag" ||
40591 test ! -s conftest.err
40592 } && test -s conftest
$ac_exeext &&
40593 $as_test_x conftest
$ac_exeext; then
40594 ac_cv_lib_socket_inet_addr
=yes
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.
$ac_ext >&5
40599 ac_cv_lib_socket_inet_addr
=no
40602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40603 conftest
$ac_exeext conftest.
$ac_ext
40604 LIBS
=$ac_check_lib_save_LIBS
40606 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40607 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40608 if test $ac_cv_lib_socket_inet_addr = yes; then
40628 for ac_func
in inet_aton
40630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40633 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40636 cat >conftest.
$ac_ext <<_ACEOF
40639 cat confdefs.h
>>conftest.
$ac_ext
40640 cat >>conftest.
$ac_ext <<_ACEOF
40641 /* end confdefs.h. */
40642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40644 #define $ac_func innocuous_$ac_func
40646 /* System header to define __stub macros and hopefully few prototypes,
40647 which can conflict with char $ac_func (); below.
40648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40649 <limits.h> exists even on freestanding compilers. */
40652 # include <limits.h>
40654 # include <assert.h>
40659 /* Override any GCC internal prototype to avoid an error.
40660 Use char because int might match the return type of a GCC
40661 builtin and then its argument prototype would still apply. */
40666 /* The GNU C library defines this for functions which it implements
40667 to always fail with ENOSYS. Some functions are actually named
40668 something starting with __ and the normal name is an alias. */
40669 #if defined __stub_$ac_func || defined __stub___$ac_func
40676 return $ac_func ();
40681 rm -f conftest.
$ac_objext conftest
$ac_exeext
40682 if { (ac_try
="$ac_link"
40683 case "(($ac_try" in
40684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40685 *) ac_try_echo=$ac_try;;
40687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40688 (eval "$ac_link") 2>conftest.er1
40690 grep -v '^ *+' conftest.er1 >conftest.err
40692 cat conftest.err >&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); } && {
40695 test -z "$ac_c_werror_flag" ||
40696 test ! -s conftest.err
40697 } && test -s conftest$ac_exeext &&
40698 $as_test_x conftest$ac_exeext; then
40699 eval "$as_ac_var=yes"
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.$ac_ext >&5
40704 eval "$as_ac_var=no"
40707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40708 conftest$ac_exeext conftest.$ac_ext
40710 ac_res=`eval echo '${'$as_ac_var'}'`
40711 { echo "$as_me:$LINENO: result: $ac_res" >&5
40712 echo "${ECHO_T}$ac_res" >&6; }
40713 if test `eval echo '${'$as_ac_var'}'` = yes; then
40714 cat >>confdefs.h <<_ACEOF
40715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40717 cat >>confdefs.h <<\_ACEOF
40718 #define HAVE_INET_ATON 1
40723 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40724 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40725 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40726 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40727 echo $ECHO_N "(cached) $ECHO_C" >&6
40729 ac_check_lib_save_LIBS=$LIBS
40730 LIBS="-l$INET_LINK $LIBS"
40731 cat >conftest.$ac_ext <<_ACEOF
40734 cat confdefs.h >>conftest.$ac_ext
40735 cat >>conftest.$ac_ext <<_ACEOF
40736 /* end confdefs.h. */
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. */
40748 return inet_aton ();
40753 rm -f conftest.$ac_objext conftest$ac_exeext
40754 if { (ac_try="$ac_link"
40755 case "(($ac_try" in
40756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40757 *) ac_try_echo
=$ac_try;;
40759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40760 (eval "$ac_link") 2>conftest.er1
40762 grep -v '^ *+' conftest.er1
>conftest.err
40764 cat conftest.err
>&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && {
40767 test -z "$ac_c_werror_flag" ||
40768 test ! -s conftest.err
40769 } && test -s conftest
$ac_exeext &&
40770 $as_test_x conftest
$ac_exeext; then
40771 eval "$as_ac_Lib=yes"
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.
$ac_ext >&5
40776 eval "$as_ac_Lib=no"
40779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40780 conftest
$ac_exeext conftest.
$ac_ext
40781 LIBS
=$ac_check_lib_save_LIBS
40783 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40784 { echo "$as_me:$LINENO: result: $ac_res" >&5
40785 echo "${ECHO_T}$ac_res" >&6; }
40786 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40787 cat >>confdefs.h
<<\_ACEOF
40788 #define HAVE_INET_ATON 1
40798 if test "x$INET_LINK" != "x"; then
40799 cat >>confdefs.h
<<\_ACEOF
40800 #define HAVE_INET_ADDR 1
40803 INET_LINK
=" -l$INET_LINK"
40807 for wx_func
in fdopen
40809 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40810 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40811 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40815 cat >conftest.
$ac_ext <<_ACEOF
40819 cat confdefs.h
>>conftest.
$ac_ext
40820 cat >>conftest.
$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40824 $ac_includes_default
40840 rm -f conftest.
$ac_objext conftest
$ac_exeext
40841 if { (ac_try
="$ac_link"
40842 case "(($ac_try" in
40843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40844 *) ac_try_echo=$ac_try;;
40846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40847 (eval "$ac_link") 2>conftest.er1
40849 grep -v '^ *+' conftest.er1 >conftest.err
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } && {
40854 test -z "$ac_c_werror_flag" ||
40855 test ! -s conftest.err
40856 } && test -s conftest$ac_exeext &&
40857 $as_test_x conftest$ac_exeext; then
40858 eval wx_cv_func_$wx_func=yes
40860 echo "$as_me: failed program was:" >&5
40861 sed 's/^/| /' conftest.$ac_ext >&5
40863 eval wx_cv_func_$wx_func=no
40866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40867 conftest$ac_exeext conftest.$ac_ext
40870 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40871 { echo "$as_me:$LINENO: result: $ac_res" >&5
40872 echo "${ECHO_T}$ac_res" >&6; }
40874 if eval test \$wx_cv_func_$wx_func = yes
40876 cat >>confdefs.h <<_ACEOF
40877 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40888 if test "$wxUSE_TARSTREAM" = "yes"; then
40890 for wx_func in sysconf
40892 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40893 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40894 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40895 echo $ECHO_N "(cached) $ECHO_C" >&6
40898 cat >conftest.$ac_ext <<_ACEOF
40902 cat confdefs.h >>conftest.$ac_ext
40903 cat >>conftest.$ac_ext <<_ACEOF
40904 /* end confdefs.h. */
40907 $ac_includes_default
40923 rm -f conftest.$ac_objext conftest$ac_exeext
40924 if { (ac_try="$ac_link"
40925 case "(($ac_try" in
40926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40927 *) ac_try_echo
=$ac_try;;
40929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40930 (eval "$ac_link") 2>conftest.er1
40932 grep -v '^ *+' conftest.er1
>conftest.err
40934 cat conftest.err
>&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); } && {
40937 test -z "$ac_c_werror_flag" ||
40938 test ! -s conftest.err
40939 } && test -s conftest
$ac_exeext &&
40940 $as_test_x conftest
$ac_exeext; then
40941 eval wx_cv_func_
$wx_func=yes
40943 echo "$as_me: failed program was:" >&5
40944 sed 's/^/| /' conftest.
$ac_ext >&5
40946 eval wx_cv_func_
$wx_func=no
40949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40950 conftest
$ac_exeext conftest.
$ac_ext
40953 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40954 { echo "$as_me:$LINENO: result: $ac_res" >&5
40955 echo "${ECHO_T}$ac_res" >&6; }
40957 if eval test \
$wx_cv_func_$wx_func = yes
40959 cat >>confdefs.h
<<_ACEOF
40960 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40972 for wx_func
in getpwuid_r
40974 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40975 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40976 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40977 echo $ECHO_N "(cached) $ECHO_C" >&6
40980 cat >conftest.
$ac_ext <<_ACEOF
40984 cat confdefs.h
>>conftest.
$ac_ext
40985 cat >>conftest.
$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40992 $ac_includes_default
41002 struct passwd pw, *ppw;
41004 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41012 rm -f conftest.
$ac_objext conftest
$ac_exeext
41013 if { (ac_try
="$ac_link"
41014 case "(($ac_try" in
41015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41016 *) ac_try_echo=$ac_try;;
41018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41019 (eval "$ac_link") 2>conftest.er1
41021 grep -v '^ *+' conftest.er1 >conftest.err
41023 cat conftest.err >&5
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); } && {
41026 test -z "$ac_c_werror_flag" ||
41027 test ! -s conftest.err
41028 } && test -s conftest$ac_exeext &&
41029 $as_test_x conftest$ac_exeext; then
41030 eval wx_cv_func_$wx_func=yes
41032 echo "$as_me: failed program was:" >&5
41033 sed 's/^/| /' conftest.$ac_ext >&5
41035 eval wx_cv_func_$wx_func=no
41038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41039 conftest$ac_exeext conftest.$ac_ext
41042 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41043 { echo "$as_me:$LINENO: result: $ac_res" >&5
41044 echo "${ECHO_T}$ac_res" >&6; }
41046 if eval test \$wx_cv_func_$wx_func = yes
41048 cat >>confdefs.h <<_ACEOF
41049 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41061 for wx_func in getgrgid_r
41063 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41064 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41065 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 cat >conftest.$ac_ext <<_ACEOF
41073 cat confdefs.h >>conftest.$ac_ext
41074 cat >>conftest.$ac_ext <<_ACEOF
41075 /* end confdefs.h. */
41081 $ac_includes_default
41091 struct group grp, *pgrp;
41093 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41101 rm -f conftest.$ac_objext conftest$ac_exeext
41102 if { (ac_try="$ac_link"
41103 case "(($ac_try" in
41104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41105 *) ac_try_echo
=$ac_try;;
41107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41108 (eval "$ac_link") 2>conftest.er1
41110 grep -v '^ *+' conftest.er1
>conftest.err
41112 cat conftest.err
>&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } && {
41115 test -z "$ac_c_werror_flag" ||
41116 test ! -s conftest.err
41117 } && test -s conftest
$ac_exeext &&
41118 $as_test_x conftest
$ac_exeext; then
41119 eval wx_cv_func_
$wx_func=yes
41121 echo "$as_me: failed program was:" >&5
41122 sed 's/^/| /' conftest.
$ac_ext >&5
41124 eval wx_cv_func_
$wx_func=no
41127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41128 conftest
$ac_exeext conftest.
$ac_ext
41131 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41132 { echo "$as_me:$LINENO: result: $ac_res" >&5
41133 echo "${ECHO_T}$ac_res" >&6; }
41135 if eval test \
$wx_cv_func_$wx_func = yes
41137 cat >>confdefs.h
<<_ACEOF
41138 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41154 cat >confcache
<<\_ACEOF
41155 # This file is a shell script that caches the results of configure
41156 # tests run on this system so they can be shared between configure
41157 # scripts and configure runs, see configure's option --config-cache.
41158 # It is not useful on other systems. If it contains results you don't
41159 # want to keep, you may remove or edit it.
41161 # config.status only pays attention to the cache file if you give it
41162 # the --recheck option to rerun configure.
41164 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41165 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41166 # following values.
41170 # The following way of writing the cache mishandles newlines in values,
41171 # but we know of no workaround that is simple, portable, and efficient.
41172 # So, we kill variables containing newlines.
41173 # Ultrix sh set writes to stderr and can't be redirected directly,
41174 # and sets the high bit in the cache file unless we assign to the vars.
41176 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41177 eval ac_val
=\$
$ac_var
41181 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41182 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41185 _
| IFS
| as_nl
) ;; #(
41186 *) $as_unset $ac_var ;;
41192 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41193 *${as_nl}ac_space
=\
*)
41194 # `set' does not quote correctly, so add quotes (double-quote
41195 # substitution turns \\\\ into \\, and sed turns \\ into \).
41198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41201 # `set' quotes correctly as required by POSIX, so do not add quotes.
41202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41213 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41215 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41216 if test -w "$cache_file"; then
41217 test "x$cache_file" != "x/dev/null" &&
41218 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41219 echo "$as_me: updating cache $cache_file" >&6;}
41220 cat confcache
>$cache_file
41222 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41223 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41229 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41235 if test "$wxUSE_THREADS" = "yes" ; then
41236 if test "$USE_BEOS" = 1; then
41237 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41238 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41243 if test "$wxUSE_THREADS" = "yes" ; then
41246 THREAD_OPTS
="-pthread"
41247 if test "x$SUNCXX" = xyes
; then
41248 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41252 *-*-solaris2* | *-*-sunos4* )
41253 if test "x$GCC" = "xyes"; then
41254 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41258 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41260 *-*-darwin* | *-*-cygwin* )
41264 THREAD_OPTS
="pthreads"
41267 if test "x$GCC" = "xyes"; then
41268 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41276 if test "x$GCC" = "xyes"; then
41282 if test "x$GCC" != "xyes"; then
41283 THREAD_OPTS
="-Ethread"
41288 THREAD_OPTS
="$THREAD_OPTS pthread none"
41291 for flag
in $THREAD_OPTS; do
41294 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41295 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41299 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41300 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41301 THREADS_CFLAGS
="$flag"
41305 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41306 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41307 THREADS_LINK
="-l$flag"
41312 save_CFLAGS
="$CFLAGS"
41313 LIBS
="$THREADS_LINK $LIBS"
41314 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41316 cat >conftest.
$ac_ext <<_ACEOF
41319 cat confdefs.h
>>conftest.
$ac_ext
41320 cat >>conftest.
$ac_ext <<_ACEOF
41321 /* end confdefs.h. */
41322 #include <pthread.h>
41326 pthread_create(0,0,0,0);
41331 rm -f conftest.
$ac_objext conftest
$ac_exeext
41332 if { (ac_try
="$ac_link"
41333 case "(($ac_try" in
41334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41335 *) ac_try_echo=$ac_try;;
41337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41338 (eval "$ac_link") 2>conftest.er1
41340 grep -v '^ *+' conftest.er1 >conftest.err
41342 cat conftest.err >&5
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); } && {
41345 test -z "$ac_c_werror_flag" ||
41346 test ! -s conftest.err
41347 } && test -s conftest$ac_exeext &&
41348 $as_test_x conftest$ac_exeext; then
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.$ac_ext >&5
41357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41358 conftest$ac_exeext conftest.$ac_ext
41361 CFLAGS="$save_CFLAGS"
41363 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41364 echo "${ECHO_T}$THREADS_OK" >&6; }
41365 if test "x$THREADS_OK" = "xyes"; then
41373 if test "x$THREADS_OK" != "xyes"; then
41375 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41376 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41378 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41379 LIBS="$THREADS_LINK $LIBS"
41381 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41382 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41386 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41387 flag="-D_THREAD_SAFE"
41390 flag="-D_THREAD_SAFE"
41393 flag="-D_REENTRANT"
41394 if test "x$GCC" != "xyes"; then
41395 flag="$flag -D_RWSTD_MULTI_THREAD"
41398 *solaris* | alpha*-osf*)
41399 flag="-D_REENTRANT"
41402 { echo "$as_me:$LINENO: result: ${flag}" >&5
41403 echo "${ECHO_T}${flag}" >&6; }
41404 if test "x$flag" != xno; then
41405 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41408 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41412 if test "$wxUSE_THREADS" = "yes" ; then
41414 for ac_func in thr_setconcurrency
41416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41420 echo $ECHO_N "(cached) $ECHO_C" >&6
41422 cat >conftest.$ac_ext <<_ACEOF
41425 cat confdefs.h >>conftest.$ac_ext
41426 cat >>conftest.$ac_ext <<_ACEOF
41427 /* end confdefs.h. */
41428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41430 #define $ac_func innocuous_$ac_func
41432 /* System header to define __stub macros and hopefully few prototypes,
41433 which can conflict with char $ac_func (); below.
41434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41435 <limits.h> exists even on freestanding compilers. */
41438 # include <limits.h>
41440 # include <assert.h>
41445 /* Override any GCC internal prototype to avoid an error.
41446 Use char because int might match the return type of a GCC
41447 builtin and then its argument prototype would still apply. */
41452 /* The GNU C library defines this for functions which it implements
41453 to always fail with ENOSYS. Some functions are actually named
41454 something starting with __ and the normal name is an alias. */
41455 #if defined __stub_$ac_func || defined __stub___$ac_func
41462 return $ac_func ();
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (ac_try="$ac_link"
41469 case "(($ac_try" in
41470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41471 *) ac_try_echo
=$ac_try;;
41473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41474 (eval "$ac_link") 2>conftest.er1
41476 grep -v '^ *+' conftest.er1
>conftest.err
41478 cat conftest.err
>&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } && {
41481 test -z "$ac_c_werror_flag" ||
41482 test ! -s conftest.err
41483 } && test -s conftest
$ac_exeext &&
41484 $as_test_x conftest
$ac_exeext; then
41485 eval "$as_ac_var=yes"
41487 echo "$as_me: failed program was:" >&5
41488 sed 's/^/| /' conftest.
$ac_ext >&5
41490 eval "$as_ac_var=no"
41493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41494 conftest
$ac_exeext conftest.
$ac_ext
41496 ac_res
=`eval echo '${'$as_ac_var'}'`
41497 { echo "$as_me:$LINENO: result: $ac_res" >&5
41498 echo "${ECHO_T}$ac_res" >&6; }
41499 if test `eval echo '${'$as_ac_var'}'` = yes; then
41500 cat >>confdefs.h
<<_ACEOF
41501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41508 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41509 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41510 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41511 echo $ECHO_N "(cached) $ECHO_C" >&6
41515 ac_cpp
='$CXXCPP $CPPFLAGS'
41516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41520 cat >conftest.
$ac_ext <<_ACEOF
41523 cat confdefs.h
>>conftest.
$ac_ext
41524 cat >>conftest.
$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41526 #include <pthread.h>
41527 void ThreadCleanupFunc(void *p);
41534 pthread_cleanup_push(ThreadCleanupFunc, p);
41535 pthread_cleanup_pop(0);
41541 rm -f conftest.
$ac_objext
41542 if { (ac_try
="$ac_compile"
41543 case "(($ac_try" in
41544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41545 *) ac_try_echo=$ac_try;;
41547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41548 (eval "$ac_compile") 2>conftest.er1
41550 grep -v '^ *+' conftest.er1 >conftest.err
41552 cat conftest.err >&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } && {
41555 test -z "$ac_cxx_werror_flag" ||
41556 test ! -s conftest.err
41557 } && test -s conftest.$ac_objext; then
41559 wx_cv_func_pthread_cleanup=yes
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41566 wx_cv_func_pthread_cleanup=no
41571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 ac_cpp='$CPP $CPPFLAGS'
41574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41580 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41581 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41582 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41583 cat >>confdefs.h <<\_ACEOF
41584 #define wxHAVE_PTHREAD_CLEANUP 1
41590 for ac_header in sched.h
41592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41593 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41596 echo $ECHO_N "(cached) $ECHO_C" >&6
41598 cat >conftest.$ac_ext <<_ACEOF
41601 cat confdefs.h >>conftest.$ac_ext
41602 cat >>conftest.$ac_ext <<_ACEOF
41603 /* end confdefs.h. */
41604 $ac_includes_default
41606 #include <$ac_header>
41608 rm -f conftest.$ac_objext
41609 if { (ac_try="$ac_compile"
41610 case "(($ac_try" in
41611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41612 *) ac_try_echo
=$ac_try;;
41614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41615 (eval "$ac_compile") 2>conftest.er1
41617 grep -v '^ *+' conftest.er1
>conftest.err
41619 cat conftest.err
>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } && {
41622 test -z "$ac_c_werror_flag" ||
41623 test ! -s conftest.err
41624 } && test -s conftest.
$ac_objext; then
41625 eval "$as_ac_Header=yes"
41627 echo "$as_me: failed program was:" >&5
41628 sed 's/^/| /' conftest.
$ac_ext >&5
41630 eval "$as_ac_Header=no"
41633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41635 ac_res
=`eval echo '${'$as_ac_Header'}'`
41636 { echo "$as_me:$LINENO: result: $ac_res" >&5
41637 echo "${ECHO_T}$ac_res" >&6; }
41638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41639 cat >>confdefs.h
<<_ACEOF
41640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41647 if test "$ac_cv_header_sched_h" = "yes"; then
41648 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41649 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41650 if test "${ac_cv_func_sched_yield+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41653 cat >conftest.
$ac_ext <<_ACEOF
41656 cat confdefs.h
>>conftest.
$ac_ext
41657 cat >>conftest.
$ac_ext <<_ACEOF
41658 /* end confdefs.h. */
41659 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41661 #define sched_yield innocuous_sched_yield
41663 /* System header to define __stub macros and hopefully few prototypes,
41664 which can conflict with char sched_yield (); below.
41665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41666 <limits.h> exists even on freestanding compilers. */
41669 # include <limits.h>
41671 # include <assert.h>
41676 /* Override any GCC internal prototype to avoid an error.
41677 Use char because int might match the return type of a GCC
41678 builtin and then its argument prototype would still apply. */
41682 char sched_yield ();
41683 /* The GNU C library defines this for functions which it implements
41684 to always fail with ENOSYS. Some functions are actually named
41685 something starting with __ and the normal name is an alias. */
41686 #if defined __stub_sched_yield || defined __stub___sched_yield
41693 return sched_yield ();
41698 rm -f conftest.
$ac_objext conftest
$ac_exeext
41699 if { (ac_try
="$ac_link"
41700 case "(($ac_try" in
41701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41702 *) ac_try_echo=$ac_try;;
41704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41705 (eval "$ac_link") 2>conftest.er1
41707 grep -v '^ *+' conftest.er1 >conftest.err
41709 cat conftest.err >&5
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); } && {
41712 test -z "$ac_c_werror_flag" ||
41713 test ! -s conftest.err
41714 } && test -s conftest$ac_exeext &&
41715 $as_test_x conftest$ac_exeext; then
41716 ac_cv_func_sched_yield=yes
41718 echo "$as_me: failed program was:" >&5
41719 sed 's/^/| /' conftest.$ac_ext >&5
41721 ac_cv_func_sched_yield=no
41724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41725 conftest$ac_exeext conftest.$ac_ext
41727 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41728 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41729 if test $ac_cv_func_sched_yield = yes; then
41730 cat >>confdefs.h <<\_ACEOF
41731 #define HAVE_SCHED_YIELD 1
41736 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41737 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41738 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41739 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 ac_check_lib_save_LIBS=$LIBS
41742 LIBS="-lposix4 $LIBS"
41743 cat >conftest.$ac_ext <<_ACEOF
41746 cat confdefs.h >>conftest.$ac_ext
41747 cat >>conftest.$ac_ext <<_ACEOF
41748 /* end confdefs.h. */
41750 /* Override any GCC internal prototype to avoid an error.
41751 Use char because int might match the return type of a GCC
41752 builtin and then its argument prototype would still apply. */
41756 char sched_yield ();
41760 return sched_yield ();
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (ac_try="$ac_link"
41767 case "(($ac_try" in
41768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41769 *) ac_try_echo
=$ac_try;;
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772 (eval "$ac_link") 2>conftest.er1
41774 grep -v '^ *+' conftest.er1
>conftest.err
41776 cat conftest.err
>&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } && {
41779 test -z "$ac_c_werror_flag" ||
41780 test ! -s conftest.err
41781 } && test -s conftest
$ac_exeext &&
41782 $as_test_x conftest
$ac_exeext; then
41783 ac_cv_lib_posix4_sched_yield
=yes
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.
$ac_ext >&5
41788 ac_cv_lib_posix4_sched_yield
=no
41791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41792 conftest
$ac_exeext conftest.
$ac_ext
41793 LIBS
=$ac_check_lib_save_LIBS
41795 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41796 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41797 if test $ac_cv_lib_posix4_sched_yield = yes; then
41798 cat >>confdefs.h
<<\_ACEOF
41799 #define HAVE_SCHED_YIELD 1
41801 POSIX4_LINK
=" -lposix4"
41803 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41804 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41815 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41816 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41817 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41818 echo $ECHO_N "(cached) $ECHO_C" >&6
41820 cat >conftest.
$ac_ext <<_ACEOF
41823 cat confdefs.h
>>conftest.
$ac_ext
41824 cat >>conftest.
$ac_ext <<_ACEOF
41825 /* end confdefs.h. */
41826 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41828 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41830 /* System header to define __stub macros and hopefully few prototypes,
41831 which can conflict with char pthread_attr_getschedpolicy (); below.
41832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41833 <limits.h> exists even on freestanding compilers. */
41836 # include <limits.h>
41838 # include <assert.h>
41841 #undef pthread_attr_getschedpolicy
41843 /* Override any GCC internal prototype to avoid an error.
41844 Use char because int might match the return type of a GCC
41845 builtin and then its argument prototype would still apply. */
41849 char pthread_attr_getschedpolicy ();
41850 /* The GNU C library defines this for functions which it implements
41851 to always fail with ENOSYS. Some functions are actually named
41852 something starting with __ and the normal name is an alias. */
41853 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41860 return pthread_attr_getschedpolicy ();
41865 rm -f conftest.
$ac_objext conftest
$ac_exeext
41866 if { (ac_try
="$ac_link"
41867 case "(($ac_try" in
41868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41869 *) ac_try_echo=$ac_try;;
41871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41872 (eval "$ac_link") 2>conftest.er1
41874 grep -v '^ *+' conftest.er1 >conftest.err
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } && {
41879 test -z "$ac_c_werror_flag" ||
41880 test ! -s conftest.err
41881 } && test -s conftest$ac_exeext &&
41882 $as_test_x conftest$ac_exeext; then
41883 ac_cv_func_pthread_attr_getschedpolicy=yes
41885 echo "$as_me: failed program was:" >&5
41886 sed 's/^/| /' conftest.$ac_ext >&5
41888 ac_cv_func_pthread_attr_getschedpolicy=no
41891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41892 conftest$ac_exeext conftest.$ac_ext
41894 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41895 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41896 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41897 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41898 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41899 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 cat >conftest.$ac_ext <<_ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h. */
41908 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41910 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41912 /* System header to define __stub macros and hopefully few prototypes,
41913 which can conflict with char pthread_attr_setschedparam (); below.
41914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41915 <limits.h> exists even on freestanding compilers. */
41918 # include <limits.h>
41920 # include <assert.h>
41923 #undef pthread_attr_setschedparam
41925 /* Override any GCC internal prototype to avoid an error.
41926 Use char because int might match the return type of a GCC
41927 builtin and then its argument prototype would still apply. */
41931 char pthread_attr_setschedparam ();
41932 /* The GNU C library defines this for functions which it implements
41933 to always fail with ENOSYS. Some functions are actually named
41934 something starting with __ and the normal name is an alias. */
41935 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41942 return pthread_attr_setschedparam ();
41947 rm -f conftest.$ac_objext conftest$ac_exeext
41948 if { (ac_try="$ac_link"
41949 case "(($ac_try" in
41950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41951 *) ac_try_echo
=$ac_try;;
41953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41954 (eval "$ac_link") 2>conftest.er1
41956 grep -v '^ *+' conftest.er1
>conftest.err
41958 cat conftest.err
>&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); } && {
41961 test -z "$ac_c_werror_flag" ||
41962 test ! -s conftest.err
41963 } && test -s conftest
$ac_exeext &&
41964 $as_test_x conftest
$ac_exeext; then
41965 ac_cv_func_pthread_attr_setschedparam
=yes
41967 echo "$as_me: failed program was:" >&5
41968 sed 's/^/| /' conftest.
$ac_ext >&5
41970 ac_cv_func_pthread_attr_setschedparam
=no
41973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41974 conftest
$ac_exeext conftest.
$ac_ext
41976 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41977 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41978 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41979 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41980 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41981 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41982 echo $ECHO_N "(cached) $ECHO_C" >&6
41984 cat >conftest.
$ac_ext <<_ACEOF
41987 cat confdefs.h
>>conftest.
$ac_ext
41988 cat >>conftest.
$ac_ext <<_ACEOF
41989 /* end confdefs.h. */
41990 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41992 #define sched_get_priority_max innocuous_sched_get_priority_max
41994 /* System header to define __stub macros and hopefully few prototypes,
41995 which can conflict with char sched_get_priority_max (); below.
41996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41997 <limits.h> exists even on freestanding compilers. */
42000 # include <limits.h>
42002 # include <assert.h>
42005 #undef sched_get_priority_max
42007 /* Override any GCC internal prototype to avoid an error.
42008 Use char because int might match the return type of a GCC
42009 builtin and then its argument prototype would still apply. */
42013 char sched_get_priority_max ();
42014 /* The GNU C library defines this for functions which it implements
42015 to always fail with ENOSYS. Some functions are actually named
42016 something starting with __ and the normal name is an alias. */
42017 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42024 return sched_get_priority_max ();
42029 rm -f conftest.
$ac_objext conftest
$ac_exeext
42030 if { (ac_try
="$ac_link"
42031 case "(($ac_try" in
42032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42033 *) ac_try_echo=$ac_try;;
42035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42036 (eval "$ac_link") 2>conftest.er1
42038 grep -v '^ *+' conftest.er1 >conftest.err
42040 cat conftest.err >&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } && {
42043 test -z "$ac_c_werror_flag" ||
42044 test ! -s conftest.err
42045 } && test -s conftest$ac_exeext &&
42046 $as_test_x conftest$ac_exeext; then
42047 ac_cv_func_sched_get_priority_max=yes
42049 echo "$as_me: failed program was:" >&5
42050 sed 's/^/| /' conftest.$ac_ext >&5
42052 ac_cv_func_sched_get_priority_max=no
42055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42056 conftest$ac_exeext conftest.$ac_ext
42058 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42059 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42060 if test $ac_cv_func_sched_get_priority_max = yes; then
42063 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42064 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42065 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42066 echo $ECHO_N "(cached) $ECHO_C" >&6
42068 ac_check_lib_save_LIBS=$LIBS
42069 LIBS="-lposix4 $LIBS"
42070 cat >conftest.$ac_ext <<_ACEOF
42073 cat confdefs.h >>conftest.$ac_ext
42074 cat >>conftest.$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42077 /* Override any GCC internal prototype to avoid an error.
42078 Use char because int might match the return type of a GCC
42079 builtin and then its argument prototype would still apply. */
42083 char sched_get_priority_max ();
42087 return sched_get_priority_max ();
42092 rm -f conftest.$ac_objext conftest$ac_exeext
42093 if { (ac_try="$ac_link"
42094 case "(($ac_try" in
42095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42096 *) ac_try_echo
=$ac_try;;
42098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42099 (eval "$ac_link") 2>conftest.er1
42101 grep -v '^ *+' conftest.er1
>conftest.err
42103 cat conftest.err
>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); } && {
42106 test -z "$ac_c_werror_flag" ||
42107 test ! -s conftest.err
42108 } && test -s conftest
$ac_exeext &&
42109 $as_test_x conftest
$ac_exeext; then
42110 ac_cv_lib_posix4_sched_get_priority_max
=yes
42112 echo "$as_me: failed program was:" >&5
42113 sed 's/^/| /' conftest.
$ac_ext >&5
42115 ac_cv_lib_posix4_sched_get_priority_max
=no
42118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42119 conftest
$ac_exeext conftest.
$ac_ext
42120 LIBS
=$ac_check_lib_save_LIBS
42122 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42123 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42124 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42127 POSIX4_LINK
=" -lposix4"
42141 if test "$HAVE_PRIOR_FUNCS" = 1; then
42142 cat >>confdefs.h
<<\_ACEOF
42143 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42147 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42148 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42151 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42152 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42153 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42154 echo $ECHO_N "(cached) $ECHO_C" >&6
42156 cat >conftest.
$ac_ext <<_ACEOF
42159 cat confdefs.h
>>conftest.
$ac_ext
42160 cat >>conftest.
$ac_ext <<_ACEOF
42161 /* end confdefs.h. */
42162 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42164 #define pthread_cancel innocuous_pthread_cancel
42166 /* System header to define __stub macros and hopefully few prototypes,
42167 which can conflict with char pthread_cancel (); below.
42168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42169 <limits.h> exists even on freestanding compilers. */
42172 # include <limits.h>
42174 # include <assert.h>
42177 #undef pthread_cancel
42179 /* Override any GCC internal prototype to avoid an error.
42180 Use char because int might match the return type of a GCC
42181 builtin and then its argument prototype would still apply. */
42185 char pthread_cancel ();
42186 /* The GNU C library defines this for functions which it implements
42187 to always fail with ENOSYS. Some functions are actually named
42188 something starting with __ and the normal name is an alias. */
42189 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42196 return pthread_cancel ();
42201 rm -f conftest.
$ac_objext conftest
$ac_exeext
42202 if { (ac_try
="$ac_link"
42203 case "(($ac_try" in
42204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42205 *) ac_try_echo=$ac_try;;
42207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42208 (eval "$ac_link") 2>conftest.er1
42210 grep -v '^ *+' conftest.er1 >conftest.err
42212 cat conftest.err >&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); } && {
42215 test -z "$ac_c_werror_flag" ||
42216 test ! -s conftest.err
42217 } && test -s conftest$ac_exeext &&
42218 $as_test_x conftest$ac_exeext; then
42219 ac_cv_func_pthread_cancel=yes
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.$ac_ext >&5
42224 ac_cv_func_pthread_cancel=no
42227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42228 conftest$ac_exeext conftest.$ac_ext
42230 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42231 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42232 if test $ac_cv_func_pthread_cancel = yes; then
42233 cat >>confdefs.h <<\_ACEOF
42234 #define HAVE_PTHREAD_CANCEL 1
42238 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42239 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42243 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42244 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42245 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42246 echo $ECHO_N "(cached) $ECHO_C" >&6
42248 cat >conftest.$ac_ext <<_ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h. */
42254 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42256 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42258 /* System header to define __stub macros and hopefully few prototypes,
42259 which can conflict with char pthread_mutex_timedlock (); below.
42260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42261 <limits.h> exists even on freestanding compilers. */
42264 # include <limits.h>
42266 # include <assert.h>
42269 #undef pthread_mutex_timedlock
42271 /* Override any GCC internal prototype to avoid an error.
42272 Use char because int might match the return type of a GCC
42273 builtin and then its argument prototype would still apply. */
42277 char pthread_mutex_timedlock ();
42278 /* The GNU C library defines this for functions which it implements
42279 to always fail with ENOSYS. Some functions are actually named
42280 something starting with __ and the normal name is an alias. */
42281 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42288 return pthread_mutex_timedlock ();
42293 rm -f conftest.$ac_objext conftest$ac_exeext
42294 if { (ac_try="$ac_link"
42295 case "(($ac_try" in
42296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42297 *) ac_try_echo
=$ac_try;;
42299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42300 (eval "$ac_link") 2>conftest.er1
42302 grep -v '^ *+' conftest.er1
>conftest.err
42304 cat conftest.err
>&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } && {
42307 test -z "$ac_c_werror_flag" ||
42308 test ! -s conftest.err
42309 } && test -s conftest
$ac_exeext &&
42310 $as_test_x conftest
$ac_exeext; then
42311 ac_cv_func_pthread_mutex_timedlock
=yes
42313 echo "$as_me: failed program was:" >&5
42314 sed 's/^/| /' conftest.
$ac_ext >&5
42316 ac_cv_func_pthread_mutex_timedlock
=no
42319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42320 conftest
$ac_exeext conftest.
$ac_ext
42322 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42323 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42324 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42325 cat >>confdefs.h
<<\_ACEOF
42326 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42330 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42331 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42335 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42336 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42337 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42340 cat >conftest.
$ac_ext <<_ACEOF
42343 cat confdefs.h
>>conftest.
$ac_ext
42344 cat >>conftest.
$ac_ext <<_ACEOF
42345 /* end confdefs.h. */
42346 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42348 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42350 /* System header to define __stub macros and hopefully few prototypes,
42351 which can conflict with char pthread_attr_setstacksize (); below.
42352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42353 <limits.h> exists even on freestanding compilers. */
42356 # include <limits.h>
42358 # include <assert.h>
42361 #undef pthread_attr_setstacksize
42363 /* Override any GCC internal prototype to avoid an error.
42364 Use char because int might match the return type of a GCC
42365 builtin and then its argument prototype would still apply. */
42369 char pthread_attr_setstacksize ();
42370 /* The GNU C library defines this for functions which it implements
42371 to always fail with ENOSYS. Some functions are actually named
42372 something starting with __ and the normal name is an alias. */
42373 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42380 return pthread_attr_setstacksize ();
42385 rm -f conftest.
$ac_objext conftest
$ac_exeext
42386 if { (ac_try
="$ac_link"
42387 case "(($ac_try" in
42388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42389 *) ac_try_echo=$ac_try;;
42391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42392 (eval "$ac_link") 2>conftest.er1
42394 grep -v '^ *+' conftest.er1 >conftest.err
42396 cat conftest.err >&5
42397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398 (exit $ac_status); } && {
42399 test -z "$ac_c_werror_flag" ||
42400 test ! -s conftest.err
42401 } && test -s conftest$ac_exeext &&
42402 $as_test_x conftest$ac_exeext; then
42403 ac_cv_func_pthread_attr_setstacksize=yes
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42408 ac_cv_func_pthread_attr_setstacksize=no
42411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42412 conftest$ac_exeext conftest.$ac_ext
42414 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42415 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42416 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42417 cat >>confdefs.h <<\_ACEOF
42418 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42425 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42426 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42427 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42428 echo $ECHO_N "(cached) $ECHO_C" >&6
42431 cat >conftest.$ac_ext <<_ACEOF
42434 cat confdefs.h >>conftest.$ac_ext
42435 cat >>conftest.$ac_ext <<_ACEOF
42436 /* end confdefs.h. */
42437 #include <pthread.h>
42442 pthread_mutexattr_t attr;
42443 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42449 rm -f conftest.$ac_objext
42450 if { (ac_try="$ac_compile"
42451 case "(($ac_try" in
42452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42453 *) ac_try_echo
=$ac_try;;
42455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42456 (eval "$ac_compile") 2>conftest.er1
42458 grep -v '^ *+' conftest.er1
>conftest.err
42460 cat conftest.err
>&5
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); } && {
42463 test -z "$ac_c_werror_flag" ||
42464 test ! -s conftest.err
42465 } && test -s conftest.
$ac_objext; then
42466 wx_cv_type_pthread_mutexattr_t
=yes
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.
$ac_ext >&5
42471 wx_cv_type_pthread_mutexattr_t
=no
42475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42478 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42479 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42481 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42482 cat >>confdefs.h
<<\_ACEOF
42483 #define HAVE_PTHREAD_MUTEXATTR_T 1
42487 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42488 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42489 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42490 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 cat >conftest.
$ac_ext <<_ACEOF
42496 cat confdefs.h
>>conftest.
$ac_ext
42497 cat >>conftest.
$ac_ext <<_ACEOF
42498 /* end confdefs.h. */
42499 #include <pthread.h>
42504 pthread_mutexattr_t attr;
42505 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42511 rm -f conftest.
$ac_objext
42512 if { (ac_try
="$ac_compile"
42513 case "(($ac_try" in
42514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_compile") 2>conftest.er1
42520 grep -v '^ *+' conftest.er1 >conftest.err
42522 cat conftest.err >&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest.$ac_objext; then
42528 wx_cv_func_pthread_mutexattr_settype_decl=yes
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42533 wx_cv_func_pthread_mutexattr_settype_decl=no
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42541 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42542 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42543 cat >>confdefs.h <<\_ACEOF
42544 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42549 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42550 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42551 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42552 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 cat >conftest.$ac_ext <<_ACEOF
42558 cat confdefs.h >>conftest.$ac_ext
42559 cat >>conftest.$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42561 #include <pthread.h>
42566 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42572 rm -f conftest.$ac_objext
42573 if { (ac_try="$ac_compile"
42574 case "(($ac_try" in
42575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42576 *) ac_try_echo
=$ac_try;;
42578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42579 (eval "$ac_compile") 2>conftest.er1
42581 grep -v '^ *+' conftest.er1
>conftest.err
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_objext; then
42590 wx_cv_type_pthread_rec_mutex_init
=yes
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.
$ac_ext >&5
42597 wx_cv_type_pthread_rec_mutex_init
=no
42602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42605 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42606 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42607 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42608 cat >>confdefs.h
<<\_ACEOF
42609 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42613 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42614 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42620 if test "$wxUSE_THREADS" = "yes" ; then
42623 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42624 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42625 if test "${wx_cv_cflags_mthread+set}" = set; then
42626 echo $ECHO_N "(cached) $ECHO_C" >&6
42629 CFLAGS_OLD
="$CFLAGS"
42630 CFLAGS
="-mthreads $CFLAGS"
42631 cat >conftest.
$ac_ext <<_ACEOF
42634 cat confdefs.h
>>conftest.
$ac_ext
42635 cat >>conftest.
$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42646 rm -f conftest.
$ac_objext
42647 if { (ac_try
="$ac_compile"
42648 case "(($ac_try" in
42649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42650 *) ac_try_echo=$ac_try;;
42652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42653 (eval "$ac_compile") 2>conftest.er1
42655 grep -v '^ *+' conftest.er1 >conftest.err
42657 cat conftest.err >&5
42658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42659 (exit $ac_status); } && {
42660 test -z "$ac_c_werror_flag" ||
42661 test ! -s conftest.err
42662 } && test -s conftest.$ac_objext; then
42663 wx_cv_cflags_mthread=yes
42665 echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42668 wx_cv_cflags_mthread=no
42672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42676 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42677 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42679 if test "$wx_cv_cflags_mthread" = "yes"; then
42680 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42681 LDFLAGS="$LDFLAGS -mthreads"
42683 CFLAGS="$CFLAGS_OLD"
42687 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42688 LDFLAGS="$LDFLAGS -Zmt"
42694 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42695 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42696 if test "${ac_cv_func_localtime_r+set}" = set; then
42697 echo $ECHO_N "(cached) $ECHO_C" >&6
42699 cat >conftest.$ac_ext <<_ACEOF
42702 cat confdefs.h >>conftest.$ac_ext
42703 cat >>conftest.$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42707 #define localtime_r innocuous_localtime_r
42709 /* System header to define __stub macros and hopefully few prototypes,
42710 which can conflict with char localtime_r (); below.
42711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42712 <limits.h> exists even on freestanding compilers. */
42715 # include <limits.h>
42717 # include <assert.h>
42722 /* Override any GCC internal prototype to avoid an error.
42723 Use char because int might match the return type of a GCC
42724 builtin and then its argument prototype would still apply. */
42728 char localtime_r ();
42729 /* The GNU C library defines this for functions which it implements
42730 to always fail with ENOSYS. Some functions are actually named
42731 something starting with __ and the normal name is an alias. */
42732 #if defined __stub_localtime_r || defined __stub___localtime_r
42739 return localtime_r ();
42744 rm -f conftest.$ac_objext conftest$ac_exeext
42745 if { (ac_try="$ac_link"
42746 case "(($ac_try" in
42747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42748 *) ac_try_echo
=$ac_try;;
42750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42751 (eval "$ac_link") 2>conftest.er1
42753 grep -v '^ *+' conftest.er1
>conftest.err
42755 cat conftest.err
>&5
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); } && {
42758 test -z "$ac_c_werror_flag" ||
42759 test ! -s conftest.err
42760 } && test -s conftest
$ac_exeext &&
42761 $as_test_x conftest
$ac_exeext; then
42762 ac_cv_func_localtime_r
=yes
42764 echo "$as_me: failed program was:" >&5
42765 sed 's/^/| /' conftest.
$ac_ext >&5
42767 ac_cv_func_localtime_r
=no
42770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42771 conftest
$ac_exeext conftest.
$ac_ext
42773 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42774 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42775 if test $ac_cv_func_localtime_r = yes; then
42776 cat >>confdefs.h
<<\_ACEOF
42777 #define HAVE_LOCALTIME_R 1
42782 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42783 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42784 if test "${ac_cv_func_gmtime_r+set}" = set; then
42785 echo $ECHO_N "(cached) $ECHO_C" >&6
42787 cat >conftest.
$ac_ext <<_ACEOF
42790 cat confdefs.h
>>conftest.
$ac_ext
42791 cat >>conftest.
$ac_ext <<_ACEOF
42792 /* end confdefs.h. */
42793 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42795 #define gmtime_r innocuous_gmtime_r
42797 /* System header to define __stub macros and hopefully few prototypes,
42798 which can conflict with char gmtime_r (); below.
42799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42800 <limits.h> exists even on freestanding compilers. */
42803 # include <limits.h>
42805 # include <assert.h>
42810 /* Override any GCC internal prototype to avoid an error.
42811 Use char because int might match the return type of a GCC
42812 builtin and then its argument prototype would still apply. */
42817 /* The GNU C library defines this for functions which it implements
42818 to always fail with ENOSYS. Some functions are actually named
42819 something starting with __ and the normal name is an alias. */
42820 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42827 return gmtime_r ();
42832 rm -f conftest.
$ac_objext conftest
$ac_exeext
42833 if { (ac_try
="$ac_link"
42834 case "(($ac_try" in
42835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42836 *) ac_try_echo=$ac_try;;
42838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42839 (eval "$ac_link") 2>conftest.er1
42841 grep -v '^ *+' conftest.er1 >conftest.err
42843 cat conftest.err >&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); } && {
42846 test -z "$ac_c_werror_flag" ||
42847 test ! -s conftest.err
42848 } && test -s conftest$ac_exeext &&
42849 $as_test_x conftest$ac_exeext; then
42850 ac_cv_func_gmtime_r=yes
42852 echo "$as_me: failed program was:" >&5
42853 sed 's/^/| /' conftest.$ac_ext >&5
42855 ac_cv_func_gmtime_r=no
42858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42859 conftest$ac_exeext conftest.$ac_ext
42861 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42862 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42863 if test $ac_cv_func_gmtime_r = yes; then
42864 cat >>confdefs.h <<\_ACEOF
42865 #define HAVE_GMTIME_R 1
42874 ac_cpp='$CPP $CPPFLAGS'
42875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42879 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42880 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42882 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42887 ################################################################
42889 ac_cv_func_which_gethostbyname_r=unknown
42892 # ONE ARGUMENT (sanity check)
42895 # This should fail, as there is no variant of gethostbyname_r() that takes
42896 # a single argument. If it actually compiles, then we can assume that
42897 # netdb.h is not declaring the function, and the compiler is thereby
42898 # assuming an implicit prototype. In which case, we're out of luck.
42900 cat >conftest.$ac_ext <<_ACEOF
42903 cat confdefs.h >>conftest.$ac_ext
42904 cat >>conftest.$ac_ext <<_ACEOF
42905 /* end confdefs.h. */
42911 char *name = "www.gnu.org";
42912 (void)gethostbyname_r(name) /* ; */
42918 rm -f conftest.$ac_objext
42919 if { (ac_try="$ac_compile"
42920 case "(($ac_try" in
42921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42922 *) ac_try_echo
=$ac_try;;
42924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42925 (eval "$ac_compile") 2>conftest.er1
42927 grep -v '^ *+' conftest.er1
>conftest.err
42929 cat conftest.err
>&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } && {
42932 test -z "$ac_c_werror_flag" ||
42933 test ! -s conftest.err
42934 } && test -s conftest.
$ac_objext; then
42935 ac_cv_func_which_gethostbyname_r
=no
42937 echo "$as_me: failed program was:" >&5
42938 sed 's/^/| /' conftest.
$ac_ext >&5
42943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42950 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42952 cat >conftest.
$ac_ext <<_ACEOF
42955 cat confdefs.h
>>conftest.
$ac_ext
42956 cat >>conftest.
$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42963 char *name = "www.gnu.org";
42964 struct hostent ret, *retp;
42968 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42974 rm -f conftest.
$ac_objext
42975 if { (ac_try
="$ac_compile"
42976 case "(($ac_try" in
42977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42978 *) ac_try_echo=$ac_try;;
42980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42981 (eval "$ac_compile") 2>conftest.er1
42983 grep -v '^ *+' conftest.er1 >conftest.err
42985 cat conftest.err >&5
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); } && {
42988 test -z "$ac_c_werror_flag" ||
42989 test ! -s conftest.err
42990 } && test -s conftest.$ac_objext; then
42991 ac_cv_func_which_gethostbyname_r=six
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43008 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43010 cat >conftest.$ac_ext <<_ACEOF
43013 cat confdefs.h >>conftest.$ac_ext
43014 cat >>conftest.$ac_ext <<_ACEOF
43015 /* end confdefs.h. */
43021 char *name = "www.gnu.org";
43022 struct hostent ret;
43026 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43032 rm -f conftest.$ac_objext
43033 if { (ac_try="$ac_compile"
43034 case "(($ac_try" in
43035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43036 *) ac_try_echo
=$ac_try;;
43038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43039 (eval "$ac_compile") 2>conftest.er1
43041 grep -v '^ *+' conftest.er1
>conftest.err
43043 cat conftest.err
>&5
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); } && {
43046 test -z "$ac_c_werror_flag" ||
43047 test ! -s conftest.err
43048 } && test -s conftest.
$ac_objext; then
43049 ac_cv_func_which_gethostbyname_r
=five
43051 echo "$as_me: failed program was:" >&5
43052 sed 's/^/| /' conftest.
$ac_ext >&5
43057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43063 # (e.g. AIX, HP-UX, Tru64)
43066 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43068 cat >conftest.
$ac_ext <<_ACEOF
43071 cat confdefs.h
>>conftest.
$ac_ext
43072 cat >>conftest.
$ac_ext <<_ACEOF
43073 /* end confdefs.h. */
43079 char *name = "www.gnu.org";
43080 struct hostent ret;
43081 struct hostent_data data;
43082 (void)gethostbyname_r(name, &ret, &data) /* ; */
43088 rm -f conftest.
$ac_objext
43089 if { (ac_try
="$ac_compile"
43090 case "(($ac_try" in
43091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43092 *) ac_try_echo=$ac_try;;
43094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43095 (eval "$ac_compile") 2>conftest.er1
43097 grep -v '^ *+' conftest.er1 >conftest.err
43099 cat conftest.err >&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); } && {
43102 test -z "$ac_c_werror_flag" ||
43103 test ! -s conftest.err
43104 } && test -s conftest.$ac_objext; then
43105 ac_cv_func_which_gethostbyname_r=three
43107 echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.$ac_ext >&5
43113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43117 ################################################################
43122 case "$ac_cv_func_which_gethostbyname_r" in
43124 { echo "$as_me:$LINENO: result: three" >&5
43125 echo "${ECHO_T}three" >&6; }
43126 cat >>confdefs.h <<\_ACEOF
43127 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43133 { echo "$as_me:$LINENO: result: five" >&5
43134 echo "${ECHO_T}five" >&6; }
43135 cat >>confdefs.h <<\_ACEOF
43136 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43142 { echo "$as_me:$LINENO: result: six" >&5
43143 echo "${ECHO_T}six" >&6; }
43144 cat >>confdefs.h <<\_ACEOF
43145 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43151 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43152 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43156 { echo "$as_me:$LINENO: result: can't tell" >&5
43157 echo "${ECHO_T}can't tell" >&6; }
43161 { { echo "$as_me:$LINENO: error: internal error" >&5
43162 echo "$as_me: error: internal error" >&2;}
43163 { (exit 1); exit 1; }; }
43168 ac_cpp='$CPP $CPPFLAGS'
43169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43175 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43176 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43177 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43178 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43179 if test "${ac_cv_func_gethostbyname+set}" = set; then
43180 echo $ECHO_N "(cached) $ECHO_C" >&6
43182 cat >conftest.$ac_ext <<_ACEOF
43185 cat confdefs.h >>conftest.$ac_ext
43186 cat >>conftest.$ac_ext <<_ACEOF
43187 /* end confdefs.h. */
43188 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43190 #define gethostbyname innocuous_gethostbyname
43192 /* System header to define __stub macros and hopefully few prototypes,
43193 which can conflict with char gethostbyname (); below.
43194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43195 <limits.h> exists even on freestanding compilers. */
43198 # include <limits.h>
43200 # include <assert.h>
43203 #undef gethostbyname
43205 /* Override any GCC internal prototype to avoid an error.
43206 Use char because int might match the return type of a GCC
43207 builtin and then its argument prototype would still apply. */
43211 char gethostbyname ();
43212 /* The GNU C library defines this for functions which it implements
43213 to always fail with ENOSYS. Some functions are actually named
43214 something starting with __ and the normal name is an alias. */
43215 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43222 return gethostbyname ();
43227 rm -f conftest.$ac_objext conftest$ac_exeext
43228 if { (ac_try="$ac_link"
43229 case "(($ac_try" in
43230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43231 *) ac_try_echo
=$ac_try;;
43233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43234 (eval "$ac_link") 2>conftest.er1
43236 grep -v '^ *+' conftest.er1
>conftest.err
43238 cat conftest.err
>&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); } && {
43241 test -z "$ac_c_werror_flag" ||
43242 test ! -s conftest.err
43243 } && test -s conftest
$ac_exeext &&
43244 $as_test_x conftest
$ac_exeext; then
43245 ac_cv_func_gethostbyname
=yes
43247 echo "$as_me: failed program was:" >&5
43248 sed 's/^/| /' conftest.
$ac_ext >&5
43250 ac_cv_func_gethostbyname
=no
43253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43254 conftest
$ac_exeext conftest.
$ac_ext
43256 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43257 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43258 if test $ac_cv_func_gethostbyname = yes; then
43259 cat >>confdefs.h
<<\_ACEOF
43260 #define HAVE_GETHOSTBYNAME 1
43267 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43268 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43269 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43270 echo $ECHO_N "(cached) $ECHO_C" >&6
43274 ac_cpp
='$CXXCPP $CPPFLAGS'
43275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43280 cat >conftest.
$ac_ext <<_ACEOF
43283 cat confdefs.h
>>conftest.
$ac_ext
43284 cat >>conftest.
$ac_ext <<_ACEOF
43285 /* end confdefs.h. */
43293 struct servent *se, *res;
43296 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43302 rm -f conftest.
$ac_objext
43303 if { (ac_try
="$ac_compile"
43304 case "(($ac_try" in
43305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43306 *) ac_try_echo=$ac_try;;
43308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43309 (eval "$ac_compile") 2>conftest.er1
43311 grep -v '^ *+' conftest.er1 >conftest.err
43313 cat conftest.err >&5
43314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43315 (exit $ac_status); } && {
43316 test -z "$ac_cxx_werror_flag" ||
43317 test ! -s conftest.err
43318 } && test -s conftest.$ac_objext; then
43319 ac_cv_func_which_getservbyname_r=six
43321 echo "$as_me: failed program was:" >&5
43322 sed 's/^/| /' conftest.$ac_ext >&5
43325 cat >conftest.$ac_ext <<_ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43338 struct servent *se;
43341 (void) getservbyname_r(name, proto, se, buffer, buflen)
43347 rm -f conftest.$ac_objext
43348 if { (ac_try="$ac_compile"
43349 case "(($ac_try" in
43350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43351 *) ac_try_echo
=$ac_try;;
43353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43354 (eval "$ac_compile") 2>conftest.er1
43356 grep -v '^ *+' conftest.er1
>conftest.err
43358 cat conftest.err
>&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); } && {
43361 test -z "$ac_cxx_werror_flag" ||
43362 test ! -s conftest.err
43363 } && test -s conftest.
$ac_objext; then
43364 ac_cv_func_which_getservbyname_r
=five
43366 echo "$as_me: failed program was:" >&5
43367 sed 's/^/| /' conftest.
$ac_ext >&5
43370 cat >conftest.
$ac_ext <<_ACEOF
43373 cat confdefs.h
>>conftest.
$ac_ext
43374 cat >>conftest.
$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43383 struct servent *se;
43384 struct servent_data data;
43385 (void) getservbyname_r(name, proto, se, &data);
43391 rm -f conftest.
$ac_objext
43392 if { (ac_try
="$ac_compile"
43393 case "(($ac_try" in
43394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43395 *) ac_try_echo=$ac_try;;
43397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43398 (eval "$ac_compile") 2>conftest.er1
43400 grep -v '^ *+' conftest.er1 >conftest.err
43402 cat conftest.err >&5
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); } && {
43405 test -z "$ac_cxx_werror_flag" ||
43406 test ! -s conftest.err
43407 } && test -s conftest.$ac_objext; then
43408 ac_cv_func_which_getservbyname_r=four
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43413 ac_cv_func_which_getservbyname_r=no
43417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43429 ac_cpp='$CPP $CPPFLAGS'
43430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43438 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43440 if test $ac_cv_func_which_getservbyname_r = six; then
43441 cat >>confdefs.h <<\_ACEOF
43442 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43445 elif test $ac_cv_func_which_getservbyname_r = five; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43450 elif test $ac_cv_func_which_getservbyname_r = four; then
43451 cat >>confdefs.h <<\_ACEOF
43452 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43458 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43459 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43461 for ac_func in getservbyname
43463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43467 echo $ECHO_N "(cached) $ECHO_C" >&6
43469 cat >conftest.$ac_ext <<_ACEOF
43472 cat confdefs.h >>conftest.$ac_ext
43473 cat >>conftest.$ac_ext <<_ACEOF
43474 /* end confdefs.h. */
43475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43477 #define $ac_func innocuous_$ac_func
43479 /* System header to define __stub macros and hopefully few prototypes,
43480 which can conflict with char $ac_func (); below.
43481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43482 <limits.h> exists even on freestanding compilers. */
43485 # include <limits.h>
43487 # include <assert.h>
43492 /* Override any GCC internal prototype to avoid an error.
43493 Use char because int might match the return type of a GCC
43494 builtin and then its argument prototype would still apply. */
43499 /* The GNU C library defines this for functions which it implements
43500 to always fail with ENOSYS. Some functions are actually named
43501 something starting with __ and the normal name is an alias. */
43502 #if defined __stub_$ac_func || defined __stub___$ac_func
43509 return $ac_func ();
43514 rm -f conftest.$ac_objext conftest$ac_exeext
43515 if { (ac_try="$ac_link"
43516 case "(($ac_try" in
43517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43518 *) ac_try_echo
=$ac_try;;
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_link") 2>conftest.er1
43523 grep -v '^ *+' conftest.er1
>conftest.err
43525 cat conftest.err
>&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest
$ac_exeext &&
43531 $as_test_x conftest
$ac_exeext; then
43532 eval "$as_ac_var=yes"
43534 echo "$as_me: failed program was:" >&5
43535 sed 's/^/| /' conftest.
$ac_ext >&5
43537 eval "$as_ac_var=no"
43540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43541 conftest
$ac_exeext conftest.
$ac_ext
43543 ac_res
=`eval echo '${'$as_ac_var'}'`
43544 { echo "$as_me:$LINENO: result: $ac_res" >&5
43545 echo "${ECHO_T}$ac_res" >&6; }
43546 if test `eval echo '${'$as_ac_var'}'` = yes; then
43547 cat >>confdefs.h
<<_ACEOF
43548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43550 cat >>confdefs.h
<<\_ACEOF
43551 #define HAVE_GETSERVBYNAME 1
43559 if test "$wxUSE_THREADS" = "yes"; then
43560 cat >>confdefs.h
<<\_ACEOF
43561 #define wxUSE_THREADS 1
43565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43567 if test "$wx_cv_func_strtok_r" = "yes"; then
43568 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43569 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43570 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43571 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43572 { echo "$as_me:$LINENO: result: yes" >&5
43573 echo "${ECHO_T}yes" >&6; }
43575 { echo "$as_me:$LINENO: result: no" >&5
43576 echo "${ECHO_T}no" >&6; }
43581 if test "$WXGTK20" = 1 ; then
43582 cat >>confdefs.h
<<_ACEOF
43583 #define __WXGTK20__ $WXGTK20
43589 if test "$WXGTK12" = 1 ; then
43590 cat >>confdefs.h
<<_ACEOF
43591 #define __WXGTK12__ $WXGTK12
43596 if test "$WXGTK127" = 1 ; then
43597 cat >>confdefs.h
<<_ACEOF
43598 #define __WXGTK127__ $WXGTK127
43603 if test "$WXGPE" = 1 ; then
43604 cat >>confdefs.h
<<_ACEOF
43605 #define __WXGPE__ $WXGPE
43611 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43616 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43617 wxUSE_DEBUG_INFO
=yes
43618 if test "$GCC" = yes; then
43619 DEBUG_CFLAGS
="-ggdb"
43623 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43624 cat >>confdefs.h
<<\_ACEOF
43628 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43630 if test "$wxUSE_GTK" = 1 ; then
43631 if test "x$wxGTK_VERSION" = "x1" ; then
43632 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43637 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43638 cat >>confdefs.h
<<\_ACEOF
43639 #define wxUSE_MEMORY_TRACING 1
43642 cat >>confdefs.h
<<\_ACEOF
43643 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43646 cat >>confdefs.h
<<\_ACEOF
43647 #define wxUSE_DEBUG_NEW_ALWAYS 1
43650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43653 if test "$wxUSE_DMALLOC" = "yes" ; then
43654 DMALLOC_LIBS
="-ldmallocthcxx"
43658 if test "$wxUSE_PROFILE" = "yes" ; then
43659 PROFILE_FLAGS
=" -pg"
43662 if test "$GCC" = "yes" ; then
43663 if test "$wxUSE_NO_RTTI" = "yes" ; then
43664 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43666 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43667 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43669 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43670 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43675 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43678 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43684 if test "$wxUSE_OPTIMISE" = "no" ; then
43685 if test "$GCC" = yes ; then
43686 OPTIMISE_CFLAGS
="-O0"
43689 if test "$GCC" = yes ; then
43691 *-pc-os2_emx | *-pc-os2-emx )
43692 OPTIMISE_CFLAGS
="-O2"
43695 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43699 OPTIMISE_CFLAGS
="-O"
43704 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43705 cat >>confdefs.h
<<\_ACEOF
43706 #define WXWIN_COMPATIBILITY_2_6 1
43710 WXWIN_COMPATIBILITY_2_8
="yes"
43713 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43714 cat >>confdefs.h
<<\_ACEOF
43715 #define WXWIN_COMPATIBILITY_2_8 1
43721 if test "$wxUSE_GUI" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_GUI 1
43730 if test "$wxUSE_UNIX" = "yes"; then
43731 cat >>confdefs.h
<<\_ACEOF
43732 #define wxUSE_UNIX 1
43738 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43742 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43743 if test "$USE_DARWIN" = 1; then
43745 elif test "$USE_DOS" = 1; then
43749 for ac_func
in dlopen
43751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43754 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43755 echo $ECHO_N "(cached) $ECHO_C" >&6
43757 cat >conftest.
$ac_ext <<_ACEOF
43760 cat confdefs.h
>>conftest.
$ac_ext
43761 cat >>conftest.
$ac_ext <<_ACEOF
43762 /* end confdefs.h. */
43763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43765 #define $ac_func innocuous_$ac_func
43767 /* System header to define __stub macros and hopefully few prototypes,
43768 which can conflict with char $ac_func (); below.
43769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43770 <limits.h> exists even on freestanding compilers. */
43773 # include <limits.h>
43775 # include <assert.h>
43780 /* Override any GCC internal prototype to avoid an error.
43781 Use char because int might match the return type of a GCC
43782 builtin and then its argument prototype would still apply. */
43787 /* The GNU C library defines this for functions which it implements
43788 to always fail with ENOSYS. Some functions are actually named
43789 something starting with __ and the normal name is an alias. */
43790 #if defined __stub_$ac_func || defined __stub___$ac_func
43797 return $ac_func ();
43802 rm -f conftest.
$ac_objext conftest
$ac_exeext
43803 if { (ac_try
="$ac_link"
43804 case "(($ac_try" in
43805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_link") 2>conftest.er1
43811 grep -v '^ *+' conftest.er1 >conftest.err
43813 cat conftest.err >&5
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); } && {
43816 test -z "$ac_c_werror_flag" ||
43817 test ! -s conftest.err
43818 } && test -s conftest$ac_exeext &&
43819 $as_test_x conftest$ac_exeext; then
43820 eval "$as_ac_var=yes"
43822 echo "$as_me: failed program was:" >&5
43823 sed 's/^/| /' conftest.$ac_ext >&5
43825 eval "$as_ac_var=no"
43828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43829 conftest$ac_exeext conftest.$ac_ext
43831 ac_res=`eval echo '${'$as_ac_var'}'`
43832 { echo "$as_me:$LINENO: result: $ac_res" >&5
43833 echo "${ECHO_T}$ac_res" >&6; }
43834 if test `eval echo '${'$as_ac_var'}'` = yes; then
43835 cat >>confdefs.h <<_ACEOF
43836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43839 cat >>confdefs.h <<\_ACEOF
43840 #define HAVE_DLOPEN 1
43847 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43848 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43849 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43850 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 ac_check_lib_save_LIBS=$LIBS
43854 cat >conftest.$ac_ext <<_ACEOF
43857 cat confdefs.h >>conftest.$ac_ext
43858 cat >>conftest.$ac_ext <<_ACEOF
43859 /* end confdefs.h. */
43861 /* Override any GCC internal prototype to avoid an error.
43862 Use char because int might match the return type of a GCC
43863 builtin and then its argument prototype would still apply. */
43876 rm -f conftest.$ac_objext conftest$ac_exeext
43877 if { (ac_try="$ac_link"
43878 case "(($ac_try" in
43879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43880 *) ac_try_echo
=$ac_try;;
43882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43883 (eval "$ac_link") 2>conftest.er1
43885 grep -v '^ *+' conftest.er1
>conftest.err
43887 cat conftest.err
>&5
43888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889 (exit $ac_status); } && {
43890 test -z "$ac_c_werror_flag" ||
43891 test ! -s conftest.err
43892 } && test -s conftest
$ac_exeext &&
43893 $as_test_x conftest
$ac_exeext; then
43894 ac_cv_lib_dl_dlopen
=yes
43896 echo "$as_me: failed program was:" >&5
43897 sed 's/^/| /' conftest.
$ac_ext >&5
43899 ac_cv_lib_dl_dlopen
=no
43902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43903 conftest
$ac_exeext conftest.
$ac_ext
43904 LIBS
=$ac_check_lib_save_LIBS
43906 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43907 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43908 if test $ac_cv_lib_dl_dlopen = yes; then
43910 cat >>confdefs.h
<<\_ACEOF
43911 #define HAVE_DLOPEN 1
43915 DL_LINK
=" -ldl$DL_LINK"
43920 for ac_func
in shl_load
43922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43925 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43926 echo $ECHO_N "(cached) $ECHO_C" >&6
43928 cat >conftest.
$ac_ext <<_ACEOF
43931 cat confdefs.h
>>conftest.
$ac_ext
43932 cat >>conftest.
$ac_ext <<_ACEOF
43933 /* end confdefs.h. */
43934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43936 #define $ac_func innocuous_$ac_func
43938 /* System header to define __stub macros and hopefully few prototypes,
43939 which can conflict with char $ac_func (); below.
43940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43941 <limits.h> exists even on freestanding compilers. */
43944 # include <limits.h>
43946 # include <assert.h>
43951 /* Override any GCC internal prototype to avoid an error.
43952 Use char because int might match the return type of a GCC
43953 builtin and then its argument prototype would still apply. */
43958 /* The GNU C library defines this for functions which it implements
43959 to always fail with ENOSYS. Some functions are actually named
43960 something starting with __ and the normal name is an alias. */
43961 #if defined __stub_$ac_func || defined __stub___$ac_func
43968 return $ac_func ();
43973 rm -f conftest.
$ac_objext conftest
$ac_exeext
43974 if { (ac_try
="$ac_link"
43975 case "(($ac_try" in
43976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43977 *) ac_try_echo=$ac_try;;
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_link") 2>conftest.er1
43982 grep -v '^ *+' conftest.er1 >conftest.err
43984 cat conftest.err >&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_c_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest$ac_exeext &&
43990 $as_test_x conftest$ac_exeext; then
43991 eval "$as_ac_var=yes"
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43996 eval "$as_ac_var=no"
43999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44000 conftest$ac_exeext conftest.$ac_ext
44002 ac_res=`eval echo '${'$as_ac_var'}'`
44003 { echo "$as_me:$LINENO: result: $ac_res" >&5
44004 echo "${ECHO_T}$ac_res" >&6; }
44005 if test `eval echo '${'$as_ac_var'}'` = yes; then
44006 cat >>confdefs.h <<_ACEOF
44007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44010 cat >>confdefs.h <<\_ACEOF
44011 #define HAVE_SHL_LOAD 1
44018 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44019 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44020 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44021 echo $ECHO_N "(cached) $ECHO_C" >&6
44023 ac_check_lib_save_LIBS=$LIBS
44024 LIBS="-lshl_load $LIBS"
44025 cat >conftest.$ac_ext <<_ACEOF
44028 cat confdefs.h >>conftest.$ac_ext
44029 cat >>conftest.$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44032 /* Override any GCC internal prototype to avoid an error.
44033 Use char because int might match the return type of a GCC
44034 builtin and then its argument prototype would still apply. */
44047 rm -f conftest.$ac_objext conftest$ac_exeext
44048 if { (ac_try="$ac_link"
44049 case "(($ac_try" in
44050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44051 *) ac_try_echo
=$ac_try;;
44053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44054 (eval "$ac_link") 2>conftest.er1
44056 grep -v '^ *+' conftest.er1
>conftest.err
44058 cat conftest.err
>&5
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); } && {
44061 test -z "$ac_c_werror_flag" ||
44062 test ! -s conftest.err
44063 } && test -s conftest
$ac_exeext &&
44064 $as_test_x conftest
$ac_exeext; then
44065 ac_cv_lib_shl_load_dld
=yes
44067 echo "$as_me: failed program was:" >&5
44068 sed 's/^/| /' conftest.
$ac_ext >&5
44070 ac_cv_lib_shl_load_dld
=no
44073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44074 conftest
$ac_exeext conftest.
$ac_ext
44075 LIBS
=$ac_check_lib_save_LIBS
44077 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44078 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44079 if test $ac_cv_lib_shl_load_dld = yes; then
44082 DL_LINK
=" -ldld$DL_LINK"
44098 if test "$HAVE_DL_FUNCS" = 1; then
44100 for ac_func
in dlerror
44102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44105 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44106 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 cat >conftest.
$ac_ext <<_ACEOF
44111 cat confdefs.h
>>conftest.
$ac_ext
44112 cat >>conftest.
$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44116 #define $ac_func innocuous_$ac_func
44118 /* System header to define __stub macros and hopefully few prototypes,
44119 which can conflict with char $ac_func (); below.
44120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44121 <limits.h> exists even on freestanding compilers. */
44124 # include <limits.h>
44126 # include <assert.h>
44131 /* Override any GCC internal prototype to avoid an error.
44132 Use char because int might match the return type of a GCC
44133 builtin and then its argument prototype would still apply. */
44138 /* The GNU C library defines this for functions which it implements
44139 to always fail with ENOSYS. Some functions are actually named
44140 something starting with __ and the normal name is an alias. */
44141 #if defined __stub_$ac_func || defined __stub___$ac_func
44148 return $ac_func ();
44153 rm -f conftest.
$ac_objext conftest
$ac_exeext
44154 if { (ac_try
="$ac_link"
44155 case "(($ac_try" in
44156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44157 *) ac_try_echo=$ac_try;;
44159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44160 (eval "$ac_link") 2>conftest.er1
44162 grep -v '^ *+' conftest.er1 >conftest.err
44164 cat conftest.err >&5
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); } && {
44167 test -z "$ac_c_werror_flag" ||
44168 test ! -s conftest.err
44169 } && test -s conftest$ac_exeext &&
44170 $as_test_x conftest$ac_exeext; then
44171 eval "$as_ac_var=yes"
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.$ac_ext >&5
44176 eval "$as_ac_var=no"
44179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44180 conftest$ac_exeext conftest.$ac_ext
44182 ac_res=`eval echo '${'$as_ac_var'}'`
44183 { echo "$as_me:$LINENO: result: $ac_res" >&5
44184 echo "${ECHO_T}$ac_res" >&6; }
44185 if test `eval echo '${'$as_ac_var'}'` = yes; then
44186 cat >>confdefs.h <<_ACEOF
44187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44189 cat >>confdefs.h <<\_ACEOF
44190 #define HAVE_DLERROR 1
44195 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44196 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44197 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 ac_check_lib_save_LIBS=$LIBS
44202 cat >conftest.$ac_ext <<_ACEOF
44205 cat confdefs.h >>conftest.$ac_ext
44206 cat >>conftest.$ac_ext <<_ACEOF
44207 /* end confdefs.h. */
44209 /* Override any GCC internal prototype to avoid an error.
44210 Use char because int might match the return type of a GCC
44211 builtin and then its argument prototype would still apply. */
44224 rm -f conftest.$ac_objext conftest$ac_exeext
44225 if { (ac_try="$ac_link"
44226 case "(($ac_try" in
44227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44228 *) ac_try_echo
=$ac_try;;
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_link") 2>conftest.er1
44233 grep -v '^ *+' conftest.er1
>conftest.err
44235 cat conftest.err
>&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest
$ac_exeext &&
44241 $as_test_x conftest
$ac_exeext; then
44242 ac_cv_lib_dl_dlerror
=yes
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.
$ac_ext >&5
44247 ac_cv_lib_dl_dlerror
=no
44250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44251 conftest
$ac_exeext conftest.
$ac_ext
44252 LIBS
=$ac_check_lib_save_LIBS
44254 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44255 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44256 if test $ac_cv_lib_dl_dlerror = yes; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define HAVE_DLERROR 1
44271 if test "$HAVE_DL_FUNCS" = 0; then
44272 if test "$HAVE_SHL_FUNCS" = 0; then
44273 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44274 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44275 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44276 wxUSE_DYNAMIC_LOADER
=no
44277 wxUSE_DYNLIB_CLASS
=no
44279 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44280 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44287 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44288 cat >>confdefs.h
<<\_ACEOF
44289 #define wxUSE_DYNAMIC_LOADER 1
44293 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44294 cat >>confdefs.h
<<\_ACEOF
44295 #define wxUSE_DYNLIB_CLASS 1
44302 if test "$wxUSE_PLUGINS" = "yes" ; then
44303 if test "$wxUSE_SHARED" = "no" ; then
44304 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44305 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44308 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44309 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44310 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44313 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44314 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44315 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44318 if test "$wxUSE_PLUGINS" = "yes" ; then
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_PLUGINS 1
44327 if test "$wxUSE_STL" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_STL 1
44334 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44335 cat >>confdefs.h
<<\_ACEOF
44336 #define wxUSE_EXTENDED_RTTI 1
44341 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44342 cat >>confdefs.h
<<\_ACEOF
44343 #define wxUSE_APPLE_IEEE 1
44348 if test "$wxUSE_TIMER" = "yes"; then
44349 cat >>confdefs.h
<<\_ACEOF
44350 #define wxUSE_TIMER 1
44355 if test "$USE_UNIX" = "1" ; then
44356 if test "$wxUSE_MGL" != 1; then
44357 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44358 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44359 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44360 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 cat >conftest.
$ac_ext <<_ACEOF
44366 cat confdefs.h
>>conftest.
$ac_ext
44367 cat >>conftest.
$ac_ext <<_ACEOF
44368 /* end confdefs.h. */
44370 #include <sys/ioctl.h>
44371 #include <sys/soundcard.h>
44377 ioctl(0, SNDCTL_DSP_SPEED, 0);
44383 rm -f conftest.
$ac_objext conftest
$ac_exeext
44384 if { (ac_try
="$ac_link"
44385 case "(($ac_try" in
44386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44387 *) ac_try_echo=$ac_try;;
44389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44390 (eval "$ac_link") 2>conftest.er1
44392 grep -v '^ *+' conftest.er1 >conftest.err
44394 cat conftest.err >&5
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); } && {
44397 test -z "$ac_c_werror_flag" ||
44398 test ! -s conftest.err
44399 } && test -s conftest$ac_exeext &&
44400 $as_test_x conftest$ac_exeext; then
44401 ac_cv_header_sys_soundcard=yes
44403 echo "$as_me: failed program was:" >&5
44404 sed 's/^/| /' conftest.$ac_ext >&5
44408 LIBS="$saveLibs -lossaudio"
44409 cat >conftest.$ac_ext <<_ACEOF
44412 cat confdefs.h >>conftest.$ac_ext
44413 cat >>conftest.$ac_ext <<_ACEOF
44414 /* end confdefs.h. */
44416 #include <sys/ioctl.h>
44417 #include <sys/soundcard.h>
44423 ioctl(0, SNDCTL_DSP_SPEED, 0);
44429 rm -f conftest.$ac_objext conftest$ac_exeext
44430 if { (ac_try="$ac_link"
44431 case "(($ac_try" in
44432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44433 *) ac_try_echo
=$ac_try;;
44435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44436 (eval "$ac_link") 2>conftest.er1
44438 grep -v '^ *+' conftest.er1
>conftest.err
44440 cat conftest.err
>&5
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); } && {
44443 test -z "$ac_c_werror_flag" ||
44444 test ! -s conftest.err
44445 } && test -s conftest
$ac_exeext &&
44446 $as_test_x conftest
$ac_exeext; then
44447 ac_cv_header_sys_soundcard
=yes
44449 echo "$as_me: failed program was:" >&5
44450 sed 's/^/| /' conftest.
$ac_ext >&5
44454 ac_cv_header_sys_soundcard
=no
44459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44460 conftest
$ac_exeext conftest.
$ac_ext
44465 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44466 conftest
$ac_exeext conftest.
$ac_ext
44469 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44470 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44473 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44474 cat >>confdefs.h
<<\_ACEOF
44475 #define HAVE_SYS_SOUNDCARD_H 1
44482 if test "$wxUSE_SOUND" = "yes"; then
44483 if test "$USE_UNIX" = "1" ; then
44484 if test "$wxUSE_LIBSDL" != "no"; then
44486 # Check whether --with-sdl-prefix was given.
44487 if test "${with_sdl_prefix+set}" = set; then
44488 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44494 # Check whether --with-sdl-exec-prefix was given.
44495 if test "${with_sdl_exec_prefix+set}" = set; then
44496 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44501 # Check whether --enable-sdltest was given.
44502 if test "${enable_sdltest+set}" = set; then
44503 enableval
=$enable_sdltest;
44509 if test x
$sdl_exec_prefix != x
; then
44510 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44511 if test x
${SDL_CONFIG+set} != xset
; then
44512 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44515 if test x
$sdl_prefix != x
; then
44516 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44517 if test x
${SDL_CONFIG+set} != xset
; then
44518 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44522 if test "x$prefix" != xNONE
; then
44523 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44525 # Extract the first word of "sdl-config", so it can be a program name with args.
44526 set dummy sdl
-config; ac_word
=$2
44527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44529 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44530 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 case $SDL_CONFIG in
44534 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44538 for as_dir
in $PATH
44541 test -z "$as_dir" && as_dir
=.
44542 for ac_exec_ext
in '' $ac_executable_extensions; do
44543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44544 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44552 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44556 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44557 if test -n "$SDL_CONFIG"; then
44558 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44559 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44561 { echo "$as_me:$LINENO: result: no" >&5
44562 echo "${ECHO_T}no" >&6; }
44566 min_sdl_version
=1.2.0
44567 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44568 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44570 if test "$SDL_CONFIG" = "no" ; then
44573 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44574 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44576 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44578 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44580 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44582 if test "x$enable_sdltest" = "xyes" ; then
44583 ac_save_CFLAGS
="$CFLAGS"
44584 ac_save_CXXFLAGS
="$CXXFLAGS"
44585 ac_save_LIBS
="$LIBS"
44586 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44587 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44588 LIBS
="$LIBS $SDL_LIBS"
44590 if test "$cross_compiling" = yes; then
44591 echo $ac_n "cross compiling; assumed OK... $ac_c"
44593 cat >conftest.
$ac_ext <<_ACEOF
44596 cat confdefs.h
>>conftest.
$ac_ext
44597 cat >>conftest.
$ac_ext <<_ACEOF
44598 /* end confdefs.h. */
44601 #include <stdlib.h>
44602 #include <string.h>
44606 my_strdup (char *str)
44612 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44613 strcpy (new_str, str);
44621 int main (int argc, char *argv[])
44623 int major, minor, micro;
44626 /* This hangs on some systems (?)
44627 system ("touch conf.sdltest");
44629 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44631 /* HP/UX 9 (%@#!) writes to sscanf strings */
44632 tmp_version = my_strdup("$min_sdl_version");
44633 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44634 printf("%s, bad version string\n", "$min_sdl_version");
44638 if (($sdl_major_version > major) ||
44639 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44640 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44646 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44647 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44648 printf("*** best to upgrade to the required version.\n");
44649 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44650 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44651 printf("*** config.cache before re-running configure\n");
44658 rm -f conftest
$ac_exeext
44659 if { (ac_try
="$ac_link"
44660 case "(($ac_try" in
44661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44662 *) ac_try_echo=$ac_try;;
44664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44665 (eval "$ac_link") 2>&5
44667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44669 { (case "(($ac_try" in
44670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44671 *) ac_try_echo
=$ac_try;;
44673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44674 (eval "$ac_try") 2>&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; }; then
44680 echo "$as_me: program exited with status $ac_status" >&5
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.
$ac_ext >&5
44684 ( exit $ac_status )
44687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44691 CFLAGS
="$ac_save_CFLAGS"
44692 CXXFLAGS
="$ac_save_CXXFLAGS"
44693 LIBS
="$ac_save_LIBS"
44696 if test "x$no_sdl" = x
; then
44697 { echo "$as_me:$LINENO: result: yes" >&5
44698 echo "${ECHO_T}yes" >&6; }
44700 EXTRALIBS_SDL
="$SDL_LIBS"
44701 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44702 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44703 cat >>confdefs.h
<<\_ACEOF
44704 #define wxUSE_LIBSDL 1
44709 { echo "$as_me:$LINENO: result: no" >&5
44710 echo "${ECHO_T}no" >&6; }
44711 if test "$SDL_CONFIG" = "no" ; then
44712 echo "*** The sdl-config script installed by SDL could not be found"
44713 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44714 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44715 echo "*** full path to sdl-config."
44717 if test -f conf.sdltest
; then
44720 echo "*** Could not run SDL test program, checking why..."
44721 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44722 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44723 LIBS
="$LIBS $SDL_LIBS"
44724 cat >conftest.
$ac_ext <<_ACEOF
44727 cat confdefs.h
>>conftest.
$ac_ext
44728 cat >>conftest.
$ac_ext <<_ACEOF
44729 /* end confdefs.h. */
44734 int main(int argc, char *argv[])
44737 #define main K_and_R_C_main
44747 rm -f conftest.
$ac_objext conftest
$ac_exeext
44748 if { (ac_try
="$ac_link"
44749 case "(($ac_try" in
44750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44751 *) ac_try_echo=$ac_try;;
44753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44754 (eval "$ac_link") 2>conftest.er1
44756 grep -v '^ *+' conftest.er1 >conftest.err
44758 cat conftest.err >&5
44759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44760 (exit $ac_status); } && {
44761 test -z "$ac_c_werror_flag" ||
44762 test ! -s conftest.err
44763 } && test -s conftest$ac_exeext &&
44764 $as_test_x conftest$ac_exeext; then
44765 echo "*** The test program compiled, but did not run. This usually means"
44766 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44767 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44768 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44769 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44770 echo "*** is required on your system"
44772 echo "*** If you have an old version installed, it is best to remove it, although"
44773 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44775 echo "$as_me: failed program was:" >&5
44776 sed 's/^/| /' conftest.$ac_ext >&5
44778 echo "*** The test program failed to compile or link. See the file config.log for the"
44779 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44780 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44781 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44785 conftest$ac_exeext conftest.$ac_ext
44786 CFLAGS="$ac_save_CFLAGS"
44787 CXXFLAGS="$ac_save_CXXFLAGS"
44788 LIBS="$ac_save_LIBS"
44799 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44804 if test "$wxUSE_MGL" = 1; then
44805 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44806 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44812 if test "$wxUSE_SOUND" = "yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_SOUND 1
44817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44820 if test "$WXGTK20" = 1; then
44823 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44824 if test -n "$ac_tool_prefix"; then
44825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44826 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44830 echo $ECHO_N "(cached) $ECHO_C" >&6
44832 case $PKG_CONFIG in
44834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44838 for as_dir in $PATH
44841 test -z "$as_dir" && as_dir=.
44842 for ac_exec_ext in '' $ac_executable_extensions; do
44843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44855 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44856 if test -n "$PKG_CONFIG"; then
44857 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44858 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44860 { echo "$as_me:$LINENO: result: no" >&5
44861 echo "${ECHO_T}no" >&6; }
44866 if test -z "$ac_cv_path_PKG_CONFIG"; then
44867 ac_pt_PKG_CONFIG=$PKG_CONFIG
44868 # Extract the first word of "pkg-config", so it can be a program name with args.
44869 set dummy pkg-config; ac_word=$2
44870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44872 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44873 echo $ECHO_N "(cached) $ECHO_C" >&6
44875 case $ac_pt_PKG_CONFIG in
44877 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44881 for as_dir in $PATH
44884 test -z "$as_dir" && as_dir=.
44885 for ac_exec_ext in '' $ac_executable_extensions; do
44886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44887 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44898 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44899 if test -n "$ac_pt_PKG_CONFIG"; then
44900 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44901 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44903 { echo "$as_me:$LINENO: result: no" >&5
44904 echo "${ECHO_T}no" >&6; }
44907 if test "x$ac_pt_PKG_CONFIG" = x; then
44910 case $cross_compiling:$ac_tool_warned in
44912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44913 whose name does not start with the host triplet. If you think this
44914 configuration is useful to you, please write to autoconf@gnu.org." >&5
44915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44916 whose name does not start with the host triplet. If you think this
44917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44918 ac_tool_warned=yes ;;
44920 PKG_CONFIG=$ac_pt_PKG_CONFIG
44923 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44927 if test -n "$PKG_CONFIG"; then
44928 _pkg_min_version=0.9.0
44929 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44930 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44932 { echo "$as_me:$LINENO: result: yes" >&5
44933 echo "${ECHO_T}yes" >&6; }
44935 { echo "$as_me:$LINENO: result: no" >&5
44936 echo "${ECHO_T}no" >&6; }
44942 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44944 if test "$wxUSE_GTKPRINT" = "yes" ; then
44948 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44949 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44951 if test -n "$PKG_CONFIG"; then
44952 if test -n "$GTKPRINT_CFLAGS"; then
44953 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44955 if test -n "$PKG_CONFIG" && \
44956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44957 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); }; then
44961 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44969 if test -n "$PKG_CONFIG"; then
44970 if test -n "$GTKPRINT_LIBS"; then
44971 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44973 if test -n "$PKG_CONFIG" && \
44974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44975 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); }; then
44979 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44990 if test $pkg_failed = yes; then
44992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44993 _pkg_short_errors_supported=yes
44995 _pkg_short_errors_supported=no
44997 if test $_pkg_short_errors_supported = yes; then
44998 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45000 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45002 # Put the nasty error message in config.log where it belongs
45003 echo "$GTKPRINT_PKG_ERRORS" >&5
45006 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45007 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45008 wxUSE_GTKPRINT="no"
45011 elif test $pkg_failed = untried; then
45013 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45014 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45015 wxUSE_GTKPRINT="no"
45019 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45020 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45021 { echo "$as_me:$LINENO: result: yes" >&5
45022 echo "${ECHO_T}yes" >&6; }
45024 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45025 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_GTKPRINT 1
45034 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45038 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45039 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45041 if test -n "$PKG_CONFIG"; then
45042 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45043 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45045 if test -n "$PKG_CONFIG" && \
45046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45047 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; then
45051 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45059 if test -n "$PKG_CONFIG"; then
45060 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45061 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45063 if test -n "$PKG_CONFIG" && \
45064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45065 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068 (exit $ac_status); }; then
45069 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45080 if test $pkg_failed = yes; then
45082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45083 _pkg_short_errors_supported=yes
45085 _pkg_short_errors_supported=no
45087 if test $_pkg_short_errors_supported = yes; then
45088 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45090 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45092 # Put the nasty error message in config.log where it belongs
45093 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45096 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45097 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45098 wxUSE_LIBGNOMEPRINT="no"
45101 elif test $pkg_failed = untried; then
45103 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45104 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45105 wxUSE_LIBGNOMEPRINT="no"
45109 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45110 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45111 { echo "$as_me:$LINENO: result: yes" >&5
45112 echo "${ECHO_T}yes" >&6; }
45114 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45115 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_LIBGNOMEPRINT 1
45125 if test "$wxUSE_MIMETYPE" = "yes" ; then
45126 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45130 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45131 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45133 if test -n "$PKG_CONFIG"; then
45134 if test -n "$GNOMEVFS_CFLAGS"; then
45135 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45137 if test -n "$PKG_CONFIG" && \
45138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45139 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); }; then
45143 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45151 if test -n "$PKG_CONFIG"; then
45152 if test -n "$GNOMEVFS_LIBS"; then
45153 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45155 if test -n "$PKG_CONFIG" && \
45156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45157 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); }; then
45161 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45172 if test $pkg_failed = yes; then
45174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45175 _pkg_short_errors_supported=yes
45177 _pkg_short_errors_supported=no
45179 if test $_pkg_short_errors_supported = yes; then
45180 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45182 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45184 # Put the nasty error message in config.log where it belongs
45185 echo "$GNOMEVFS_PKG_ERRORS" >&5
45188 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45189 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45190 wxUSE_LIBGNOMEVFS="no"
45193 elif test $pkg_failed = untried; then
45195 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45196 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45197 wxUSE_LIBGNOMEVFS="no"
45201 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45202 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45203 { echo "$as_me:$LINENO: result: yes" >&5
45204 echo "${ECHO_T}yes" >&6; }
45206 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45207 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_LIBGNOMEVFS 1
45217 if test "$wxUSE_LIBHILDON" = "yes" ; then
45220 { echo "$as_me:$LINENO: checking for HILDON" >&5
45221 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45223 if test -n "$PKG_CONFIG"; then
45224 if test -n "$HILDON_CFLAGS"; then
45225 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45227 if test -n "$PKG_CONFIG" && \
45228 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45229 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); }; then
45233 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45241 if test -n "$PKG_CONFIG"; then
45242 if test -n "$HILDON_LIBS"; then
45243 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45245 if test -n "$PKG_CONFIG" && \
45246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45247 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; then
45251 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45262 if test $pkg_failed = yes; then
45264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45265 _pkg_short_errors_supported=yes
45267 _pkg_short_errors_supported=no
45269 if test $_pkg_short_errors_supported = yes; then
45270 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45272 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45274 # Put the nasty error message in config.log where it belongs
45275 echo "$HILDON_PKG_ERRORS" >&5
45278 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45279 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45280 wxUSE_LIBHILDON="no"
45283 elif test $pkg_failed = untried; then
45285 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45286 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45287 wxUSE_LIBHILDON="no"
45291 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45292 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45293 { echo "$as_me:$LINENO: result: yes" >&5
45294 echo "${ECHO_T}yes" >&6; }
45296 EXTRALIBS_HILDON="$HILDON_LIBS"
45297 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45298 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_LIBHILDON 1
45308 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_CMDLINE_PARSER 1
45315 if test "$wxUSE_STOPWATCH" = "yes"; then
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_STOPWATCH 1
45322 if test "$wxUSE_DATETIME" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_DATETIME 1
45329 if test "$wxUSE_FILE" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_FILE 1
45336 if test "$wxUSE_FFILE" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_FFILE 1
45343 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45344 if test "$wxUSE_STREAMS" != yes; then
45345 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45346 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45347 wxUSE_ARCHIVE_STREAMS=no
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_ARCHIVE_STREAMS 1
45356 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45357 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45358 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45359 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45360 elif test "$wxUSE_ZLIB" = "no"; then
45361 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45362 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_ZIPSTREAM 1
45371 if test "$wxUSE_TARSTREAM" = "yes"; then
45372 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45373 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45374 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_TARSTREAM 1
45383 if test "$wxUSE_FILESYSTEM" = "yes"; then
45384 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45385 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45386 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45387 wxUSE_FILESYSTEM=no
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_FILESYSTEM 1
45396 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45397 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45398 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45399 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_FS_ARCHIVE 1
45408 if test "$wxUSE_FS_ZIP" = "yes"; then
45409 if test "$wxUSE_FS_ARCHIVE" != yes; then
45410 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45411 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_FS_ZIP 1
45420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45421 if test "$USE_UNIX" != 1; then
45422 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45423 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45424 wxUSE_ON_FATAL_EXCEPTION=no
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_ON_FATAL_EXCEPTION 1
45433 if test "$wxUSE_STACKWALKER" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_STACKWALKER 1
45440 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45441 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45442 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45443 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45444 wxUSE_DEBUGREPORT=no
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_DEBUGREPORT 1
45450 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45456 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_SNGLINST_CHECKER 1
45463 if test "$wxUSE_BUSYINFO" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_BUSYINFO 1
45470 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_STD_IOSTREAM 1
45477 if test "$wxUSE_STD_STRING" = "yes"; then
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_STD_STRING 1
45484 if test "$wxUSE_STDPATHS" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_STDPATHS 1
45491 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_TEXTBUFFER 1
45498 if test "$wxUSE_TEXTFILE" = "yes"; then
45499 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45500 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45501 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_TEXTFILE 1
45510 if test "$wxUSE_CONFIG" = "yes" ; then
45511 if test "$wxUSE_TEXTFILE" != "yes"; then
45512 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45513 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_CONFIG 1
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_CONFIG_NATIVE 1
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45527 if test "$wxUSE_INTL" = "yes" ; then
45528 if test "$wxUSE_FILE" != "yes"; then
45529 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45530 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_INTL 1
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45537 GUIDIST="$GUIDIST INTL_DIST"
45541 if test "$wxUSE_LOG" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_LOG 1
45547 if test "$wxUSE_LOGGUI" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_LOGGUI 1
45554 if test "$wxUSE_LOGWINDOW" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_LOGWINDOW 1
45561 if test "$wxUSE_LOGDIALOG" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_LOG_DIALOG 1
45568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45571 if test "$wxUSE_LONGLONG" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_LONGLONG 1
45578 if test "$wxUSE_GEOMETRY" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_GEOMETRY 1
45585 if test "$wxUSE_BASE64" = "yes"; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_BASE64 1
45592 if test "$wxUSE_STREAMS" = "yes" ; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_STREAMS 1
45599 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_PRINTF_POS_PARAMS 1
45606 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_OBJC_UNIQUIFYING 1
45614 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_CONSOLE_EVENTLOOP 1
45620 if test "$wxUSE_UNIX" = "yes"; then
45621 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_SELECT_DISPATCHER 1
45628 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45630 for ac_header in sys/epoll.h
45632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45636 echo $ECHO_N "(cached) $ECHO_C" >&6
45638 cat >conftest.$ac_ext <<_ACEOF
45641 cat confdefs.h >>conftest.$ac_ext
45642 cat >>conftest.$ac_ext <<_ACEOF
45643 /* end confdefs.h. */
45644 $ac_includes_default
45646 #include <$ac_header>
45648 rm -f conftest.$ac_objext
45649 if { (ac_try="$ac_compile"
45650 case "(($ac_try" in
45651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45652 *) ac_try_echo
=$ac_try;;
45654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45655 (eval "$ac_compile") 2>conftest.er1
45657 grep -v '^ *+' conftest.er1
>conftest.err
45659 cat conftest.err
>&5
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); } && {
45662 test -z "$ac_c_werror_flag" ||
45663 test ! -s conftest.err
45664 } && test -s conftest.
$ac_objext; then
45665 eval "$as_ac_Header=yes"
45667 echo "$as_me: failed program was:" >&5
45668 sed 's/^/| /' conftest.
$ac_ext >&5
45670 eval "$as_ac_Header=no"
45673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45675 ac_res
=`eval echo '${'$as_ac_Header'}'`
45676 { echo "$as_me:$LINENO: result: $ac_res" >&5
45677 echo "${ECHO_T}$ac_res" >&6; }
45678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45679 cat >>confdefs.h
<<_ACEOF
45680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45687 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_EPOLL_DISPATCHER 1
45693 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45694 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45703 for ac_func
in gettimeofday ftime
45705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45708 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45709 echo $ECHO_N "(cached) $ECHO_C" >&6
45711 cat >conftest.
$ac_ext <<_ACEOF
45714 cat confdefs.h
>>conftest.
$ac_ext
45715 cat >>conftest.
$ac_ext <<_ACEOF
45716 /* end confdefs.h. */
45717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45719 #define $ac_func innocuous_$ac_func
45721 /* System header to define __stub macros and hopefully few prototypes,
45722 which can conflict with char $ac_func (); below.
45723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45724 <limits.h> exists even on freestanding compilers. */
45727 # include <limits.h>
45729 # include <assert.h>
45734 /* Override any GCC internal prototype to avoid an error.
45735 Use char because int might match the return type of a GCC
45736 builtin and then its argument prototype would still apply. */
45741 /* The GNU C library defines this for functions which it implements
45742 to always fail with ENOSYS. Some functions are actually named
45743 something starting with __ and the normal name is an alias. */
45744 #if defined __stub_$ac_func || defined __stub___$ac_func
45751 return $ac_func ();
45756 rm -f conftest.
$ac_objext conftest
$ac_exeext
45757 if { (ac_try
="$ac_link"
45758 case "(($ac_try" in
45759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45760 *) ac_try_echo=$ac_try;;
45762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45763 (eval "$ac_link") 2>conftest.er1
45765 grep -v '^ *+' conftest.er1 >conftest.err
45767 cat conftest.err >&5
45768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769 (exit $ac_status); } && {
45770 test -z "$ac_c_werror_flag" ||
45771 test ! -s conftest.err
45772 } && test -s conftest$ac_exeext &&
45773 $as_test_x conftest$ac_exeext; then
45774 eval "$as_ac_var=yes"
45776 echo "$as_me: failed program was:" >&5
45777 sed 's/^/| /' conftest.$ac_ext >&5
45779 eval "$as_ac_var=no"
45782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45783 conftest$ac_exeext conftest.$ac_ext
45785 ac_res=`eval echo '${'$as_ac_var'}'`
45786 { echo "$as_me:$LINENO: result: $ac_res" >&5
45787 echo "${ECHO_T}$ac_res" >&6; }
45788 if test `eval echo '${'$as_ac_var'}'` = yes; then
45789 cat >>confdefs.h <<_ACEOF
45790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45797 if test "$ac_cv_func_gettimeofday" = "yes"; then
45798 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45799 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45800 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45801 echo $ECHO_N "(cached) $ECHO_C" >&6
45804 cat >conftest.$ac_ext <<_ACEOF
45807 cat confdefs.h >>conftest.$ac_ext
45808 cat >>conftest.$ac_ext <<_ACEOF
45809 /* end confdefs.h. */
45811 #include <sys/time.h>
45812 #include <unistd.h>
45819 gettimeofday(&tv, NULL);
45825 rm -f conftest.$ac_objext
45826 if { (ac_try="$ac_compile"
45827 case "(($ac_try" in
45828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45829 *) ac_try_echo
=$ac_try;;
45831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45832 (eval "$ac_compile") 2>conftest.er1
45834 grep -v '^ *+' conftest.er1
>conftest.err
45836 cat conftest.err
>&5
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); } && {
45839 test -z "$ac_c_werror_flag" ||
45840 test ! -s conftest.err
45841 } && test -s conftest.
$ac_objext; then
45842 wx_cv_func_gettimeofday_has_2_args
=yes
45844 echo "$as_me: failed program was:" >&5
45845 sed 's/^/| /' conftest.
$ac_ext >&5
45847 cat >conftest.
$ac_ext <<_ACEOF
45850 cat confdefs.h
>>conftest.
$ac_ext
45851 cat >>conftest.
$ac_ext <<_ACEOF
45852 /* end confdefs.h. */
45854 #include <sys/time.h>
45855 #include <unistd.h>
45868 rm -f conftest.
$ac_objext
45869 if { (ac_try
="$ac_compile"
45870 case "(($ac_try" in
45871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45872 *) ac_try_echo=$ac_try;;
45874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45875 (eval "$ac_compile") 2>conftest.er1
45877 grep -v '^ *+' conftest.er1 >conftest.err
45879 cat conftest.err >&5
45880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45881 (exit $ac_status); } && {
45882 test -z "$ac_c_werror_flag" ||
45883 test ! -s conftest.err
45884 } && test -s conftest.$ac_objext; then
45885 wx_cv_func_gettimeofday_has_2_args=no
45887 echo "$as_me: failed program was:" >&5
45888 sed 's/^/| /' conftest.$ac_ext >&5
45891 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45892 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45893 wx_cv_func_gettimeofday_has_2_args=unknown
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45905 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45906 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45908 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define WX_GETTIMEOFDAY_NO_TZ 1
45916 if test "$wxUSE_DATETIME" = "yes"; then
45917 { echo "$as_me:$LINENO: checking for strptime" >&5
45918 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45919 if test "${ac_cv_func_strptime+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45922 cat >conftest.$ac_ext <<_ACEOF
45925 cat confdefs.h >>conftest.$ac_ext
45926 cat >>conftest.$ac_ext <<_ACEOF
45927 /* end confdefs.h. */
45928 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45930 #define strptime innocuous_strptime
45932 /* System header to define __stub macros and hopefully few prototypes,
45933 which can conflict with char strptime (); below.
45934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45935 <limits.h> exists even on freestanding compilers. */
45938 # include <limits.h>
45940 # include <assert.h>
45945 /* Override any GCC internal prototype to avoid an error.
45946 Use char because int might match the return type of a GCC
45947 builtin and then its argument prototype would still apply. */
45952 /* The GNU C library defines this for functions which it implements
45953 to always fail with ENOSYS. Some functions are actually named
45954 something starting with __ and the normal name is an alias. */
45955 #if defined __stub_strptime || defined __stub___strptime
45962 return strptime ();
45967 rm -f conftest.$ac_objext conftest$ac_exeext
45968 if { (ac_try="$ac_link"
45969 case "(($ac_try" in
45970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45971 *) ac_try_echo
=$ac_try;;
45973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45974 (eval "$ac_link") 2>conftest.er1
45976 grep -v '^ *+' conftest.er1
>conftest.err
45978 cat conftest.err
>&5
45979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45980 (exit $ac_status); } && {
45981 test -z "$ac_c_werror_flag" ||
45982 test ! -s conftest.err
45983 } && test -s conftest
$ac_exeext &&
45984 $as_test_x conftest
$ac_exeext; then
45985 ac_cv_func_strptime
=yes
45987 echo "$as_me: failed program was:" >&5
45988 sed 's/^/| /' conftest.
$ac_ext >&5
45990 ac_cv_func_strptime
=no
45993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45994 conftest
$ac_exeext conftest.
$ac_ext
45996 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45997 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45999 if test "$ac_cv_func_strptime" = "yes"; then
46000 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46001 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46002 if test "${wx_cv_func_strptime_decl+set}" = set; then
46003 echo $ECHO_N "(cached) $ECHO_C" >&6
46007 ac_cpp
='$CXXCPP $CPPFLAGS'
46008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46012 cat >conftest.
$ac_ext <<_ACEOF
46015 cat confdefs.h
>>conftest.
$ac_ext
46016 cat >>conftest.
$ac_ext <<_ACEOF
46017 /* end confdefs.h. */
46026 strptime("foo", "bar", &t);
46032 rm -f conftest.
$ac_objext
46033 if { (ac_try
="$ac_compile"
46034 case "(($ac_try" in
46035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46036 *) ac_try_echo=$ac_try;;
46038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46039 (eval "$ac_compile") 2>conftest.er1
46041 grep -v '^ *+' conftest.er1 >conftest.err
46043 cat conftest.err >&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); } && {
46046 test -z "$ac_cxx_werror_flag" ||
46047 test ! -s conftest.err
46048 } && test -s conftest.$ac_objext; then
46049 wx_cv_func_strptime_decl=yes
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.$ac_ext >&5
46054 wx_cv_func_strptime_decl=no
46058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060 ac_cpp='$CPP $CPPFLAGS'
46061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46069 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46071 if test "$wx_cv_func_strptime_decl" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define HAVE_STRPTIME_DECL 1
46077 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46079 if test "$ac_cv_func_strptime" = "yes"; then
46080 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46081 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46082 if test "${wx_cv_func_strptime_ok+set}" = set; then
46083 echo $ECHO_N "(cached) $ECHO_C" >&6
46085 if test "$cross_compiling" = yes; then
46086 wx_cv_func_strptime_ok=no
46089 cat >conftest.$ac_ext <<_ACEOF
46091 #include <stdlib.h>
46093 #include "confdefs.h"
46100 return !!strptime("", "%x", &t);
46104 rm -f conftest$ac_exeext
46105 if { (ac_try="$ac_link"
46106 case "(($ac_try" in
46107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46108 *) ac_try_echo
=$ac_try;;
46110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46111 (eval "$ac_link") 2>&5
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46115 { (case "(($ac_try" in
46116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46117 *) ac_try_echo=$ac_try;;
46119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46120 (eval "$ac_try") 2>&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); }; }; then
46124 wx_cv_func_strptime_ok=yes
46126 echo "$as_me: program exited with status $ac_status" >&5
46127 echo "$as_me: failed program was:" >&5
46128 sed 's/^/| /' conftest.$ac_ext >&5
46130 ( exit $ac_status )
46131 wx_cv_func_strptime_ok=no
46133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46139 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46140 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46142 if test "$wx_cv_func_strptime_ok" = "yes"; then
46143 cat >>confdefs.h <<\_ACEOF
46144 #define HAVE_STRPTIME 1
46150 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46151 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46152 if test "${wx_cv_var_timezone+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 ac_cpp='$CXXCPP $CPPFLAGS'
46158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46162 cat >conftest.$ac_ext <<_ACEOF
46165 cat confdefs.h >>conftest.$ac_ext
46166 cat >>conftest.$ac_ext <<_ACEOF
46167 /* end confdefs.h. */
46182 rm -f conftest.$ac_objext
46183 if { (ac_try="$ac_compile"
46184 case "(($ac_try" in
46185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46186 *) ac_try_echo
=$ac_try;;
46188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46189 (eval "$ac_compile") 2>conftest.er1
46191 grep -v '^ *+' conftest.er1
>conftest.err
46193 cat conftest.err
>&5
46194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46195 (exit $ac_status); } && {
46196 test -z "$ac_cxx_werror_flag" ||
46197 test ! -s conftest.err
46198 } && test -s conftest.
$ac_objext; then
46200 wx_cv_var_timezone
=timezone
46203 echo "$as_me: failed program was:" >&5
46204 sed 's/^/| /' conftest.
$ac_ext >&5
46207 cat >conftest.
$ac_ext <<_ACEOF
46210 cat confdefs.h
>>conftest.
$ac_ext
46211 cat >>conftest.
$ac_ext <<_ACEOF
46212 /* end confdefs.h. */
46227 rm -f conftest.
$ac_objext
46228 if { (ac_try
="$ac_compile"
46229 case "(($ac_try" in
46230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46231 *) ac_try_echo=$ac_try;;
46233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46234 (eval "$ac_compile") 2>conftest.er1
46236 grep -v '^ *+' conftest.er1 >conftest.err
46238 cat conftest.err >&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } && {
46241 test -z "$ac_cxx_werror_flag" ||
46242 test ! -s conftest.err
46243 } && test -s conftest.$ac_objext; then
46245 wx_cv_var_timezone=_timezone
46248 echo "$as_me: failed program was:" >&5
46249 sed 's/^/| /' conftest.$ac_ext >&5
46252 cat >conftest.$ac_ext <<_ACEOF
46255 cat confdefs.h >>conftest.$ac_ext
46256 cat >>conftest.$ac_ext <<_ACEOF
46257 /* end confdefs.h. */
46272 rm -f conftest.$ac_objext
46273 if { (ac_try="$ac_compile"
46274 case "(($ac_try" in
46275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46276 *) ac_try_echo
=$ac_try;;
46278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46279 (eval "$ac_compile") 2>conftest.er1
46281 grep -v '^ *+' conftest.er1
>conftest.err
46283 cat conftest.err
>&5
46284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46285 (exit $ac_status); } && {
46286 test -z "$ac_cxx_werror_flag" ||
46287 test ! -s conftest.err
46288 } && test -s conftest.
$ac_objext; then
46290 wx_cv_var_timezone
=__timezone
46293 echo "$as_me: failed program was:" >&5
46294 sed 's/^/| /' conftest.
$ac_ext >&5
46297 if test "$USE_DOS" = 0 ; then
46298 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46299 echo "$as_me: WARNING: no timezone variable" >&2;}
46305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46317 ac_cpp
='$CPP $CPPFLAGS'
46318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46325 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46326 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46328 if test "x$wx_cv_var_timezone" != x
; then
46329 cat >>confdefs.h
<<_ACEOF
46330 #define WX_TIMEZONE $wx_cv_var_timezone
46336 for ac_func
in localtime
46338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46341 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46344 cat >conftest.
$ac_ext <<_ACEOF
46347 cat confdefs.h
>>conftest.
$ac_ext
46348 cat >>conftest.
$ac_ext <<_ACEOF
46349 /* end confdefs.h. */
46350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46352 #define $ac_func innocuous_$ac_func
46354 /* System header to define __stub macros and hopefully few prototypes,
46355 which can conflict with char $ac_func (); below.
46356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46357 <limits.h> exists even on freestanding compilers. */
46360 # include <limits.h>
46362 # include <assert.h>
46367 /* Override any GCC internal prototype to avoid an error.
46368 Use char because int might match the return type of a GCC
46369 builtin and then its argument prototype would still apply. */
46374 /* The GNU C library defines this for functions which it implements
46375 to always fail with ENOSYS. Some functions are actually named
46376 something starting with __ and the normal name is an alias. */
46377 #if defined __stub_$ac_func || defined __stub___$ac_func
46384 return $ac_func ();
46389 rm -f conftest.
$ac_objext conftest
$ac_exeext
46390 if { (ac_try
="$ac_link"
46391 case "(($ac_try" in
46392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46393 *) ac_try_echo=$ac_try;;
46395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46396 (eval "$ac_link") 2>conftest.er1
46398 grep -v '^ *+' conftest.er1 >conftest.err
46400 cat conftest.err >&5
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); } && {
46403 test -z "$ac_c_werror_flag" ||
46404 test ! -s conftest.err
46405 } && test -s conftest$ac_exeext &&
46406 $as_test_x conftest$ac_exeext; then
46407 eval "$as_ac_var=yes"
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.$ac_ext >&5
46412 eval "$as_ac_var=no"
46415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46416 conftest$ac_exeext conftest.$ac_ext
46418 ac_res=`eval echo '${'$as_ac_var'}'`
46419 { echo "$as_me:$LINENO: result: $ac_res" >&5
46420 echo "${ECHO_T}$ac_res" >&6; }
46421 if test `eval echo '${'$as_ac_var'}'` = yes; then
46422 cat >>confdefs.h <<_ACEOF
46423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46430 if test "$ac_cv_func_localtime" = "yes"; then
46431 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46432 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46433 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46434 echo $ECHO_N "(cached) $ECHO_C" >&6
46437 cat >conftest.$ac_ext <<_ACEOF
46440 cat confdefs.h >>conftest.$ac_ext
46441 cat >>conftest.$ac_ext <<_ACEOF
46442 /* end confdefs.h. */
46457 rm -f conftest.$ac_objext
46458 if { (ac_try="$ac_compile"
46459 case "(($ac_try" in
46460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46461 *) ac_try_echo
=$ac_try;;
46463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46464 (eval "$ac_compile") 2>conftest.er1
46466 grep -v '^ *+' conftest.er1
>conftest.err
46468 cat conftest.err
>&5
46469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46470 (exit $ac_status); } && {
46471 test -z "$ac_c_werror_flag" ||
46472 test ! -s conftest.err
46473 } && test -s conftest.
$ac_objext; then
46475 wx_cv_struct_tm_has_gmtoff
=yes
46478 echo "$as_me: failed program was:" >&5
46479 sed 's/^/| /' conftest.
$ac_ext >&5
46481 wx_cv_struct_tm_has_gmtoff
=no
46485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46488 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46489 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46492 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46493 cat >>confdefs.h
<<\_ACEOF
46494 #define WX_GMTOFF_IN_TM 1
46499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46503 if test "$wxUSE_SOCKETS" = "yes"; then
46504 if test "$wxUSE_MGL" = "1"; then
46505 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46506 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46511 if test "$wxUSE_SOCKETS" = "yes"; then
46512 if test "$TOOLKIT" != "MSW"; then
46513 { echo "$as_me:$LINENO: checking for socket" >&5
46514 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46515 if test "${ac_cv_func_socket+set}" = set; then
46516 echo $ECHO_N "(cached) $ECHO_C" >&6
46518 cat >conftest.
$ac_ext <<_ACEOF
46521 cat confdefs.h
>>conftest.
$ac_ext
46522 cat >>conftest.
$ac_ext <<_ACEOF
46523 /* end confdefs.h. */
46524 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46526 #define socket innocuous_socket
46528 /* System header to define __stub macros and hopefully few prototypes,
46529 which can conflict with char socket (); below.
46530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46531 <limits.h> exists even on freestanding compilers. */
46534 # include <limits.h>
46536 # include <assert.h>
46541 /* Override any GCC internal prototype to avoid an error.
46542 Use char because int might match the return type of a GCC
46543 builtin and then its argument prototype would still apply. */
46548 /* The GNU C library defines this for functions which it implements
46549 to always fail with ENOSYS. Some functions are actually named
46550 something starting with __ and the normal name is an alias. */
46551 #if defined __stub_socket || defined __stub___socket
46563 rm -f conftest.
$ac_objext conftest
$ac_exeext
46564 if { (ac_try
="$ac_link"
46565 case "(($ac_try" in
46566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46567 *) ac_try_echo=$ac_try;;
46569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46570 (eval "$ac_link") 2>conftest.er1
46572 grep -v '^ *+' conftest.er1 >conftest.err
46574 cat conftest.err >&5
46575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576 (exit $ac_status); } && {
46577 test -z "$ac_c_werror_flag" ||
46578 test ! -s conftest.err
46579 } && test -s conftest$ac_exeext &&
46580 $as_test_x conftest$ac_exeext; then
46581 ac_cv_func_socket=yes
46583 echo "$as_me: failed program was:" >&5
46584 sed 's/^/| /' conftest.$ac_ext >&5
46586 ac_cv_func_socket=no
46589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46590 conftest$ac_exeext conftest.$ac_ext
46592 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46593 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46594 if test $ac_cv_func_socket = yes; then
46598 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46599 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46600 if test "${ac_cv_lib_socket_socket+set}" = set; then
46601 echo $ECHO_N "(cached) $ECHO_C" >&6
46603 ac_check_lib_save_LIBS=$LIBS
46604 LIBS="-lsocket $LIBS"
46605 cat >conftest.$ac_ext <<_ACEOF
46608 cat confdefs.h >>conftest.$ac_ext
46609 cat >>conftest.$ac_ext <<_ACEOF
46610 /* end confdefs.h. */
46612 /* Override any GCC internal prototype to avoid an error.
46613 Use char because int might match the return type of a GCC
46614 builtin and then its argument prototype would still apply. */
46627 rm -f conftest.$ac_objext conftest$ac_exeext
46628 if { (ac_try="$ac_link"
46629 case "(($ac_try" in
46630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46631 *) ac_try_echo
=$ac_try;;
46633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46634 (eval "$ac_link") 2>conftest.er1
46636 grep -v '^ *+' conftest.er1
>conftest.err
46638 cat conftest.err
>&5
46639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46640 (exit $ac_status); } && {
46641 test -z "$ac_c_werror_flag" ||
46642 test ! -s conftest.err
46643 } && test -s conftest
$ac_exeext &&
46644 $as_test_x conftest
$ac_exeext; then
46645 ac_cv_lib_socket_socket
=yes
46647 echo "$as_me: failed program was:" >&5
46648 sed 's/^/| /' conftest.
$ac_ext >&5
46650 ac_cv_lib_socket_socket
=no
46653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46654 conftest
$ac_exeext conftest.
$ac_ext
46655 LIBS
=$ac_check_lib_save_LIBS
46657 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46658 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46659 if test $ac_cv_lib_socket_socket = yes; then
46660 if test "$INET_LINK" != " -lsocket"; then
46661 INET_LINK
="$INET_LINK -lsocket"
46665 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46666 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46679 if test "$wxUSE_SOCKETS" = "yes" ; then
46680 if test "$TOOLKIT" != "MSW"; then
46681 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46682 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46683 if test "${wx_cv_type_getsockname3+set}" = set; then
46684 echo $ECHO_N "(cached) $ECHO_C" >&6
46688 ac_cpp
='$CXXCPP $CPPFLAGS'
46689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46693 cat >conftest.
$ac_ext <<_ACEOF
46696 cat confdefs.h
>>conftest.
$ac_ext
46697 cat >>conftest.
$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46700 #include <sys/types.h>
46701 #include <sys/socket.h>
46708 getsockname(0, 0, &len);
46714 rm -f conftest.
$ac_objext
46715 if { (ac_try
="$ac_compile"
46716 case "(($ac_try" in
46717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46718 *) ac_try_echo=$ac_try;;
46720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46721 (eval "$ac_compile") 2>conftest.er1
46723 grep -v '^ *+' conftest.er1 >conftest.err
46725 cat conftest.err >&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); } && {
46728 test -z "$ac_cxx_werror_flag" ||
46729 test ! -s conftest.err
46730 } && test -s conftest.$ac_objext; then
46731 wx_cv_type_getsockname3=socklen_t
46733 echo "$as_me: failed program was:" >&5
46734 sed 's/^/| /' conftest.$ac_ext >&5
46737 CFLAGS_OLD="$CFLAGS"
46738 if test "$GCC" = yes ; then
46739 CFLAGS="-Werror $CFLAGS"
46742 cat >conftest.$ac_ext <<_ACEOF
46745 cat confdefs.h >>conftest.$ac_ext
46746 cat >>conftest.$ac_ext <<_ACEOF
46747 /* end confdefs.h. */
46749 #include <sys/types.h>
46750 #include <sys/socket.h>
46757 getsockname(0, 0, &len);
46763 rm -f conftest.$ac_objext
46764 if { (ac_try="$ac_compile"
46765 case "(($ac_try" in
46766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46767 *) ac_try_echo
=$ac_try;;
46769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46770 (eval "$ac_compile") 2>conftest.er1
46772 grep -v '^ *+' conftest.er1
>conftest.err
46774 cat conftest.err
>&5
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); } && {
46777 test -z "$ac_cxx_werror_flag" ||
46778 test ! -s conftest.err
46779 } && test -s conftest.
$ac_objext; then
46780 wx_cv_type_getsockname3
=size_t
46782 echo "$as_me: failed program was:" >&5
46783 sed 's/^/| /' conftest.
$ac_ext >&5
46785 cat >conftest.
$ac_ext <<_ACEOF
46788 cat confdefs.h
>>conftest.
$ac_ext
46789 cat >>conftest.
$ac_ext <<_ACEOF
46790 /* end confdefs.h. */
46792 #include <sys/types.h>
46793 #include <sys/socket.h>
46800 getsockname(0, 0, &len);
46806 rm -f conftest.
$ac_objext
46807 if { (ac_try
="$ac_compile"
46808 case "(($ac_try" in
46809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46810 *) ac_try_echo=$ac_try;;
46812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46813 (eval "$ac_compile") 2>conftest.er1
46815 grep -v '^ *+' conftest.er1 >conftest.err
46817 cat conftest.err >&5
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); } && {
46820 test -z "$ac_cxx_werror_flag" ||
46821 test ! -s conftest.err
46822 } && test -s conftest.$ac_objext; then
46823 wx_cv_type_getsockname3=int
46825 echo "$as_me: failed program was:" >&5
46826 sed 's/^/| /' conftest.$ac_ext >&5
46828 wx_cv_type_getsockname3=unknown
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46838 CFLAGS="$CFLAGS_OLD"
46843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_cpp='$CPP $CPPFLAGS'
46846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46852 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46853 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46855 if test "$wx_cv_type_getsockname3" = "unknown"; then
46857 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46858 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46860 cat >>confdefs.h <<_ACEOF
46861 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46865 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46866 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46867 if test "${wx_cv_type_getsockopt5+set}" = set; then
46868 echo $ECHO_N "(cached) $ECHO_C" >&6
46872 ac_cpp='$CXXCPP $CPPFLAGS'
46873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46877 cat >conftest.$ac_ext <<_ACEOF
46880 cat confdefs.h >>conftest.$ac_ext
46881 cat >>conftest.$ac_ext <<_ACEOF
46882 /* end confdefs.h. */
46884 #include <sys/types.h>
46885 #include <sys/socket.h>
46892 getsockopt(0, 0, 0, 0, &len);
46898 rm -f conftest.$ac_objext
46899 if { (ac_try="$ac_compile"
46900 case "(($ac_try" in
46901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46902 *) ac_try_echo
=$ac_try;;
46904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46905 (eval "$ac_compile") 2>conftest.er1
46907 grep -v '^ *+' conftest.er1
>conftest.err
46909 cat conftest.err
>&5
46910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46911 (exit $ac_status); } && {
46912 test -z "$ac_cxx_werror_flag" ||
46913 test ! -s conftest.err
46914 } && test -s conftest.
$ac_objext; then
46915 wx_cv_type_getsockopt5
=socklen_t
46917 echo "$as_me: failed program was:" >&5
46918 sed 's/^/| /' conftest.
$ac_ext >&5
46921 cat >conftest.
$ac_ext <<_ACEOF
46924 cat confdefs.h
>>conftest.
$ac_ext
46925 cat >>conftest.
$ac_ext <<_ACEOF
46926 /* end confdefs.h. */
46928 #include <sys/types.h>
46929 #include <sys/socket.h>
46936 getsockopt(0, 0, 0, 0, &len);
46942 rm -f conftest.
$ac_objext
46943 if { (ac_try
="$ac_compile"
46944 case "(($ac_try" in
46945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46946 *) ac_try_echo=$ac_try;;
46948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46949 (eval "$ac_compile") 2>conftest.er1
46951 grep -v '^ *+' conftest.er1 >conftest.err
46953 cat conftest.err >&5
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); } && {
46956 test -z "$ac_cxx_werror_flag" ||
46957 test ! -s conftest.err
46958 } && test -s conftest.$ac_objext; then
46959 wx_cv_type_getsockopt5=size_t
46961 echo "$as_me: failed program was:" >&5
46962 sed 's/^/| /' conftest.$ac_ext >&5
46964 cat >conftest.$ac_ext <<_ACEOF
46967 cat confdefs.h >>conftest.$ac_ext
46968 cat >>conftest.$ac_ext <<_ACEOF
46969 /* end confdefs.h. */
46971 #include <sys/types.h>
46972 #include <sys/socket.h>
46979 getsockopt(0, 0, 0, 0, &len);
46985 rm -f conftest.$ac_objext
46986 if { (ac_try="$ac_compile"
46987 case "(($ac_try" in
46988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46989 *) ac_try_echo
=$ac_try;;
46991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46992 (eval "$ac_compile") 2>conftest.er1
46994 grep -v '^ *+' conftest.er1
>conftest.err
46996 cat conftest.err
>&5
46997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46998 (exit $ac_status); } && {
46999 test -z "$ac_cxx_werror_flag" ||
47000 test ! -s conftest.err
47001 } && test -s conftest.
$ac_objext; then
47002 wx_cv_type_getsockopt5
=int
47004 echo "$as_me: failed program was:" >&5
47005 sed 's/^/| /' conftest.
$ac_ext >&5
47007 wx_cv_type_getsockopt5
=unknown
47011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47022 ac_cpp
='$CPP $CPPFLAGS'
47023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47029 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47030 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47032 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47034 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47035 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47037 cat >>confdefs.h
<<_ACEOF
47038 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47045 if test "$wxUSE_SOCKETS" = "yes" ; then
47046 cat >>confdefs.h
<<\_ACEOF
47047 #define wxUSE_SOCKETS 1
47050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47053 if test "$wxUSE_PROTOCOL" = "yes"; then
47054 if test "$wxUSE_SOCKETS" != "yes"; then
47055 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47056 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47061 if test "$wxUSE_PROTOCOL" = "yes"; then
47062 cat >>confdefs.h
<<\_ACEOF
47063 #define wxUSE_PROTOCOL 1
47067 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47068 cat >>confdefs.h
<<\_ACEOF
47069 #define wxUSE_PROTOCOL_HTTP 1
47073 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47074 cat >>confdefs.h
<<\_ACEOF
47075 #define wxUSE_PROTOCOL_FTP 1
47079 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47080 cat >>confdefs.h
<<\_ACEOF
47081 #define wxUSE_PROTOCOL_FILE 1
47086 if test "$wxUSE_FS_INET" = "yes"; then
47087 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47088 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47093 if test "$wxUSE_URL" = "yes"; then
47094 if test "$wxUSE_PROTOCOL" != "yes"; then
47095 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47096 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47099 if test "$wxUSE_URL" = "yes"; then
47100 cat >>confdefs.h
<<\_ACEOF
47101 #define wxUSE_URL 1
47107 if test "$wxUSE_VARIANT" = "yes"; then
47108 cat >>confdefs.h
<<\_ACEOF
47109 #define wxUSE_VARIANT 1
47114 if test "$wxUSE_FS_INET" = "yes"; then
47115 cat >>confdefs.h
<<\_ACEOF
47116 #define wxUSE_FS_INET 1
47122 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47125 if test "$TOOLKIT" = "MSW"; then
47128 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47129 if test "$USE_DARWIN" = 1; then
47130 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47131 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47133 ac_cpp
='$CXXCPP $CPPFLAGS'
47134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47138 cat >conftest.
$ac_ext <<_ACEOF
47141 cat confdefs.h
>>conftest.
$ac_ext
47142 cat >>conftest.
$ac_ext <<_ACEOF
47143 /* end confdefs.h. */
47144 #include <IOKit/hid/IOHIDLib.h>
47148 IOHIDQueueInterface *qi = NULL;
47149 IOHIDCallbackFunction cb = NULL;
47150 qi->setEventCallout(NULL, cb, NULL, NULL);
47155 rm -f conftest.
$ac_objext
47156 if { (ac_try
="$ac_compile"
47157 case "(($ac_try" in
47158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47159 *) ac_try_echo=$ac_try;;
47161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47162 (eval "$ac_compile") 2>conftest.er1
47164 grep -v '^ *+' conftest.er1 >conftest.err
47166 cat conftest.err >&5
47167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47168 (exit $ac_status); } && {
47169 test -z "$ac_cxx_werror_flag" ||
47170 test ! -s conftest.err
47171 } && test -s conftest.$ac_objext; then
47175 echo "$as_me: failed program was:" >&5
47176 sed 's/^/| /' conftest.$ac_ext >&5
47181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47188 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47189 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47193 if test "$wxUSE_MGL" != "1"; then
47195 for ac_header in linux/joystick.h
47197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47198 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47201 echo $ECHO_N "(cached) $ECHO_C" >&6
47203 cat >conftest.$ac_ext <<_ACEOF
47206 cat confdefs.h >>conftest.$ac_ext
47207 cat >>conftest.$ac_ext <<_ACEOF
47208 /* end confdefs.h. */
47209 $ac_includes_default
47211 #include <$ac_header>
47213 rm -f conftest.$ac_objext
47214 if { (ac_try="$ac_compile"
47215 case "(($ac_try" in
47216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47217 *) ac_try_echo
=$ac_try;;
47219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47220 (eval "$ac_compile") 2>conftest.er1
47222 grep -v '^ *+' conftest.er1
>conftest.err
47224 cat conftest.err
>&5
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); } && {
47227 test -z "$ac_c_werror_flag" ||
47228 test ! -s conftest.err
47229 } && test -s conftest.
$ac_objext; then
47230 eval "$as_ac_Header=yes"
47232 echo "$as_me: failed program was:" >&5
47233 sed 's/^/| /' conftest.
$ac_ext >&5
47235 eval "$as_ac_Header=no"
47238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47240 ac_res
=`eval echo '${'$as_ac_Header'}'`
47241 { echo "$as_me:$LINENO: result: $ac_res" >&5
47242 echo "${ECHO_T}$ac_res" >&6; }
47243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47244 cat >>confdefs.h
<<_ACEOF
47245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47255 if test "$wxUSE_JOYSTICK" = "yes"; then
47256 cat >>confdefs.h
<<\_ACEOF
47257 #define wxUSE_JOYSTICK 1
47260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47262 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47263 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47269 if test "$wxUSE_FONTENUM" = "yes" ; then
47270 cat >>confdefs.h
<<\_ACEOF
47271 #define wxUSE_FONTENUM 1
47276 if test "$wxUSE_FONTMAP" = "yes" ; then
47277 cat >>confdefs.h
<<\_ACEOF
47278 #define wxUSE_FONTMAP 1
47283 if test "$wxUSE_UNICODE" = "yes" ; then
47284 cat >>confdefs.h
<<\_ACEOF
47285 #define wxUSE_UNICODE 1
47289 if test "$USE_WIN32" != 1; then
47290 wxUSE_UNICODE_MSLU
=no
47293 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47294 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47295 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47296 if test "${ac_cv_lib_unicows_main+set}" = set; then
47297 echo $ECHO_N "(cached) $ECHO_C" >&6
47299 ac_check_lib_save_LIBS
=$LIBS
47300 LIBS
="-lunicows $LIBS"
47301 cat >conftest.
$ac_ext <<_ACEOF
47304 cat confdefs.h
>>conftest.
$ac_ext
47305 cat >>conftest.
$ac_ext <<_ACEOF
47306 /* end confdefs.h. */
47317 rm -f conftest.
$ac_objext conftest
$ac_exeext
47318 if { (ac_try
="$ac_link"
47319 case "(($ac_try" in
47320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47321 *) ac_try_echo=$ac_try;;
47323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47324 (eval "$ac_link") 2>conftest.er1
47326 grep -v '^ *+' conftest.er1 >conftest.err
47328 cat conftest.err >&5
47329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47330 (exit $ac_status); } && {
47331 test -z "$ac_c_werror_flag" ||
47332 test ! -s conftest.err
47333 } && test -s conftest$ac_exeext &&
47334 $as_test_x conftest$ac_exeext; then
47335 ac_cv_lib_unicows_main=yes
47337 echo "$as_me: failed program was:" >&5
47338 sed 's/^/| /' conftest.$ac_ext >&5
47340 ac_cv_lib_unicows_main=no
47343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47344 conftest$ac_exeext conftest.$ac_ext
47345 LIBS=$ac_check_lib_save_LIBS
47347 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47348 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47349 if test $ac_cv_lib_unicows_main = yes; then
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_UNICODE_MSLU 1
47358 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47359 Applications will only run on Windows NT/2000/XP!" >&5
47360 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47361 Applications will only run on Windows NT/2000/XP!" >&2;}
47362 wxUSE_UNICODE_MSLU=no
47369 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_UNICODE_UTF8 1
47375 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_UTF8_LOCALE_ONLY 1
47384 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47385 cat >>confdefs.h <<\_ACEOF
47386 #define wxUSE_CONSTRAINTS 1
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47392 if test "$wxUSE_MDI" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_MDI 1
47398 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_MDI_ARCHITECTURE 1
47403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47407 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47413 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47418 if test "$wxUSE_HELP" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_HELP 1
47423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47425 if test "$wxUSE_MSW" = 1; then
47426 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_MS_HTML_HELP 1
47434 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47435 if test "$wxUSE_HTML" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_WXHTML_HELP 1
47441 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47442 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47443 wxUSE_WXHTML_HELP=no
47448 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47449 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47450 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47451 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_PRINTING_ARCHITECTURE 1
47458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47461 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_POSTSCRIPT 1
47468 cat >>confdefs.h <<\_ACEOF
47469 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47473 if test "$wxUSE_SVG" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_SVG 1
47481 if test "$wxUSE_METAFILE" = "yes"; then
47482 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47483 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47484 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47490 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47491 -o "$wxUSE_CLIPBOARD" = "yes" \
47492 -o "$wxUSE_OLE" = "yes" \
47493 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47494 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47495 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47496 if test "${ac_cv_header_ole2_h+set}" = set; then
47497 echo $ECHO_N "(cached) $ECHO_C" >&6
47499 cat >conftest.$ac_ext <<_ACEOF
47502 cat confdefs.h >>conftest.$ac_ext
47503 cat >>conftest.$ac_ext <<_ACEOF
47504 /* end confdefs.h. */
47509 rm -f conftest.$ac_objext
47510 if { (ac_try="$ac_compile"
47511 case "(($ac_try" in
47512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47513 *) ac_try_echo
=$ac_try;;
47515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47516 (eval "$ac_compile") 2>conftest.er1
47518 grep -v '^ *+' conftest.er1
>conftest.err
47520 cat conftest.err
>&5
47521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47522 (exit $ac_status); } && {
47523 test -z "$ac_c_werror_flag" ||
47524 test ! -s conftest.err
47525 } && test -s conftest.
$ac_objext; then
47526 ac_cv_header_ole2_h
=yes
47528 echo "$as_me: failed program was:" >&5
47529 sed 's/^/| /' conftest.
$ac_ext >&5
47531 ac_cv_header_ole2_h
=no
47534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47536 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47537 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47541 if test "$ac_cv_header_ole2_h" = "yes" ; then
47542 if test "$GCC" = yes ; then
47543 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47544 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47545 cat >conftest.
$ac_ext <<_ACEOF
47548 cat confdefs.h
>>conftest.
$ac_ext
47549 cat >>conftest.
$ac_ext <<_ACEOF
47550 /* end confdefs.h. */
47551 #include <windows.h>
47561 rm -f conftest.
$ac_objext
47562 if { (ac_try
="$ac_compile"
47563 case "(($ac_try" in
47564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47565 *) ac_try_echo=$ac_try;;
47567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47568 (eval "$ac_compile") 2>conftest.er1
47570 grep -v '^ *+' conftest.er1 >conftest.err
47572 cat conftest.err >&5
47573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47574 (exit $ac_status); } && {
47575 test -z "$ac_c_werror_flag" ||
47576 test ! -s conftest.err
47577 } && test -s conftest.$ac_objext; then
47578 { echo "$as_me:$LINENO: result: no" >&5
47579 echo "${ECHO_T}no" >&6; }
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.$ac_ext >&5
47584 { echo "$as_me:$LINENO: result: yes" >&5
47585 echo "${ECHO_T}yes" >&6; }
47586 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47590 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47591 if test "$wxUSE_OLE" = "yes" ; then
47592 cat >>confdefs.h <<\_ACEOF
47593 #define wxUSE_OLE 1
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_OLE_AUTOMATION 1
47600 cat >>confdefs.h <<\_ACEOF
47601 #define wxUSE_ACTIVEX 1
47604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47608 if test "$wxUSE_DATAOBJ" = "yes" ; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_DATAOBJ 1
47615 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47616 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47619 wxUSE_DRAG_AND_DROP=no
47624 if test "$wxUSE_METAFILE" = "yes"; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_METAFILE 1
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_ENH_METAFILE 1
47637 if test "$wxUSE_IPC" = "yes"; then
47638 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47639 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47640 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47644 if test "$wxUSE_IPC" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_IPC 1
47649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47653 if test "$wxUSE_DATAOBJ" = "yes"; then
47654 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47655 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47656 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_DATAOBJ 1
47665 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47666 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47668 wxUSE_DRAG_AND_DROP=no
47671 if test "$wxUSE_CLIPBOARD" = "yes"; then
47672 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47673 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47674 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47678 if test "$wxUSE_CLIPBOARD" = "yes"; then
47679 cat >>confdefs.h <<\_ACEOF
47680 #define wxUSE_CLIPBOARD 1
47686 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47687 if test "$wxUSE_GTK" = 1; then
47688 if test "$WXGTK12" != 1; then
47689 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47690 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47691 wxUSE_DRAG_AND_DROP=no
47695 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47696 "$wxUSE_DFB" = 1; then
47697 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47698 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47699 wxUSE_DRAG_AND_DROP=no
47702 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_DRAG_AND_DROP 1
47711 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47715 if test "$wxUSE_SPLINES" = "yes" ; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_SPLINES 1
47722 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_MOUSEWHEEL 1
47731 if test "$wxUSE_CONTROLS" = "yes"; then
47735 if test "$wxUSE_ACCEL" = "yes"; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_ACCEL 1
47743 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_ANIMATIONCTRL 1
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47752 if test "$wxUSE_BUTTON" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_BUTTON 1
47760 if test "$wxUSE_BMPBUTTON" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_BMPBUTTON 1
47768 if test "$wxUSE_CALCTRL" = "yes"; then
47769 cat >>confdefs.h <<\_ACEOF
47770 #define wxUSE_CALENDARCTRL 1
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47777 if test "$wxUSE_CARET" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_CARET 1
47783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47786 if test "$wxUSE_COLLPANE" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_COLLPANE 1
47792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47795 if test "$wxUSE_COMBOBOX" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_COMBOBOX 1
47803 if test "$wxUSE_COMBOCTRL" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_COMBOCTRL 1
47811 if test "$wxUSE_CHOICE" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_CHOICE 1
47819 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_CHOICEBOOK 1
47827 if test "$wxUSE_CHECKBOX" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_CHECKBOX 1
47835 if test "$wxUSE_CHECKLST" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_CHECKLISTBOX 1
47843 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_COLOURPICKERCTRL 1
47851 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_DATEPICKCTRL 1
47859 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_DIRPICKERCTRL 1
47867 if test "$wxUSE_FILECTRL" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_FILECTRL 1
47875 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_FILEPICKERCTRL 1
47883 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_FONTPICKERCTRL 1
47891 if test "$wxUSE_DISPLAY" = "yes"; then
47892 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47893 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47894 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_DISPLAY 1
47901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47905 if test "$wxUSE_DETECT_SM" = "yes"; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_DETECT_SM 1
47912 if test "$wxUSE_GAUGE" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_GAUGE 1
47920 if test "$wxUSE_GRID" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_GRID 1
47926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47929 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_HYPERLINKCTRL 1
47937 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_BITMAPCOMBOBOX 1
47945 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_DATAVIEWCTRL 1
47951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47954 if test "$wxUSE_IMAGLIST" = "yes"; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_IMAGLIST 1
47961 if test "$wxUSE_LISTBOOK" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_LISTBOOK 1
47969 if test "$wxUSE_LISTBOX" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_LISTBOX 1
47977 if test "$wxUSE_LISTCTRL" = "yes"; then
47978 if test "$wxUSE_IMAGLIST" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_LISTCTRL 1
47984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47986 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47987 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47991 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_EDITABLELISTBOX 1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48000 if test "$wxUSE_NOTEBOOK" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_NOTEBOOK 1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48009 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_ODCOMBOBOX 1
48015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48018 if test "$wxUSE_RADIOBOX" = "yes"; then
48019 cat >>confdefs.h <<\_ACEOF
48020 #define wxUSE_RADIOBOX 1
48026 if test "$wxUSE_RADIOBTN" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_RADIOBTN 1
48034 if test "$wxUSE_SASH" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_SASH 1
48039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48042 if test "$wxUSE_SCROLLBAR" = "yes"; then
48043 cat >>confdefs.h <<\_ACEOF
48044 #define wxUSE_SCROLLBAR 1
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48051 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_SEARCHCTRL 1
48059 if test "$wxUSE_SLIDER" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_SLIDER 1
48067 if test "$wxUSE_SPINBTN" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_SPINBTN 1
48075 if test "$wxUSE_SPINCTRL" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_SPINCTRL 1
48083 if test "$wxUSE_SPLITTER" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_SPLITTER 1
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48091 if test "$wxUSE_STATBMP" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_STATBMP 1
48099 if test "$wxUSE_STATBOX" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_STATBOX 1
48107 if test "$wxUSE_STATTEXT" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_STATTEXT 1
48115 if test "$wxUSE_STATLINE" = "yes"; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_STATLINE 1
48123 if test "$wxUSE_STATUSBAR" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_NATIVE_STATUSBAR 1
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_STATUSBAR 1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48137 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_TAB_DIALOG 1
48144 if test "$wxUSE_TEXTCTRL" = "yes"; then
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_TEXTCTRL 1
48150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48153 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48154 if test "$wxUSE_COCOA" = 1 ; then
48155 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48156 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48160 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_TOGGLEBTN 1
48169 if test "$wxUSE_TOOLBAR" = "yes"; then
48170 cat >>confdefs.h <<\_ACEOF
48171 #define wxUSE_TOOLBAR 1
48176 if test "$wxUSE_UNIVERSAL" = "yes"; then
48177 wxUSE_TOOLBAR_NATIVE="no"
48179 wxUSE_TOOLBAR_NATIVE="yes"
48180 cat >>confdefs.h <<\_ACEOF
48181 #define wxUSE_TOOLBAR_NATIVE 1
48186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48189 if test "$wxUSE_TOOLTIPS" = "yes"; then
48190 if test "$wxUSE_MOTIF" = 1; then
48191 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48192 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48194 if test "$wxUSE_UNIVERSAL" = "yes"; then
48195 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48196 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_TOOLTIPS 1
48206 if test "$wxUSE_TREEBOOK" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_TREEBOOK 1
48214 if test "$wxUSE_TOOLBOOK" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_TOOLBOOK 1
48222 if test "$wxUSE_TREECTRL" = "yes"; then
48223 if test "$wxUSE_IMAGLIST" = "yes"; then
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_TREECTRL 1
48229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48231 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48232 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48236 if test "$wxUSE_POPUPWIN" = "yes"; then
48237 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48238 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48239 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48241 if test "$wxUSE_PM" = 1; then
48242 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48243 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_POPUPWIN 1
48249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48256 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48257 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48258 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48259 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_DIALUP_MANAGER 1
48265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48269 if test "$wxUSE_TIPWINDOW" = "yes"; then
48270 if test "$wxUSE_PM" = 1; then
48271 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48272 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_TIPWINDOW 1
48281 if test "$USES_CONTROLS" = 1; then
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_CONTROLS 1
48289 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_ACCESSIBILITY 1
48294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48297 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_DRAGIMAGE 1
48302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48305 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48306 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48307 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48308 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_EXCEPTIONS 1
48314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48319 if test "$wxUSE_HTML" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_HTML 1
48325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48326 if test "$wxUSE_MAC" = 1; then
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48330 if test "$wxUSE_WEBKIT" = "yes"; then
48331 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48332 old_CPPFLAGS="$CPPFLAGS"
48333 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48334 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48335 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48336 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48339 cat >conftest.$ac_ext <<_ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h. */
48346 #include <Carbon/Carbon.h>
48347 #include <WebKit/WebKit.h>
48350 #include <WebKit/HIWebView.h>
48352 rm -f conftest.$ac_objext
48353 if { (ac_try="$ac_compile"
48354 case "(($ac_try" in
48355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48356 *) ac_try_echo
=$ac_try;;
48358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48359 (eval "$ac_compile") 2>conftest.er1
48361 grep -v '^ *+' conftest.er1
>conftest.err
48363 cat conftest.err
>&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } && {
48366 test -z "$ac_c_werror_flag" ||
48367 test ! -s conftest.err
48368 } && test -s conftest.
$ac_objext; then
48369 ac_cv_header_WebKit_HIWebView_h
=yes
48371 echo "$as_me: failed program was:" >&5
48372 sed 's/^/| /' conftest.
$ac_ext >&5
48374 ac_cv_header_WebKit_HIWebView_h
=no
48377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48379 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48380 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48381 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48383 cat >>confdefs.h
<<\_ACEOF
48384 #define wxUSE_WEBKIT 1
48387 WEBKIT_LINK
="-framework WebKit"
48391 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48392 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48398 CPPFLAGS
="$old_CPPFLAGS"
48399 elif test "$wxUSE_COCOA" = 1; then
48400 cat >>confdefs.h
<<\_ACEOF
48401 #define wxUSE_WEBKIT 1
48410 if test "$wxUSE_XRC" = "yes"; then
48411 if test "$wxUSE_XML" != "yes"; then
48412 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48413 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48416 cat >>confdefs.h
<<\_ACEOF
48417 #define wxUSE_XRC 1
48421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48426 if test "$wxUSE_AUI" = "yes"; then
48427 cat >>confdefs.h
<<\_ACEOF
48428 #define wxUSE_AUI 1
48432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48436 if test "$wxUSE_STC" = "yes"; then
48437 cat >>confdefs.h
<<\_ACEOF
48438 #define wxUSE_STC 1
48442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48445 if test "$wxUSE_MENUS" = "yes"; then
48446 cat >>confdefs.h
<<\_ACEOF
48447 #define wxUSE_MENUS 1
48450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48453 if test "$wxUSE_METAFILE" = "yes"; then
48454 cat >>confdefs.h
<<\_ACEOF
48455 #define wxUSE_METAFILE 1
48460 if test "$wxUSE_MIMETYPE" = "yes"; then
48461 cat >>confdefs.h
<<\_ACEOF
48462 #define wxUSE_MIMETYPE 1
48467 if test "$wxUSE_MINIFRAME" = "yes"; then
48468 cat >>confdefs.h
<<\_ACEOF
48469 #define wxUSE_MINIFRAME 1
48474 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48475 cat >>confdefs.h
<<\_ACEOF
48476 #define wxUSE_SYSTEM_OPTIONS 1
48481 if test "$wxUSE_TASKBARICON" = "yes"; then
48482 cat >>confdefs.h
<<\_ACEOF
48483 #define wxUSE_TASKBARICON 1
48486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48490 if test "$wxUSE_VALIDATORS" = "yes"; then
48491 cat >>confdefs.h
<<\_ACEOF
48492 #define wxUSE_VALIDATORS 1
48495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48498 if test "$wxUSE_PALETTE" = "yes" ; then
48499 if test "$wxUSE_DFB" = 1; then
48500 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48501 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48504 cat >>confdefs.h
<<\_ACEOF
48505 #define wxUSE_PALETTE 1
48511 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48512 LIBS
=" -lunicows $LIBS"
48516 if test "$wxUSE_RICHTEXT" = "yes"; then
48517 cat >>confdefs.h
<<\_ACEOF
48518 #define wxUSE_RICHTEXT 1
48522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48526 if test "$wxUSE_IMAGE" = "yes" ; then
48527 cat >>confdefs.h
<<\_ACEOF
48528 #define wxUSE_IMAGE 1
48532 if test "$wxUSE_GIF" = "yes" ; then
48533 cat >>confdefs.h
<<\_ACEOF
48534 #define wxUSE_GIF 1
48539 if test "$wxUSE_PCX" = "yes" ; then
48540 cat >>confdefs.h
<<\_ACEOF
48541 #define wxUSE_PCX 1
48546 if test "$wxUSE_TGA" = "yes" ; then
48547 cat >>confdefs.h
<<\_ACEOF
48548 #define wxUSE_TGA 1
48553 if test "$wxUSE_IFF" = "yes" ; then
48554 cat >>confdefs.h
<<\_ACEOF
48555 #define wxUSE_IFF 1
48560 if test "$wxUSE_PNM" = "yes" ; then
48561 cat >>confdefs.h
<<\_ACEOF
48562 #define wxUSE_PNM 1
48567 if test "$wxUSE_XPM" = "yes" ; then
48568 cat >>confdefs.h
<<\_ACEOF
48569 #define wxUSE_XPM 1
48574 if test "$wxUSE_ICO_CUR" = "yes" ; then
48575 cat >>confdefs.h
<<\_ACEOF
48576 #define wxUSE_ICO_CUR 1
48583 if test "$wxUSE_ABOUTDLG" = "yes"; then
48584 cat >>confdefs.h
<<\_ACEOF
48585 #define wxUSE_ABOUTDLG 1
48590 if test "$wxUSE_CHOICEDLG" = "yes"; then
48591 cat >>confdefs.h
<<\_ACEOF
48592 #define wxUSE_CHOICEDLG 1
48597 if test "$wxUSE_COLOURDLG" = "yes"; then
48598 cat >>confdefs.h
<<\_ACEOF
48599 #define wxUSE_COLOURDLG 1
48604 if test "$wxUSE_FILEDLG" = "yes"; then
48605 cat >>confdefs.h
<<\_ACEOF
48606 #define wxUSE_FILEDLG 1
48611 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48612 cat >>confdefs.h
<<\_ACEOF
48613 #define wxUSE_FINDREPLDLG 1
48618 if test "$wxUSE_FONTDLG" = "yes"; then
48619 cat >>confdefs.h
<<\_ACEOF
48620 #define wxUSE_FONTDLG 1
48625 if test "$wxUSE_DIRDLG" = "yes"; then
48626 if test "$wxUSE_TREECTRL" != "yes"; then
48627 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48628 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48630 cat >>confdefs.h
<<\_ACEOF
48631 #define wxUSE_DIRDLG 1
48637 if test "$wxUSE_MSGDLG" = "yes"; then
48638 cat >>confdefs.h
<<\_ACEOF
48639 #define wxUSE_MSGDLG 1
48644 if test "$wxUSE_NUMBERDLG" = "yes"; then
48645 cat >>confdefs.h
<<\_ACEOF
48646 #define wxUSE_NUMBERDLG 1
48651 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48652 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48653 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48654 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_PROGRESSDLG 1
48663 if test "$wxUSE_SPLASH" = "yes"; then
48664 cat >>confdefs.h
<<\_ACEOF
48665 #define wxUSE_SPLASH 1
48668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48671 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48672 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48673 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48674 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48676 cat >>confdefs.h
<<\_ACEOF
48677 #define wxUSE_STARTUP_TIPS 1
48683 if test "$wxUSE_TEXTDLG" = "yes"; then
48684 cat >>confdefs.h
<<\_ACEOF
48685 #define wxUSE_TEXTDLG 1
48690 if test "$wxUSE_WIZARDDLG" = "yes"; then
48691 cat >>confdefs.h
<<\_ACEOF
48692 #define wxUSE_WIZARDDLG 1
48695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48699 if test "$wxUSE_MSW" = 1 ; then
48701 if test "$wxUSE_DC_CACHEING" = "yes"; then
48702 cat >>confdefs.h
<<\_ACEOF
48703 #define wxUSE_DC_CACHEING 1
48708 if test "$wxUSE_DIB" = "yes"; then
48709 cat >>confdefs.h
<<\_ACEOF
48710 #define wxUSE_WXDIB 1
48715 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48716 cat >>confdefs.h
<<\_ACEOF
48717 #define wxUSE_OWNER_DRAWN 1
48722 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48723 cat >>confdefs.h
<<\_ACEOF
48724 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48729 if test "$wxUSE_UXTHEME" = "yes"; then
48730 cat >>confdefs.h
<<\_ACEOF
48731 #define wxUSE_UXTHEME 1
48739 if test "$USE_WIN32" = 1 ; then
48740 if test "$wxUSE_INICONF" = "yes"; then
48741 cat >>confdefs.h
<<\_ACEOF
48742 #define wxUSE_INICONF 1
48747 if test "$wxUSE_REGKEY" = "yes"; then
48748 cat >>confdefs.h
<<\_ACEOF
48749 #define wxUSE_REGKEY 1
48756 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48757 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48758 cat >>confdefs.h
<<\_ACEOF
48759 #define wxUSE_GRAPHICS_CONTEXT 1
48762 elif test "$wxUSE_GTK" != 1; then
48763 cat >>confdefs.h
<<\_ACEOF
48764 #define wxUSE_GRAPHICS_CONTEXT 1
48770 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48771 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48773 if test -n "$PKG_CONFIG"; then
48774 if test -n "$CAIRO_CFLAGS"; then
48775 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48777 if test -n "$PKG_CONFIG" && \
48778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48779 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); }; then
48783 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48791 if test -n "$PKG_CONFIG"; then
48792 if test -n "$CAIRO_LIBS"; then
48793 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48795 if test -n "$PKG_CONFIG" && \
48796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48797 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48800 (exit $ac_status); }; then
48801 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48812 if test $pkg_failed = yes; then
48814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48815 _pkg_short_errors_supported
=yes
48817 _pkg_short_errors_supported
=no
48819 if test $_pkg_short_errors_supported = yes; then
48820 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48822 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48824 # Put the nasty error message in config.log where it belongs
48825 echo "$CAIRO_PKG_ERRORS" >&5
48827 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48828 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48830 elif test $pkg_failed = untried
; then
48831 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48832 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48835 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48836 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48837 { echo "$as_me:$LINENO: result: yes" >&5
48838 echo "${ECHO_T}yes" >&6; }
48839 cat >>confdefs.h
<<\_ACEOF
48840 #define wxUSE_GRAPHICS_CONTEXT 1
48850 if test "$wxUSE_MEDIACTRL" = "yes"; then
48853 if test "$wxUSE_GTK" = 1; then
48854 wxUSE_GSTREAMER
="no"
48856 GST_VERSION_MAJOR
=0
48857 GST_VERSION_MINOR
=10
48858 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48860 if test "$wxUSE_GSTREAMER8" = "no"; then
48863 { echo "$as_me:$LINENO: checking for GST" >&5
48864 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48866 if test -n "$PKG_CONFIG"; then
48867 if test -n "$GST_CFLAGS"; then
48868 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48870 if test -n "$PKG_CONFIG" && \
48871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; then
48876 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_LIBS"; then
48886 pkg_cv_GST_LIBS
="$GST_LIBS"
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48905 if test $pkg_failed = yes; then
48907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48908 _pkg_short_errors_supported
=yes
48910 _pkg_short_errors_supported
=no
48912 if test $_pkg_short_errors_supported = yes; then
48913 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48915 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48917 # Put the nasty error message in config.log where it belongs
48918 echo "$GST_PKG_ERRORS" >&5
48921 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48922 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48923 GST_VERSION_MINOR
=8
48926 elif test $pkg_failed = untried
; then
48928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48929 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48930 GST_VERSION_MINOR
=8
48934 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48935 GST_LIBS
=$pkg_cv_GST_LIBS
48936 { echo "$as_me:$LINENO: result: yes" >&5
48937 echo "${ECHO_T}yes" >&6; }
48939 wxUSE_GSTREAMER
="yes"
48940 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48944 GST_VERSION_MINOR
=8
48947 if test $GST_VERSION_MINOR = "8"; then
48948 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48951 { echo "$as_me:$LINENO: checking for GST" >&5
48952 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$GST_CFLAGS"; then
48956 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$GST_LIBS"; then
48974 pkg_cv_GST_LIBS
="$GST_LIBS"
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48993 if test $pkg_failed = yes; then
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported
=yes
48998 _pkg_short_errors_supported
=no
49000 if test $_pkg_short_errors_supported = yes; then
49001 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49003 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$GST_PKG_ERRORS" >&5
49009 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49010 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49012 elif test $pkg_failed = untried
; then
49014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49018 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49019 GST_LIBS
=$pkg_cv_GST_LIBS
49020 { echo "$as_me:$LINENO: result: yes" >&5
49021 echo "${ECHO_T}yes" >&6; }
49022 wxUSE_GSTREAMER
="yes"
49027 if test "$wxUSE_GSTREAMER" = "yes"; then
49028 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49029 LIBS
="$GST_LIBS $LIBS"
49031 cat >>confdefs.h
<<\_ACEOF
49032 #define wxUSE_GSTREAMER 1
49040 if test $USE_MEDIA = 1; then
49041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49042 cat >>confdefs.h
<<\_ACEOF
49043 #define wxUSE_MEDIACTRL 1
49050 if test "$cross_compiling" = "yes"; then
49053 OSINFO
=`uname -s -r -m`
49054 OSINFO
="\"$OSINFO\""
49057 cat >>confdefs.h
<<_ACEOF
49058 #define WXWIN_OS_DESCRIPTION $OSINFO
49063 if test "x$prefix" != "xNONE"; then
49066 wxPREFIX
=$ac_default_prefix
49069 cat >>confdefs.h
<<_ACEOF
49070 #define wxINSTALL_PREFIX "$wxPREFIX"
49076 STD_BASE_LIBS
="base"
49078 BUILT_WX_LIBS
="base"
49079 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49081 if test "$wxUSE_SOCKETS" = "yes" ; then
49082 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49083 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49085 if test "$wxUSE_XML" = "yes" ; then
49086 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49087 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49090 if test "$wxUSE_GUI" = "yes"; then
49091 STD_GUI_LIBS
="adv core"
49092 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49094 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49095 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49096 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49098 if test "$wxUSE_HTML" = "yes" ; then
49099 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49100 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49102 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49103 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49105 if test "$wxUSE_OPENGL" = "yes" ; then
49106 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49108 if test "$wxUSE_AUI" = "yes" ; then
49109 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49111 if test "$wxUSE_STC" = "yes" ; then
49112 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49114 if test "$wxUSE_XRC" = "yes" ; then
49115 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49116 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49127 if test "$wxUSE_MAC" = 1 ; then
49128 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49129 if test "$USE_DARWIN" = 1; then
49130 LDFLAGS
="$LDFLAGS -framework QuickTime"
49132 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49135 if test "$USE_DARWIN" = 1; then
49136 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49138 LDFLAGS
="$LDFLAGS -lCarbonLib"
49141 if test "$wxUSE_COCOA" = 1 ; then
49142 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49143 if test "$wxUSE_MEDIACTRL" = "yes"; then
49144 LDFLAGS
="$LDFLAGS -framework QuickTime"
49147 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49148 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49151 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49153 if test "$wxUSE_GUI" = "yes"; then
49156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49157 erase event exec font image minimal mobile \
49158 mobile/wxedit mobile/styles render \
49159 shaped svg taborder vscroll widgets"
49161 if test "$wxUSE_MONOLITHIC" != "yes"; then
49162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49164 if test "$TOOLKIT" = "MSW"; then
49165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49166 if test "$wxUSE_UNIVERSAL" != "yes"; then
49167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49170 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49174 SAMPLES_SUBDIRS
="console"
49178 if test "x$INTELCC" = "xyes" ; then
49179 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49180 elif test "$GCC" = yes ; then
49181 CWARNINGS
="-Wall -Wundef"
49184 if test "x$INTELCXX" = "xyes" ; then
49185 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49186 elif test "$GXX" = yes ; then
49187 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49191 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49192 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49195 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49196 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49197 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49200 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49201 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49202 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49204 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49207 if test "x$MWCC" = "xyes"; then
49209 CC
="$CC -cwd source -I-"
49210 CXX
="$CXX -cwd source -I-"
49215 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49216 EXTRALIBS_XML
="$EXPAT_LINK"
49217 EXTRALIBS_HTML
="$MSPACK_LINK"
49218 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49219 if test "$wxUSE_GUI" = "yes"; then
49220 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49222 if test "$wxUSE_OPENGL" = "yes"; then
49223 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49226 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49228 WXCONFIG_LIBS
="$LIBS"
49230 if test "$wxUSE_REGEX" = "builtin" ; then
49231 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49233 if test "$wxUSE_EXPAT" = "builtin" ; then
49234 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49236 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49237 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49239 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49240 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49242 if test "$wxUSE_LIBPNG" = "builtin" ; then
49243 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49245 if test "$wxUSE_ZLIB" = "builtin" ; then
49246 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49249 for i
in $wxconfig_3rdparty ; do
49250 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49254 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49257 case "$wxUNIV_THEMES" in
49259 cat >>confdefs.h
<<\_ACEOF
49260 #define wxUSE_ALL_THEMES 1
49266 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49267 cat >>confdefs.h
<<_ACEOF
49268 #define wxUSE_THEME_$t 1
49284 if test $wxUSE_MONOLITHIC = "yes" ; then
49290 if test $wxUSE_PLUGINS = "yes" ; then
49296 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49302 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49333 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49344 TOOLKIT_DESC
="GTK+"
49345 if test "$WXGTK20" = 1; then
49346 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49347 if test "$wxUSE_GTKPRINT" = "yes" ; then
49348 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49350 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49351 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49353 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49354 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49356 if test "$wxUSE_LIBHILDON" = "yes"; then
49357 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49360 if test "$TOOLKIT_EXTRA" != ""; then
49361 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49367 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49371 TOOLKIT_DESC
="base only"
49375 if test "$wxUSE_WINE" = "yes"; then
49376 BAKEFILE_FORCE_PLATFORM
=win32
49379 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49381 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49382 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49383 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49384 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 echo '#include <stdio.h>
49388 const wchar_t test_var[] = L"awidetest";' > conftest.h
49390 echo '#include "conftest.h"
49393 printf("%ls", test_var);
49397 wx_cv_gcc_pch_bug
="pch not supported"
49399 if $CXX conftest.h
>/dev
/null
2>&1
49403 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49405 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49406 grep awidetest
>/dev
/null
49408 wx_cv_gcc_pch_bug
=no
49410 wx_cv_gcc_pch_bug
=yes
49415 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49418 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49419 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49421 if test "$wx_cv_gcc_pch_bug" = yes; then
49429 if test "x$BAKEFILE_HOST" = "x"; then
49430 if test "x${host}" = "x" ; then
49431 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49432 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49433 { (exit 1); exit 1; }; }
49436 BAKEFILE_HOST
="${host}"
49439 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49441 if test -n "$ac_tool_prefix"; then
49442 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49443 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49446 if test "${ac_cv_prog_RANLIB+set}" = set; then
49447 echo $ECHO_N "(cached) $ECHO_C" >&6
49449 if test -n "$RANLIB"; then
49450 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49453 for as_dir
in $PATH
49456 test -z "$as_dir" && as_dir
=.
49457 for ac_exec_ext
in '' $ac_executable_extensions; do
49458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49459 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49469 RANLIB
=$ac_cv_prog_RANLIB
49470 if test -n "$RANLIB"; then
49471 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49472 echo "${ECHO_T}$RANLIB" >&6; }
49474 { echo "$as_me:$LINENO: result: no" >&5
49475 echo "${ECHO_T}no" >&6; }
49480 if test -z "$ac_cv_prog_RANLIB"; then
49481 ac_ct_RANLIB
=$RANLIB
49482 # Extract the first word of "ranlib", so it can be a program name with args.
49483 set dummy ranlib
; ac_word
=$2
49484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49486 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49487 echo $ECHO_N "(cached) $ECHO_C" >&6
49489 if test -n "$ac_ct_RANLIB"; then
49490 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49493 for as_dir
in $PATH
49496 test -z "$as_dir" && as_dir
=.
49497 for ac_exec_ext
in '' $ac_executable_extensions; do
49498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49499 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49509 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49510 if test -n "$ac_ct_RANLIB"; then
49511 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49512 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49514 { echo "$as_me:$LINENO: result: no" >&5
49515 echo "${ECHO_T}no" >&6; }
49518 if test "x$ac_ct_RANLIB" = x
; then
49521 case $cross_compiling:$ac_tool_warned in
49523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49524 whose name does not start with the host triplet. If you think this
49525 configuration is useful to you, please write to autoconf@gnu.org." >&5
49526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49527 whose name does not start with the host triplet. If you think this
49528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49529 ac_tool_warned
=yes ;;
49531 RANLIB
=$ac_ct_RANLIB
49534 RANLIB
="$ac_cv_prog_RANLIB"
49537 # Find a good install program. We prefer a C program (faster),
49538 # so one script is as good as another. But avoid the broken or
49539 # incompatible versions:
49540 # SysV /etc/install, /usr/sbin/install
49541 # SunOS /usr/etc/install
49542 # IRIX /sbin/install
49544 # AmigaOS /C/install, which installs bootblocks on floppy discs
49545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49548 # OS/2's system install, which has a completely different semantic
49549 # ./install, which can be erroneously created by make from ./install.sh.
49550 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49552 if test -z "$INSTALL"; then
49553 if test "${ac_cv_path_install+set}" = set; then
49554 echo $ECHO_N "(cached) $ECHO_C" >&6
49556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49557 for as_dir
in $PATH
49560 test -z "$as_dir" && as_dir
=.
49561 # Account for people who put trailing slashes in PATH elements.
49563 .
/ | .
// | /cC
/* | \
49564 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49565 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49568 # OSF1 and SCO ODT 3.0 have their own names for install.
49569 # Don't use installbsd from OSF since it installs stuff as root
49571 for ac_prog
in ginstall scoinst
install; do
49572 for ac_exec_ext
in '' $ac_executable_extensions; do
49573 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49574 if test $ac_prog = install &&
49575 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49576 # AIX install. It has an incompatible calling convention.
49578 elif test $ac_prog = install &&
49579 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49580 # program-specific install script used by HP pwplus--don't use.
49583 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49596 if test "${ac_cv_path_install+set}" = set; then
49597 INSTALL
=$ac_cv_path_install
49599 # As a last resort, use the slow shell script. Don't cache a
49600 # value for INSTALL within a source directory, because that will
49601 # break other packages using the cache if that directory is
49602 # removed, or if the value is a relative name.
49603 INSTALL
=$ac_install_sh
49606 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49607 echo "${ECHO_T}$INSTALL" >&6; }
49609 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49610 # It thinks the first close brace ends the variable substitution.
49611 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49613 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49615 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49617 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49618 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49620 if test "$LN_S" = "ln -s"; then
49621 { echo "$as_me:$LINENO: result: yes" >&5
49622 echo "${ECHO_T}yes" >&6; }
49624 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49625 echo "${ECHO_T}no, using $LN_S" >&6; }
49629 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49630 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49631 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49632 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49633 echo $ECHO_N "(cached) $ECHO_C" >&6
49635 cat >conftest.
make <<\_ACEOF
49638 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49640 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49641 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49642 *@@@
%%%=?
*=@@@
%%%*)
49643 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49645 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49647 rm -f conftest.
make
49649 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49650 { echo "$as_me:$LINENO: result: yes" >&5
49651 echo "${ECHO_T}yes" >&6; }
49654 { echo "$as_me:$LINENO: result: no" >&5
49655 echo "${ECHO_T}no" >&6; }
49656 SET_MAKE
="MAKE=${MAKE-make}"
49661 if test "x$SUNCXX" = "xyes"; then
49663 AROPTIONS
="-xar -o"
49665 elif test "x$SGICC" = "xyes"; then
49670 if test -n "$ac_tool_prefix"; then
49671 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49672 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49675 if test "${ac_cv_prog_AR+set}" = set; then
49676 echo $ECHO_N "(cached) $ECHO_C" >&6
49678 if test -n "$AR"; then
49679 ac_cv_prog_AR
="$AR" # Let the user override the test.
49681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49682 for as_dir
in $PATH
49685 test -z "$as_dir" && as_dir
=.
49686 for ac_exec_ext
in '' $ac_executable_extensions; do
49687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49688 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49699 if test -n "$AR"; then
49700 { echo "$as_me:$LINENO: result: $AR" >&5
49701 echo "${ECHO_T}$AR" >&6; }
49703 { echo "$as_me:$LINENO: result: no" >&5
49704 echo "${ECHO_T}no" >&6; }
49709 if test -z "$ac_cv_prog_AR"; then
49711 # Extract the first word of "ar", so it can be a program name with args.
49712 set dummy
ar; ac_word
=$2
49713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49715 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49716 echo $ECHO_N "(cached) $ECHO_C" >&6
49718 if test -n "$ac_ct_AR"; then
49719 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49722 for as_dir
in $PATH
49725 test -z "$as_dir" && as_dir
=.
49726 for ac_exec_ext
in '' $ac_executable_extensions; do
49727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49728 ac_cv_prog_ac_ct_AR
="ar"
49729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49738 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49739 if test -n "$ac_ct_AR"; then
49740 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49741 echo "${ECHO_T}$ac_ct_AR" >&6; }
49743 { echo "$as_me:$LINENO: result: no" >&5
49744 echo "${ECHO_T}no" >&6; }
49747 if test "x$ac_ct_AR" = x
; then
49750 case $cross_compiling:$ac_tool_warned in
49752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49753 whose name does not start with the host triplet. If you think this
49754 configuration is useful to you, please write to autoconf@gnu.org." >&5
49755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49756 whose name does not start with the host triplet. If you think this
49757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49758 ac_tool_warned
=yes ;;
49763 AR
="$ac_cv_prog_AR"
49770 if test -n "$ac_tool_prefix"; then
49771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49775 if test "${ac_cv_prog_STRIP+set}" = set; then
49776 echo $ECHO_N "(cached) $ECHO_C" >&6
49778 if test -n "$STRIP"; then
49779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49782 for as_dir
in $PATH
49785 test -z "$as_dir" && as_dir
=.
49786 for ac_exec_ext
in '' $ac_executable_extensions; do
49787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49798 STRIP
=$ac_cv_prog_STRIP
49799 if test -n "$STRIP"; then
49800 { echo "$as_me:$LINENO: result: $STRIP" >&5
49801 echo "${ECHO_T}$STRIP" >&6; }
49803 { echo "$as_me:$LINENO: result: no" >&5
49804 echo "${ECHO_T}no" >&6; }
49809 if test -z "$ac_cv_prog_STRIP"; then
49811 # Extract the first word of "strip", so it can be a program name with args.
49812 set dummy strip
; ac_word
=$2
49813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49815 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49816 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 if test -n "$ac_ct_STRIP"; then
49819 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49822 for as_dir
in $PATH
49825 test -z "$as_dir" && as_dir
=.
49826 for ac_exec_ext
in '' $ac_executable_extensions; do
49827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49828 ac_cv_prog_ac_ct_STRIP
="strip"
49829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49838 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49839 if test -n "$ac_ct_STRIP"; then
49840 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49841 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49843 { echo "$as_me:$LINENO: result: no" >&5
49844 echo "${ECHO_T}no" >&6; }
49847 if test "x$ac_ct_STRIP" = x
; then
49850 case $cross_compiling:$ac_tool_warned in
49852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49853 whose name does not start with the host triplet. If you think this
49854 configuration is useful to you, please write to autoconf@gnu.org." >&5
49855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49856 whose name does not start with the host triplet. If you think this
49857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49858 ac_tool_warned
=yes ;;
49863 STRIP
="$ac_cv_prog_STRIP"
49866 if test -n "$ac_tool_prefix"; then
49867 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49868 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49871 if test "${ac_cv_prog_NM+set}" = set; then
49872 echo $ECHO_N "(cached) $ECHO_C" >&6
49874 if test -n "$NM"; then
49875 ac_cv_prog_NM
="$NM" # Let the user override the test.
49877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49878 for as_dir
in $PATH
49881 test -z "$as_dir" && as_dir
=.
49882 for ac_exec_ext
in '' $ac_executable_extensions; do
49883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49884 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49895 if test -n "$NM"; then
49896 { echo "$as_me:$LINENO: result: $NM" >&5
49897 echo "${ECHO_T}$NM" >&6; }
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49905 if test -z "$ac_cv_prog_NM"; then
49907 # Extract the first word of "nm", so it can be a program name with args.
49908 set dummy nm
; ac_word
=$2
49909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49911 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49912 echo $ECHO_N "(cached) $ECHO_C" >&6
49914 if test -n "$ac_ct_NM"; then
49915 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49918 for as_dir
in $PATH
49921 test -z "$as_dir" && as_dir
=.
49922 for ac_exec_ext
in '' $ac_executable_extensions; do
49923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49924 ac_cv_prog_ac_ct_NM
="nm"
49925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49934 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49935 if test -n "$ac_ct_NM"; then
49936 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49937 echo "${ECHO_T}$ac_ct_NM" >&6; }
49939 { echo "$as_me:$LINENO: result: no" >&5
49940 echo "${ECHO_T}no" >&6; }
49943 if test "x$ac_ct_NM" = x
; then
49946 case $cross_compiling:$ac_tool_warned in
49948 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49949 whose name does not start with the host triplet. If you think this
49950 configuration is useful to you, please write to autoconf@gnu.org." >&5
49951 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49952 whose name does not start with the host triplet. If you think this
49953 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49954 ac_tool_warned
=yes ;;
49959 NM
="$ac_cv_prog_NM"
49963 case ${BAKEFILE_HOST} in
49965 INSTALL_DIR
="mkdir -p"
49968 INSTALL_DIR
='$(INSTALL) -d'
49974 case ${BAKEFILE_HOST} in
49975 *-*-cygwin* | *-*-mingw32* )
49976 LDFLAGS_GUI
="-mwindows"
49982 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49983 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49984 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49985 echo $ECHO_N "(cached) $ECHO_C" >&6
49988 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49989 egrep -s GNU
> /dev
/null
); then
49990 bakefile_cv_prog_makeisgnu
="yes"
49992 bakefile_cv_prog_makeisgnu
="no"
49996 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49997 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49999 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50016 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50017 case "${BAKEFILE_HOST}" in
50024 *-pc-os2_emx | *-pc-os2-emx )
50034 powerpc
-apple-macos* )
50043 case "$BAKEFILE_FORCE_PLATFORM" in
50078 # Check whether --enable-omf was given.
50079 if test "${enable_omf+set}" = set; then
50080 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50084 case "${BAKEFILE_HOST}" in
50086 if test "x$GCC" = "xyes"; then
50087 CFLAGS
="$CFLAGS -fno-common"
50088 CXXFLAGS
="$CXXFLAGS -fno-common"
50090 if test "x$XLCC" = "xyes"; then
50091 CFLAGS
="$CFLAGS -qnocommon"
50092 CXXFLAGS
="$CXXFLAGS -qnocommon"
50096 *-pc-os2_emx | *-pc-os2-emx )
50097 if test "x$bk_os2_use_omf" = "xyes" ; then
50100 LDFLAGS
="-Zomf $LDFLAGS"
50101 CFLAGS
="-Zomf $CFLAGS"
50102 CXXFLAGS
="-Zomf $CXXFLAGS"
50110 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50116 SO_SUFFIX_MODULE
="so"
50121 DLLPREFIX_MODULE
=""
50125 case "${BAKEFILE_HOST}" in
50128 SO_SUFFIX_MODULE
="sl"
50132 SO_SUFFIX_MODULE
="a"
50136 SO_SUFFIX_MODULE
="dll"
50137 DLLIMP_SUFFIX
="dll.a"
50144 SO_SUFFIX_MODULE
="dll"
50145 DLLIMP_SUFFIX
="dll.a"
50155 *-pc-os2_emx | *-pc-os2-emx )
50157 SO_SUFFIX_MODULE
="dll"
50158 DLLIMP_SUFFIX
=$OS2_LIBEXT
50162 LIBEXT
=".$OS2_LIBEXT"
50167 SO_SUFFIX_MODULE
="bundle"
50171 if test "x$DLLIMP_SUFFIX" = "x" ; then
50172 DLLIMP_SUFFIX
="$SO_SUFFIX"
50187 if test "x$GCC" = "xyes"; then
50191 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50192 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50195 case "${BAKEFILE_HOST}" in
50197 if test "x$GCC" != "xyes"; then
50198 LDFLAGS
="$LDFLAGS -L/usr/lib"
50200 SHARED_LD_CC
="${CC} -b -o"
50201 SHARED_LD_CXX
="${CXX} -b -o"
50207 if test "$INTELCC" = "yes"; then
50209 elif test "x$SUNCXX" = "xyes"; then
50210 SHARED_LD_CC
="${CC} -G -o"
50211 SHARED_LD_CXX
="${CXX} -G -o"
50217 if test "x$SUNCXX" = xyes
; then
50218 SHARED_LD_CC
="${CC} -G -o"
50219 SHARED_LD_CXX
="${CXX} -G -o"
50227 cat <<EOF >shared-ld-sh
50229 #-----------------------------------------------------------------------------
50230 #-- Name: distrib/mac/shared-ld-sh
50231 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50232 #-- Author: Gilles Depeyrot
50233 #-- Copyright: (c) 2002 Gilles Depeyrot
50234 #-- Licence: any use permitted
50235 #-----------------------------------------------------------------------------
50240 linking_flag="-dynamiclib"
50241 ldargs="-r -keep_private_externs -nostdlib"
50243 while test ${D}# -gt 0; do
50250 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50251 # collect these options and values
50252 args="${D}{args} ${D}1 ${D}2"
50257 # collect these load args
50258 ldargs="${D}{ldargs} ${D}1"
50261 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50262 # collect these options
50263 args="${D}{args} ${D}1"
50266 -dynamiclib|-bundle)
50267 linking_flag="${D}1"
50271 echo "shared-ld: unhandled option '${D}1'"
50275 *.o | *.a | *.dylib)
50276 # collect object files
50277 objects="${D}{objects} ${D}1"
50281 echo "shared-ld: unhandled argument '${D}1'"
50292 # Link one module containing all the others
50294 if test ${D}{verbose} = 1; then
50295 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50297 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50301 # Link the shared library from the single module created, but only if the
50302 # previous command didn't fail:
50304 if test ${D}{status} = 0; then
50305 if test ${D}{verbose} = 1; then
50306 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50308 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50313 # Remove intermediate module
50315 rm -f master.${D}${D}.o
50320 chmod +x shared
-ld-sh
50322 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50323 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50326 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50327 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50328 if test "${bakefile_cv_gcc31+set}" = set; then
50329 echo $ECHO_N "(cached) $ECHO_C" >&6
50332 cat >conftest.
$ac_ext <<_ACEOF
50335 cat confdefs.h
>>conftest.
$ac_ext
50336 cat >>conftest.
$ac_ext <<_ACEOF
50337 /* end confdefs.h. */
50343 #if (__GNUC__ < 3) || \
50344 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50352 rm -f conftest.
$ac_objext
50353 if { (ac_try
="$ac_compile"
50354 case "(($ac_try" in
50355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50356 *) ac_try_echo=$ac_try;;
50358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50359 (eval "$ac_compile") 2>conftest.er1
50361 grep -v '^ *+' conftest.er1 >conftest.err
50363 cat conftest.err >&5
50364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365 (exit $ac_status); } && {
50366 test -z "$ac_c_werror_flag" ||
50367 test ! -s conftest.err
50368 } && test -s conftest.$ac_objext; then
50370 bakefile_cv_gcc31=yes
50373 echo "$as_me: failed program was:" >&5
50374 sed 's/^/| /' conftest.$ac_ext >&5
50377 bakefile_cv_gcc31=no
50382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50385 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50386 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50387 if test "$bakefile_cv_gcc31" = "no"; then
50388 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50389 SHARED_LD_CXX="$SHARED_LD_CC"
50391 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50392 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50395 if test "x$GCC" == "xyes"; then
50396 PIC_FLAG="-dynamic -fPIC"
50398 if test "x$XLCC" = "xyes"; then
50399 PIC_FLAG="-dynamic -DPIC"
50404 if test "x$GCC" = "xyes"; then
50407 case "${BAKEFILE_HOST}" in
50409 LD_EXPFULL="-Wl,-bexpfull"
50413 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50414 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50416 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50417 set dummy makeC++SharedLib; ac_word=$2
50418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50420 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50421 echo $ECHO_N "(cached) $ECHO_C" >&6
50423 if test -n "$AIX_CXX_LD"; then
50424 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50427 for as_dir in $PATH
50430 test -z "$as_dir" && as_dir=.
50431 for ac_exec_ext in '' $ac_executable_extensions; do
50432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50433 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50441 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50444 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50445 if test -n "$AIX_CXX_LD"; then
50446 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50447 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50449 { echo "$as_me:$LINENO: result: no" >&5
50450 echo "${ECHO_T}no" >&6; }
50454 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50455 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50460 SHARED_LD_CC="${LD} -nostart -o"
50461 SHARED_LD_CXX="${LD} -nostart -o"
50465 if test "x$GCC" != "xyes"; then
50470 *-*-cygwin* | *-*-mingw32* )
50472 SHARED_LD_CC="\$(CC) -shared -o"
50473 SHARED_LD_CXX="\$(CXX) -shared -o"
50477 *-pc-os2_emx | *-pc-os2-emx )
50478 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50479 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50483 cat <<EOF >dllar.sh
50486 # dllar - a tool to build both a .dll and an .a file
50487 # from a set of object (.o) files for EMX/OS2.
50489 # Written by Andrew Zabolotny, bit@freya.etu.ru
50490 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50492 # This script will accept a set of files on the command line.
50493 # All the public symbols from the .o files will be exported into
50494 # a .DEF file, then linker will be run (through gcc) against them to
50495 # build a shared library consisting of all given .o files. All libraries
50496 # (.a) will be first decompressed into component .o files then act as
50497 # described above. You can optionally give a description (-d "description")
50498 # which will be put into .DLL. To see the list of accepted options (as well
50499 # as command-line format) simply run this program without options. The .DLL
50500 # is built to be imported by name (there is no guarantee that new versions
50501 # of the library you build will have same ordinals for same symbols).
50503 # dllar is free software; you can redistribute it and/or modify
50504 # it under the terms of the GNU General Public License as published by
50505 # the Free Software Foundation; either version 2, or (at your option)
50506 # any later version.
50508 # dllar is distributed in the hope that it will be useful,
50509 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50510 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50511 # GNU General Public License for more details.
50513 # You should have received a copy of the GNU General Public License
50514 # along with dllar; see the file COPYING. If not, write to the Free
50515 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50518 # To successfuly run this program you will need:
50519 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50520 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50522 # (used to build the .dll)
50524 # (used to create .def file from .o files)
50526 # (used to create .a file from .def file)
50527 # - GNU text utilites (cat, sort, uniq)
50528 # used to process emxexp output
50529 # - GNU file utilities (mv, rm)
50531 # - lxlite (optional, see flag below)
50532 # (used for general .dll cleanup)
50539 # basnam, variant of basename, which does _not_ remove the path, _iff_
50540 # second argument (suffix to remove) is given
50544 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50547 echo ${D}1 | sed 's/'${D}2'${D}//'
50550 echo "error in basnam ${D}*"
50556 # Cleanup temporary files and output
50559 for i in ${D}inputFiles ; do
50562 rm -rf \`basnam
${D}i
!\
`
50569 # Kill result in case of failure as there is just to many stupid make/nmake
50570 # things out there which doesn't do this.
50571 if [ ${D}# -eq 0 ]; then
50572 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50576 # Print usage and exit script with rc=1.
50578 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50579 echo ' [-name-mangler-script script.sh]'
50580 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50581 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50582 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50583 echo ' [*.o] [*.a]'
50584 echo '*> "output_file" should have no extension.'
50585 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50586 echo ' The import library name is derived from this and is set to "name".a,'
50587 echo ' unless overridden by -import'
50588 echo '*> "importlib_name" should have no extension.'
50589 echo ' If it has the .o, or .a extension, it is automatically removed.'
50590 echo ' This name is used as the import library name and may be longer and'
50591 echo ' more descriptive than the DLL name which has to follow the old '
50592 echo ' 8.3 convention of FAT.'
50593 echo '*> "script.sh may be given to override the output_file name by a'
50594 echo ' different name. It is mainly useful if the regular make process'
50595 echo ' of some package does not take into account OS/2 restriction of'
50596 echo ' DLL name lengths. It takes the importlib name as input and is'
50597 echo ' supposed to procude a shorter name as output. The script should'
50598 echo ' expect to get importlib_name without extension and should produce'
50599 echo ' a (max.) 8 letter name without extension.'
50600 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50601 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50602 echo ' These flags will be put at the start of GCC command line.'
50603 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50604 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50605 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50606 echo ' If the last character of a symbol is "*", all symbols beginning'
50607 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50608 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50609 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50610 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50611 echo ' C runtime DLLs.'
50612 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50613 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50614 echo ' unchanged to GCC at the end of command line.'
50615 echo '*> If you create a DLL from a library and you do not specify -o,'
50616 echo ' the basename for DLL and import library will be set to library name,'
50617 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50618 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50619 echo ' library will be renamed into gcc_s.a.'
50622 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50623 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50628 # Execute a command.
50629 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50630 # @Uses Whatever CleanUp() uses.
50636 if [ ${D}rcCmd -ne 0 ]; then
50637 echo "command failed, exit code="${D}rcCmd
50652 CFLAGS="-s -Zcrtdll"
50654 EXPORT_BY_ORDINALS=0
50659 case ${D}curDirS in
50663 curDirS=${D}{curDirS}"/"
50666 # Parse commandline
50669 while [ ${D}1 ]; do
50672 EXPORT_BY_ORDINALS=1;
50682 -name-mangler-script)
50703 exclude_symbols=${D}{exclude_symbols}${D}1" "
50707 library_flags=${D}{library_flags}${D}1" "
50726 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50729 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50730 if [ ${D}omfLinking -eq 1 ]; then
50731 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50733 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50738 if [ ${D}libsToLink -ne 0 ]; then
50739 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50741 for file in ${D}1 ; do
50742 if [ -f ${D}file ]; then
50743 inputFiles="${D}{inputFiles} ${D}file"
50747 if [ ${D}found -eq 0 ]; then
50748 echo "ERROR: No file(s) found: "${D}1
50755 done # iterate cmdline words
50758 if [ -z "${D}inputFiles" ]; then
50759 echo "dllar: no input files"
50763 # Now extract all .o files from .a files
50765 for file in ${D}inputFiles ; do
50776 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50781 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50783 if [ ${D}? -ne 0 ]; then
50784 echo "Failed to create subdirectory ./${D}dirname"
50788 # Append '!' to indicate archive
50789 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50790 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50793 for subfile in ${D}dirname/*.o* ; do
50794 if [ -f ${D}subfile ]; then
50796 if [ -s ${D}subfile ]; then
50797 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50798 newInputFiles="${D}newInputFiles ${D}subfile"
50802 if [ ${D}found -eq 0 ]; then
50803 echo "WARNING: there are no files in archive \\'${D}file\\'"
50807 newInputFiles="${D}{newInputFiles} ${D}file"
50811 inputFiles="${D}newInputFiles"
50813 # Output filename(s).
50815 if [ -z ${D}outFile ]; then
50817 set outFile ${D}inputFiles; outFile=${D}2
50820 # If it is an archive, remove the '!' and the '_%' suffixes
50821 case ${D}outFile in
50823 outFile=\`basnam
${D}outFile _
%!\
`
50828 case ${D}outFile in
50830 outFile=\`basnam
${D}outFile .dll\
`
50833 outFile=\`basnam
${D}outFile .DLL\
`
50836 outFile=\`basnam
${D}outFile .o\
`
50839 outFile=\`basnam
${D}outFile .obj\
`
50842 outFile=\`basnam
${D}outFile .a\
`
50845 outFile=\`basnam
${D}outFile .lib\
`
50850 case ${D}outimpFile in
50852 outimpFile=\`basnam
${D}outimpFile .a\
`
50855 outimpFile=\`basnam
${D}outimpFile .lib\
`
50860 if [ -z ${D}outimpFile ]; then
50861 outimpFile=${D}outFile
50863 defFile="${D}{outFile}.def"
50864 arcFile="${D}{outimpFile}.a"
50865 arcFile2="${D}{outimpFile}.lib"
50867 #create ${D}dllFile as something matching 8.3 restrictions,
50868 if [ -z ${D}renameScript ] ; then
50869 dllFile="${D}outFile"
50871 dllFile=\`${D}renameScript
${D}outimpFile\
`
50874 if [ ${D}do_backup -ne 0 ] ; then
50875 if [ -f ${D}arcFile ] ; then
50876 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50878 if [ -f ${D}arcFile2 ] ; then
50879 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50883 # Extract public symbols from all the object files.
50884 tmpdefFile=${D}{defFile}_%
50885 rm -f ${D}tmpdefFile
50886 for file in ${D}inputFiles ; do
50891 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50896 # Create the def file.
50898 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50899 dllFile="${D}{dllFile}.dll"
50900 if [ ! -z ${D}description ]; then
50901 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50903 echo "EXPORTS" >> ${D}defFile
50905 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50906 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50908 # Checks if the export is ok or not.
50909 for word in ${D}exclude_symbols; do
50910 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50911 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50915 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50916 sed "=" < ${D}tmpdefFile | \\
50920 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50922 ' > ${D}{tmpdefFile}%
50923 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50925 rm -f ${D}{tmpdefFile}%
50927 cat ${D}tmpdefFile >> ${D}defFile
50928 rm -f ${D}tmpdefFile
50930 # Do linking, create implib, and apply lxlite.
50932 for file in ${D}inputFiles ; do
50937 gccCmdl="${D}gccCmdl ${D}file"
50941 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50942 touch "${D}{outFile}.dll"
50944 doCommand "emximp -o ${D}arcFile ${D}defFile"
50945 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50947 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50950 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50952 doCommand "emxomf -s -l ${D}arcFile"
50962 powerpc-apple-macos* | \
50963 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50973 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50974 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50975 { (exit 1); exit 1; }; }
50978 if test "x$PIC_FLAG" != "x" ; then
50979 PIC_FLAG="$PIC_FLAG -DPIC"
50982 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50983 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50985 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50986 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51005 case "${BAKEFILE_HOST}" in
51006 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51007 if test "x$SUNCXX" = "xyes"; then
51010 SONAME_FLAG="-Wl,-soname,"
51045 # Check whether --enable-dependency-tracking was given.
51046 if test "${enable_dependency_tracking+set}" = set; then
51047 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51051 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51052 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51055 if test "x$bk_use_trackdeps" = "xno" ; then
51057 { echo "$as_me:$LINENO: result: disabled" >&5
51058 echo "${ECHO_T}disabled" >&6; }
51062 if test "x$GCC" = "xyes"; then
51064 case "${BAKEFILE_HOST}" in
51066 DEPSFLAG="-no-cpp-precomp -MMD"
51072 { echo "$as_me:$LINENO: result: gcc" >&5
51073 echo "${ECHO_T}gcc" >&6; }
51074 elif test "x$MWCC" = "xyes"; then
51077 { echo "$as_me:$LINENO: result: mwcc" >&5
51078 echo "${ECHO_T}mwcc" >&6; }
51079 elif test "x$SUNCC" = "xyes"; then
51082 { echo "$as_me:$LINENO: result: Sun cc" >&5
51083 echo "${ECHO_T}Sun cc" >&6; }
51084 elif test "x$SGICC" = "xyes"; then
51087 { echo "$as_me:$LINENO: result: SGI cc" >&5
51088 echo "${ECHO_T}SGI cc" >&6; }
51089 elif test "x$HPCC" = "xyes"; then
51092 { echo "$as_me:$LINENO: result: HP cc" >&5
51093 echo "${ECHO_T}HP cc" >&6; }
51094 elif test "x$COMPAQCC" = "xyes"; then
51097 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51098 echo "${ECHO_T}Compaq cc" >&6; }
51101 { echo "$as_me:$LINENO: result: none" >&5
51102 echo "${ECHO_T}none" >&6; }
51105 if test $DEPS_TRACKING = 1 ; then
51111 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51112 # script. It is used to track C/C++ files dependencies in portable way.
51114 # Permission is given to use this file in any way.
51116 DEPSMODE=${DEPSMODE}
51118 DEPSFLAG="${DEPSFLAG}"
51120 mkdir -p ${D}DEPSDIR
51122 if test ${D}DEPSMODE = gcc ; then
51123 ${D}* ${D}{DEPSFLAG}
51125 if test ${D}{status} != 0 ; then
51128 # move created file to the location we want it in:
51129 while test ${D}# -gt 0; do
51143 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51144 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51145 if test -f ${D}depfile ; then
51146 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51149 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51150 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51151 if test ! -f ${D}depfile ; then
51152 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51153 depfile="${D}objfile.d"
51155 if test -f ${D}depfile ; then
51156 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51161 elif test ${D}DEPSMODE = mwcc ; then
51162 ${D}* || exit ${D}?
51163 # Run mwcc again with -MM and redirect into the dep file we want
51164 # NOTE: We can't use shift here because we need ${D}* to be valid
51166 for arg in ${D}* ; do
51167 if test "${D}prevarg" = "-o"; then
51180 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51182 elif test ${D}DEPSMODE = unixcc; then
51183 ${D}* || exit ${D}?
51184 # Run compiler again with deps flag and redirect into the dep file.
51185 # It doesn't work if the '-o FILE' option is used, but without it the
51186 # dependency file will contain the wrong name for the object. So it is
51187 # removed from the command line, and the dep file is fixed with sed.
51189 while test ${D}# -gt 0; do
51196 eval arg${D}#=\\${D}1
51197 cmd="${D}cmd \\${D}arg${D}#"
51202 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51211 BK_DEPS="`pwd`/bk-deps"
51219 case ${BAKEFILE_HOST} in
51220 *-*-cygwin* | *-*-mingw32* )
51221 if test -n "$ac_tool_prefix"; then
51222 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51223 set dummy ${ac_tool_prefix}windres; ac_word=$2
51224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51226 if test "${ac_cv_prog_WINDRES+set}" = set; then
51227 echo $ECHO_N "(cached) $ECHO_C" >&6
51229 if test -n "$WINDRES"; then
51230 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51233 for as_dir in $PATH
51236 test -z "$as_dir" && as_dir=.
51237 for ac_exec_ext in '' $ac_executable_extensions; do
51238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51239 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51249 WINDRES=$ac_cv_prog_WINDRES
51250 if test -n "$WINDRES"; then
51251 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51252 echo "${ECHO_T}$WINDRES" >&6; }
51254 { echo "$as_me:$LINENO: result: no" >&5
51255 echo "${ECHO_T}no" >&6; }
51260 if test -z "$ac_cv_prog_WINDRES"; then
51261 ac_ct_WINDRES=$WINDRES
51262 # Extract the first word of "windres", so it can be a program name with args.
51263 set dummy windres; ac_word=$2
51264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51266 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51269 if test -n "$ac_ct_WINDRES"; then
51270 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51273 for as_dir in $PATH
51276 test -z "$as_dir" && as_dir=.
51277 for ac_exec_ext in '' $ac_executable_extensions; do
51278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51279 ac_cv_prog_ac_ct_WINDRES="windres"
51280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51289 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51290 if test -n "$ac_ct_WINDRES"; then
51291 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51292 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51294 { echo "$as_me:$LINENO: result: no" >&5
51295 echo "${ECHO_T}no" >&6; }
51298 if test "x$ac_ct_WINDRES" = x; then
51301 case $cross_compiling:$ac_tool_warned in
51303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51304 whose name does not start with the host triplet. If you think this
51305 configuration is useful to you, please write to autoconf@gnu.org." >&5
51306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51307 whose name does not start with the host triplet. If you think this
51308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51309 ac_tool_warned=yes ;;
51311 WINDRES=$ac_ct_WINDRES
51314 WINDRES="$ac_cv_prog_WINDRES"
51319 *-*-darwin* | powerpc-apple-macos* )
51320 # Extract the first word of "Rez", so it can be a program name with args.
51321 set dummy Rez; ac_word=$2
51322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51324 if test "${ac_cv_prog_REZ+set}" = set; then
51325 echo $ECHO_N "(cached) $ECHO_C" >&6
51327 if test -n "$REZ"; then
51328 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51331 for as_dir in $PATH
51334 test -z "$as_dir" && as_dir=.
51335 for ac_exec_ext in '' $ac_executable_extensions; do
51336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51337 ac_cv_prog_REZ="Rez"
51338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51345 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51348 REZ=$ac_cv_prog_REZ
51349 if test -n "$REZ"; then
51350 { echo "$as_me:$LINENO: result: $REZ" >&5
51351 echo "${ECHO_T}$REZ" >&6; }
51353 { echo "$as_me:$LINENO: result: no" >&5
51354 echo "${ECHO_T}no" >&6; }
51358 # Extract the first word of "SetFile", so it can be a program name with args.
51359 set dummy SetFile; ac_word=$2
51360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51362 if test "${ac_cv_prog_SETFILE+set}" = set; then
51363 echo $ECHO_N "(cached) $ECHO_C" >&6
51365 if test -n "$SETFILE"; then
51366 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51369 for as_dir in $PATH
51372 test -z "$as_dir" && as_dir=.
51373 for ac_exec_ext in '' $ac_executable_extensions; do
51374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51375 ac_cv_prog_SETFILE="SetFile"
51376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51383 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51386 SETFILE=$ac_cv_prog_SETFILE
51387 if test -n "$SETFILE"; then
51388 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51389 echo "${ECHO_T}$SETFILE" >&6; }
51391 { echo "$as_me:$LINENO: result: no" >&5
51392 echo "${ECHO_T}no" >&6; }
51404 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51407 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51411 # Check whether --enable-precomp-headers was given.
51412 if test "${enable_precomp_headers+set}" = set; then
51413 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51422 case ${BAKEFILE_HOST} in
51428 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51429 if test "x$GCC" = "xyes"; then
51430 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51431 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51432 cat >conftest.$ac_ext <<_ACEOF
51435 cat confdefs.h >>conftest.$ac_ext
51436 cat >>conftest.$ac_ext <<_ACEOF
51437 /* end confdefs.h. */
51443 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51444 There is no PCH support
51447 There is no PCH support
51449 #if (__GNUC__ == 3) && \
51450 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51451 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51452 ( defined(__INTEL_COMPILER) )
51453 There is no PCH support
51460 rm -f conftest.$ac_objext
51461 if { (ac_try="$ac_compile"
51462 case "(($ac_try" in
51463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51464 *) ac_try_echo
=$ac_try;;
51466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51467 (eval "$ac_compile") 2>conftest.er1
51469 grep -v '^ *+' conftest.er1
>conftest.err
51471 cat conftest.err
>&5
51472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473 (exit $ac_status); } && {
51474 test -z "$ac_c_werror_flag" ||
51475 test ! -s conftest.err
51476 } && test -s conftest.
$ac_objext; then
51478 { echo "$as_me:$LINENO: result: yes" >&5
51479 echo "${ECHO_T}yes" >&6; }
51483 echo "$as_me: failed program was:" >&5
51484 sed 's/^/| /' conftest.
$ac_ext >&5
51487 cat >conftest.
$ac_ext <<_ACEOF
51490 cat confdefs.h
>>conftest.
$ac_ext
51491 cat >>conftest.
$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51498 #if !defined(__INTEL_COMPILER) || \
51499 (__INTEL_COMPILER < 800)
51500 There is no PCH support
51507 rm -f conftest.
$ac_objext
51508 if { (ac_try
="$ac_compile"
51509 case "(($ac_try" in
51510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51511 *) ac_try_echo=$ac_try;;
51513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51514 (eval "$ac_compile") 2>conftest.er1
51516 grep -v '^ *+' conftest.er1 >conftest.err
51518 cat conftest.err >&5
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); } && {
51521 test -z "$ac_c_werror_flag" ||
51522 test ! -s conftest.err
51523 } && test -s conftest.$ac_objext; then
51525 { echo "$as_me:$LINENO: result: yes" >&5
51526 echo "${ECHO_T}yes" >&6; }
51530 echo "$as_me: failed program was:" >&5
51531 sed 's/^/| /' conftest.$ac_ext >&5
51534 { echo "$as_me:$LINENO: result: no" >&5
51535 echo "${ECHO_T}no" >&6; }
51539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51544 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51548 cat <<EOF >bk-make-pch
51551 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51552 # script. It is used to generated precompiled headers.
51554 # Permission is given to use this file in any way.
51564 while test ${D}{#} -gt 0; do
51568 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51569 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51570 headerfile="${D}{incdir}/${D}{header}"
51573 -use-pch|-use_pch )
51578 if test ${D}add_to_cmdline = 1 ; then
51579 compiler="${D}{compiler} ${D}{1}"
51584 if test "x${D}{headerfile}" = "x" ; then
51585 echo "error: can't find header ${D}{header} in include paths" >&2
51587 if test -f ${D}{outfile} ; then
51588 rm -f ${D}{outfile}
51590 mkdir -p \`dirname ${D}{outfile
}\
`
51592 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51594 if test "x${GCC_PCH}" = "x1" ; then
51595 # can do this because gcc is >= 3.4:
51596 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51597 elif test "x${ICC_PCH}" = "x1" ; then
51598 filename=pch_gen-${D}${D}
51599 file=${D}{filename}.c
51600 dfile=${D}{filename}.d
51601 cat > ${D}file <<EOT
51602 #include "${D}header"
51604 # using -MF icc complains about differing command lines in creation/use
51605 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51606 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51607 rm -f ${D}file ${D}dfile ${D}{filename}.o
51613 chmod +x bk-make-pch
51614 BK_MAKE_PCH="`pwd`/bk-make-pch"
51623 COND_BUILD_DEBUG="#"
51624 if test "x$BUILD" = "xdebug" ; then
51625 COND_BUILD_DEBUG=""
51628 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51629 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51630 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51633 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51634 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51638 COND_BUILD_DEBUG_UNICODE_0="#"
51639 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51640 COND_BUILD_DEBUG_UNICODE_0=""
51643 COND_BUILD_DEBUG_UNICODE_1="#"
51644 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51645 COND_BUILD_DEBUG_UNICODE_1=""
51648 COND_BUILD_RELEASE="#"
51649 if test "x$BUILD" = "xrelease" ; then
51650 COND_BUILD_RELEASE=""
51653 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51654 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51655 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51658 COND_BUILD_RELEASE_UNICODE_0="#"
51659 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51660 COND_BUILD_RELEASE_UNICODE_0=""
51663 COND_BUILD_RELEASE_UNICODE_1="#"
51664 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51665 COND_BUILD_RELEASE_UNICODE_1=""
51668 COND_DEBUG_FLAG_1="#"
51669 if test "x$DEBUG_FLAG" = "x1" ; then
51670 COND_DEBUG_FLAG_1=""
51673 COND_DEBUG_INFO_0="#"
51674 if test "x$DEBUG_INFO" = "x0" ; then
51675 COND_DEBUG_INFO_0=""
51678 COND_DEBUG_INFO_1="#"
51679 if test "x$DEBUG_INFO" = "x1" ; then
51680 COND_DEBUG_INFO_1=""
51683 COND_DEPS_TRACKING_0="#"
51684 if test "x$DEPS_TRACKING" = "x0" ; then
51685 COND_DEPS_TRACKING_0=""
51688 COND_DEPS_TRACKING_1="#"
51689 if test "x$DEPS_TRACKING" = "x1" ; then
51690 COND_DEPS_TRACKING_1=""
51694 if test "x$GCC_PCH" = "x1" ; then
51699 if test "x$ICC_PCH" = "x1" ; then
51703 COND_MONOLITHIC_0="#"
51704 if test "x$MONOLITHIC" = "x0" ; then
51705 COND_MONOLITHIC_0=""
51708 COND_MONOLITHIC_0_SHARED_0="#"
51709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51710 COND_MONOLITHIC_0_SHARED_0=""
51713 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51715 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51738 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51740 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51743 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51745 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51748 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51750 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51753 COND_MONOLITHIC_0_SHARED_1="#"
51754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51755 COND_MONOLITHIC_0_SHARED_1=""
51758 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51760 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51765 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51783 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51788 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51793 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51798 COND_MONOLITHIC_0_USE_AUI_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51800 COND_MONOLITHIC_0_USE_AUI_1=""
51803 COND_MONOLITHIC_0_USE_GUI_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51805 COND_MONOLITHIC_0_USE_GUI_1=""
51808 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51810 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51813 COND_MONOLITHIC_0_USE_HTML_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51815 COND_MONOLITHIC_0_USE_HTML_1=""
51818 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51820 COND_MONOLITHIC_0_USE_MEDIA_1=""
51823 COND_MONOLITHIC_0_USE_QA_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51825 COND_MONOLITHIC_0_USE_QA_1=""
51828 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51830 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51833 COND_MONOLITHIC_0_USE_STC_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51835 COND_MONOLITHIC_0_USE_STC_1=""
51838 COND_MONOLITHIC_0_USE_XRC_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51840 COND_MONOLITHIC_0_USE_XRC_1=""
51843 COND_MONOLITHIC_1="#"
51844 if test "x$MONOLITHIC" = "x1" ; then
51845 COND_MONOLITHIC_1=""
51848 COND_MONOLITHIC_1_SHARED_0="#"
51849 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51850 COND_MONOLITHIC_1_SHARED_0=""
51853 COND_MONOLITHIC_1_SHARED_1="#"
51854 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51855 COND_MONOLITHIC_1_SHARED_1=""
51858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51859 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51864 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51868 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51869 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51870 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51873 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51874 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51878 COND_PLATFORM_MACOSX_1="#"
51879 if test "x$PLATFORM_MACOSX" = "x1" ; then
51880 COND_PLATFORM_MACOSX_1=""
51883 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51888 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51889 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51893 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51898 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51900 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51903 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51905 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51908 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51909 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51910 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51913 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51914 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51915 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51918 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51919 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51920 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51923 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51925 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51928 COND_PLATFORM_MACOS_1="#"
51929 if test "x$PLATFORM_MACOS" = "x1" ; then
51930 COND_PLATFORM_MACOS_1=""
51933 COND_PLATFORM_MSDOS_1="#"
51934 if test "x$PLATFORM_MSDOS" = "x1" ; then
51935 COND_PLATFORM_MSDOS_1=""
51938 COND_PLATFORM_OS2_1="#"
51939 if test "x$PLATFORM_OS2" = "x1" ; then
51940 COND_PLATFORM_OS2_1=""
51943 COND_PLATFORM_UNIX_0="#"
51944 if test "x$PLATFORM_UNIX" = "x0" ; then
51945 COND_PLATFORM_UNIX_0=""
51948 COND_PLATFORM_UNIX_1="#"
51949 if test "x$PLATFORM_UNIX" = "x1" ; then
51950 COND_PLATFORM_UNIX_1=""
51953 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51954 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51955 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51958 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51959 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51963 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51964 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51965 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51968 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51969 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51970 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51973 COND_PLATFORM_WIN32_0="#"
51974 if test "x$PLATFORM_WIN32" = "x0" ; then
51975 COND_PLATFORM_WIN32_0=""
51978 COND_PLATFORM_WIN32_1="#"
51979 if test "x$PLATFORM_WIN32" = "x1" ; then
51980 COND_PLATFORM_WIN32_1=""
51984 if test "x$SHARED" = "x0" ; then
51988 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51989 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51990 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51993 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51994 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51995 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51998 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51999 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52000 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52003 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52004 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52005 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52008 COND_SHARED_0_USE_STC_1="#"
52009 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52010 COND_SHARED_0_USE_STC_1=""
52013 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52014 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52015 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52018 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52019 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52020 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52023 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52024 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52025 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52029 if test "x$SHARED" = "x1" ; then
52033 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52034 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52035 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52039 if test "x$TOOLKIT" = "x" ; then
52043 COND_TOOLKIT_COCOA="#"
52044 if test "x$TOOLKIT" = "xCOCOA" ; then
52045 COND_TOOLKIT_COCOA=""
52048 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52049 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52050 COND_TOOLKIT_COCOA_USE_GUI_1=""
52053 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52054 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52055 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52058 COND_TOOLKIT_DFB="#"
52059 if test "x$TOOLKIT" = "xDFB" ; then
52060 COND_TOOLKIT_DFB=""
52063 COND_TOOLKIT_DFB_USE_GUI_1="#"
52064 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52065 COND_TOOLKIT_DFB_USE_GUI_1=""
52068 COND_TOOLKIT_GTK="#"
52069 if test "x$TOOLKIT" = "xGTK" ; then
52070 COND_TOOLKIT_GTK=""
52073 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52074 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52079 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52084 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52085 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52088 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52089 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52093 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52094 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52098 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52099 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52103 COND_TOOLKIT_GTK_USE_GUI_1="#"
52104 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52105 COND_TOOLKIT_GTK_USE_GUI_1=""
52108 COND_TOOLKIT_MAC="#"
52109 if test "x$TOOLKIT" = "xMAC" ; then
52110 COND_TOOLKIT_MAC=""
52113 COND_TOOLKIT_MAC_USE_GUI_1="#"
52114 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52115 COND_TOOLKIT_MAC_USE_GUI_1=""
52118 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52119 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52120 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52123 COND_TOOLKIT_MGL="#"
52124 if test "x$TOOLKIT" = "xMGL" ; then
52125 COND_TOOLKIT_MGL=""
52128 COND_TOOLKIT_MGL_USE_GUI_1="#"
52129 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52130 COND_TOOLKIT_MGL_USE_GUI_1=""
52133 COND_TOOLKIT_MOTIF="#"
52134 if test "x$TOOLKIT" = "xMOTIF" ; then
52135 COND_TOOLKIT_MOTIF=""
52138 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52139 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52140 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52143 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52144 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52145 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52148 COND_TOOLKIT_MSW="#"
52149 if test "x$TOOLKIT" = "xMSW" ; then
52150 COND_TOOLKIT_MSW=""
52153 COND_TOOLKIT_MSW_USE_GUI_1="#"
52154 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52155 COND_TOOLKIT_MSW_USE_GUI_1=""
52158 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52159 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52160 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52163 COND_TOOLKIT_MSW_WXUNIV_0="#"
52164 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52165 COND_TOOLKIT_MSW_WXUNIV_0=""
52168 COND_TOOLKIT_PM="#"
52169 if test "x$TOOLKIT" = "xPM" ; then
52173 COND_TOOLKIT_PM_USE_GUI_1="#"
52174 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52175 COND_TOOLKIT_PM_USE_GUI_1=""
52178 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52179 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52180 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52183 COND_TOOLKIT_WINCE="#"
52184 if test "x$TOOLKIT" = "xWINCE" ; then
52185 COND_TOOLKIT_WINCE=""
52188 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52189 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52190 COND_TOOLKIT_WINCE_USE_GUI_1=""
52193 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52194 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52195 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52198 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52199 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52200 COND_TOOLKIT_WINCE_WXUNIV_0=""
52203 COND_TOOLKIT_X11="#"
52204 if test "x$TOOLKIT" = "xX11" ; then
52205 COND_TOOLKIT_X11=""
52208 COND_TOOLKIT_X11_USE_GUI_1="#"
52209 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52210 COND_TOOLKIT_X11_USE_GUI_1=""
52214 if test "x$UNICODE" = "x1" ; then
52218 COND_USE_EXCEPTIONS_0="#"
52219 if test "x$USE_EXCEPTIONS" = "x0" ; then
52220 COND_USE_EXCEPTIONS_0=""
52223 COND_USE_EXCEPTIONS_1="#"
52224 if test "x$USE_EXCEPTIONS" = "x1" ; then
52225 COND_USE_EXCEPTIONS_1=""
52229 if test "x$USE_GUI" = "x0" ; then
52234 if test "x$USE_GUI" = "x1" ; then
52238 COND_USE_GUI_1_USE_OPENGL_1="#"
52239 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52240 COND_USE_GUI_1_USE_OPENGL_1=""
52243 COND_USE_GUI_1_WXUNIV_0="#"
52244 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52245 COND_USE_GUI_1_WXUNIV_0=""
52248 COND_USE_GUI_1_WXUNIV_1="#"
52249 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52250 COND_USE_GUI_1_WXUNIV_1=""
52253 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52254 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52255 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52258 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52259 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52260 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52263 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52264 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52265 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52269 if test "x$USE_PCH" = "x1" ; then
52273 COND_USE_PLUGINS_0="#"
52274 if test "x$USE_PLUGINS" = "x0" ; then
52275 COND_USE_PLUGINS_0=""
52278 COND_USE_RTTI_0="#"
52279 if test "x$USE_RTTI" = "x0" ; then
52283 COND_USE_RTTI_1="#"
52284 if test "x$USE_RTTI" = "x1" ; then
52288 COND_USE_SOSYMLINKS_1="#"
52289 if test "x$USE_SOSYMLINKS" = "x1" ; then
52290 COND_USE_SOSYMLINKS_1=""
52293 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52294 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52295 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52298 COND_USE_SOVERLINUX_1="#"
52299 if test "x$USE_SOVERLINUX" = "x1" ; then
52300 COND_USE_SOVERLINUX_1=""
52303 COND_USE_SOVERSION_0="#"
52304 if test "x$USE_SOVERSION" = "x0" ; then
52305 COND_USE_SOVERSION_0=""
52308 COND_USE_SOVERSOLARIS_1="#"
52309 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52310 COND_USE_SOVERSOLARIS_1=""
52314 if test "x$USE_STC" = "x1" ; then
52318 COND_USE_THREADS_0="#"
52319 if test "x$USE_THREADS" = "x0" ; then
52320 COND_USE_THREADS_0=""
52323 COND_USE_THREADS_1="#"
52324 if test "x$USE_THREADS" = "x1" ; then
52325 COND_USE_THREADS_1=""
52329 if test "x$USE_XRC" = "x1" ; then
52333 COND_WINDOWS_IMPLIB_1="#"
52334 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52335 COND_WINDOWS_IMPLIB_1=""
52338 COND_WITH_PLUGIN_SDL_1="#"
52339 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52340 COND_WITH_PLUGIN_SDL_1=""
52344 if test "x$WXUNIV" = "x0" ; then
52349 if test "x$WXUNIV" = "x1" ; then
52353 COND_WXUSE_EXPAT_BUILTIN="#"
52354 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52355 COND_WXUSE_EXPAT_BUILTIN=""
52358 COND_WXUSE_LIBJPEG_BUILTIN="#"
52359 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52360 COND_WXUSE_LIBJPEG_BUILTIN=""
52363 COND_WXUSE_LIBPNG_BUILTIN="#"
52364 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52365 COND_WXUSE_LIBPNG_BUILTIN=""
52368 COND_WXUSE_LIBTIFF_BUILTIN="#"
52369 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52370 COND_WXUSE_LIBTIFF_BUILTIN=""
52373 COND_WXUSE_REGEX_BUILTIN="#"
52374 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52375 COND_WXUSE_REGEX_BUILTIN=""
52378 COND_WXUSE_ZLIB_BUILTIN="#"
52379 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52380 COND_WXUSE_ZLIB_BUILTIN=""
52385 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52386 { { 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
52387 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;}
52388 { (exit 1); exit 1; }; }
52391 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52392 { { 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
52393 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;}
52394 { (exit 1); exit 1; }; }
52401 ?:* ) # Drive letter, considered as absolute.
52404 INSTALL=`pwd`/${INSTALL} ;;
52407 if test "$wxUSE_GUI" = "yes"; then
52409 if test "$wxUSE_MSW" = 1 ; then
52410 if test "x$WINDRES" = "x"; then
52411 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52412 echo "$as_me: error: Required windres program not found" >&2;}
52413 { (exit 1); exit 1; }; }
52419 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52420 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52421 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52423 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52425 # Extract the first word of "DeRez", so it can be a program name with args.
52426 set dummy DeRez; ac_word=$2
52427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52429 if test "${ac_cv_prog_DEREZ+set}" = set; then
52430 echo $ECHO_N "(cached) $ECHO_C" >&6
52432 if test -n "$DEREZ"; then
52433 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52436 for as_dir in $PATH
52439 test -z "$as_dir" && as_dir=.
52440 for ac_exec_ext in '' $ac_executable_extensions; do
52441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52442 ac_cv_prog_DEREZ="DeRez"
52443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52450 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52453 DEREZ=$ac_cv_prog_DEREZ
52454 if test -n "$DEREZ"; then
52455 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52456 echo "${ECHO_T}$DEREZ" >&6; }
52458 { echo "$as_me:$LINENO: result: no" >&5
52459 echo "${ECHO_T}no" >&6; }
52464 MACSETFILE="\$(SETFILE)"
52466 if test "$wxUSE_MAC" = 1; then
52467 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52469 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52471 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52472 RESCOMP="cat /dev/null \| $REZ"
52473 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52479 if test "$wxUSE_PM" = 1; then
52481 WXCONFIG_RESFLAGS="-ep"
52483 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52485 POSTLINK_COMMAND="@true"
52492 if test $GCC_PCH = 1
52494 if test "$wx_cv_gcc_pch_bug" = yes; then
52495 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52496 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52497 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52498 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52499 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52500 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52503 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52507 if test "$wxUSE_MAC" = 1 ; then
52508 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52509 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52515 if test "$wxUSE_SHARED" = "yes"; then
52517 *-pc-os2_emx | *-pc-os2-emx )
52518 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52519 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52520 cp -p ${srcdir}/src/os2/dllnames.sh .
52521 cp -p ${srcdir}/src/os2/dllar.sh .
52525 if test "$wxUSE_OMF" = "yes"; then
52527 *-pc-os2_emx | *-pc-os2-emx )
52528 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52529 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52530 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52535 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52540 if test "$GCC" = yes; then
52541 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52542 LIBS=`echo $LIBS | sed 's/-mt//'`
52543 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52548 if test "x$SUNCXX" = xyes; then
52549 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52550 LIBS=`echo $LIBS | sed 's/-pthread//'`
52551 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52556 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52557 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52559 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52620 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52621 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52622 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52623 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52624 echo $ECHO_N "(cached) $ECHO_C" >&6
52626 cat >conftest.make <<\_ACEOF
52629 @echo '@@@%%%=$(MAKE)=@@@%%%'
52631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52632 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52633 *@@@%%%=?*=@@@%%%*)
52634 eval ac_cv_prog_make_${ac_make}_set=yes;;
52636 eval ac_cv_prog_make_${ac_make}_set=no;;
52638 rm -f conftest.make
52640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52641 { echo "$as_me:$LINENO: result: yes" >&5
52642 echo "${ECHO_T}yes" >&6; }
52645 { echo "$as_me:$LINENO: result: no" >&5
52646 echo "${ECHO_T}no" >&6; }
52647 SET_MAKE="MAKE=${MAKE-make}"
52652 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52655 if test "$USE_WIN32" = 1; then
52656 ac_config_commands="$ac_config_commands
52662 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52665 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52668 if test "$wx_cv_version_script" = "yes"; then
52669 ac_config_files="$ac_config_files version-script"
52672 ac_config_files="$ac_config_files Makefile"
52675 ac_config_commands="$ac_config_commands wx-config"
52679 if test "$wxWITH_SUBDIRS" != "no"; then
52680 if test "$wxUSE_GUI" = "yes"; then
52681 SUBDIRS="samples demos utils"
52682 else SUBDIRS="samples utils"
52687 # Check whether --with-cppunit-prefix was given.
52688 if test "${with_cppunit_prefix+set}" = set; then
52689 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52691 cppunit_config_prefix=""
52695 # Check whether --with-cppunit-exec-prefix was given.
52696 if test "${with_cppunit_exec_prefix+set}" = set; then
52697 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52699 cppunit_config_exec_prefix=""
52703 if test x$cppunit_config_exec_prefix != x ; then
52704 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52705 if test x${CPPUNIT_CONFIG+set} != xset ; then
52706 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52709 if test x$cppunit_config_prefix != x ; then
52710 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52711 if test x${CPPUNIT_CONFIG+set} != xset ; then
52712 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52716 # Extract the first word of "cppunit-config", so it can be a program name with args.
52717 set dummy cppunit-config; ac_word=$2
52718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52720 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52721 echo $ECHO_N "(cached) $ECHO_C" >&6
52723 case $CPPUNIT_CONFIG in
52725 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52729 for as_dir in $PATH
52732 test -z "$as_dir" && as_dir=.
52733 for ac_exec_ext in '' $ac_executable_extensions; do
52734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52735 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52743 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52747 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52748 if test -n "$CPPUNIT_CONFIG"; then
52749 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52750 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52752 { echo "$as_me:$LINENO: result: no" >&5
52753 echo "${ECHO_T}no" >&6; }
52757 cppunit_version_min=1.8.0
52759 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52760 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52762 if test "$CPPUNIT_CONFIG" = "no" ; then
52763 { echo "$as_me:$LINENO: result: no" >&5
52764 echo "${ECHO_T}no" >&6; }
52767 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52768 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52769 cppunit_version=`$CPPUNIT_CONFIG --version`
52771 cppunit_major_version=`echo $cppunit_version | \
52772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52773 cppunit_minor_version=`echo $cppunit_version | \
52774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52775 cppunit_micro_version=`echo $cppunit_version | \
52776 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52778 cppunit_major_min=`echo $cppunit_version_min | \
52779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52780 cppunit_minor_min=`echo $cppunit_version_min | \
52781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52782 cppunit_micro_min=`echo $cppunit_version_min | \
52783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52785 cppunit_version_proper=`expr \
52786 $cppunit_major_version \
> $cppunit_major_min \
| \
52787 $cppunit_major_version \
= $cppunit_major_min \
& \
52788 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52789 $cppunit_major_version \
= $cppunit_major_min \
& \
52790 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52791 $cppunit_micro_version \
>= $cppunit_micro_min `
52793 if test "$cppunit_version_proper" = "1" ; then
52794 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52795 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52797 { echo "$as_me:$LINENO: result: no" >&5
52798 echo "${ECHO_T}no" >&6; }
52803 if test "x$no_cppunit" = x ; then
52804 SUBDIRS="$SUBDIRS tests"
52815 for subdir in `echo $SUBDIRS`; do
52816 if test -d ${srcdir}/${subdir} ; then
52817 if test "$wxUSE_GUI" = "yes"; then
52818 if test ${subdir} = "samples"; then
52819 makefiles="samples/Makefile.in $makefiles"
52820 for sample in `echo $SAMPLES_SUBDIRS`; do
52821 if test -d $srcdir/samples/$sample; then
52822 makefiles="samples/$sample/Makefile.in $makefiles"
52826 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52827 eval "disabled=\$$disabled_var"
52828 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52829 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52831 else if test ${subdir} = "samples"; then
52832 makefiles="samples/Makefile.in samples/console/Makefile.in"
52833 elif test ${subdir} = "utils"; then
52835 for util in HelpGen tex2rtf ; do
52836 if test -d $srcdir/utils/$util ; then
52837 makefiles="utils/$util/Makefile.in \
52838 utils/$util/src/Makefile.in \
52842 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52846 for mkin in $makefiles ; do
52847 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52848 ac_config_files="$ac_config_files $mk"
52854 cat >confcache <<\_ACEOF
52855 # This file is a shell script that caches the results of configure
52856 # tests run on this system so they can be shared between configure
52857 # scripts and configure runs, see configure's option --config-cache.
52858 # It is not useful on other systems. If it contains results you don't
52859 # want to keep, you may remove or edit it.
52861 # config.status only pays attention to the cache file if you give it
52862 # the --recheck option to rerun configure.
52864 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52866 # following values.
52870 # The following way of writing the cache mishandles newlines in values,
52871 # but we know of no workaround that is simple, portable, and efficient.
52872 # So, we kill variables containing newlines.
52873 # Ultrix sh set writes to stderr and can't be redirected directly,
52874 # and sets the high bit in the cache file unless we assign to the vars.
52876 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52877 eval ac_val
=\$
$ac_var
52881 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52882 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52885 _
| IFS
| as_nl
) ;; #(
52886 *) $as_unset $ac_var ;;
52892 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52893 *${as_nl}ac_space
=\
*)
52894 # `set' does not quote correctly, so add quotes (double-quote
52895 # substitution turns \\\\ into \\, and sed turns \\ into \).
52898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52901 # `set' quotes correctly as required by POSIX, so do not add quotes.
52902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52911 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52913 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52915 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52916 if test -w "$cache_file"; then
52917 test "x$cache_file" != "x/dev/null" &&
52918 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52919 echo "$as_me: updating cache $cache_file" >&6;}
52920 cat confcache
>$cache_file
52922 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52923 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52928 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52929 # Let make expand exec_prefix.
52930 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52932 DEFS
=-DHAVE_CONFIG_H
52936 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52937 # 1. Remove the extension, and $U if already installed.
52938 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52939 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52940 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52941 # will be set to the directory where LIBOBJS objects are built.
52942 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52943 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52945 LIBOBJS
=$ac_libobjs
52947 LTLIBOBJS
=$ac_ltlibobjs
52951 : ${CONFIG_STATUS=./config.status}
52952 ac_clean_files_save
=$ac_clean_files
52953 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52954 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52955 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52956 cat >$CONFIG_STATUS <<_ACEOF
52958 # Generated by $as_me.
52959 # Run this file to recreate the current configuration.
52960 # Compiler output produced by configure, useful for debugging
52961 # configure, is in config.log if it exists.
52964 ac_cs_recheck=false
52966 SHELL=\${CONFIG_SHELL-$SHELL}
52969 cat >>$CONFIG_STATUS <<\_ACEOF
52970 ## --------------------- ##
52971 ## M4sh Initialization. ##
52972 ## --------------------- ##
52974 # Be more Bourne compatible
52975 DUALCASE
=1; export DUALCASE
# for MKS sh
52976 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52979 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52980 # is contrary to our usage. Disable this feature.
52981 alias -g '${1+"$@"}'='"$@"'
52982 setopt NO_GLOB_SUBST
52984 case `(set -o) 2>/dev/null` in
52985 *posix
*) set -o posix
;;
52994 # Avoid depending upon Character Ranges.
52995 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52996 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52997 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52998 as_cr_digits
='0123456789'
52999 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53001 # The user is always right.
53002 if test "${PATH_SEPARATOR+set}" != set; then
53003 echo "#! /bin/sh" >conf$$.sh
53004 echo "exit 0" >>conf$$.sh
53006 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53014 # Support unset when possible.
53015 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53023 # We need space, tab and new line, in precisely that order. Quoting is
53024 # there to prevent editors from complaining about space-tab.
53025 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53026 # splitting by setting IFS to empty value.)
53031 # Find who we are. Look in the path if we contain no directory separator.
53033 *[\\/]* ) as_myself
=$0 ;;
53034 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53035 for as_dir
in $PATH
53038 test -z "$as_dir" && as_dir
=.
53039 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53045 # We did not find ourselves, most probably we were run as `sh COMMAND'
53046 # in which case we are not to be found in the path.
53047 if test "x$as_myself" = x
; then
53050 if test ! -f "$as_myself"; then
53051 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53052 { (exit 1); exit 1; }
53055 # Work around bugs in pre-3.0 UWIN ksh.
53056 for as_var
in ENV MAIL MAILPATH
53057 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53065 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53066 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53067 LC_TELEPHONE LC_TIME
53069 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53070 eval $as_var=C
; export $as_var
53072 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53076 # Required to use basename.
53077 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53078 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53084 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53085 as_basename
=basename
53091 # Name of the executable.
53092 as_me
=`$as_basename -- "$0" ||
53093 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53094 X"$0" : 'X\(//\)$' \| \
53095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53097 sed '/^.*\/\([^/][^/]*\)\/*$/{
53116 as_lineno_1
=$LINENO
53117 as_lineno_2
=$LINENO
53118 test "x$as_lineno_1" != "x$as_lineno_2" &&
53119 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53121 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53122 # uniformly replaced by the line number. The first 'sed' inserts a
53123 # line-number line after each line using $LINENO; the second 'sed'
53124 # does the real work. The second script uses 'N' to pair each
53125 # line-number line with the line containing $LINENO, and appends
53126 # trailing '-' during substitution so that $LINENO is not a special
53127 # case at line end.
53128 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53129 # scripts with optimization help from Paolo Bonzini. Blame Lee
53130 # E. McMahon (1931-1989) for sed's syntax. :-)
53142 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53145 ' >$as_me.lineno
&&
53146 chmod +x
"$as_me.lineno" ||
53147 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53148 { (exit 1); exit 1; }; }
53150 # Don't try to exec as it changes $[0], causing all sort of problems
53151 # (the dirname of $[0] is not the place where we might find the
53152 # original and so on. Autoconf is especially sensitive to this).
53153 .
"./$as_me.lineno"
53154 # Exit status is that of the last command.
53159 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53165 ECHO_C
= ECHO_N
= ECHO_T
=
53166 case `echo -n x` in
53168 case `echo 'x\c'` in
53169 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53176 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53177 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53183 rm -f conf$$ conf$$.exe conf$$.
file
53184 if test -d conf$$.dir
; then
53185 rm -f conf$$.dir
/conf$$.
file
53191 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53193 # ... but there are two gotchas:
53194 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53195 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53196 # In both cases, we have to default to `cp -p'.
53197 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53199 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53204 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53205 rmdir conf$$.dir
2>/dev
/null
53207 if mkdir -p .
2>/dev
/null
; then
53210 test -d .
/-p && rmdir .
/-p
53214 if test -x / >/dev
/null
2>&1; then
53215 as_test_x
='test -x'
53217 if ls -dL / >/dev
/null
2>&1; then
53224 if test -d "$1"; then
53230 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53231 ???[sx]*):;;*)false;;esac;fi
53235 as_executable_p
=$as_test_x
53237 # Sed expression to map a string onto a valid CPP name.
53238 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53240 # Sed expression to map a string onto a valid variable name.
53241 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53246 # Save the log message, to keep $[0] and so on meaningful, and to
53247 # report actual input values of CONFIG_FILES etc. instead of their
53248 # values after options handling.
53250 This file was extended by wxWidgets $as_me 2.9.0, which was
53251 generated by GNU Autoconf 2.61. Invocation command line was
53253 CONFIG_FILES = $CONFIG_FILES
53254 CONFIG_HEADERS = $CONFIG_HEADERS
53255 CONFIG_LINKS = $CONFIG_LINKS
53256 CONFIG_COMMANDS = $CONFIG_COMMANDS
53259 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53264 cat >>$CONFIG_STATUS <<_ACEOF
53265 # Files that config.status was made for.
53266 config_files="$ac_config_files"
53267 config_headers="$ac_config_headers"
53268 config_commands="$ac_config_commands"
53272 cat >>$CONFIG_STATUS <<\_ACEOF
53274 \`$as_me' instantiates files from templates according to the
53275 current configuration.
53277 Usage: $0 [OPTIONS] [FILE]...
53279 -h, --help print this help, then exit
53280 -V, --version print version number and configuration settings, then exit
53281 -q, --quiet do not print progress messages
53282 -d, --debug don't remove temporary files
53283 --recheck update $as_me by reconfiguring in the same conditions
53284 --file=FILE[:TEMPLATE]
53285 instantiate the configuration file FILE
53286 --header=FILE[:TEMPLATE]
53287 instantiate the configuration header FILE
53289 Configuration files:
53292 Configuration headers:
53295 Configuration commands:
53298 Report bugs to <bug-autoconf@gnu.org>."
53301 cat >>$CONFIG_STATUS <<_ACEOF
53303 wxWidgets config.status 2.9.0
53304 configured by $0, generated by GNU Autoconf 2.61,
53305 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53307 Copyright (C) 2006 Free Software Foundation, Inc.
53308 This config.status script is free software; the Free Software Foundation
53309 gives unlimited permission to copy, distribute and modify it."
53316 cat >>$CONFIG_STATUS <<\_ACEOF
53317 # If no file are specified by the user, then we need to provide default
53318 # value. By we need to know if files were specified by the user.
53324 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53325 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53336 # Handling of the options.
53337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53340 echo "$ac_cs_version"; exit ;;
53341 --debug | --debu | --deb | --de | --d | -d )
53343 --file | --fil | --fi | --f )
53345 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53346 ac_need_defaults
=false
;;
53347 --header | --heade | --head | --hea )
53349 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53350 ac_need_defaults
=false
;;
53352 # Conflict between --help and --header
53353 { echo "$as_me: error: ambiguous option: $1
53354 Try \`$0 --help' for more information." >&2
53355 { (exit 1); exit 1; }; };;
53356 --help | --hel | -h )
53357 echo "$ac_cs_usage"; exit ;;
53358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53359 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53362 # This is an error.
53363 -*) { echo "$as_me: error: unrecognized option: $1
53364 Try \`$0 --help' for more information." >&2
53365 { (exit 1); exit 1; }; } ;;
53367 *) ac_config_targets
="$ac_config_targets $1"
53368 ac_need_defaults
=false
;;
53374 ac_configure_extra_args
=
53376 if $ac_cs_silent; then
53378 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53382 cat >>$CONFIG_STATUS <<_ACEOF
53383 if \$ac_cs_recheck; then
53384 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53385 CONFIG_SHELL=$SHELL
53386 export CONFIG_SHELL
53387 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53391 cat >>$CONFIG_STATUS <<\_ACEOF
53395 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53396 ## Running $as_me. ##
53402 cat >>$CONFIG_STATUS <<_ACEOF
53408 infile="$srcdir/include/wx/msw/genrcdefs.h"
53409 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53412 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53413 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53414 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53420 cat >>$CONFIG_STATUS <<\_ACEOF
53422 # Handling of arguments.
53423 for ac_config_target
in $ac_config_targets
53425 case $ac_config_target in
53426 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53427 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53428 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53429 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53430 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53431 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53432 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53433 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53435 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53436 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53437 { (exit 1); exit 1; }; };;
53442 # If the user did not use the arguments to specify the items to instantiate,
53443 # then the envvar interface is used. Set only those that are not.
53444 # We use the long form for the default assignment because of an extremely
53445 # bizarre bug on SunOS 4.1.3.
53446 if $ac_need_defaults; then
53447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53449 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53452 # Have a temporary directory for convenience. Make it in the build tree
53453 # simply because there is no reason against having it here, and in addition,
53454 # creating and moving files from /tmp can sometimes cause problems.
53455 # Hook for its removal unless debugging.
53456 # Note that there is a small window in which the directory will not be cleaned:
53457 # after its creation but before its name has been assigned to `$tmp'.
53461 trap 'exit_status=$?
53462 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53464 trap '{ (exit 1); exit 1; }' 1 2 13 15
53466 # Create a (secure) tmp directory for tmp files.
53469 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53470 test -n "$tmp" && test -d "$tmp"
53473 tmp
=.
/conf$$
-$RANDOM
53474 (umask 077 && mkdir "$tmp")
53477 echo "$me: cannot create a temporary directory in ." >&2
53478 { (exit 1); exit 1; }
53482 # Set up the sed scripts for CONFIG_FILES section.
53485 # No need to generate the scripts if there are no CONFIG_FILES.
53486 # This happens for instance when ./config.status config.h
53487 if test -n "$CONFIG_FILES"; then
53494 for ac_last_try
in false false false false false
:; do
53495 cat >conf$
$subs.
sed <<_ACEOF
53496 SHELL!$SHELL$ac_delim
53497 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53498 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53499 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53500 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53501 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53502 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53503 exec_prefix!$exec_prefix$ac_delim
53504 prefix!$prefix$ac_delim
53505 program_transform_name!$program_transform_name$ac_delim
53506 bindir!$bindir$ac_delim
53507 sbindir!$sbindir$ac_delim
53508 libexecdir!$libexecdir$ac_delim
53509 datarootdir!$datarootdir$ac_delim
53510 datadir!$datadir$ac_delim
53511 sysconfdir!$sysconfdir$ac_delim
53512 sharedstatedir!$sharedstatedir$ac_delim
53513 localstatedir!$localstatedir$ac_delim
53514 includedir!$includedir$ac_delim
53515 oldincludedir!$oldincludedir$ac_delim
53516 docdir!$docdir$ac_delim
53517 infodir!$infodir$ac_delim
53518 htmldir!$htmldir$ac_delim
53519 dvidir!$dvidir$ac_delim
53520 pdfdir!$pdfdir$ac_delim
53521 psdir!$psdir$ac_delim
53522 libdir!$libdir$ac_delim
53523 localedir!$localedir$ac_delim
53524 mandir!$mandir$ac_delim
53525 DEFS!$DEFS$ac_delim
53526 ECHO_C!$ECHO_C$ac_delim
53527 ECHO_N!$ECHO_N$ac_delim
53528 ECHO_T!$ECHO_T$ac_delim
53529 LIBS!$LIBS$ac_delim
53530 build_alias!$build_alias$ac_delim
53531 host_alias!$host_alias$ac_delim
53532 target_alias!$target_alias$ac_delim
53533 build!$build$ac_delim
53534 build_cpu!$build_cpu$ac_delim
53535 build_vendor!$build_vendor$ac_delim
53536 build_os!$build_os$ac_delim
53537 host!$host$ac_delim
53538 host_cpu!$host_cpu$ac_delim
53539 host_vendor!$host_vendor$ac_delim
53540 host_os!$host_os$ac_delim
53541 target!$target$ac_delim
53542 target_cpu!$target_cpu$ac_delim
53543 target_vendor!$target_vendor$ac_delim
53544 target_os!$target_os$ac_delim
53545 wx_top_builddir!$wx_top_builddir$ac_delim
53547 CFLAGS!$CFLAGS$ac_delim
53548 LDFLAGS!$LDFLAGS$ac_delim
53549 CPPFLAGS!$CPPFLAGS$ac_delim
53550 ac_ct_CC!$ac_ct_CC$ac_delim
53551 EXEEXT!$EXEEXT$ac_delim
53552 OBJEXT!$OBJEXT$ac_delim
53554 GREP!$GREP$ac_delim
53555 EGREP!$EGREP$ac_delim
53557 CXXFLAGS!$CXXFLAGS$ac_delim
53558 ac_ct_CXX!$ac_ct_CXX$ac_delim
53560 subdirs!$subdirs$ac_delim
53561 PKG_CONFIG!$PKG_CONFIG$ac_delim
53562 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53563 GTK_LIBS!$GTK_LIBS$ac_delim
53564 GTK_CONFIG!$GTK_CONFIG$ac_delim
53565 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53566 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53567 XMKMF!$XMKMF$ac_delim
53568 X_CFLAGS!$X_CFLAGS$ac_delim
53569 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53570 X_LIBS!$X_LIBS$ac_delim
53571 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53572 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53573 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53574 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53575 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53576 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53577 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53578 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53579 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53580 LIBICONV!$LIBICONV$ac_delim
53581 SDL_CONFIG!$SDL_CONFIG$ac_delim
53582 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53583 SDL_LIBS!$SDL_LIBS$ac_delim
53584 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53585 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53586 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53587 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53588 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53589 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53590 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53591 HILDON_LIBS!$HILDON_LIBS$ac_delim
53592 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53595 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53597 elif $ac_last_try; then
53598 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53599 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53600 { (exit 1); exit 1; }; }
53602 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53606 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53607 if test -n "$ac_eof"; then
53608 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53609 ac_eof
=`expr $ac_eof + 1`
53612 cat >>$CONFIG_STATUS <<_ACEOF
53613 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53617 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53618 s/^/s,@/; s/!/@,|#_!!_#|/
53621 s/'"$ac_delim"'$/,g/; t
53623 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53624 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53625 rm -f conf$
$subs.
sed
53626 cat >>$CONFIG_STATUS <<_ACEOF
53632 for ac_last_try
in false false false false false
:; do
53633 cat >conf$
$subs.
sed <<_ACEOF
53634 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53635 GST_CFLAGS!$GST_CFLAGS$ac_delim
53636 GST_LIBS!$GST_LIBS$ac_delim
53637 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53638 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53639 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53640 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53641 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53642 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53643 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53644 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53645 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53646 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53647 VENDOR!$VENDOR$ac_delim
53648 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53649 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53650 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53651 WXUNIV!$WXUNIV$ac_delim
53652 MONOLITHIC!$MONOLITHIC$ac_delim
53653 USE_PLUGINS!$USE_PLUGINS$ac_delim
53654 CXXWARNINGS!$CXXWARNINGS$ac_delim
53655 EXTRALIBS!$EXTRALIBS$ac_delim
53656 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53657 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53658 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53659 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53660 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53661 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53662 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53663 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53664 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53665 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53666 UNICODE!$UNICODE$ac_delim
53667 BUILD!$BUILD$ac_delim
53668 DEBUG_INFO!$DEBUG_INFO$ac_delim
53669 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53670 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53671 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53672 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53673 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53674 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53675 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53676 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53677 RANLIB!$RANLIB$ac_delim
53678 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53679 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53680 INSTALL_DATA!$INSTALL_DATA$ac_delim
53681 LN_S!$LN_S$ac_delim
53682 SET_MAKE!$SET_MAKE$ac_delim
53683 MAKE_SET!$MAKE_SET$ac_delim
53684 AROPTIONS!$AROPTIONS$ac_delim
53685 STRIP!$STRIP$ac_delim
53687 INSTALL_DIR!$INSTALL_DIR$ac_delim
53688 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53689 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53690 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53691 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53692 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53693 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53694 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53695 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53696 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53697 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53698 SO_SUFFIX!$SO_SUFFIX$ac_delim
53699 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53700 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53701 LIBPREFIX!$LIBPREFIX$ac_delim
53702 LIBEXT!$LIBEXT$ac_delim
53703 DLLPREFIX!$DLLPREFIX$ac_delim
53704 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53705 dlldir!$dlldir$ac_delim
53706 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53707 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53708 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53709 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53710 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53711 PIC_FLAG!$PIC_FLAG$ac_delim
53712 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53713 USE_SOVERSION!$USE_SOVERSION$ac_delim
53714 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53715 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53716 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53717 USE_MACVERSION!$USE_MACVERSION$ac_delim
53718 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53719 SONAME_FLAG!$SONAME_FLAG$ac_delim
53720 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53721 BK_DEPS!$BK_DEPS$ac_delim
53722 WINDRES!$WINDRES$ac_delim
53724 SETFILE!$SETFILE$ac_delim
53725 GCC_PCH!$GCC_PCH$ac_delim
53726 ICC_PCH!$ICC_PCH$ac_delim
53727 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53728 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53729 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53730 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53735 elif $ac_last_try; then
53736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53738 { (exit 1); exit 1; }; }
53740 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53744 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53745 if test -n "$ac_eof"; then
53746 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53747 ac_eof
=`expr $ac_eof + 1`
53750 cat >>$CONFIG_STATUS <<_ACEOF
53751 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53756 s/^/s,@/; s/!/@,|#_!!_#|/
53759 s/'"$ac_delim"'$/,g/; t
53761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53762 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53763 rm -f conf$
$subs.
sed
53764 cat >>$CONFIG_STATUS <<_ACEOF
53770 for ac_last_try
in false false false false false
:; do
53771 cat >conf$
$subs.
sed <<_ACEOF
53772 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53773 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53774 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53775 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53776 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53777 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53778 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53779 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53780 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53781 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53782 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53783 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53784 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53785 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53786 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53787 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53792 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53793 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53794 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53795 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53796 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53799 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53801 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53802 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53804 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53805 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53806 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53807 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53808 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53809 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53810 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53811 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53812 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53813 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53814 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53815 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53816 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53818 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53819 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53820 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53821 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53822 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53823 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53824 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53825 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53826 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53827 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53828 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53829 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53830 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53831 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53832 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53833 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53834 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53835 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53836 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53837 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53838 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53839 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53840 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53841 COND_SHARED_0!$COND_SHARED_0$ac_delim
53842 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53843 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53844 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53845 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53846 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53847 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53848 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53849 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53850 COND_SHARED_1!$COND_SHARED_1$ac_delim
53851 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53852 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53853 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53854 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53855 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53856 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53857 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53858 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53859 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53861 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53864 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53865 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53866 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53867 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53868 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53873 elif $ac_last_try; then
53874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53876 { (exit 1); exit 1; }; }
53878 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53882 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53883 if test -n "$ac_eof"; then
53884 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53885 ac_eof
=`expr $ac_eof + 1`
53888 cat >>$CONFIG_STATUS <<_ACEOF
53889 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53894 s/^/s,@/; s/!/@,|#_!!_#|/
53897 s/'"$ac_delim"'$/,g/; t
53899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53900 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53901 rm -f conf$
$subs.
sed
53902 cat >>$CONFIG_STATUS <<_ACEOF
53908 for ac_last_try
in false false false false false
:; do
53909 cat >conf$
$subs.
sed <<_ACEOF
53910 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53911 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53912 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53913 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53914 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53915 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53916 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53918 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53919 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53920 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53921 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53922 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53923 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53924 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53925 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53926 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53927 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53928 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53929 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53930 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53931 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53932 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53933 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53934 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53935 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53936 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53937 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53938 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53939 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53940 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53941 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53942 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53943 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53945 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53946 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53947 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53948 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53949 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53950 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53951 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53952 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53953 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53954 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53955 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53956 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53957 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53958 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53959 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53960 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53961 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53962 DEREZ!$DEREZ$ac_delim
53963 SHARED!$SHARED$ac_delim
53964 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53965 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53966 USE_GUI!$USE_GUI$ac_delim
53967 AFMINSTALL!$AFMINSTALL$ac_delim
53968 WIN32INSTALL!$WIN32INSTALL$ac_delim
53969 TOOLKIT!$TOOLKIT$ac_delim
53970 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53971 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53972 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53973 cross_compiling!$cross_compiling$ac_delim
53974 WIDGET_SET!$WIDGET_SET$ac_delim
53975 WX_RELEASE!$WX_RELEASE$ac_delim
53976 WX_VERSION!$WX_VERSION$ac_delim
53977 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53978 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53979 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53980 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53981 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53982 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53983 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53984 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53985 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53986 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53987 GUIDIST!$GUIDIST$ac_delim
53988 DISTDIR!$DISTDIR$ac_delim
53989 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53990 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53991 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53992 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53993 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53994 RESCOMP!$RESCOMP$ac_delim
53995 RESFLAGS!$RESFLAGS$ac_delim
53996 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53997 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53998 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53999 LIBWXMACRES!$LIBWXMACRES$ac_delim
54000 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54001 MACSETFILE!$MACSETFILE$ac_delim
54003 DLLTOOL!$DLLTOOL$ac_delim
54004 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54005 LIBOBJS!$LIBOBJS$ac_delim
54006 LTLIBOBJS!$LTLIBOBJS$ac_delim
54009 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54011 elif $ac_last_try; then
54012 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54013 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54014 { (exit 1); exit 1; }; }
54016 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54020 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54021 if test -n "$ac_eof"; then
54022 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54023 ac_eof
=`expr $ac_eof + 1`
54026 cat >>$CONFIG_STATUS <<_ACEOF
54027 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54031 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54032 s/^/s,@/; s/!/@,|#_!!_#|/
54035 s/'"$ac_delim"'$/,g/; t
54037 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54038 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54039 rm -f conf$
$subs.
sed
54040 cat >>$CONFIG_STATUS <<_ACEOF
54045 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54046 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54047 # trailing colons and then remove the whole line if VPATH becomes empty
54048 # (actually we leave an empty line to preserve line numbers).
54049 if test "x$srcdir" = x.
; then
54050 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54051 s/:*\$(srcdir):*/:/
54052 s/:*\${srcdir}:*/:/
54054 s/^\([^=]*=[ ]*\):*/\1/
54060 cat >>$CONFIG_STATUS <<\_ACEOF
54061 fi # test -n "$CONFIG_FILES"
54064 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54067 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54069 case $ac_mode$ac_tag in
54071 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54072 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54073 { (exit 1); exit 1; }; };;
54074 :[FH
]-) ac_tag
=-:-;;
54075 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54092 -) ac_f
="$tmp/stdin";;
54093 *) # Look for the file first in the build tree, then in the source tree
54094 # (if the path is not absolute). The absolute path cannot be DOS-style,
54095 # because $ac_f cannot contain `:'.
54099 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54101 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54102 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54103 { (exit 1); exit 1; }; };;
54105 ac_file_inputs
="$ac_file_inputs $ac_f"
54108 # Let's still pretend it is `configure' which instantiates (i.e., don't
54109 # use $as_me), people would be surprised to read:
54110 # /* config.h. Generated by config.status. */
54111 configure_input
="Generated from "`IFS=:
54112 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54113 if test x
"$ac_file" != x
-; then
54114 configure_input
="$ac_file. $configure_input"
54115 { echo "$as_me:$LINENO: creating $ac_file" >&5
54116 echo "$as_me: creating $ac_file" >&6;}
54120 *:-:* | *:-) cat >"$tmp/stdin";;
54125 ac_dir
=`$as_dirname -- "$ac_file" ||
54126 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54127 X"$ac_file" : 'X\(//\)[^/]' \| \
54128 X"$ac_file" : 'X\(//\)$' \| \
54129 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54135 /^X\(\/\/\)[^/].*/{
54150 -*) as_dir
=.
/$as_dir;;
54152 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54156 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54157 *) as_qdir
=$as_dir;;
54159 as_dirs
="'$as_qdir' $as_dirs"
54160 as_dir
=`$as_dirname -- "$as_dir" ||
54161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54162 X"$as_dir" : 'X\(//\)[^/]' \| \
54163 X"$as_dir" : 'X\(//\)$' \| \
54164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54170 /^X\(\/\/\)[^/].*/{
54183 test -d "$as_dir" && break
54185 test -z "$as_dirs" || eval "mkdir $as_dirs"
54186 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54187 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54188 { (exit 1); exit 1; }; }; }
54192 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54194 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54195 # A ".." for each directory in $ac_dir_suffix.
54196 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54197 case $ac_top_builddir_sub in
54198 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54199 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54202 ac_abs_top_builddir
=$ac_pwd
54203 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54204 # for backward compatibility:
54205 ac_top_builddir
=$ac_top_build_prefix
54208 .
) # We are building in place.
54210 ac_top_srcdir
=$ac_top_builddir_sub
54211 ac_abs_top_srcdir
=$ac_pwd ;;
54212 [\\/]* | ?
:[\\/]* ) # Absolute name.
54213 ac_srcdir
=$srcdir$ac_dir_suffix;
54214 ac_top_srcdir
=$srcdir
54215 ac_abs_top_srcdir
=$srcdir ;;
54216 *) # Relative name.
54217 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54218 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54219 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54221 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54231 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54232 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54236 cat >>$CONFIG_STATUS <<\_ACEOF
54237 # If the template does not know about datarootdir, expand it.
54238 # FIXME: This hack should be removed a few years after 2.60.
54239 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54241 case `sed -n '/datarootdir/ {
54250 ' $ac_file_inputs` in
54251 *datarootdir
*) ac_datarootdir_seen
=yes;;
54252 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54253 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54254 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54256 cat >>$CONFIG_STATUS <<_ACEOF
54257 ac_datarootdir_hack='
54258 s&@datadir@&$datadir&g
54259 s&@docdir@&$docdir&g
54260 s&@infodir@&$infodir&g
54261 s&@localedir@&$localedir&g
54262 s&@mandir@&$mandir&g
54263 s&\\\${datarootdir}&$datarootdir&g' ;;
54267 # Neutralize VPATH when `$srcdir' = `.'.
54268 # Shell code in configure.ac might set extrasub.
54269 # FIXME: do we really want to maintain this feature?
54270 cat >>$CONFIG_STATUS <<_ACEOF
54274 cat >>$CONFIG_STATUS <<\_ACEOF
54276 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54277 s
&@configure_input@
&$configure_input&;t t
54278 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54279 s
&@srcdir@
&$ac_srcdir&;t t
54280 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54281 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54282 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54283 s
&@builddir@
&$ac_builddir&;t t
54284 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54285 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54286 s
&@INSTALL@
&$ac_INSTALL&;t t
54287 $ac_datarootdir_hack
54288 " $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 's/|#_!!_#|//g' >$tmp/out
54290 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54291 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54292 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54293 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54294 which seems to be undefined. Please make sure it is defined." >&5
54295 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54296 which seems to be undefined. Please make sure it is defined." >&2;}
54300 -) cat "$tmp/out"; rm -f "$tmp/out";;
54301 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54310 # Transform confdefs.h into a sed script `conftest.defines', that
54311 # substitutes the proper values into config.h.in to produce config.h.
54312 rm -f conftest.defines conftest.
tail
54313 # First, append a space to every undef/define line, to ease matching.
54314 echo 's/$/ /' >conftest.defines
54315 # Then, protect against being on the right side of a sed subst, or in
54316 # an unquoted here document, in config.status. If some macros were
54317 # called several times there might be several #defines for the same
54318 # symbol, which is useless. But do not sort them, since the last
54319 # AC_DEFINE must be honored.
54320 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54321 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54322 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54323 # PARAMS is the parameter list in the macro definition--in most cases, it's
54324 # just an empty string.
54325 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54326 ac_dB
='\\)[ (].*,\\1define\\2'
54334 s/^[ ]*#[ ]*define[ ][ ]*//
54339 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54340 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54341 ' >>conftest.defines
54343 # Remove the space that was appended to ease matching.
54344 # Then replace #undef with comments. This is necessary, for
54345 # example, in the case of _POSIX_SOURCE, which is predefined and required
54346 # on some systems where configure will not decide to define it.
54347 # (The regexp can be short, since the line contains either #define or #undef.)
54349 s,^[ #]*u.*,/* & */,' >>conftest.defines
54351 # Break up conftest.defines:
54352 ac_max_sed_lines
=50
54354 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54355 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54356 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54358 ac_in
='$ac_file_inputs'
54359 ac_out
='"$tmp/out1"'
54360 ac_nxt
='"$tmp/out2"'
54364 # Write a here document:
54365 cat >>$CONFIG_STATUS <<_ACEOF
54366 # First, check the format of the line:
54367 cat >"\$tmp/defines.sed" <<\\CEOF
54368 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54369 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54373 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54375 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54376 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54377 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54378 grep . conftest.
tail >/dev
/null
|| break
54379 rm -f conftest.defines
54380 mv conftest.
tail conftest.defines
54382 rm -f conftest.defines conftest.
tail
54384 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54385 cat >>$CONFIG_STATUS <<\_ACEOF
54386 if test x
"$ac_file" != x
-; then
54387 echo "/* $configure_input */" >"$tmp/config.h"
54388 cat "$ac_result" >>"$tmp/config.h"
54389 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54390 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54391 echo "$as_me: $ac_file is unchanged" >&6;}
54394 mv "$tmp/config.h" $ac_file
54397 echo "/* $configure_input */"
54403 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54404 echo "$as_me: executing $ac_file commands" >&6;}
54409 case $ac_file$ac_mode in
54411 mkdir -p $outdir &&
54412 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54414 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54415 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54416 "wx-config":C
) rm -f wx
-config
54417 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54424 { (exit 0); exit 0; }
54426 chmod +x
$CONFIG_STATUS
54427 ac_clean_files
=$ac_clean_files_save
54430 # configure is writing to config.log, and then calls config.status.
54431 # config.status does its own redirection, appending to config.log.
54432 # Unfortunately, on DOS this fails, as config.log is still kept open
54433 # by configure, so config.status won't be able to write to it; its
54434 # output is simply discarded. So we exec the FD to /dev/null,
54435 # effectively closing config.log, so it can be properly (re)opened and
54436 # appended to by config.status. When coming back to configure, we
54437 # need to make the FD available again.
54438 if test "$no_create" != yes; then
54440 ac_config_status_args
=
54441 test "$silent" = yes &&
54442 ac_config_status_args
="$ac_config_status_args --quiet"
54444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54447 # would make configure fail if this is the last instruction.
54448 $ac_cs_success || { (exit 1); exit 1; }
54452 # CONFIG_SUBDIRS section.
54454 if test "$no_recursion" != yes; then
54456 # Remove --cache-file and --srcdir arguments so they do not pile up.
54457 ac_sub_configure_args
=
54459 eval "set x $ac_configure_args"
54463 if test -n "$ac_prev"; then
54468 -cache-file | --cache-file | --cache-fil | --cache-fi \
54469 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54470 ac_prev
=cache_file
;;
54471 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54472 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54475 --config-cache | -C)
54477 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54479 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54481 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54483 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54487 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54489 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54493 # Always prepend --prefix to ensure using the same prefix
54494 # in subdir configurations.
54495 ac_arg
="--prefix=$prefix"
54497 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54499 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54502 if test "$silent" = yes; then
54503 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54507 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54509 # Do not complain, so a configure script can configure whichever
54510 # parts of a large source tree are present.
54511 test -d "$srcdir/$ac_dir" || continue
54513 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54514 echo "$as_me:$LINENO: $ac_msg" >&5
54518 -*) as_dir
=.
/$as_dir;;
54520 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54524 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54525 *) as_qdir
=$as_dir;;
54527 as_dirs
="'$as_qdir' $as_dirs"
54528 as_dir
=`$as_dirname -- "$as_dir" ||
54529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54530 X"$as_dir" : 'X\(//\)[^/]' \| \
54531 X"$as_dir" : 'X\(//\)$' \| \
54532 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54538 /^X\(\/\/\)[^/].*/{
54551 test -d "$as_dir" && break
54553 test -z "$as_dirs" || eval "mkdir $as_dirs"
54554 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54555 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54556 { (exit 1); exit 1; }; }; }
54560 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54562 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54563 # A ".." for each directory in $ac_dir_suffix.
54564 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54565 case $ac_top_builddir_sub in
54566 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54567 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54570 ac_abs_top_builddir
=$ac_pwd
54571 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54572 # for backward compatibility:
54573 ac_top_builddir
=$ac_top_build_prefix
54576 .
) # We are building in place.
54578 ac_top_srcdir
=$ac_top_builddir_sub
54579 ac_abs_top_srcdir
=$ac_pwd ;;
54580 [\\/]* | ?
:[\\/]* ) # Absolute name.
54581 ac_srcdir
=$srcdir$ac_dir_suffix;
54582 ac_top_srcdir
=$srcdir
54583 ac_abs_top_srcdir
=$srcdir ;;
54584 *) # Relative name.
54585 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54586 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54587 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54589 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54594 # Check for guested configure; otherwise get Cygnus style configure.
54595 if test -f "$ac_srcdir/configure.gnu"; then
54596 ac_sub_configure
=$ac_srcdir/configure.gnu
54597 elif test -f "$ac_srcdir/configure"; then
54598 ac_sub_configure
=$ac_srcdir/configure
54599 elif test -f "$ac_srcdir/configure.in"; then
54600 # This should be Cygnus configure.
54601 ac_sub_configure
=$ac_aux_dir/configure
54603 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54604 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54608 # The recursion is here.
54609 if test -n "$ac_sub_configure"; then
54610 # Make the cache file name correct relative to the subdirectory.
54611 case $cache_file in
54612 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54613 *) # Relative name.
54614 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54617 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54618 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54619 # The eval makes quoting arguments work.
54620 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54621 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54622 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54623 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54624 { (exit 1); exit 1; }; }
54633 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54635 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54636 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54638 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54639 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54640 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54641 if test "$wxUSE_UNICODE" = "yes"; then
54642 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54643 echo " (using UTF-8)"
54645 echo " (using wchar_t)"
54651 echo " What level of wxWidgets compatibility should be enabled?"
54652 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54653 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54655 echo " Which libraries should wxWidgets use?"
54656 echo " STL ${wxUSE_STL}"
54657 echo " jpeg ${wxUSE_LIBJPEG-none}"
54658 echo " png ${wxUSE_LIBPNG-none}"
54659 echo " regex ${wxUSE_REGEX}"
54660 echo " tiff ${wxUSE_LIBTIFF-none}"
54661 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54662 echo " xpm ${wxUSE_LIBXPM-none}"
54664 echo " zlib ${wxUSE_ZLIB}"
54665 echo " expat ${wxUSE_EXPAT}"
54666 echo " libmspack ${wxUSE_LIBMSPACK}"
54667 echo " sdl ${wxUSE_LIBSDL}"