2 # From configure.in Id: configure.in.
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
717 LIBGNOMEPRINTUI_CFLAGS
761 SAMPLES_RPATH_POSTLINK
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_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_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11_USE_GUI_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
943 COND_USE_GUI_1_USE_OPENGL_1
944 COND_USE_GUI_1_WXUNIV_0
945 COND_USE_GUI_1_WXUNIV_1
946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSOLARIS_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_ODBC_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1020 ac_precious_vars
='build_alias
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1052 ac_subdirs_all
='src/expat'
1054 # Initialize some variables set by options.
1056 ac_init_version
=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file
=/dev
/null
1066 program_transform_name
=s
,x
,x
,
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir
='${exec_prefix}/bin'
1081 sbindir
='${exec_prefix}/sbin'
1082 libexecdir
='${exec_prefix}/libexec'
1083 datarootdir
='${prefix}/share'
1084 datadir
='${datarootdir}'
1085 sysconfdir
='${prefix}/etc'
1086 sharedstatedir
='${prefix}/com'
1087 localstatedir
='${prefix}/var'
1088 includedir
='${prefix}/include'
1089 oldincludedir
='/usr/include'
1090 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir
='${datarootdir}/info'
1096 libdir
='${exec_prefix}/lib'
1097 localedir
='${datarootdir}/locale'
1098 mandir
='${datarootdir}/man'
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\
$ac_option
1112 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1118 case $ac_dashdash$ac_option in
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir
=$ac_optarg ;;
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev
=build_alias
;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias
=$ac_optarg ;;
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev
=cache_file
;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file
=$ac_optarg ;;
1139 --config-cache | -C)
1140 cache_file
=config.cache
;;
1142 -datadir | --datadir | --datadi | --datad)
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir
=$ac_optarg ;;
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev
=datarootdir
;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir
=$ac_optarg ;;
1154 -disable-* | --disable-*)
1155 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_
$ac_feature=no
;;
1163 -docdir | --docdir | --docdi | --doc | --do)
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir
=$ac_optarg ;;
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir
=$ac_optarg ;;
1173 -enable-* | --enable-*)
1174 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_
$ac_feature=\
$ac_optarg ;;
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev
=exec_prefix
;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix
=$ac_optarg ;;
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help
=long
;;
1197 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1198 ac_init_help
=recursive
;;
1199 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1200 ac_init_help
=short
;;
1202 -host | --host | --hos | --ho)
1203 ac_prev
=host_alias
;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias
=$ac_optarg ;;
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 htmldir
=$ac_optarg ;;
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev
=includedir
;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir
=$ac_optarg ;;
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir
=$ac_optarg ;;
1225 -libdir | --libdir | --libdi | --libd)
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir
=$ac_optarg ;;
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev
=libexecdir
;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir
=$ac_optarg ;;
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev
=localedir
;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir
=$ac_optarg ;;
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev
=localstatedir
;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir
=$ac_optarg ;;
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir
=$ac_optarg ;;
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev
=oldincludedir
;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir
=$ac_optarg ;;
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix
=$ac_optarg ;;
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev
=program_prefix
;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix
=$ac_optarg ;;
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev
=program_suffix
;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix
=$ac_optarg ;;
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev
=program_transform_name
;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name
=$ac_optarg ;;
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir
=$ac_optarg ;;
1316 -psdir | --psdir | --psdi | --psd | --ps)
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 sbindir
=$ac_optarg ;;
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1335 ac_prev
=sharedstatedir
;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 sharedstatedir
=$ac_optarg ;;
1342 -site | --site | --sit)
1344 -site=* | --site=* | --sit=*)
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir
=$ac_optarg ;;
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev
=sysconfdir
;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir
=$ac_optarg ;;
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev
=target_alias
;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias
=$ac_optarg ;;
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version
=: ;;
1371 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\
$ac_optarg ;;
1379 -without-* | --without-*)
1380 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_
$ac_package=no
;;
1389 # Obsolete; use --with-x.
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev
=x_includes
;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes
=$ac_optarg ;;
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev
=x_libraries
;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries
=$ac_optarg ;;
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1412 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\
$ac_optarg
1418 export $ac_envvar ;;
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 if test -n "$ac_prev"; then
1432 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1437 # Be sure to have absolute directory names.
1438 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1443 eval ac_val
=\$
$ac_var
1445 [\\/$
]* | ?
:[\\/]* ) continue;;
1446 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1457 target
=$target_alias
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x
; then
1461 if test "x$build_alias" = x
; then
1462 cross_compiling
=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1471 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1473 test "$silent" = yes && exec 6>/dev
/null
1476 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di
=`ls -di .` &&
1478 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted
=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir
=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1518 ac_srcdir_defaulted
=no
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1525 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1538 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 for ac_var
in $ac_precious_vars; do
1541 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1542 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1543 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1544 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1548 # Report the --help message.
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1561 Defaults for the options are specified in brackets.
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1585 For better control, use the options below.
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1612 --x-includes=DIR X include files are
in DIR
1613 --x-libraries=DIR X library files are
in DIR
1616 --build=BUILD configure
for building on BUILD
[guessed
]
1617 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1618 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1629 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1630 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1631 --enable-gui use GUI classes
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1637 --enable-gpe use GNOME PDA Environment features
if possible
1638 --enable-shared create shared library code
1639 --enable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL
for containers
1642 --enable-omf use OMF object format
1643 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1644 --enable-debug_info create code with debugging information
1645 --enable-debug_gdb create code with extra GDB debugging information
1646 --enable-debug_cntxt use wxDebugContext
1647 --enable-mem_tracing create code with memory tracing
1648 --enable-profile create code with profiling information
1649 --enable-no_rtti create code without RTTI information
1650 --enable-no_exceptions create code without C
++ exceptions handling
1651 --enable-permissive compile code disregarding strict ANSI
1652 --enable-no_deps create code without dependency information
1653 --disable-vararg_macros don
't use vararg macros, even if they are supported
1654 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1655 --enable-compat26 enable wxWidgets 2.6 compatibility
1656 --disable-compat28 disable wxWidgets 2.8 compatibility
1657 --disable-rpath disable use of rpath for uninstalled builds
1658 --enable-intl use internationalization system
1659 --enable-config use wxConfig (and derived) classes
1660 --enable-protocols use wxProtocol and derived classes
1661 --enable-ftp use wxFTP (requires wxProtocol
1662 --enable-http use wxHTTP (requires wxProtocol
1663 --enable-fileproto use wxFileProto class (requires wxProtocol
1664 --enable-sockets use socket/network classes
1665 --enable-ole use OLE classes (Win32 only)
1666 --enable-dataobj use data object classes
1667 --enable-ipc use interprocess communication (wxSocket etc.)
1668 --enable-apple_ieee use the Apple IEEE codec
1669 --enable-arcstream use wxArchive streams
1670 --enable-backtrace use wxStackWalker class for getting backtraces
1671 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1672 --enable-cmdline use wxCmdLineParser class
1673 --enable-datetime use wxDateTime class
1674 --enable-debugreport use wxDebugReport class
1675 --enable-dialupman use dialup network classes
1676 --enable-dynlib use wxLibrary class for DLL loading
1677 --enable-dynamicloader use (new) wxDynamicLibrary class
1678 --enable-exceptions build exception-safe library
1679 --enable-ffile use wxFFile class
1680 --enable-file use wxFile class
1681 --enable-filesystem use virtual file systems classes
1682 --enable-fontmap use font encodings conversion classes
1683 --enable-fs_archive use virtual archive filesystems
1684 --enable-fs_inet use virtual HTTP/FTP filesystems
1685 --enable-fs_zip now replaced by fs_archive
1686 --enable-geometry use geometry class
1687 --enable-log use logging system
1688 --enable-longlong use wxLongLong class
1689 --enable-mimetype use wxMimeTypesManager
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-snglinst use wxSingleInstanceChecker class
1692 --enable-std_iostreams use standard C++ stream classes
1693 --enable-std_string use standard C++ string classes
1694 --enable-stdpaths use wxStandardPaths class
1695 --enable-stopwatch use wxStopWatch class
1696 --enable-streams use wxStream etc classes
1697 --enable-sysoptions use wxSystemOptions
1698 --enable-tarstream use wxTar streams
1699 --enable-textbuf use wxTextBuffer class
1700 --enable-textfile use wxTextFile class
1701 --enable-timer use wxTimer class
1702 --enable-unicode compile wxString with Unicode support
1703 --enable-sound use wxSound class
1704 --enable-mediactrl use wxMediaCtrl class
1705 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1706 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1707 --enable-zipstream use wxZip streams
1708 --enable-url use wxURL class
1709 --enable-variant use wxVariant class
1710 --enable-protocol use wxProtocol class
1711 --enable-protocol-http HTTP support in wxProtocol
1712 --enable-protocol-ftp FTP support in wxProtocol
1713 --enable-protocol-file FILE support in wxProtocol
1714 --enable-threads use threads
1715 --enable-docview use document view architecture
1716 --enable-help use help subsystem
1717 --enable-mshtmlhelp use MS HTML Help (win32)
1718 --enable-html use wxHTML sub-library
1719 --enable-htmlhelp use wxHTML-based help
1720 --enable-xrc use XRC resources sub-library
1721 --enable-aui use AUI docking library
1722 --enable-stc use wxStyledTextCtrl library
1723 --enable-constraints use layout-constraints system
1724 --enable-printarch use printing architecture
1725 --enable-mdi use multiple document interface architecture
1726 --enable-mdidoc use docview architecture with MDI
1727 --enable-loggui use standard GUI logger
1728 --enable-logwin use wxLogWindow
1729 --enable-logdialog use wxLogDialog
1730 --enable-webkit use wxWebKitCtrl (Mac)
1731 --enable-richtext use wxRichTextCtrl
1732 --enable-graphics_ctx use graphics context 2D drawing API
1733 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1734 --enable-clipboard use wxClipboard class
1735 --enable-dnd use Drag'n
'Drop classes
1736 --enable-metafile use win32 metafiles
1737 --enable-controls use all usual controls
1738 --enable-accel use accelerators
1739 --enable-animatectrl use wxAnimationCtrl class
1740 --enable-button use wxButton class
1741 --enable-bmpbutton use wxBitmapButton class
1742 --enable-bmpcombobox use wxBitmapComboBox class
1743 --enable-calendar use wxCalendarCtrl class
1744 --enable-caret use wxCaret class
1745 --enable-checkbox use wxCheckBox class
1746 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1747 --enable-choice use wxChoice class
1748 --enable-choicebook use wxChoicebook class
1749 --enable-collpane use wxCollapsiblePane class
1750 --enable-colourpicker use wxColourPickerCtrl class
1751 --enable-combobox use wxComboBox class
1752 --enable-comboctrl use wxComboCtrl class
1753 --enable-datepick use wxDatePickerCtrl class
1754 --enable-dirpicker use wxDirPickerCtrl class
1755 --enable-display use wxDisplay class
1756 --enable-detect_sm use code to detect X11 session manager
1757 --enable-filepicker use wxFilePickerCtrl class
1758 --enable-fontpicker use wxFontPickerCtrl class
1759 --enable-gauge use wxGauge class
1760 --enable-grid use wxGrid class
1761 --enable-dataviewctrl use wxDataViewCtrl class
1762 --enable-hyperlink use wxHyperlinkCtrl class
1763 --enable-imaglist use wxImageList class
1764 --enable-listbook use wxListbook class
1765 --enable-listbox use wxListBox class
1766 --enable-listctrl use wxListCtrl class
1767 --enable-notebook use wxNotebook class
1768 --enable-odcombobox use wxOwnerDrawnComboBox class
1769 --enable-radiobox use wxRadioBox class
1770 --enable-radiobtn use wxRadioButton class
1771 --enable-sash use wxSashWindow class
1772 --enable-scrollbar use wxScrollBar class and scrollable windows
1773 --enable-searchctrl use wxSearchCtrl class
1774 --enable-slider use wxSlider class
1775 --enable-spinbtn use wxSpinButton class
1776 --enable-spinctrl use wxSpinCtrl class
1777 --enable-splitter use wxSplitterWindow class
1778 --enable-statbmp use wxStaticBitmap class
1779 --enable-statbox use wxStaticBox class
1780 --enable-statline use wxStaticLine class
1781 --enable-stattext use wxStaticText class
1782 --enable-statusbar use wxStatusBar class
1783 --enable-tabdialog use wxTabControl class
1784 --enable-textctrl use wxTextCtrl class
1785 --enable-togglebtn use wxToggleButton class
1786 --enable-toolbar use wxToolBar class
1787 --enable-tbarnative use native wxToolBar class
1788 --enable-treebook use wxTreebook class
1789 --enable-toolbook use wxToolbook class
1790 --enable-treectrl use wxTreeCtrl class
1791 --enable-tipwindow use wxTipWindow class
1792 --enable-popupwin use wxPopUpWindow class
1793 --enable-commondlg use all common dialogs
1794 --enable-aboutdlg use wxAboutBox
1795 --enable-choicedlg use wxChoiceDialog
1796 --enable-coldlg use wxColourDialog
1797 --enable-filedlg use wxFileDialog
1798 --enable-finddlg use wxFindReplaceDialog
1799 --enable-fontdlg use wxFontDialog
1800 --enable-dirdlg use wxDirDialog
1801 --enable-msgdlg use wxMessageDialog
1802 --enable-numberdlg use wxNumberEntryDialog
1803 --enable-splash use wxSplashScreen
1804 --enable-textdlg use wxTextDialog
1805 --enable-tipdlg use startup tips
1806 --enable-progressdlg use wxProgressDialog
1807 --enable-wizarddlg use wxWizard
1808 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1809 --enable-miniframe use wxMiniFrame class
1810 --enable-tooltips use wxToolTip class
1811 --enable-splines use spline drawing code
1812 --enable-mousewheel use mousewheel
1813 --enable-validators use wxValidator and derived classes
1814 --enable-busyinfo use wxBusyInfo
1815 --enable-joystick use wxJoystick
1816 --enable-metafiles use wxMetaFile (Win32 only)
1817 --enable-dragimage use wxDragImage
1818 --enable-accessibility enable accessibility support
1819 --enable-dccache cache temporary wxDC objects (Win32 only)
1820 --enable-palette use wxPalette class
1821 --enable-image use wxImage class
1822 --enable-gif use gif images (GIF file format)
1823 --enable-pcx use pcx images (PCX file format)
1824 --enable-tga use tga images (TGA file format)
1825 --enable-iff use iff images (IFF file format)
1826 --enable-pnm use pnm images (PNM file format)
1827 --enable-xpm use xpm images (XPM file format)
1828 --enable-icocur use Windows ICO and CUR formats
1829 --enable-official_build official build of wxWidgets (win32 DLL only)
1830 --enable-vendor=VENDOR vendor name (win32 DLL only)
1831 --disable-largefile omit support for large files
1832 --disable-gtktest do not try to compile and run a test GTK+ program
1833 --disable-gtktest Do not try to compile and run a test GTK program
1834 --disable-sdltest Do not try to compile and run a test SDL program
1835 --enable-omf use OMF object format (OS/2)
1836 --disable-dependency-tracking
1837 don't use dependency tracking even
if the compiler
1839 --disable-precomp-headers
1840 don
't use precompiled headers even if compiler can
1843 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1844 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1845 --without-subdirs don't generate makefiles
for samples
/demos
/...
1846 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1847 --with-motif use Motif
/Lesstif
1848 --with-mac use Mac OS X
1849 --with-cocoa use Cocoa
1850 --with-wine use Wine
1851 --with-msw use MS
-Windows
1852 --with-pm use OS
/2 Presentation Manager
1853 --with-mgl use SciTech MGL
1854 --with-directfb use DirectFB
1855 --with-microwin use MicroWindows
1857 --with-libpng use libpng
(PNG image format
)
1858 --with-libjpeg use libjpeg
(JPEG
file format
)
1859 --with-libtiff use libtiff
(TIFF
file format
)
1860 --with-libxpm use libxpm
(XPM
file format
)
1861 --with-libmspack use libmspack
(CHM
help files loading
)
1862 --with-sdl use SDL
for audio on Unix
1863 --with-gnomeprint use GNOME print
for printing under GNOME
1864 --with-gnomevfs use GNOME VFS
for associating MIME types
1865 --with-hildon use Hildon framework
for Nokia
770
1866 --with-opengl use OpenGL
(or Mesa
)
1867 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1868 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1869 --with-regex enable support
for wxRegEx class
1870 --with-zlib use zlib
for LZW compression
1871 --with-odbc use the IODBC and wxODBC classes
1872 --with-expat enable XML support using expat parser
1873 --with-flavour=NAME specify a name to identify this build
1874 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1875 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1876 --with-x use the X Window System
1877 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1878 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1879 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1880 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1881 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1883 Some influential environment variables
:
1884 CC C compiler
command
1885 CFLAGS C compiler flags
1886 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1887 nonstandard directory
<lib dir
>
1888 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1889 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1890 you have headers
in a nonstandard directory
<include dir
>
1892 CXX C
++ compiler
command
1893 CXXFLAGS C
++ compiler flags
1894 PKG_CONFIG path to pkg
-config utility
1896 C compiler flags
for DIRECTFB
, overriding pkg
-config
1898 linker flags
for DIRECTFB
, overriding pkg
-config
1899 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1901 C compiler flags
for PANGOX
, overriding pkg
-config
1902 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1904 C compiler flags
for PANGOFT2
, overriding pkg
-config
1906 linker flags
for PANGOFT2
, overriding pkg
-config
1908 C compiler flags
for PANGOXFT
, overriding pkg
-config
1910 linker flags
for PANGOXFT
, overriding pkg
-config
1911 LIBGNOMEPRINTUI_CFLAGS
1912 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1913 LIBGNOMEPRINTUI_LIBS
1914 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1916 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1918 linker flags
for GNOMEVFS
, overriding pkg
-config
1920 C compiler flags
for HILDON
, overriding pkg
-config
1921 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1923 C compiler flags
for CAIRO
, overriding pkg
-config
1924 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1925 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1926 GST_LIBS linker flags
for GST
, overriding pkg
-config
1928 Use these variables to override the choices made by
`configure' or to help
1929 it to find libraries and programs with nonstandard names/locations.
1931 Report bugs to <wx-dev@lists.wxwidgets.org>.
1936 if test "$ac_init_help" = "recursive"; then
1937 # If there are subdirs, report their specific --help.
1938 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1939 test -d "$ac_dir" || continue
1943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1945 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1946 # A ".." for each directory in $ac_dir_suffix.
1947 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1948 case $ac_top_builddir_sub in
1949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1953 ac_abs_top_builddir=$ac_pwd
1954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1955 # for backward compatibility:
1956 ac_top_builddir=$ac_top_build_prefix
1959 .) # We are building in place.
1961 ac_top_srcdir=$ac_top_builddir_sub
1962 ac_abs_top_srcdir=$ac_pwd ;;
1963 [\\/]* | ?:[\\/]* ) # Absolute name.
1964 ac_srcdir=$srcdir$ac_dir_suffix;
1965 ac_top_srcdir=$srcdir
1966 ac_abs_top_srcdir=$srcdir ;;
1968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1969 ac_top_srcdir=$ac_top_build_prefix$srcdir
1970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1974 cd "$ac_dir" || { ac_status=$?; continue; }
1975 # Check for guested configure.
1976 if test -f "$ac_srcdir/configure.gnu"; then
1978 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1979 elif test -f "$ac_srcdir/configure"; then
1981 $SHELL "$ac_srcdir/configure" --help=recursive
1983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1985 cd "$ac_pwd" || { ac_status=$?; break; }
1989 test -n "$ac_init_help" && exit $ac_status
1990 if $ac_init_version; then
1992 wxWidgets configure 2.9.0
1993 generated by GNU Autoconf 2.61
1995 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1996 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1997 This configure script is free software; the Free Software Foundation
1998 gives unlimited permission to copy, distribute and modify it.
2002 cat >config.log <<_ACEOF
2003 This file contains any messages produced by compilers while
2004 running configure, to aid debugging if configure makes a mistake.
2006 It was created by wxWidgets $as_me 2.9.0, which was
2007 generated by GNU Autoconf 2.61. Invocation command line was
2019 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2020 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2021 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2022 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2023 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2025 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2026 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2028 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2029 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2030 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2031 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2032 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2033 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2034 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 echo "PATH: $as_dir"
2059 # Keep a trace of the command line.
2060 # Strip out --no-create and --no-recursion so they do not pile up.
2061 # Strip out --silent because we don't want to record it for future runs.
2062 # Also quote any args containing shell meta-characters.
2063 # Make two passes to allow for proper duplicate-argument suppression.
2067 ac_must_keep_next=false
2073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2075 | -silent | --silent | --silen | --sile | --sil)
2078 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2084 if test $ac_must_keep_next = true; then
2085 ac_must_keep_next=false # Got value, back to normal.
2088 *=* | --config-cache | -C | -disable-* | --disable-* \
2089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2091 | -with-* | --with-* | -without-* | --without-* | --x)
2092 case "$ac_configure_args0 " in
2093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2096 -* ) ac_must_keep_next=true ;;
2099 ac_configure_args="$ac_configure_args '$ac_arg'"
2104 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2105 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2107 # When interrupted or exit'd, cleanup temporary files, and complete
2108 # config.log. We remove comments because anyway the quotes in there
2109 # would cause problems or look ugly.
2110 # WARNING: Use '\'' to represent an apostrophe within the trap.
2111 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2112 trap 'exit_status=$?
2113 # Save into config.log some information that might help in debugging.
2118 ## ---------------- ##
2119 ## Cache variables. ##
2120 ## ---------------- ##
2123 # The following way of writing the cache mishandles newlines in values,
2125 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2126 eval ac_val=\$$ac_var
2130 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2131 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2134 _ | IFS | as_nl) ;; #(
2135 *) $as_unset $ac_var ;;
2140 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2141 *${as_nl}ac_space=\ *)
2143 "s/'\''/'\''\\\\'\'''\''/g;
2144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2155 ## ----------------- ##
2156 ## Output variables. ##
2157 ## ----------------- ##
2160 for ac_var in $ac_subst_vars
2162 eval ac_val=\$$ac_var
2164 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166 echo "$ac_var='\''$ac_val'\''"
2170 if test -n "$ac_subst_files"; then
2172 ## ------------------- ##
2173 ## File substitutions. ##
2174 ## ------------------- ##
2177 for ac_var in $ac_subst_files
2179 eval ac_val=\$$ac_var
2181 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 echo "$ac_var='\''$ac_val'\''"
2188 if test -s confdefs.h; then
2198 test "$ac_signal" != 0 &&
2199 echo "$as_me: caught signal $ac_signal"
2200 echo "$as_me: exit $exit_status"
2202 rm -f core *.core core.conftest.* &&
2203 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2206 for ac_signal in 1 2 13 15; do
2207 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2211 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2212 rm -f -r conftest* confdefs.h
2214 # Predefined preprocessor variables.
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_NAME "$PACKAGE_NAME"
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2241 # Let the site file select an alternate cache file if it wants to.
2242 # Prefer explicitly selected file to automatically selected ones.
2243 if test -n "$CONFIG_SITE"; then
2244 set x "$CONFIG_SITE"
2245 elif test "x$prefix" != xNONE; then
2246 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2248 set x "$ac_default_prefix/share/config.site" \
2249 "$ac_default_prefix/etc/config.site"
2254 if test -r "$ac_site_file"; then
2255 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2256 echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2262 if test -r "$cache_file"; then
2263 # Some versions of bash will fail to source /dev/null (special
2264 # files actually), so we avoid doing that.
2265 if test -f "$cache_file"; then
2266 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2267 echo "$as_me: loading cache $cache_file" >&6;}
2269 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2270 *) . "./$cache_file";;
2274 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2275 echo "$as_me: creating cache $cache_file" >&6;}
2279 # Check that the precious variables saved in the cache have kept the same
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284 eval ac_new_set=\$ac_env_${ac_var}_set
2285 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286 eval ac_new_val=\$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2289 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2290 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2293 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2294 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2300 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2301 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2302 echo "$as_me: former value
: $ac_old_val" >&2;}
2303 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2304 echo "$as_me: current value
: $ac_new_val" >&2;}
2305 ac_cache_corrupted=:
2308 # Pass precious variables to config.status.
2309 if test "$ac_new_set" = set; then
2311 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2312 *) ac_arg=$ac_var=$ac_new_val ;;
2314 case " $ac_configure_args " in
2315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2316 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2320 if $ac_cache_corrupted; then
2321 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2322 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2323 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2324 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2325 { (exit 1); exit 1; }; }
2353 ac_cpp='$CPP $CPPFLAGS'
2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2364 if test -f "$ac_dir/install-sh"; then
2366 ac_install_sh="$ac_aux_dir/install-sh -c"
2368 elif test -f "$ac_dir/install.sh"; then
2370 ac_install_sh="$ac_aux_dir/install.sh -c"
2372 elif test -f "$ac_dir/shtool"; then
2374 ac_install_sh="$ac_aux_dir/shtool install -c"
2378 if test -z "$ac_aux_dir"; then
2379 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2380 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2381 { (exit 1); exit 1; }; }
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2393 # Make sure we can run config.sub.
2394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2395 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2396 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2397 { (exit 1); exit 1; }; }
2399 { echo "$as_me:$LINENO: checking build system type" >&5
2400 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2401 if test "${ac_cv_build+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 ac_build_alias=$build_alias
2405 test "x$ac_build_alias" = x &&
2406 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2407 test "x$ac_build_alias" = x &&
2408 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2409 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2410 { (exit 1); exit 1; }; }
2411 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2412 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2413 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2414 { (exit 1); exit 1; }; }
2417 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2418 echo "${ECHO_T}$ac_cv_build" >&6; }
2419 case $ac_cv_build in
2421 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2422 echo "$as_me: error: invalid value of canonical build" >&2;}
2423 { (exit 1); exit 1; }; };;
2426 ac_save_IFS=$IFS; IFS='-'
2432 # Remember, the first character of IFS is used to create $*,
2433 # except with old shells:
2436 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2439 { echo "$as_me:$LINENO: checking host system type" >&5
2440 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2441 if test "${ac_cv_host+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test "x$host_alias" = x; then
2445 ac_cv_host=$ac_cv_build
2447 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2448 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2449 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2450 { (exit 1); exit 1; }; }
2454 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2455 echo "${ECHO_T}$ac_cv_host" >&6; }
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2459 echo "$as_me: error: invalid value of canonical host" >&2;}
2460 { (exit 1); exit 1; }; };;
2463 ac_save_IFS=$IFS; IFS='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2476 { echo "$as_me:$LINENO: checking target system type" >&5
2477 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_target+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test "x$target_alias" = x; then
2482 ac_cv_target=$ac_cv_host
2484 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2491 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2492 echo "${ECHO_T}$ac_cv_target" >&6; }
2493 case $ac_cv_target in
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2496 echo "$as_me: error: invalid value of canonical target" >&2;}
2497 { (exit 1); exit 1; }; };;
2499 target=$ac_cv_target
2500 ac_save_IFS=$IFS; IFS='-'
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2510 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2513 # The aliases save the names the user supplied, while $host etc.
2514 # will get canonicalized.
2515 test -n "$target_alias" &&
2516 test "$program_prefix$program_suffix$program_transform_name" = \
2518 program_prefix=${target_alias}-
2522 wx_major_version_number=2
2523 wx_minor_version_number=9
2525 wx_subrelease_number=0
2527 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2528 WX_VERSION=$WX_RELEASE.$wx_release_number
2529 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2531 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2534 wx_top_builddir="`pwd`"
2547 USE_BSD= USE_DARWIN= USE_FREEBSD=
2553 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2559 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2561 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2563 DEFAULT_wxUSE_COCOA=0
2567 DEFAULT_wxUSE_MICROWIN=0
2568 DEFAULT_wxUSE_MOTIF=0
2574 DEFAULT_DEFAULT_wxUSE_COCOA=0
2575 DEFAULT_DEFAULT_wxUSE_GTK=0
2576 DEFAULT_DEFAULT_wxUSE_MAC=0
2577 DEFAULT_DEFAULT_wxUSE_MGL=0
2578 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2579 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2580 DEFAULT_DEFAULT_wxUSE_MSW=0
2581 DEFAULT_DEFAULT_wxUSE_PM=0
2582 DEFAULT_DEFAULT_wxUSE_X11=0
2583 DEFAULT_DEFAULT_wxUSE_DFB=0
2588 SAMPLES_RPATH_POSTLINK=
2590 DEFAULT_STD_FLAG=yes
2595 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2598 cat >>confdefs.h <<\_ACEOF
2603 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2607 cat >>confdefs.h <<\_ACEOF
2612 if test "x$TMP" = "xalpha"; then
2614 cat >>confdefs.h <<\_ACEOF
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2621 *-*-gnu* | *-*-k*bsd*-gnu )
2624 if test "x$TMP" = "xalpha"; then
2626 cat >>confdefs.h <<\_ACEOF
2631 DEFAULT_DEFAULT_wxUSE_GTK=1
2633 *-*-irix5* | *-*-irix6* )
2636 cat >>confdefs.h <<\_ACEOF
2640 cat >>confdefs.h <<\_ACEOF
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2650 cat >>confdefs.h <<\_ACEOF
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SOLARIS__ 1
2658 cat >>confdefs.h <<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2669 cat >>confdefs.h <<\_ACEOF
2673 cat >>confdefs.h <<\_ACEOF
2677 cat >>confdefs.h <<\_ACEOF
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __FREEBSD__ 1
2690 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 *-*-openbsd*|*-*-mirbsd*)
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __OPENBSD__ 1
2703 cat >>confdefs.h <<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __NETBSD__ 1
2716 cat >>confdefs.h <<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2723 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2728 cat >>confdefs.h <<\_ACEOF
2732 cat >>confdefs.h <<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2742 cat >>confdefs.h <<\_ACEOF
2746 cat >>confdefs.h <<\_ACEOF
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 cat >>confdefs.h <<\_ACEOF
2774 cat >>confdefs.h <<\_ACEOF
2778 cat >>confdefs.h <<\_ACEOF
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __UNIXWARE__ 1
2795 *-*-cygwin* | *-*-mingw32* )
2798 DEFAULT_DEFAULT_wxUSE_MSW=1
2804 cat >>confdefs.h <<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MGL=1
2812 *-pc-os2_emx | *-pc-os2-emx )
2813 cat >>confdefs.h <<\_ACEOF
2818 cat >>confdefs.h <<\_ACEOF
2823 DEFAULT_DEFAULT_wxUSE_PM=1
2825 LDFLAGS="$LDFLAGS -Zcrtdll"
2826 ac_executable_extensions=".exe"
2827 export ac_executable_extensions
2831 for ac_dir in $PATH; do
2833 if test -z "$ac_TEMP_PATH"; then
2834 ac_TEMP_PATH="$ac_dir"
2836 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2839 export PATH="$ac_TEMP_PATH"
2848 cat >>confdefs.h <<\_ACEOF
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __DARWIN__ 1
2856 cat >>confdefs.h <<\_ACEOF
2857 #define TARGET_CARBON 1
2860 DEFAULT_DEFAULT_wxUSE_MAC=1
2863 powerpc-apple-macos* )
2865 ac_cv_c_bigendian=yes
2867 DEFAULT_DEFAULT_wxUSE_MAC=1
2873 cat >>confdefs.h <<\_ACEOF
2880 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2881 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2882 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2883 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2885 DEFAULT_DEFAULT_wxUSE_X11=1
2886 DEFAULT_wxUSE_SHARED=no
2892 wx_arg_cache_file="configarg.cache"
2893 echo "loading argument cache $wx_arg_cache_file"
2894 rm -f ${wx_arg_cache_file}.tmp
2895 touch ${wx_arg_cache_file}.tmp
2896 touch ${wx_arg_cache_file}
2900 if test $DEBUG_CONFIGURE = 1; then
2901 DEFAULT_wxUSE_UNIVERSAL=no
2902 DEFAULT_wxUSE_STL=no
2904 DEFAULT_wxUSE_NANOX=no
2906 DEFAULT_wxUSE_THREADS=yes
2908 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2909 DEFAULT_wxUSE_OPTIMISE=no
2910 DEFAULT_wxUSE_PROFILE=no
2911 DEFAULT_wxUSE_NO_DEPS=no
2912 DEFAULT_wxUSE_VARARG_MACROS=no
2913 DEFAULT_wxUSE_NO_RTTI=no
2914 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2915 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2916 DEFAULT_wxUSE_RPATH=yes
2917 DEFAULT_wxUSE_PERMISSIVE=no
2918 DEFAULT_wxUSE_DEBUG_FLAG=yes
2919 DEFAULT_wxUSE_DEBUG_INFO=yes
2920 DEFAULT_wxUSE_DEBUG_GDB=yes
2921 DEFAULT_wxUSE_MEM_TRACING=no
2922 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2923 DEFAULT_wxUSE_DMALLOC=no
2924 DEFAULT_wxUSE_APPLE_IEEE=no
2926 DEFAULT_wxUSE_EXCEPTIONS=no
2927 DEFAULT_wxUSE_LOG=yes
2928 DEFAULT_wxUSE_LOGWINDOW=no
2929 DEFAULT_wxUSE_LOGGUI=no
2930 DEFAULT_wxUSE_LOGDIALOG=no
2932 DEFAULT_wxUSE_GUI=yes
2933 DEFAULT_wxUSE_CONTROLS=no
2935 DEFAULT_wxUSE_REGEX=no
2936 DEFAULT_wxUSE_XML=no
2937 DEFAULT_wxUSE_EXPAT=no
2938 DEFAULT_wxUSE_ZLIB=no
2939 DEFAULT_wxUSE_LIBPNG=no
2940 DEFAULT_wxUSE_LIBJPEG=no
2941 DEFAULT_wxUSE_LIBTIFF=no
2942 DEFAULT_wxUSE_LIBXPM=no
2943 DEFAULT_wxUSE_LIBMSPACK=no
2944 DEFAULT_wxUSE_LIBSDL=no
2945 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2946 DEFAULT_wxUSE_LIBGNOMEVFS=no
2947 DEFAULT_wxUSE_LIBHILDON=no
2948 DEFAULT_wxUSE_ODBC=no
2949 DEFAULT_wxUSE_OPENGL=no
2951 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2952 DEFAULT_wxUSE_STACKWALKER=no
2953 DEFAULT_wxUSE_DEBUGREPORT=no
2954 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2955 DEFAULT_wxUSE_STD_IOSTREAM=no
2956 DEFAULT_wxUSE_STD_STRING=no
2957 DEFAULT_wxUSE_CMDLINE_PARSER=no
2958 DEFAULT_wxUSE_DATETIME=no
2959 DEFAULT_wxUSE_TIMER=no
2960 DEFAULT_wxUSE_STOPWATCH=no
2961 DEFAULT_wxUSE_FILE=no
2962 DEFAULT_wxUSE_FFILE=no
2963 DEFAULT_wxUSE_STDPATHS=no
2964 DEFAULT_wxUSE_TEXTBUFFER=no
2965 DEFAULT_wxUSE_TEXTFILE=no
2966 DEFAULT_wxUSE_SOUND=no
2967 DEFAULT_wxUSE_MEDIACTRL=no
2968 DEFAULT_wxUSE_GSTREAMER8=no
2969 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2970 DEFAULT_wxUSE_INTL=no
2971 DEFAULT_wxUSE_CONFIG=no
2972 DEFAULT_wxUSE_FONTMAP=no
2973 DEFAULT_wxUSE_STREAMS=no
2974 DEFAULT_wxUSE_SOCKETS=no
2975 DEFAULT_wxUSE_OLE=no
2976 DEFAULT_wxUSE_DATAOBJ=no
2977 DEFAULT_wxUSE_DIALUP_MANAGER=no
2978 DEFAULT_wxUSE_JOYSTICK=no
2979 DEFAULT_wxUSE_DYNLIB_CLASS=no
2980 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2981 DEFAULT_wxUSE_LONGLONG=no
2982 DEFAULT_wxUSE_GEOMETRY=no
2984 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2985 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2986 DEFAULT_wxUSE_POSTSCRIPT=no
2988 DEFAULT_wxUSE_CLIPBOARD=no
2989 DEFAULT_wxUSE_TOOLTIPS=no
2990 DEFAULT_wxUSE_DRAG_AND_DROP=no
2991 DEFAULT_wxUSE_DRAGIMAGE=no
2992 DEFAULT_wxUSE_SPLINES=no
2993 DEFAULT_wxUSE_MOUSEWHEEL=no
2995 DEFAULT_wxUSE_MDI=no
2996 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2997 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2998 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3000 DEFAULT_wxUSE_CONSTRAINTS=no
3001 DEFAULT_wxUSE_IPC=no
3002 DEFAULT_wxUSE_HELP=no
3003 DEFAULT_wxUSE_MS_HTML_HELP=no
3004 DEFAULT_wxUSE_WXHTML_HELP=no
3005 DEFAULT_wxUSE_TREELAYOUT=no
3006 DEFAULT_wxUSE_METAFILE=no
3007 DEFAULT_wxUSE_MIMETYPE=no
3008 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3009 DEFAULT_wxUSE_PROTOCOL=no
3010 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3011 DEFAULT_wxUSE_PROTOCOL_FTP=no
3012 DEFAULT_wxUSE_PROTOCOL_FILE=no
3013 DEFAULT_wxUSE_URL=no
3014 DEFAULT_wxUSE_VARIANT=no
3016 DEFAULT_wxUSE_ABOUTDLG=no
3017 DEFAULT_wxUSE_COMMONDLGS=no
3018 DEFAULT_wxUSE_CHOICEDLG=no
3019 DEFAULT_wxUSE_COLOURDLG=no
3020 DEFAULT_wxUSE_DIRDLG=no
3021 DEFAULT_wxUSE_FILEDLG=no
3022 DEFAULT_wxUSE_FINDREPLDLG=no
3023 DEFAULT_wxUSE_FONTDLG=no
3024 DEFAULT_wxUSE_MSGDLG=no
3025 DEFAULT_wxUSE_NUMBERDLG=no
3026 DEFAULT_wxUSE_TEXTDLG=no
3027 DEFAULT_wxUSE_SPLASH=no
3028 DEFAULT_wxUSE_STARTUP_TIPS=no
3029 DEFAULT_wxUSE_PROGRESSDLG=no
3030 DEFAULT_wxUSE_WIZARDDLG=no
3032 DEFAULT_wxUSE_MENUS=no
3033 DEFAULT_wxUSE_MINIFRAME=no
3034 DEFAULT_wxUSE_HTML=no
3035 DEFAULT_wxUSE_RICHTEXT=no
3036 DEFAULT_wxUSE_XRC=no
3037 DEFAULT_wxUSE_AUI=no
3038 DEFAULT_wxUSE_STC=no
3039 DEFAULT_wxUSE_WEBKIT=no
3040 DEFAULT_wxUSE_FILESYSTEM=no
3041 DEFAULT_wxUSE_FS_INET=no
3042 DEFAULT_wxUSE_FS_ZIP=no
3043 DEFAULT_wxUSE_FS_ARCHIVE=no
3044 DEFAULT_wxUSE_BUSYINFO=no
3045 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3046 DEFAULT_wxUSE_ZIPSTREAM=no
3047 DEFAULT_wxUSE_TARSTREAM=no
3048 DEFAULT_wxUSE_VALIDATORS=no
3050 DEFAULT_wxUSE_ACCEL=no
3051 DEFAULT_wxUSE_ANIMATIONCTRL=no
3052 DEFAULT_wxUSE_BUTTON=no
3053 DEFAULT_wxUSE_BMPBUTTON=no
3054 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3055 DEFAULT_wxUSE_CALCTRL=no
3056 DEFAULT_wxUSE_CARET=no
3057 DEFAULT_wxUSE_CHECKBOX=no
3058 DEFAULT_wxUSE_CHECKLST=no
3059 DEFAULT_wxUSE_CHOICE=no
3060 DEFAULT_wxUSE_CHOICEBOOK=no
3061 DEFAULT_wxUSE_COLLPANE=no
3062 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3063 DEFAULT_wxUSE_COMBOBOX=no
3064 DEFAULT_wxUSE_COMBOCTRL=no
3065 DEFAULT_wxUSE_DATEPICKCTRL=no
3066 DEFAULT_wxUSE_DISPLAY=no
3067 DEFAULT_wxUSE_DETECT_SM=no
3068 DEFAULT_wxUSE_DIRPICKERCTRL=no
3069 DEFAULT_wxUSE_FILEPICKERCTRL=no
3070 DEFAULT_wxUSE_FONTPICKERCTRL=no
3071 DEFAULT_wxUSE_GAUGE=no
3072 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3073 DEFAULT_wxUSE_GRID=no
3074 DEFAULT_wxUSE_HYPERLINKCTRL=no
3075 DEFAULT_wxUSE_DATAVIEWCTRL=no
3076 DEFAULT_wxUSE_IMAGLIST=no
3077 DEFAULT_wxUSE_LISTBOOK=no
3078 DEFAULT_wxUSE_LISTBOX=no
3079 DEFAULT_wxUSE_LISTCTRL=no
3080 DEFAULT_wxUSE_NOTEBOOK=no
3081 DEFAULT_wxUSE_ODCOMBOBOX=no
3082 DEFAULT_wxUSE_RADIOBOX=no
3083 DEFAULT_wxUSE_RADIOBTN=no
3084 DEFAULT_wxUSE_SASH=no
3085 DEFAULT_wxUSE_SCROLLBAR=no
3086 DEFAULT_wxUSE_SEARCHCTRL=no
3087 DEFAULT_wxUSE_SLIDER=no
3088 DEFAULT_wxUSE_SPINBTN=no
3089 DEFAULT_wxUSE_SPINCTRL=no
3090 DEFAULT_wxUSE_SPLITTER=no
3091 DEFAULT_wxUSE_STATBMP=no
3092 DEFAULT_wxUSE_STATBOX=no
3093 DEFAULT_wxUSE_STATLINE=no
3094 DEFAULT_wxUSE_STATTEXT=no
3095 DEFAULT_wxUSE_STATUSBAR=yes
3096 DEFAULT_wxUSE_TAB_DIALOG=no
3097 DEFAULT_wxUSE_TEXTCTRL=no
3098 DEFAULT_wxUSE_TOGGLEBTN=no
3099 DEFAULT_wxUSE_TOOLBAR=no
3100 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3101 DEFAULT_wxUSE_TREEBOOK=no
3102 DEFAULT_wxUSE_TOOLBOOK=no
3103 DEFAULT_wxUSE_TREECTRL=no
3104 DEFAULT_wxUSE_POPUPWIN=no
3105 DEFAULT_wxUSE_TIPWINDOW=no
3107 DEFAULT_wxUSE_UNICODE=no
3108 DEFAULT_wxUSE_UNICODE_MSLU=no
3109 DEFAULT_wxUSE_WCSRTOMBS=no
3111 DEFAULT_wxUSE_PALETTE=no
3112 DEFAULT_wxUSE_IMAGE=no
3113 DEFAULT_wxUSE_GIF=no
3114 DEFAULT_wxUSE_PCX=no
3115 DEFAULT_wxUSE_TGA=no
3116 DEFAULT_wxUSE_PNM=no
3117 DEFAULT_wxUSE_IFF=no
3118 DEFAULT_wxUSE_XPM=no
3119 DEFAULT_wxUSE_ICO_CUR=no
3120 DEFAULT_wxUSE_ACCESSIBILITY=no
3122 DEFAULT_wxUSE_MONOLITHIC=no
3123 DEFAULT_wxUSE_PLUGINS=no
3124 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3126 DEFAULT_wxUSE_UNIVERSAL=no
3127 DEFAULT_wxUSE_STL=no
3129 DEFAULT_wxUSE_NANOX=no
3131 DEFAULT_wxUSE_THREADS=yes
3133 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3134 DEFAULT_wxUSE_OPTIMISE=yes
3135 DEFAULT_wxUSE_PROFILE=no
3136 DEFAULT_wxUSE_NO_DEPS=no
3137 DEFAULT_wxUSE_VARARG_MACROS=yes
3138 DEFAULT_wxUSE_NO_RTTI=no
3139 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3140 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3141 DEFAULT_wxUSE_RPATH=yes
3142 DEFAULT_wxUSE_PERMISSIVE=no
3143 DEFAULT_wxUSE_DEBUG_FLAG=no
3144 DEFAULT_wxUSE_DEBUG_INFO=no
3145 DEFAULT_wxUSE_DEBUG_GDB=no
3146 DEFAULT_wxUSE_MEM_TRACING=no
3147 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3148 DEFAULT_wxUSE_DMALLOC=no
3149 DEFAULT_wxUSE_APPLE_IEEE=yes
3151 DEFAULT_wxUSE_EXCEPTIONS=yes
3152 DEFAULT_wxUSE_LOG=yes
3153 DEFAULT_wxUSE_LOGWINDOW=yes
3154 DEFAULT_wxUSE_LOGGUI=yes
3155 DEFAULT_wxUSE_LOGDIALOG=yes
3157 DEFAULT_wxUSE_GUI=yes
3159 DEFAULT_wxUSE_REGEX=yes
3160 DEFAULT_wxUSE_XML=yes
3161 DEFAULT_wxUSE_EXPAT=yes
3162 DEFAULT_wxUSE_ZLIB=yes
3163 DEFAULT_wxUSE_LIBPNG=yes
3164 DEFAULT_wxUSE_LIBJPEG=yes
3165 DEFAULT_wxUSE_LIBTIFF=yes
3166 DEFAULT_wxUSE_LIBXPM=yes
3167 DEFAULT_wxUSE_LIBMSPACK=yes
3168 DEFAULT_wxUSE_LIBSDL=no
3169 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3170 DEFAULT_wxUSE_LIBGNOMEVFS=no
3171 DEFAULT_wxUSE_LIBHILDON=no
3172 DEFAULT_wxUSE_ODBC=no
3173 DEFAULT_wxUSE_OPENGL=no
3175 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3176 DEFAULT_wxUSE_STACKWALKER=yes
3177 DEFAULT_wxUSE_DEBUGREPORT=yes
3178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3179 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3180 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3181 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3182 DEFAULT_wxUSE_DATETIME=yes
3183 DEFAULT_wxUSE_TIMER=yes
3184 DEFAULT_wxUSE_STOPWATCH=yes
3185 DEFAULT_wxUSE_FILE=yes
3186 DEFAULT_wxUSE_FFILE=yes
3187 DEFAULT_wxUSE_STDPATHS=yes
3188 DEFAULT_wxUSE_TEXTBUFFER=yes
3189 DEFAULT_wxUSE_TEXTFILE=yes
3190 DEFAULT_wxUSE_SOUND=yes
3191 DEFAULT_wxUSE_MEDIACTRL=no
3192 DEFAULT_wxUSE_GSTREAMER8=no
3193 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3194 DEFAULT_wxUSE_INTL=yes
3195 DEFAULT_wxUSE_CONFIG=yes
3196 DEFAULT_wxUSE_FONTMAP=yes
3197 DEFAULT_wxUSE_STREAMS=yes
3198 DEFAULT_wxUSE_SOCKETS=yes
3199 DEFAULT_wxUSE_OLE=yes
3200 DEFAULT_wxUSE_DATAOBJ=yes
3201 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3202 DEFAULT_wxUSE_JOYSTICK=yes
3203 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3204 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3205 DEFAULT_wxUSE_LONGLONG=yes
3206 DEFAULT_wxUSE_GEOMETRY=yes
3208 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3209 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3210 DEFAULT_wxUSE_POSTSCRIPT=yes
3212 DEFAULT_wxUSE_CLIPBOARD=yes
3213 DEFAULT_wxUSE_TOOLTIPS=yes
3214 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3215 DEFAULT_wxUSE_DRAGIMAGE=yes
3216 DEFAULT_wxUSE_SPLINES=yes
3217 DEFAULT_wxUSE_MOUSEWHEEL=yes
3219 DEFAULT_wxUSE_MDI=yes
3220 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3222 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3224 DEFAULT_wxUSE_CONSTRAINTS=yes
3225 DEFAULT_wxUSE_IPC=yes
3226 DEFAULT_wxUSE_HELP=yes
3227 DEFAULT_wxUSE_MS_HTML_HELP=yes
3228 DEFAULT_wxUSE_WXHTML_HELP=yes
3229 DEFAULT_wxUSE_TREELAYOUT=yes
3230 DEFAULT_wxUSE_METAFILE=yes
3231 DEFAULT_wxUSE_MIMETYPE=yes
3232 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3233 DEFAULT_wxUSE_PROTOCOL=yes
3234 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3235 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3236 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3237 DEFAULT_wxUSE_URL=yes
3238 DEFAULT_wxUSE_VARIANT=yes
3240 DEFAULT_wxUSE_ABOUTDLG=yes
3241 DEFAULT_wxUSE_COMMONDLGS=yes
3242 DEFAULT_wxUSE_CHOICEDLG=yes
3243 DEFAULT_wxUSE_COLOURDLG=yes
3244 DEFAULT_wxUSE_DIRDLG=yes
3245 DEFAULT_wxUSE_FILEDLG=yes
3246 DEFAULT_wxUSE_FINDREPLDLG=yes
3247 DEFAULT_wxUSE_FONTDLG=yes
3248 DEFAULT_wxUSE_MSGDLG=yes
3249 DEFAULT_wxUSE_NUMBERDLG=yes
3250 DEFAULT_wxUSE_TEXTDLG=yes
3251 DEFAULT_wxUSE_SPLASH=yes
3252 DEFAULT_wxUSE_STARTUP_TIPS=yes
3253 DEFAULT_wxUSE_PROGRESSDLG=yes
3254 DEFAULT_wxUSE_WIZARDDLG=yes
3256 DEFAULT_wxUSE_MENUS=yes
3257 DEFAULT_wxUSE_MINIFRAME=yes
3258 DEFAULT_wxUSE_HTML=yes
3259 DEFAULT_wxUSE_RICHTEXT=yes
3260 DEFAULT_wxUSE_XRC=yes
3261 DEFAULT_wxUSE_AUI=yes
3262 DEFAULT_wxUSE_STC=yes
3263 DEFAULT_wxUSE_WEBKIT=yes
3264 DEFAULT_wxUSE_FILESYSTEM=yes
3265 DEFAULT_wxUSE_FS_INET=yes
3266 DEFAULT_wxUSE_FS_ZIP=yes
3267 DEFAULT_wxUSE_FS_ARCHIVE=yes
3268 DEFAULT_wxUSE_BUSYINFO=yes
3269 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3270 DEFAULT_wxUSE_ZIPSTREAM=yes
3271 DEFAULT_wxUSE_TARSTREAM=yes
3272 DEFAULT_wxUSE_VALIDATORS=yes
3274 DEFAULT_wxUSE_ACCEL=yes
3275 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3276 DEFAULT_wxUSE_BUTTON=yes
3277 DEFAULT_wxUSE_BMPBUTTON=yes
3278 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3279 DEFAULT_wxUSE_CALCTRL=yes
3280 DEFAULT_wxUSE_CARET=yes
3281 DEFAULT_wxUSE_CHECKBOX=yes
3282 DEFAULT_wxUSE_CHECKLST=yes
3283 DEFAULT_wxUSE_CHOICE=yes
3284 DEFAULT_wxUSE_CHOICEBOOK=yes
3285 DEFAULT_wxUSE_COLLPANE=yes
3286 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3287 DEFAULT_wxUSE_COMBOBOX=yes
3288 DEFAULT_wxUSE_COMBOCTRL=yes
3289 DEFAULT_wxUSE_DATEPICKCTRL=yes
3290 DEFAULT_wxUSE_DISPLAY=yes
3291 DEFAULT_wxUSE_DETECT_SM=yes
3292 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3293 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3294 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3295 DEFAULT_wxUSE_GAUGE=yes
3296 DEFAULT_wxUSE_GRID=yes
3297 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3298 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3299 DEFAULT_wxUSE_DATAVIEWCTRL=no
3300 DEFAULT_wxUSE_IMAGLIST=yes
3301 DEFAULT_wxUSE_LISTBOOK=yes
3302 DEFAULT_wxUSE_LISTBOX=yes
3303 DEFAULT_wxUSE_LISTCTRL=yes
3304 DEFAULT_wxUSE_NOTEBOOK=yes
3305 DEFAULT_wxUSE_ODCOMBOBOX=yes
3306 DEFAULT_wxUSE_RADIOBOX=yes
3307 DEFAULT_wxUSE_RADIOBTN=yes
3308 DEFAULT_wxUSE_SASH=yes
3309 DEFAULT_wxUSE_SCROLLBAR=yes
3310 DEFAULT_wxUSE_SEARCHCTRL=yes
3311 DEFAULT_wxUSE_SLIDER=yes
3312 DEFAULT_wxUSE_SPINBTN=yes
3313 DEFAULT_wxUSE_SPINCTRL=yes
3314 DEFAULT_wxUSE_SPLITTER=yes
3315 DEFAULT_wxUSE_STATBMP=yes
3316 DEFAULT_wxUSE_STATBOX=yes
3317 DEFAULT_wxUSE_STATLINE=yes
3318 DEFAULT_wxUSE_STATTEXT=yes
3319 DEFAULT_wxUSE_STATUSBAR=yes
3320 DEFAULT_wxUSE_TAB_DIALOG=no
3321 DEFAULT_wxUSE_TEXTCTRL=yes
3322 DEFAULT_wxUSE_TOGGLEBTN=yes
3323 DEFAULT_wxUSE_TOOLBAR=yes
3324 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3325 DEFAULT_wxUSE_TREEBOOK=yes
3326 DEFAULT_wxUSE_TOOLBOOK=yes
3327 DEFAULT_wxUSE_TREECTRL=yes
3328 DEFAULT_wxUSE_POPUPWIN=yes
3329 DEFAULT_wxUSE_TIPWINDOW=yes
3331 DEFAULT_wxUSE_UNICODE=no
3332 DEFAULT_wxUSE_UNICODE_MSLU=yes
3333 DEFAULT_wxUSE_WCSRTOMBS=no
3335 DEFAULT_wxUSE_PALETTE=yes
3336 DEFAULT_wxUSE_IMAGE=yes
3337 DEFAULT_wxUSE_GIF=yes
3338 DEFAULT_wxUSE_PCX=yes
3339 DEFAULT_wxUSE_TGA=yes
3340 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3341 DEFAULT_wxUSE_XPM=yes
3342 DEFAULT_wxUSE_ICO_CUR=yes
3343 DEFAULT_wxUSE_ACCESSIBILITY=no
3345 DEFAULT_wxUSE_MONOLITHIC=no
3346 DEFAULT_wxUSE_PLUGINS=no
3347 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3349 DEFAULT_wxUSE_GTK2=yes
3355 for toolkit in `echo $ALL_TOOLKITS`; do
3356 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3357 if test "x$LINE" != "x" ; then
3358 has_toolkit_in_cache=1
3359 eval "DEFAULT_$LINE"
3360 eval "CACHE_$toolkit=1"
3362 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3363 if test "x$LINE" != "x" ; then
3364 eval "DEFAULT_$LINE"
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3375 # Check whether --enable-gui was given.
3376 if test "${enable_gui+set}" = set; then
3377 enableval=$enable_gui;
3378 if test "$enableval" = yes; then
3379 ac_cv_use_gui='wxUSE_GUI=yes'
3381 ac_cv_use_gui='wxUSE_GUI=no'
3386 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3393 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3398 eval "$ac_cv_use_gui"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3403 if test "$wxUSE_GUI" = yes; then
3404 { echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6; }
3407 { echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6; }
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3416 # Check whether --enable-monolithic was given.
3417 if test "${enable_monolithic+set}" = set; then
3418 enableval=$enable_monolithic;
3419 if test "$enableval" = yes; then
3420 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3427 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x ; then
3429 eval "DEFAULT_$LINE"
3434 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3439 eval "$ac_cv_use_monolithic"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_MONOLITHIC" = yes; then
3445 { echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6; }
3448 { echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6; }
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3457 # Check whether --enable-plugins was given.
3458 if test "${enable_plugins+set}" = set; then
3459 enableval=$enable_plugins;
3460 if test "$enableval" = yes; then
3461 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3463 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3468 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x ; then
3470 eval "DEFAULT_$LINE"
3475 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3480 eval "$ac_cv_use_plugins"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_PLUGINS" = yes; then
3486 { echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6; }
3489 { echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6; }
3495 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3496 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3499 # Check whether --with-subdirs was given.
3500 if test "${with_subdirs+set}" = set; then
3501 withval=$with_subdirs;
3502 if test "$withval" = yes; then
3503 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3510 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3517 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3522 eval "$ac_cv_use_subdirs"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3527 if test "$wxWITH_SUBDIRS" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3536 if test "$wxUSE_GUI" = "yes"; then
3540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3541 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3543 # Check whether --enable-universal was given.
3544 if test "${enable_universal+set}" = set; then
3545 enableval=$enable_universal;
3546 if test "$enableval" = yes; then
3547 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3549 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3554 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3561 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3566 eval "$ac_cv_use_universal"
3567 if test "$no_cache" != 1; then
3568 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3571 if test "$wxUSE_UNIVERSAL" = yes; then
3572 { echo "$as_me:$LINENO: result: yes" >&5
3573 echo "${ECHO_T}yes" >&6; }
3575 { echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6; }
3580 # Check whether --with-gtk was given.
3581 if test "${with_gtk+set}" = set; then
3582 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3586 # Check whether --with-motif was given.
3587 if test "${with_motif+set}" = set; then
3588 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3592 # Check whether --with-mac was given.
3593 if test "${with_mac+set}" = set; then
3594 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3598 # Check whether --with-cocoa was given.
3599 if test "${with_cocoa+set}" = set; then
3600 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3604 # Check whether --with-wine was given.
3605 if test "${with_wine+set}" = set; then
3606 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3610 # Check whether --with-msw was given.
3611 if test "${with_msw+set}" = set; then
3612 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3616 # Check whether --with-pm was given.
3617 if test "${with_pm+set}" = set; then
3618 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3622 # Check whether --with-mgl was given.
3623 if test "${with_mgl+set}" = set; then
3624 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3628 # Check whether --with-directfb was given.
3629 if test "${with_directfb+set}" = set; then
3630 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3634 # Check whether --with-microwin was given.
3635 if test "${with_microwin+set}" = set; then
3636 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3640 # Check whether --with-x11 was given.
3641 if test "${with_x11+set}" = set; then
3642 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3650 # Check whether --enable-nanox was given.
3651 if test "${enable_nanox+set}" = set; then
3652 enableval=$enable_nanox;
3653 if test "$enableval" = yes; then
3654 ac_cv_use_nanox='wxUSE_NANOX=yes'
3656 ac_cv_use_nanox='wxUSE_NANOX=no'
3661 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3668 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3673 eval "$ac_cv_use_nanox"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_NANOX" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3687 # Check whether --enable-gtk2 was given.
3688 if test "${enable_gtk2+set}" = set; then
3689 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3695 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3697 # Check whether --enable-gpe was given.
3698 if test "${enable_gpe+set}" = set; then
3699 enableval=$enable_gpe;
3700 if test "$enableval" = yes; then
3701 ac_cv_use_gpe='wxUSE_GPE=yes'
3703 ac_cv_use_gpe='wxUSE_GPE=no'
3708 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3720 eval "$ac_cv_use_gpe"
3721 if test "$no_cache" != 1; then
3722 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3725 if test "$wxUSE_GPE" = yes; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3729 { echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6; }
3735 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3736 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3739 # Check whether --with-libpng was given.
3740 if test "${with_libpng+set}" = set; then
3741 withval=$with_libpng;
3742 if test "$withval" = yes; then
3743 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3758 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3770 eval "$ac_cv_use_libpng"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_LIBPNG" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBPNG" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBPNG" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBPNG" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3794 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3795 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3798 # Check whether --with-libjpeg was given.
3799 if test "${with_libjpeg+set}" = set; then
3800 withval=$with_libjpeg;
3801 if test "$withval" = yes; then
3802 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3803 elif test "$withval" = no; then
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3805 elif test "$withval" = sys; then
3806 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3807 elif test "$withval" = builtin; then
3808 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3817 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3829 eval "$ac_cv_use_libjpeg"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_LIBJPEG" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBJPEG" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBJPEG" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBJPEG" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3853 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3854 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3857 # Check whether --with-libtiff was given.
3858 if test "${with_libtiff+set}" = set; then
3859 withval=$with_libtiff;
3860 if test "$withval" = yes; then
3861 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3862 elif test "$withval" = no; then
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3864 elif test "$withval" = sys; then
3865 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3866 elif test "$withval" = builtin; then
3867 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3869 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3870 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3871 { (exit 1); exit 1; }; }
3876 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3888 eval "$ac_cv_use_libtiff"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_LIBTIFF" = yes; then
3894 { echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6; }
3896 elif test "$wxUSE_LIBTIFF" = no; then
3897 { echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6; }
3899 elif test "$wxUSE_LIBTIFF" = sys; then
3900 { echo "$as_me:$LINENO: result: system version" >&5
3901 echo "${ECHO_T}system version" >&6; }
3902 elif test "$wxUSE_LIBTIFF" = builtin; then
3903 { echo "$as_me:$LINENO: result: builtin version" >&5
3904 echo "${ECHO_T}builtin version" >&6; }
3906 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3907 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3908 { (exit 1); exit 1; }; }
3912 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3913 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3916 # Check whether --with-libxpm was given.
3917 if test "${with_libxpm+set}" = set; then
3918 withval=$with_libxpm;
3919 if test "$withval" = yes; then
3920 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3921 elif test "$withval" = no; then
3922 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3923 elif test "$withval" = sys; then
3924 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3925 elif test "$withval" = builtin; then
3926 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3928 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3929 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3930 { (exit 1); exit 1; }; }
3935 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3942 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3947 eval "$ac_cv_use_libxpm"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_LIBXPM" = yes; then
3953 { echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6; }
3955 elif test "$wxUSE_LIBXPM" = no; then
3956 { echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6; }
3958 elif test "$wxUSE_LIBXPM" = sys; then
3959 { echo "$as_me:$LINENO: result: system version" >&5
3960 echo "${ECHO_T}system version" >&6; }
3961 elif test "$wxUSE_LIBXPM" = builtin; then
3962 { echo "$as_me:$LINENO: result: builtin version" >&5
3963 echo "${ECHO_T}builtin version" >&6; }
3965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3966 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3967 { (exit 1); exit 1; }; }
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3976 # Check whether --with-libmspack was given.
3977 if test "${with_libmspack+set}" = set; then
3978 withval=$with_libmspack;
3979 if test "$withval" = yes; then
3980 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3987 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3999 eval "$ac_cv_use_libmspack"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_LIBMSPACK" = yes; then
4005 { echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6; }
4008 { echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6; }
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4018 # Check whether --with-sdl was given.
4019 if test "${with_sdl+set}" = set; then
4021 if test "$withval" = yes; then
4022 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4024 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4029 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4041 eval "$ac_cv_use_sdl"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_LIBSDL" = yes; then
4047 { echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6; }
4050 { echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6; }
4056 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4057 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4060 # Check whether --with-gnomeprint was given.
4061 if test "${with_gnomeprint+set}" = set; then
4062 withval=$with_gnomeprint;
4063 if test "$withval" = yes; then
4064 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4071 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4083 eval "$ac_cv_use_gnomeprint"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4089 { echo "$as_me:$LINENO: result: yes" >&5
4090 echo "${ECHO_T}yes" >&6; }
4092 { echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6; }
4098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4099 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4102 # Check whether --with-gnomevfs was given.
4103 if test "${with_gnomevfs+set}" = set; then
4104 withval=$with_gnomevfs;
4105 if test "$withval" = yes; then
4106 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4113 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x ; then
4115 eval "DEFAULT_$LINE"
4120 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4125 eval "$ac_cv_use_gnomevfs"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4130 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4131 { echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6; }
4134 { echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6; }
4140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4141 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4144 # Check whether --with-hildon was given.
4145 if test "${with_hildon+set}" = set; then
4146 withval=$with_hildon;
4147 if test "$withval" = yes; then
4148 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4150 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4155 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4162 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4167 eval "$ac_cv_use_hildon"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4172 if test "$wxUSE_LIBHILDON" = yes; then
4173 { echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6; }
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4182 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4183 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4186 # Check whether --with-opengl was given.
4187 if test "${with_opengl+set}" = set; then
4188 withval=$with_opengl;
4189 if test "$withval" = yes; then
4190 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4192 ac_cv_use_opengl='wxUSE_OPENGL=no'
4197 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4209 eval "$ac_cv_use_opengl"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_OPENGL" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4223 if test "$wxUSE_UNIVERSAL" = "yes"; then
4225 # Check whether --with-themes was given.
4226 if test "${with_themes+set}" = set; then
4227 withval=$with_themes; wxUNIV_THEMES="$withval"
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4240 # Check whether --with-dmalloc was given.
4241 if test "${with_dmalloc+set}" = set; then
4242 withval=$with_dmalloc;
4243 if test "$withval" = yes; then
4244 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4251 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4263 eval "$ac_cv_use_dmalloc"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_DMALLOC" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4277 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4278 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4281 # Check whether --with-regex was given.
4282 if test "${with_regex+set}" = set; then
4283 withval=$with_regex;
4284 if test "$withval" = yes; then
4285 ac_cv_use_regex='wxUSE_REGEX=yes'
4286 elif test "$withval" = no; then
4287 ac_cv_use_regex='wxUSE_REGEX=no'
4288 elif test "$withval" = sys; then
4289 ac_cv_use_regex='wxUSE_REGEX=sys'
4290 elif test "$withval" = builtin; then
4291 ac_cv_use_regex='wxUSE_REGEX=builtin'
4293 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4294 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4295 { (exit 1); exit 1; }; }
4300 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4312 eval "$ac_cv_use_regex"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_REGEX" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_REGEX" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_REGEX" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_REGEX" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4336 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4337 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4340 # Check whether --with-zlib was given.
4341 if test "${with_zlib+set}" = set; then
4343 if test "$withval" = yes; then
4344 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4345 elif test "$withval" = no; then
4346 ac_cv_use_zlib='wxUSE_ZLIB=no'
4347 elif test "$withval" = sys; then
4348 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4349 elif test "$withval" = builtin; then
4350 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4359 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4371 eval "$ac_cv_use_zlib"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4395 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4396 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4399 # Check whether --with-odbc was given.
4400 if test "${with_odbc+set}" = set; then
4402 if test "$withval" = yes; then
4403 ac_cv_use_odbc='wxUSE_ODBC=yes'
4404 elif test "$withval" = no; then
4405 ac_cv_use_odbc='wxUSE_ODBC=no'
4406 elif test "$withval" = sys; then
4407 ac_cv_use_odbc='wxUSE_ODBC=sys'
4408 elif test "$withval" = builtin; then
4409 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4418 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4430 eval "$ac_cv_use_odbc"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4435 if test "$wxUSE_ODBC" = yes; then
4436 { echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6; }
4438 elif test "$wxUSE_ODBC" = no; then
4439 { echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6; }
4441 elif test "$wxUSE_ODBC" = sys; then
4442 { echo "$as_me:$LINENO: result: system version" >&5
4443 echo "${ECHO_T}system version" >&6; }
4444 elif test "$wxUSE_ODBC" = builtin; then
4445 { echo "$as_me:$LINENO: result: builtin version" >&5
4446 echo "${ECHO_T}builtin version" >&6; }
4448 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4449 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4450 { (exit 1); exit 1; }; }
4454 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4455 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4458 # Check whether --with-expat was given.
4459 if test "${with_expat+set}" = set; then
4460 withval=$with_expat;
4461 if test "$withval" = yes; then
4462 ac_cv_use_expat='wxUSE_EXPAT=yes'
4463 elif test "$withval" = no; then
4464 ac_cv_use_expat='wxUSE_EXPAT=no'
4465 elif test "$withval" = sys; then
4466 ac_cv_use_expat='wxUSE_EXPAT=sys'
4467 elif test "$withval" = builtin; then
4468 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4470 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4471 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4472 { (exit 1); exit 1; }; }
4477 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4489 eval "$ac_cv_use_expat"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_EXPAT" = yes; then
4495 { echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6; }
4497 elif test "$wxUSE_EXPAT" = no; then
4498 { echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6; }
4500 elif test "$wxUSE_EXPAT" = sys; then
4501 { echo "$as_me:$LINENO: result: system version" >&5
4502 echo "${ECHO_T}system version" >&6; }
4503 elif test "$wxUSE_EXPAT" = builtin; then
4504 { echo "$as_me:$LINENO: result: builtin version" >&5
4505 echo "${ECHO_T}builtin version" >&6; }
4507 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4508 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4509 { (exit 1); exit 1; }; }
4516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4519 # Check whether --enable-shared was given.
4520 if test "${enable_shared+set}" = set; then
4521 enableval=$enable_shared;
4522 if test "$enableval" = yes; then
4523 ac_cv_use_shared='wxUSE_SHARED=yes'
4525 ac_cv_use_shared='wxUSE_SHARED=no'
4530 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4542 eval "$ac_cv_use_shared"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_SHARED" = yes; then
4548 { echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6; }
4551 { echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6; }
4557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4560 # Check whether --enable-optimise was given.
4561 if test "${enable_optimise+set}" = set; then
4562 enableval=$enable_optimise;
4563 if test "$enableval" = yes; then
4564 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4566 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4571 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4583 eval "$ac_cv_use_optimise"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4588 if test "$wxUSE_OPTIMISE" = yes; then
4589 { echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6; }
4592 { echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6; }
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4601 # Check whether --enable-debug was given.
4602 if test "${enable_debug+set}" = set; then
4603 enableval=$enable_debug;
4604 if test "$enableval" = yes; then
4605 ac_cv_use_debug='wxUSE_DEBUG=yes'
4607 ac_cv_use_debug='wxUSE_DEBUG=no'
4612 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4619 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4624 eval "$ac_cv_use_debug"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4629 if test "$wxUSE_DEBUG" = yes; then
4630 { echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6; }
4633 { echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6; }
4639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4642 # Check whether --enable-stl was given.
4643 if test "${enable_stl+set}" = set; then
4644 enableval=$enable_stl;
4645 if test "$enableval" = yes; then
4646 ac_cv_use_stl='wxUSE_STL=yes'
4648 ac_cv_use_stl='wxUSE_STL=no'
4653 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4665 eval "$ac_cv_use_stl"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_STL" = yes; then
4671 { echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6; }
4674 { echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6; }
4678 if test "$USE_OS2" = "1"; then
4679 DEFAULT_wxUSE_OMF=no
4682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4685 # Check whether --enable-omf was given.
4686 if test "${enable_omf+set}" = set; then
4687 enableval=$enable_omf;
4688 if test "$enableval" = yes; then
4689 ac_cv_use_omf='wxUSE_OMF=yes'
4691 ac_cv_use_omf='wxUSE_OMF=no'
4696 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4708 eval "$ac_cv_use_omf"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_OMF" = yes; then
4714 { echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6; }
4717 { echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6; }
4723 if test "$wxUSE_DEBUG" = "yes"; then
4724 DEFAULT_wxUSE_DEBUG_FLAG=yes
4725 DEFAULT_wxUSE_DEBUG_INFO=yes
4727 elif test "$wxUSE_DEBUG" = "no"; then
4728 DEFAULT_wxUSE_DEBUG_FLAG=no
4729 DEFAULT_wxUSE_DEBUG_INFO=no
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4738 # Check whether --enable-debug_flag was given.
4739 if test "${enable_debug_flag+set}" = set; then
4740 enableval=$enable_debug_flag;
4741 if test "$enableval" = yes; then
4742 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4749 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4761 eval "$ac_cv_use_debug_flag"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DEBUG_FLAG" = yes; then
4767 { echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6; }
4770 { echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6; }
4776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4779 # Check whether --enable-debug_info was given.
4780 if test "${enable_debug_info+set}" = set; then
4781 enableval=$enable_debug_info;
4782 if test "$enableval" = yes; then
4783 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4790 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x ; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4802 eval "$ac_cv_use_debug_info"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_DEBUG_INFO" = yes; then
4808 { echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6; }
4811 { echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6; }
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4820 # Check whether --enable-debug_gdb was given.
4821 if test "${enable_debug_gdb+set}" = set; then
4822 enableval=$enable_debug_gdb;
4823 if test "$enableval" = yes; then
4824 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4831 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4843 eval "$ac_cv_use_debug_gdb"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_DEBUG_GDB" = yes; then
4849 { echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6; }
4852 { echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6; }
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4861 # Check whether --enable-debug_cntxt was given.
4862 if test "${enable_debug_cntxt+set}" = set; then
4863 enableval=$enable_debug_cntxt;
4864 if test "$enableval" = yes; then
4865 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4872 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x ; then
4874 eval "DEFAULT_$LINE"
4879 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4884 eval "$ac_cv_use_debug_cntxt"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4890 { echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6; }
4893 { echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6; }
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4902 # Check whether --enable-mem_tracing was given.
4903 if test "${enable_mem_tracing+set}" = set; then
4904 enableval=$enable_mem_tracing;
4905 if test "$enableval" = yes; then
4906 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4913 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4925 eval "$ac_cv_use_mem_tracing"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_MEM_TRACING" = yes; then
4931 { echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6; }
4934 { echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6; }
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4943 # Check whether --enable-profile was given.
4944 if test "${enable_profile+set}" = set; then
4945 enableval=$enable_profile;
4946 if test "$enableval" = yes; then
4947 ac_cv_use_profile='wxUSE_PROFILE=yes'
4949 ac_cv_use_profile='wxUSE_PROFILE=no'
4954 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x ; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4966 eval "$ac_cv_use_profile"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_PROFILE" = yes; then
4972 { echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6; }
4975 { echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6; }
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4984 # Check whether --enable-no_rtti was given.
4985 if test "${enable_no_rtti+set}" = set; then
4986 enableval=$enable_no_rtti;
4987 if test "$enableval" = yes; then
4988 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4995 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5007 eval "$ac_cv_use_no_rtti"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_NO_RTTI" = yes; then
5013 { echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6; }
5016 { echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6; }
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5025 # Check whether --enable-no_exceptions was given.
5026 if test "${enable_no_exceptions+set}" = set; then
5027 enableval=$enable_no_exceptions;
5028 if test "$enableval" = yes; then
5029 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5036 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5048 eval "$ac_cv_use_no_exceptions"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5054 { echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6; }
5057 { echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6; }
5063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5066 # Check whether --enable-permissive was given.
5067 if test "${enable_permissive+set}" = set; then
5068 enableval=$enable_permissive;
5069 if test "$enableval" = yes; then
5070 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5077 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x ; then
5079 eval "DEFAULT_$LINE"
5084 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5089 eval "$ac_cv_use_permissive"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_PERMISSIVE" = yes; then
5095 { echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6; }
5098 { echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6; }
5104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5107 # Check whether --enable-no_deps was given.
5108 if test "${enable_no_deps+set}" = set; then
5109 enableval=$enable_no_deps;
5110 if test "$enableval" = yes; then
5111 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5118 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x ; then
5120 eval "DEFAULT_$LINE"
5125 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5130 eval "$ac_cv_use_no_deps"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_NO_DEPS" = yes; then
5136 { echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6; }
5139 { echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6; }
5145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5148 # Check whether --enable-vararg_macros was given.
5149 if test "${enable_vararg_macros+set}" = set; then
5150 enableval=$enable_vararg_macros;
5151 if test "$enableval" = yes; then
5152 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5159 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5160 if test "x$LINE" != x ; then
5161 eval "DEFAULT_$LINE"
5166 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5171 eval "$ac_cv_use_vararg_macros"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_VARARG_MACROS" = yes; then
5177 { echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6; }
5180 { echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6; }
5186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5189 # Check whether --enable-universal_binary was given.
5190 if test "${enable_universal_binary+set}" = set; then
5191 enableval=$enable_universal_binary;
5192 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5196 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5202 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5208 eval "$wx_cv_use_universal_binary"
5209 if test "$no_cache" != 1; then
5210 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5213 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5214 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5222 # Check whether --enable-compat26 was given.
5223 if test "${enable_compat26+set}" = set; then
5224 enableval=$enable_compat26;
5225 if test "$enableval" = yes; then
5226 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5233 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5240 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5245 eval "$ac_cv_use_compat26"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5250 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5251 { echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6; }
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5259 enablestring=disable
5260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5263 # Check whether --enable-compat28 was given.
5264 if test "${enable_compat28+set}" = set; then
5265 enableval=$enable_compat28;
5266 if test "$enableval" = yes; then
5267 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5274 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5286 eval "$ac_cv_use_compat28"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5291 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5292 { echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6; }
5295 { echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6; }
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5305 # Check whether --enable-rpath was given.
5306 if test "${enable_rpath+set}" = set; then
5307 enableval=$enable_rpath;
5308 if test "$enableval" = yes; then
5309 ac_cv_use_rpath='wxUSE_RPATH=yes'
5311 ac_cv_use_rpath='wxUSE_RPATH=no'
5316 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5328 eval "$ac_cv_use_rpath"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5333 if test "$wxUSE_RPATH" = yes; then
5334 { echo "$as_me:$LINENO: result: yes" >&5
5335 echo "${ECHO_T}yes" >&6; }
5337 { echo "$as_me:$LINENO: result: no" >&5
5338 echo "${ECHO_T}no" >&6; }
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5349 # Check whether --enable-intl was given.
5350 if test "${enable_intl+set}" = set; then
5351 enableval=$enable_intl;
5352 if test "$enableval" = yes; then
5353 ac_cv_use_intl='wxUSE_INTL=yes'
5355 ac_cv_use_intl='wxUSE_INTL=no'
5360 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5372 eval "$ac_cv_use_intl"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5377 if test "$wxUSE_INTL" = yes; then
5378 { echo "$as_me:$LINENO: result: yes" >&5
5379 echo "${ECHO_T}yes" >&6; }
5381 { echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6; }
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5390 # Check whether --enable-config was given.
5391 if test "${enable_config+set}" = set; then
5392 enableval=$enable_config;
5393 if test "$enableval" = yes; then
5394 ac_cv_use_config='wxUSE_CONFIG=yes'
5396 ac_cv_use_config='wxUSE_CONFIG=no'
5401 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5408 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5413 eval "$ac_cv_use_config"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_CONFIG" = yes; then
5419 { echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6; }
5422 { echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6; }
5429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5432 # Check whether --enable-protocols was given.
5433 if test "${enable_protocols+set}" = set; then
5434 enableval=$enable_protocols;
5435 if test "$enableval" = yes; then
5436 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5438 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5443 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5455 eval "$ac_cv_use_protocols"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_PROTOCOL" = yes; then
5461 { echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6; }
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5473 # Check whether --enable-ftp was given.
5474 if test "${enable_ftp+set}" = set; then
5475 enableval=$enable_ftp;
5476 if test "$enableval" = yes; then
5477 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5484 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5491 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5496 eval "$ac_cv_use_ftp"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5502 { echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6; }
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5514 # Check whether --enable-http was given.
5515 if test "${enable_http+set}" = set; then
5516 enableval=$enable_http;
5517 if test "$enableval" = yes; then
5518 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5532 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5537 eval "$ac_cv_use_http"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5543 { echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6; }
5546 { echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6; }
5552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5555 # Check whether --enable-fileproto was given.
5556 if test "${enable_fileproto+set}" = set; then
5557 enableval=$enable_fileproto;
5558 if test "$enableval" = yes; then
5559 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5566 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x ; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5578 eval "$ac_cv_use_fileproto"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5584 { echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6; }
5587 { echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6; }
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5596 # Check whether --enable-sockets was given.
5597 if test "${enable_sockets+set}" = set; then
5598 enableval=$enable_sockets;
5599 if test "$enableval" = yes; then
5600 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5602 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5607 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x ; then
5609 eval "DEFAULT_$LINE"
5614 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5619 eval "$ac_cv_use_sockets"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_SOCKETS" = yes; then
5625 { echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6; }
5628 { echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6; }
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5637 # Check whether --enable-ole was given.
5638 if test "${enable_ole+set}" = set; then
5639 enableval=$enable_ole;
5640 if test "$enableval" = yes; then
5641 ac_cv_use_ole='wxUSE_OLE=yes'
5643 ac_cv_use_ole='wxUSE_OLE=no'
5648 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5655 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5660 eval "$ac_cv_use_ole"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_OLE" = yes; then
5666 { echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6; }
5669 { echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6; }
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5678 # Check whether --enable-dataobj was given.
5679 if test "${enable_dataobj+set}" = set; then
5680 enableval=$enable_dataobj;
5681 if test "$enableval" = yes; then
5682 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5689 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5696 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5701 eval "$ac_cv_use_dataobj"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_DATAOBJ" = yes; then
5707 { echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6; }
5710 { echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6; }
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5720 # Check whether --enable-ipc was given.
5721 if test "${enable_ipc+set}" = set; then
5722 enableval=$enable_ipc;
5723 if test "$enableval" = yes; then
5724 ac_cv_use_ipc='wxUSE_IPC=yes'
5726 ac_cv_use_ipc='wxUSE_IPC=no'
5731 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x ; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5743 eval "$ac_cv_use_ipc"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_IPC" = yes; then
5749 { echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6; }
5752 { echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6; }
5759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5762 # Check whether --enable-apple_ieee was given.
5763 if test "${enable_apple_ieee+set}" = set; then
5764 enableval=$enable_apple_ieee;
5765 if test "$enableval" = yes; then
5766 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5773 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5785 eval "$ac_cv_use_apple_ieee"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_APPLE_IEEE" = yes; then
5791 { echo "$as_me:$LINENO: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6; }
5794 { echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6; }
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5803 # Check whether --enable-arcstream was given.
5804 if test "${enable_arcstream+set}" = set; then
5805 enableval=$enable_arcstream;
5806 if test "$enableval" = yes; then
5807 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5814 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5826 eval "$ac_cv_use_arcstream"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5831 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5832 { echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6; }
5835 { echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6; }
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5844 # Check whether --enable-backtrace was given.
5845 if test "${enable_backtrace+set}" = set; then
5846 enableval=$enable_backtrace;
5847 if test "$enableval" = yes; then
5848 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5855 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5867 eval "$ac_cv_use_backtrace"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5872 if test "$wxUSE_STACKWALKER" = yes; then
5873 { echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6; }
5876 { echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6; }
5882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5885 # Check whether --enable-catch_segvs was given.
5886 if test "${enable_catch_segvs+set}" = set; then
5887 enableval=$enable_catch_segvs;
5888 if test "$enableval" = yes; then
5889 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5896 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5908 eval "$ac_cv_use_catch_segvs"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5913 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5914 { echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6; }
5917 { echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6; }
5923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5926 # Check whether --enable-cmdline was given.
5927 if test "${enable_cmdline+set}" = set; then
5928 enableval=$enable_cmdline;
5929 if test "$enableval" = yes; then
5930 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5937 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5949 eval "$ac_cv_use_cmdline"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5954 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5955 { echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6; }
5958 { echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6; }
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5967 # Check whether --enable-datetime was given.
5968 if test "${enable_datetime+set}" = set; then
5969 enableval=$enable_datetime;
5970 if test "$enableval" = yes; then
5971 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5973 ac_cv_use_datetime='wxUSE_DATETIME=no'
5978 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5990 eval "$ac_cv_use_datetime"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5995 if test "$wxUSE_DATETIME" = yes; then
5996 { echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6; }
5999 { echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6; }
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6008 # Check whether --enable-debugreport was given.
6009 if test "${enable_debugreport+set}" = set; then
6010 enableval=$enable_debugreport;
6011 if test "$enableval" = yes; then
6012 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6019 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6026 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6031 eval "$ac_cv_use_debugreport"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6036 if test "$wxUSE_DEBUGREPORT" = yes; then
6037 { echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6; }
6040 { echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6; }
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6049 # Check whether --enable-dialupman was given.
6050 if test "${enable_dialupman+set}" = set; then
6051 enableval=$enable_dialupman;
6052 if test "$enableval" = yes; then
6053 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6060 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6072 eval "$ac_cv_use_dialupman"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6077 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6078 { echo "$as_me:$LINENO: result: yes" >&5
6079 echo "${ECHO_T}yes" >&6; }
6081 { echo "$as_me:$LINENO: result: no" >&5
6082 echo "${ECHO_T}no" >&6; }
6087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6090 # Check whether --enable-dynlib was given.
6091 if test "${enable_dynlib+set}" = set; then
6092 enableval=$enable_dynlib;
6093 if test "$enableval" = yes; then
6094 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6101 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6113 eval "$ac_cv_use_dynlib"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6118 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6119 { echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6; }
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6131 # Check whether --enable-dynamicloader was given.
6132 if test "${enable_dynamicloader+set}" = set; then
6133 enableval=$enable_dynamicloader;
6134 if test "$enableval" = yes; then
6135 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6142 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6154 eval "$ac_cv_use_dynamicloader"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6159 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6160 { echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6; }
6163 { echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6; }
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6172 # Check whether --enable-exceptions was given.
6173 if test "${enable_exceptions+set}" = set; then
6174 enableval=$enable_exceptions;
6175 if test "$enableval" = yes; then
6176 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6183 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6195 eval "$ac_cv_use_exceptions"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_EXCEPTIONS" = yes; then
6201 { echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6; }
6204 { echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6; }
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6213 # Check whether --enable-ffile was given.
6214 if test "${enable_ffile+set}" = set; then
6215 enableval=$enable_ffile;
6216 if test "$enableval" = yes; then
6217 ac_cv_use_ffile='wxUSE_FFILE=yes'
6219 ac_cv_use_ffile='wxUSE_FFILE=no'
6224 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6236 eval "$ac_cv_use_ffile"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_FFILE" = yes; then
6242 { echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6; }
6245 { echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6; }
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6254 # Check whether --enable-file was given.
6255 if test "${enable_file+set}" = set; then
6256 enableval=$enable_file;
6257 if test "$enableval" = yes; then
6258 ac_cv_use_file='wxUSE_FILE=yes'
6260 ac_cv_use_file='wxUSE_FILE=no'
6265 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x ; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6277 eval "$ac_cv_use_file"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_FILE" = yes; then
6283 { echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6; }
6286 { echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6; }
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6295 # Check whether --enable-filesystem was given.
6296 if test "${enable_filesystem+set}" = set; then
6297 enableval=$enable_filesystem;
6298 if test "$enableval" = yes; then
6299 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6306 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x ; then
6308 eval "DEFAULT_$LINE"
6313 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6318 eval "$ac_cv_use_filesystem"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6323 if test "$wxUSE_FILESYSTEM" = yes; then
6324 { echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6; }
6327 { echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6; }
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6336 # Check whether --enable-fontmap was given.
6337 if test "${enable_fontmap+set}" = set; then
6338 enableval=$enable_fontmap;
6339 if test "$enableval" = yes; then
6340 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6342 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6347 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6354 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6359 eval "$ac_cv_use_fontmap"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_FONTMAP" = yes; then
6365 { echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6; }
6368 { echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6; }
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6377 # Check whether --enable-fs_archive was given.
6378 if test "${enable_fs_archive+set}" = set; then
6379 enableval=$enable_fs_archive;
6380 if test "$enableval" = yes; then
6381 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6388 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6400 eval "$ac_cv_use_fs_archive"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_FS_ARCHIVE" = yes; then
6406 { echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6; }
6409 { echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6; }
6415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6418 # Check whether --enable-fs_inet was given.
6419 if test "${enable_fs_inet+set}" = set; then
6420 enableval=$enable_fs_inet;
6421 if test "$enableval" = yes; then
6422 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6424 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6429 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x ; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6441 eval "$ac_cv_use_fs_inet"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_FS_INET" = yes; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6450 { echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6; }
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6459 # Check whether --enable-fs_zip was given.
6460 if test "${enable_fs_zip+set}" = set; then
6461 enableval=$enable_fs_zip;
6462 if test "$enableval" = yes; then
6463 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6470 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6482 eval "$ac_cv_use_fs_zip"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_FS_ZIP" = yes; then
6488 { echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6; }
6491 { echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6; }
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6500 # Check whether --enable-geometry was given.
6501 if test "${enable_geometry+set}" = set; then
6502 enableval=$enable_geometry;
6503 if test "$enableval" = yes; then
6504 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6506 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6511 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x ; then
6513 eval "DEFAULT_$LINE"
6518 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6523 eval "$ac_cv_use_geometry"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_GEOMETRY" = yes; then
6529 { echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6; }
6532 { echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6; }
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6541 # Check whether --enable-log was given.
6542 if test "${enable_log+set}" = set; then
6543 enableval=$enable_log;
6544 if test "$enableval" = yes; then
6545 ac_cv_use_log='wxUSE_LOG=yes'
6547 ac_cv_use_log='wxUSE_LOG=no'
6552 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6564 eval "$ac_cv_use_log"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_LOG" = yes; then
6570 { echo "$as_me:$LINENO: result: yes" >&5
6571 echo "${ECHO_T}yes" >&6; }
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6582 # Check whether --enable-longlong was given.
6583 if test "${enable_longlong+set}" = set; then
6584 enableval=$enable_longlong;
6585 if test "$enableval" = yes; then
6586 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6588 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6593 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6600 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6605 eval "$ac_cv_use_longlong"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_LONGLONG" = yes; then
6611 { echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6; }
6614 { echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6; }
6620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6623 # Check whether --enable-mimetype was given.
6624 if test "${enable_mimetype+set}" = set; then
6625 enableval=$enable_mimetype;
6626 if test "$enableval" = yes; then
6627 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6634 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x ; then
6636 eval "DEFAULT_$LINE"
6641 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6646 eval "$ac_cv_use_mimetype"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6651 if test "$wxUSE_MIMETYPE" = yes; then
6652 { echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6; }
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6664 # Check whether --enable-mslu was given.
6665 if test "${enable_mslu+set}" = set; then
6666 enableval=$enable_mslu;
6667 if test "$enableval" = yes; then
6668 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6675 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x ; then
6677 eval "DEFAULT_$LINE"
6682 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6687 eval "$ac_cv_use_mslu"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_UNICODE_MSLU" = yes; then
6693 { echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6; }
6696 { echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6; }
6702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6705 # Check whether --enable-snglinst was given.
6706 if test "${enable_snglinst+set}" = set; then
6707 enableval=$enable_snglinst;
6708 if test "$enableval" = yes; then
6709 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6716 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x ; then
6718 eval "DEFAULT_$LINE"
6723 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6728 eval "$ac_cv_use_snglinst"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6733 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6734 { echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6; }
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6746 # Check whether --enable-std_iostreams was given.
6747 if test "${enable_std_iostreams+set}" = set; then
6748 enableval=$enable_std_iostreams;
6749 if test "$enableval" = yes; then
6750 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6757 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6758 if test "x$LINE" != x ; then
6759 eval "DEFAULT_$LINE"
6764 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6769 eval "$ac_cv_use_std_iostreams"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6774 if test "$wxUSE_STD_IOSTREAM" = yes; then
6775 { echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6787 # Check whether --enable-std_string was given.
6788 if test "${enable_std_string+set}" = set; then
6789 enableval=$enable_std_string;
6790 if test "$enableval" = yes; then
6791 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6793 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6798 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6805 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6810 eval "$ac_cv_use_std_string"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6815 if test "$wxUSE_STD_STRING" = yes; then
6816 { echo "$as_me:$LINENO: result: yes" >&5
6817 echo "${ECHO_T}yes" >&6; }
6819 { echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6; }
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6828 # Check whether --enable-stdpaths was given.
6829 if test "${enable_stdpaths+set}" = set; then
6830 enableval=$enable_stdpaths;
6831 if test "$enableval" = yes; then
6832 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6839 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x ; then
6841 eval "DEFAULT_$LINE"
6846 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6851 eval "$ac_cv_use_stdpaths"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6856 if test "$wxUSE_STDPATHS" = yes; then
6857 { echo "$as_me:$LINENO: result: yes" >&5
6858 echo "${ECHO_T}yes" >&6; }
6860 { echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6; }
6866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6869 # Check whether --enable-stopwatch was given.
6870 if test "${enable_stopwatch+set}" = set; then
6871 enableval=$enable_stopwatch;
6872 if test "$enableval" = yes; then
6873 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6880 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6881 if test "x$LINE" != x ; then
6882 eval "DEFAULT_$LINE"
6887 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6892 eval "$ac_cv_use_stopwatch"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6897 if test "$wxUSE_STOPWATCH" = yes; then
6898 { echo "$as_me:$LINENO: result: yes" >&5
6899 echo "${ECHO_T}yes" >&6; }
6901 { echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6; }
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6910 # Check whether --enable-streams was given.
6911 if test "${enable_streams+set}" = set; then
6912 enableval=$enable_streams;
6913 if test "$enableval" = yes; then
6914 ac_cv_use_streams='wxUSE_STREAMS=yes'
6916 ac_cv_use_streams='wxUSE_STREAMS=no'
6921 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6928 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6933 eval "$ac_cv_use_streams"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6938 if test "$wxUSE_STREAMS" = yes; then
6939 { echo "$as_me:$LINENO: result: yes" >&5
6940 echo "${ECHO_T}yes" >&6; }
6942 { echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6; }
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6951 # Check whether --enable-system_options was given.
6952 if test "${enable_system_options+set}" = set; then
6953 enableval=$enable_system_options;
6954 if test "$enableval" = yes; then
6955 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6962 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6963 if test "x$LINE" != x ; then
6964 eval "DEFAULT_$LINE"
6969 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6974 eval "$ac_cv_use_system_options"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6979 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6980 { echo "$as_me:$LINENO: result: yes" >&5
6981 echo "${ECHO_T}yes" >&6; }
6983 { echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6; }
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6992 # Check whether --enable-tarstream was given.
6993 if test "${enable_tarstream+set}" = set; then
6994 enableval=$enable_tarstream;
6995 if test "$enableval" = yes; then
6996 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7003 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x ; then
7005 eval "DEFAULT_$LINE"
7010 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7015 eval "$ac_cv_use_tarstream"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7020 if test "$wxUSE_TARSTREAM" = yes; then
7021 { echo "$as_me:$LINENO: result: yes" >&5
7022 echo "${ECHO_T}yes" >&6; }
7024 { echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6; }
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7033 # Check whether --enable-textbuf was given.
7034 if test "${enable_textbuf+set}" = set; then
7035 enableval=$enable_textbuf;
7036 if test "$enableval" = yes; then
7037 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7044 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7051 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7056 eval "$ac_cv_use_textbuf"
7057 if test "$no_cache" != 1; then
7058 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7061 if test "$wxUSE_TEXTBUFFER" = yes; then
7062 { echo "$as_me:$LINENO: result: yes" >&5
7063 echo "${ECHO_T}yes" >&6; }
7065 { echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6; }
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7074 # Check whether --enable-textfile was given.
7075 if test "${enable_textfile+set}" = set; then
7076 enableval=$enable_textfile;
7077 if test "$enableval" = yes; then
7078 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7080 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7085 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7092 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7097 eval "$ac_cv_use_textfile"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7102 if test "$wxUSE_TEXTFILE" = yes; then
7103 { echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6; }
7106 { echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6; }
7112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7115 # Check whether --enable-timer was given.
7116 if test "${enable_timer+set}" = set; then
7117 enableval=$enable_timer;
7118 if test "$enableval" = yes; then
7119 ac_cv_use_timer='wxUSE_TIMER=yes'
7121 ac_cv_use_timer='wxUSE_TIMER=no'
7126 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7133 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7138 eval "$ac_cv_use_timer"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7143 if test "$wxUSE_TIMER" = yes; then
7144 { echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6; }
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7156 # Check whether --enable-unicode was given.
7157 if test "${enable_unicode+set}" = set; then
7158 enableval=$enable_unicode;
7159 if test "$enableval" = yes; then
7160 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7162 ac_cv_use_unicode='wxUSE_UNICODE=no'
7167 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7179 eval "$ac_cv_use_unicode"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_UNICODE" = yes; then
7185 { echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6; }
7188 { echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6; }
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7197 # Check whether --enable-sound was given.
7198 if test "${enable_sound+set}" = set; then
7199 enableval=$enable_sound;
7200 if test "$enableval" = yes; then
7201 ac_cv_use_sound='wxUSE_SOUND=yes'
7203 ac_cv_use_sound='wxUSE_SOUND=no'
7208 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7209 if test "x$LINE" != x ; then
7210 eval "DEFAULT_$LINE"
7215 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7220 eval "$ac_cv_use_sound"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7225 if test "$wxUSE_SOUND" = yes; then
7226 { echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6; }
7229 { echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6; }
7235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7236 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7238 # Check whether --enable-mediactrl was given.
7239 if test "${enable_mediactrl+set}" = set; then
7240 enableval=$enable_mediactrl;
7241 if test "$enableval" = yes; then
7242 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7249 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7261 eval "$ac_cv_use_mediactrl"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7266 if test "$wxUSE_MEDIACTRL" = yes; then
7267 { echo "$as_me:$LINENO: result: yes" >&5
7268 echo "${ECHO_T}yes" >&6; }
7270 { echo "$as_me:$LINENO: result: no" >&5
7271 echo "${ECHO_T}no" >&6; }
7276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7279 # Check whether --enable-gstreamer8 was given.
7280 if test "${enable_gstreamer8+set}" = set; then
7281 enableval=$enable_gstreamer8;
7282 if test "$enableval" = yes; then
7283 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7290 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x ; then
7292 eval "DEFAULT_$LINE"
7297 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7302 eval "$ac_cv_use_gstreamer8"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_GSTREAMER8" = yes; then
7308 { echo "$as_me:$LINENO: result: yes" >&5
7309 echo "${ECHO_T}yes" >&6; }
7311 { echo "$as_me:$LINENO: result: no" >&5
7312 echo "${ECHO_T}no" >&6; }
7317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7318 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7320 # Check whether --enable-printfposparam was given.
7321 if test "${enable_printfposparam+set}" = set; then
7322 enableval=$enable_printfposparam;
7323 if test "$enableval" = yes; then
7324 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7331 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x ; then
7333 eval "DEFAULT_$LINE"
7338 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7343 eval "$ac_cv_use_printfposparam"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7348 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7349 { echo "$as_me:$LINENO: result: yes" >&5
7350 echo "${ECHO_T}yes" >&6; }
7352 { echo "$as_me:$LINENO: result: no" >&5
7353 echo "${ECHO_T}no" >&6; }
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7361 # Check whether --enable-zipstream was given.
7362 if test "${enable_zipstream+set}" = set; then
7363 enableval=$enable_zipstream;
7364 if test "$enableval" = yes; then
7365 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7372 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7379 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7384 eval "$ac_cv_use_zipstream"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7389 if test "$wxUSE_ZIPSTREAM" = yes; then
7390 { echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6; }
7393 { echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6; }
7400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7403 # Check whether --enable-url was given.
7404 if test "${enable_url+set}" = set; then
7405 enableval=$enable_url;
7406 if test "$enableval" = yes; then
7407 ac_cv_use_url='wxUSE_URL=yes'
7409 ac_cv_use_url='wxUSE_URL=no'
7414 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7426 eval "$ac_cv_use_url"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7431 if test "$wxUSE_URL" = yes; then
7432 { echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6; }
7435 { echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6; }
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7444 # Check whether --enable-variant was given.
7445 if test "${enable_variant+set}" = set; then
7446 enableval=$enable_variant;
7447 if test "$enableval" = yes; then
7448 ac_cv_use_variant='wxUSE_VARIANT=yes'
7450 ac_cv_use_variant='wxUSE_VARIANT=no'
7455 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7467 eval "$ac_cv_use_variant"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_VARIANT" = yes; then
7473 { echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6; }
7476 { echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6; }
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7485 # Check whether --enable-protocol was given.
7486 if test "${enable_protocol+set}" = set; then
7487 enableval=$enable_protocol;
7488 if test "$enableval" = yes; then
7489 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7491 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7496 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x ; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7508 eval "$ac_cv_use_protocol"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_PROTOCOL" = yes; then
7514 { echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6; }
7517 { echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6; }
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7526 # Check whether --enable-protocol_http was given.
7527 if test "${enable_protocol_http+set}" = set; then
7528 enableval=$enable_protocol_http;
7529 if test "$enableval" = yes; then
7530 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7537 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7549 eval "$ac_cv_use_protocol_http"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7554 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7555 { echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6; }
7558 { echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6; }
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7567 # Check whether --enable-protocol_ftp was given.
7568 if test "${enable_protocol_ftp+set}" = set; then
7569 enableval=$enable_protocol_ftp;
7570 if test "$enableval" = yes; then
7571 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7578 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7590 eval "$ac_cv_use_protocol_ftp"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7595 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7596 { echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6; }
7599 { echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6; }
7605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7608 # Check whether --enable-protocol_file was given.
7609 if test "${enable_protocol_file+set}" = set; then
7610 enableval=$enable_protocol_file;
7611 if test "$enableval" = yes; then
7612 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7619 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7631 eval "$ac_cv_use_protocol_file"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7636 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7637 { echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6; }
7640 { echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6; }
7649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7652 # Check whether --enable-threads was given.
7653 if test "${enable_threads+set}" = set; then
7654 enableval=$enable_threads;
7655 if test "$enableval" = yes; then
7656 ac_cv_use_threads='wxUSE_THREADS=yes'
7658 ac_cv_use_threads='wxUSE_THREADS=no'
7663 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7675 eval "$ac_cv_use_threads"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_THREADS" = yes; then
7681 { echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6; }
7684 { echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6; }
7689 if test "$wxUSE_GUI" = "yes"; then
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7697 # Check whether --enable-docview was given.
7698 if test "${enable_docview+set}" = set; then
7699 enableval=$enable_docview;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7708 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7715 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7720 eval "$ac_cv_use_docview"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7725 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7738 # Check whether --enable-help was given.
7739 if test "${enable_help+set}" = set; then
7740 enableval=$enable_help;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_help='wxUSE_HELP=yes'
7744 ac_cv_use_help='wxUSE_HELP=no'
7749 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7756 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7761 eval "$ac_cv_use_help"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7766 if test "$wxUSE_HELP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7779 # Check whether --enable-mshtmlhelp was given.
7780 if test "${enable_mshtmlhelp+set}" = set; then
7781 enableval=$enable_mshtmlhelp;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7790 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7802 eval "$ac_cv_use_mshtmlhelp"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_MS_HTML_HELP" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7818 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7820 # Check whether --enable-html was given.
7821 if test "${enable_html+set}" = set; then
7822 enableval=$enable_html;
7823 if test "$enableval" = yes; then
7824 ac_cv_use_html='wxUSE_HTML=yes'
7826 ac_cv_use_html='wxUSE_HTML=no'
7831 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x ; then
7833 eval "DEFAULT_$LINE"
7838 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7843 eval "$ac_cv_use_html"
7844 if test "$no_cache" != 1; then
7845 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7848 if test "$wxUSE_HTML" = yes; then
7849 { echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6; }
7852 { echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6; }
7858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7859 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7861 # Check whether --enable-htmlhelp was given.
7862 if test "${enable_htmlhelp+set}" = set; then
7863 enableval=$enable_htmlhelp;
7864 if test "$enableval" = yes; then
7865 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7872 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7873 if test "x$LINE" != x ; then
7874 eval "DEFAULT_$LINE"
7879 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7884 eval "$ac_cv_use_htmlhelp"
7885 if test "$no_cache" != 1; then
7886 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7889 if test "$wxUSE_WXHTML_HELP" = yes; then
7890 { echo "$as_me:$LINENO: result: yes" >&5
7891 echo "${ECHO_T}yes" >&6; }
7893 { echo "$as_me:$LINENO: result: no" >&5
7894 echo "${ECHO_T}no" >&6; }
7899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7900 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7902 # Check whether --enable-xrc was given.
7903 if test "${enable_xrc+set}" = set; then
7904 enableval=$enable_xrc;
7905 if test "$enableval" = yes; then
7906 ac_cv_use_xrc='wxUSE_XRC=yes'
7908 ac_cv_use_xrc='wxUSE_XRC=no'
7913 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x ; then
7915 eval "DEFAULT_$LINE"
7920 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7925 eval "$ac_cv_use_xrc"
7926 if test "$no_cache" != 1; then
7927 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7930 if test "$wxUSE_XRC" = yes; then
7931 { echo "$as_me:$LINENO: result: yes" >&5
7932 echo "${ECHO_T}yes" >&6; }
7934 { echo "$as_me:$LINENO: result: no" >&5
7935 echo "${ECHO_T}no" >&6; }
7940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7943 # Check whether --enable-aui was given.
7944 if test "${enable_aui+set}" = set; then
7945 enableval=$enable_aui;
7946 if test "$enableval" = yes; then
7947 ac_cv_use_aui='wxUSE_AUI=yes'
7949 ac_cv_use_aui='wxUSE_AUI=no'
7954 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x ; then
7956 eval "DEFAULT_$LINE"
7961 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7966 eval "$ac_cv_use_aui"
7967 if test "$no_cache" != 1; then
7968 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7971 if test "$wxUSE_AUI" = yes; then
7972 { echo "$as_me:$LINENO: result: yes" >&5
7973 echo "${ECHO_T}yes" >&6; }
7975 { echo "$as_me:$LINENO: result: no" >&5
7976 echo "${ECHO_T}no" >&6; }
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7984 # Check whether --enable-stc was given.
7985 if test "${enable_stc+set}" = set; then
7986 enableval=$enable_stc;
7987 if test "$enableval" = yes; then
7988 ac_cv_use_stc='wxUSE_STC=yes'
7990 ac_cv_use_stc='wxUSE_STC=no'
7995 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
8002 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8007 eval "$ac_cv_use_stc"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8012 if test "$wxUSE_STC" = yes; then
8013 { echo "$as_me:$LINENO: result: yes" >&5
8014 echo "${ECHO_T}yes" >&6; }
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8023 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8025 # Check whether --enable-constraints was given.
8026 if test "${enable_constraints+set}" = set; then
8027 enableval=$enable_constraints;
8028 if test "$enableval" = yes; then
8029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x ; then
8038 eval "DEFAULT_$LINE"
8043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8048 eval "$ac_cv_use_constraints"
8049 if test "$no_cache" != 1; then
8050 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8053 if test "$wxUSE_CONSTRAINTS" = yes; then
8054 { echo "$as_me:$LINENO: result: yes" >&5
8055 echo "${ECHO_T}yes" >&6; }
8057 { echo "$as_me:$LINENO: result: no" >&5
8058 echo "${ECHO_T}no" >&6; }
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8066 # Check whether --enable-printarch was given.
8067 if test "${enable_printarch+set}" = set; then
8068 enableval=$enable_printarch;
8069 if test "$enableval" = yes; then
8070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8089 eval "$ac_cv_use_printarch"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8094 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8095 { echo "$as_me:$LINENO: result: yes" >&5
8096 echo "${ECHO_T}yes" >&6; }
8098 { echo "$as_me:$LINENO: result: no" >&5
8099 echo "${ECHO_T}no" >&6; }
8104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8107 # Check whether --enable-mdi was given.
8108 if test "${enable_mdi+set}" = set; then
8109 enableval=$enable_mdi;
8110 if test "$enableval" = yes; then
8111 ac_cv_use_mdi='wxUSE_MDI=yes'
8113 ac_cv_use_mdi='wxUSE_MDI=no'
8118 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8119 if test "x$LINE" != x ; then
8120 eval "DEFAULT_$LINE"
8125 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8130 eval "$ac_cv_use_mdi"
8131 if test "$no_cache" != 1; then
8132 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8135 if test "$wxUSE_MDI" = yes; then
8136 { echo "$as_me:$LINENO: result: yes" >&5
8137 echo "${ECHO_T}yes" >&6; }
8139 { echo "$as_me:$LINENO: result: no" >&5
8140 echo "${ECHO_T}no" >&6; }
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8148 # Check whether --enable-mdidoc was given.
8149 if test "${enable_mdidoc+set}" = set; then
8150 enableval=$enable_mdidoc;
8151 if test "$enableval" = yes; then
8152 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8154 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8159 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x ; then
8161 eval "DEFAULT_$LINE"
8166 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8171 eval "$ac_cv_use_mdidoc"
8172 if test "$no_cache" != 1; then
8173 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8176 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8177 { echo "$as_me:$LINENO: result: yes" >&5
8178 echo "${ECHO_T}yes" >&6; }
8180 { echo "$as_me:$LINENO: result: no" >&5
8181 echo "${ECHO_T}no" >&6; }
8186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8187 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8189 # Check whether --enable-loggui was given.
8190 if test "${enable_loggui+set}" = set; then
8191 enableval=$enable_loggui;
8192 if test "$enableval" = yes; then
8193 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8195 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8200 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8201 if test "x$LINE" != x ; then
8202 eval "DEFAULT_$LINE"
8207 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8212 eval "$ac_cv_use_loggui"
8213 if test "$no_cache" != 1; then
8214 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8217 if test "$wxUSE_LOGGUI" = yes; then
8218 { echo "$as_me:$LINENO: result: yes" >&5
8219 echo "${ECHO_T}yes" >&6; }
8221 { echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6; }
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8230 # Check whether --enable-logwin was given.
8231 if test "${enable_logwin+set}" = set; then
8232 enableval=$enable_logwin;
8233 if test "$enableval" = yes; then
8234 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8236 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8241 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8248 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8253 eval "$ac_cv_use_logwin"
8254 if test "$no_cache" != 1; then
8255 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8258 if test "$wxUSE_LOGWINDOW" = yes; then
8259 { echo "$as_me:$LINENO: result: yes" >&5
8260 echo "${ECHO_T}yes" >&6; }
8262 { echo "$as_me:$LINENO: result: no" >&5
8263 echo "${ECHO_T}no" >&6; }
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8271 # Check whether --enable-logdialog was given.
8272 if test "${enable_logdialog+set}" = set; then
8273 enableval=$enable_logdialog;
8274 if test "$enableval" = yes; then
8275 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8277 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8282 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x ; then
8284 eval "DEFAULT_$LINE"
8289 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8294 eval "$ac_cv_use_logdialog"
8295 if test "$no_cache" != 1; then
8296 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8299 if test "$wxUSE_LOGDIALOG" = yes; then
8300 { echo "$as_me:$LINENO: result: yes" >&5
8301 echo "${ECHO_T}yes" >&6; }
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8310 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8312 # Check whether --enable-webkit was given.
8313 if test "${enable_webkit+set}" = set; then
8314 enableval=$enable_webkit;
8315 if test "$enableval" = yes; then
8316 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8318 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8323 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x ; then
8325 eval "DEFAULT_$LINE"
8330 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8335 eval "$ac_cv_use_webkit"
8336 if test "$no_cache" != 1; then
8337 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8340 if test "$wxUSE_WEBKIT" = yes; then
8341 { echo "$as_me:$LINENO: result: yes" >&5
8342 echo "${ECHO_T}yes" >&6; }
8344 { echo "$as_me:$LINENO: result: no" >&5
8345 echo "${ECHO_T}no" >&6; }
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8353 # Check whether --enable-richtext was given.
8354 if test "${enable_richtext+set}" = set; then
8355 enableval=$enable_richtext;
8356 if test "$enableval" = yes; then
8357 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8359 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8364 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8371 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8376 eval "$ac_cv_use_richtext"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8381 if test "$wxUSE_RICHTEXT" = yes; then
8382 { echo "$as_me:$LINENO: result: yes" >&5
8383 echo "${ECHO_T}yes" >&6; }
8385 { echo "$as_me:$LINENO: result: no" >&5
8386 echo "${ECHO_T}no" >&6; }
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8394 # Check whether --enable-graphics_ctx was given.
8395 if test "${enable_graphics_ctx+set}" = set; then
8396 enableval=$enable_graphics_ctx;
8397 if test "$enableval" = yes; then
8398 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8400 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8405 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x ; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8417 eval "$ac_cv_use_graphics_ctx"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8422 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8423 { echo "$as_me:$LINENO: result: yes" >&5
8424 echo "${ECHO_T}yes" >&6; }
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8436 # Check whether --enable-postscript was given.
8437 if test "${enable_postscript+set}" = set; then
8438 enableval=$enable_postscript;
8439 if test "$enableval" = yes; then
8440 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8442 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8447 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8448 if test "x$LINE" != x ; then
8449 eval "DEFAULT_$LINE"
8454 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8459 eval "$ac_cv_use_postscript"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8464 if test "$wxUSE_POSTSCRIPT" = yes; then
8465 { echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6; }
8468 { echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6; }
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8480 # Check whether --enable-clipboard was given.
8481 if test "${enable_clipboard+set}" = set; then
8482 enableval=$enable_clipboard;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8486 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8491 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8498 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8503 eval "$ac_cv_use_clipboard"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8508 if test "$wxUSE_CLIPBOARD" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8521 # Check whether --enable-dnd was given.
8522 if test "${enable_dnd+set}" = set; then
8523 enableval=$enable_dnd;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8527 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8532 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8539 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8544 eval "$ac_cv_use_dnd"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8549 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8562 # Check whether --enable-metafile was given.
8563 if test "${enable_metafile+set}" = set; then
8564 enableval=$enable_metafile;
8565 if test "$enableval" = yes; then
8566 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8568 ac_cv_use_metafile='wxUSE_METAFILE=no'
8573 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8574 if test "x$LINE" != x ; then
8575 eval "DEFAULT_$LINE"
8580 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8585 eval "$ac_cv_use_metafile"
8586 if test "$no_cache" != 1; then
8587 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8590 if test "$wxUSE_METAFILE" = yes; then
8591 { echo "$as_me:$LINENO: result: yes" >&5
8592 echo "${ECHO_T}yes" >&6; }
8594 { echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6; }
8603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8606 # Check whether --enable-controls was given.
8607 if test "${enable_controls+set}" = set; then
8608 enableval=$enable_controls;
8609 if test "$enableval" = yes; then
8610 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8612 ac_cv_use_controls='wxUSE_CONTROLS=no'
8617 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8618 if test "x$LINE" != x ; then
8619 eval "DEFAULT_$LINE"
8624 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8629 eval "$ac_cv_use_controls"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8634 if test "$wxUSE_CONTROLS" = yes; then
8635 { echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6; }
8638 { echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6; }
8643 if test "$wxUSE_CONTROLS" = "yes"; then
8644 DEFAULT_wxUSE_ACCEL=yes
8645 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8646 DEFAULT_wxUSE_BMPBUTTON=yes
8647 DEFAULT_wxUSE_BUTTON=yes
8648 DEFAULT_wxUSE_CALCTRL=yes
8649 DEFAULT_wxUSE_CARET=yes
8650 DEFAULT_wxUSE_COMBOBOX=yes
8651 DEFAULT_wxUSE_CHECKBOX=yes
8652 DEFAULT_wxUSE_CHECKLISTBOX=yes
8653 DEFAULT_wxUSE_CHOICE=yes
8654 DEFAULT_wxUSE_CHOICEBOOK=yes
8655 DEFAULT_wxUSE_COLLPANE=yes
8656 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8657 DEFAULT_wxUSE_COMBOBOX=yes
8658 DEFAULT_wxUSE_DATEPICKCTRL=yes
8659 DEFAULT_wxUSE_DISPLAY=yes
8660 DEFAULT_wxUSE_DETECT_SM=yes
8661 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8662 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8663 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8664 DEFAULT_wxUSE_GAUGE=yes
8665 DEFAULT_wxUSE_GRID=yes
8666 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8667 DEFAULT_wxUSE_DATAVIEWCTRL=no
8668 DEFAULT_wxUSE_IMAGLIST=yes
8669 DEFAULT_wxUSE_LISTBOOK=yes
8670 DEFAULT_wxUSE_LISTBOX=yes
8671 DEFAULT_wxUSE_LISTCTRL=yes
8672 DEFAULT_wxUSE_NOTEBOOK=yes
8673 DEFAULT_wxUSE_RADIOBOX=yes
8674 DEFAULT_wxUSE_RADIOBTN=yes
8675 DEFAULT_wxUSE_SASH=yes
8676 DEFAULT_wxUSE_SCROLLBAR=yes
8677 DEFAULT_wxUSE_SEARCHCTRL=yes
8678 DEFAULT_wxUSE_SLIDER=yes
8679 DEFAULT_wxUSE_SPINBTN=yes
8680 DEFAULT_wxUSE_SPINCTRL=yes
8681 DEFAULT_wxUSE_SPLITTER=yes
8682 DEFAULT_wxUSE_STATBMP=yes
8683 DEFAULT_wxUSE_STATBOX=yes
8684 DEFAULT_wxUSE_STATLINE=yes
8685 DEFAULT_wxUSE_STATUSBAR=yes
8686 DEFAULT_wxUSE_TAB_DIALOG=yes
8687 DEFAULT_wxUSE_TOGGLEBTN=yes
8688 DEFAULT_wxUSE_TOOLBAR=yes
8689 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8690 DEFAULT_wxUSE_TOOLTIPS=yes
8691 DEFAULT_wxUSE_TREEBOOK=yes
8692 DEFAULT_wxUSE_TOOLBOOK=yes
8693 DEFAULT_wxUSE_TREECTRL=yes
8694 DEFAULT_wxUSE_POPUPWIN=yes
8695 DEFAULT_wxUSE_TIPWINDOW=yes
8696 elif test "$wxUSE_CONTROLS" = "no"; then
8697 DEFAULT_wxUSE_ACCEL=no
8698 DEFAULT_wxUSE_ANIMATIONCTRL=no
8699 DEFAULT_wxUSE_BMPBUTTON=no
8700 DEFAULT_wxUSE_BUTTON=no
8701 DEFAULT_wxUSE_CALCTRL=no
8702 DEFAULT_wxUSE_CARET=no
8703 DEFAULT_wxUSE_COLLPANE=no
8704 DEFAULT_wxUSE_COMBOBOX=no
8705 DEFAULT_wxUSE_CHECKBOX=no
8706 DEFAULT_wxUSE_CHECKLISTBOX=no
8707 DEFAULT_wxUSE_CHOICE=no
8708 DEFAULT_wxUSE_CHOICEBOOK=no
8709 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8710 DEFAULT_wxUSE_COMBOBOX=no
8711 DEFAULT_wxUSE_DATEPICKCTRL=no
8712 DEFAULT_wxUSE_DISPLAY=no
8713 DEFAULT_wxUSE_DETECT_SM=no
8714 DEFAULT_wxUSE_DIRPICKERCTRL=no
8715 DEFAULT_wxUSE_FILEPICKERCTRL=no
8716 DEFAULT_wxUSE_FONTPICKERCTRL=no
8717 DEFAULT_wxUSE_GAUGE=no
8718 DEFAULT_wxUSE_GRID=no
8719 DEFAULT_wxUSE_HYPERLINKCTRL=no
8720 DEFAULT_wxUSE_DATAVIEWCTRL=no
8721 DEFAULT_wxUSE_IMAGLIST=no
8722 DEFAULT_wxUSE_LISTBOOK=no
8723 DEFAULT_wxUSE_LISTBOX=no
8724 DEFAULT_wxUSE_LISTCTRL=no
8725 DEFAULT_wxUSE_NOTEBOOK=no
8726 DEFAULT_wxUSE_RADIOBOX=no
8727 DEFAULT_wxUSE_RADIOBTN=no
8728 DEFAULT_wxUSE_SASH=no
8729 DEFAULT_wxUSE_SCROLLBAR=no
8730 DEFAULT_wxUSE_SEARCHCTRL=no
8731 DEFAULT_wxUSE_SLIDER=no
8732 DEFAULT_wxUSE_SPINBTN=no
8733 DEFAULT_wxUSE_SPINCTRL=no
8734 DEFAULT_wxUSE_SPLITTER=no
8735 DEFAULT_wxUSE_STATBMP=no
8736 DEFAULT_wxUSE_STATBOX=no
8737 DEFAULT_wxUSE_STATLINE=no
8738 DEFAULT_wxUSE_STATUSBAR=no
8739 DEFAULT_wxUSE_TAB_DIALOG=no
8740 DEFAULT_wxUSE_TOGGLEBTN=no
8741 DEFAULT_wxUSE_TOOLBAR=no
8742 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8743 DEFAULT_wxUSE_TOOLTIPS=no
8744 DEFAULT_wxUSE_TREEBOOK=no
8745 DEFAULT_wxUSE_TOOLBOOK=no
8746 DEFAULT_wxUSE_TREECTRL=no
8747 DEFAULT_wxUSE_POPUPWIN=no
8748 DEFAULT_wxUSE_TIPWINDOW=no
8753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8756 # Check whether --enable-accel was given.
8757 if test "${enable_accel+set}" = set; then
8758 enableval=$enable_accel;
8759 if test "$enableval" = yes; then
8760 ac_cv_use_accel='wxUSE_ACCEL=yes'
8762 ac_cv_use_accel='wxUSE_ACCEL=no'
8767 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x ; then
8769 eval "DEFAULT_$LINE"
8774 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8779 eval "$ac_cv_use_accel"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8784 if test "$wxUSE_ACCEL" = yes; then
8785 { echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6; }
8788 { echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6; }
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8797 # Check whether --enable-animatectrl was given.
8798 if test "${enable_animatectrl+set}" = set; then
8799 enableval=$enable_animatectrl;
8800 if test "$enableval" = yes; then
8801 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8803 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8808 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x ; then
8810 eval "DEFAULT_$LINE"
8815 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8820 eval "$ac_cv_use_animatectrl"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8825 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8826 { echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6; }
8829 { echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6; }
8835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8838 # Check whether --enable-button was given.
8839 if test "${enable_button+set}" = set; then
8840 enableval=$enable_button;
8841 if test "$enableval" = yes; then
8842 ac_cv_use_button='wxUSE_BUTTON=yes'
8844 ac_cv_use_button='wxUSE_BUTTON=no'
8849 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x ; then
8851 eval "DEFAULT_$LINE"
8856 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8861 eval "$ac_cv_use_button"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8866 if test "$wxUSE_BUTTON" = yes; then
8867 { echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6; }
8870 { echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6; }
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8879 # Check whether --enable-bmpbutton was given.
8880 if test "${enable_bmpbutton+set}" = set; then
8881 enableval=$enable_bmpbutton;
8882 if test "$enableval" = yes; then
8883 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8885 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8890 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8902 eval "$ac_cv_use_bmpbutton"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8907 if test "$wxUSE_BMPBUTTON" = yes; then
8908 { echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6; }
8911 { echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6; }
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8920 # Check whether --enable-bmpcombobox was given.
8921 if test "${enable_bmpcombobox+set}" = set; then
8922 enableval=$enable_bmpcombobox;
8923 if test "$enableval" = yes; then
8924 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8926 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8931 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8943 eval "$ac_cv_use_bmpcombobox"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8948 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8949 { echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6; }
8952 { echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6; }
8958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8961 # Check whether --enable-calendar was given.
8962 if test "${enable_calendar+set}" = set; then
8963 enableval=$enable_calendar;
8964 if test "$enableval" = yes; then
8965 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8967 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8972 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8979 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8984 eval "$ac_cv_use_calendar"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8989 if test "$wxUSE_CALCTRL" = yes; then
8990 { echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6; }
8993 { echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6; }
8999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9002 # Check whether --enable-caret was given.
9003 if test "${enable_caret+set}" = set; then
9004 enableval=$enable_caret;
9005 if test "$enableval" = yes; then
9006 ac_cv_use_caret='wxUSE_CARET=yes'
9008 ac_cv_use_caret='wxUSE_CARET=no'
9013 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9020 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9025 eval "$ac_cv_use_caret"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9030 if test "$wxUSE_CARET" = yes; then
9031 { echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6; }
9034 { echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6; }
9040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9043 # Check whether --enable-checkbox was given.
9044 if test "${enable_checkbox+set}" = set; then
9045 enableval=$enable_checkbox;
9046 if test "$enableval" = yes; then
9047 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9049 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9054 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9061 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9066 eval "$ac_cv_use_checkbox"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9071 if test "$wxUSE_CHECKBOX" = yes; then
9072 { echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6; }
9075 { echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6; }
9081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9084 # Check whether --enable-checklst was given.
9085 if test "${enable_checklst+set}" = set; then
9086 enableval=$enable_checklst;
9087 if test "$enableval" = yes; then
9088 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9090 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9095 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9102 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9107 eval "$ac_cv_use_checklst"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9112 if test "$wxUSE_CHECKLST" = yes; then
9113 { echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6; }
9116 { echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6; }
9122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9125 # Check whether --enable-choice was given.
9126 if test "${enable_choice+set}" = set; then
9127 enableval=$enable_choice;
9128 if test "$enableval" = yes; then
9129 ac_cv_use_choice='wxUSE_CHOICE=yes'
9131 ac_cv_use_choice='wxUSE_CHOICE=no'
9136 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x ; then
9138 eval "DEFAULT_$LINE"
9143 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9148 eval "$ac_cv_use_choice"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9153 if test "$wxUSE_CHOICE" = yes; then
9154 { echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6; }
9157 { echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6; }
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9166 # Check whether --enable-choicebook was given.
9167 if test "${enable_choicebook+set}" = set; then
9168 enableval=$enable_choicebook;
9169 if test "$enableval" = yes; then
9170 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9172 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9177 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9184 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9189 eval "$ac_cv_use_choicebook"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9194 if test "$wxUSE_CHOICEBOOK" = yes; then
9195 { echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6; }
9198 { echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6; }
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9207 # Check whether --enable-collpane was given.
9208 if test "${enable_collpane+set}" = set; then
9209 enableval=$enable_collpane;
9210 if test "$enableval" = yes; then
9211 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9213 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9218 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9225 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9230 eval "$ac_cv_use_collpane"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9235 if test "$wxUSE_COLLPANE" = yes; then
9236 { echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6; }
9239 { echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6; }
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9248 # Check whether --enable-colourpicker was given.
9249 if test "${enable_colourpicker+set}" = set; then
9250 enableval=$enable_colourpicker;
9251 if test "$enableval" = yes; then
9252 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9254 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9259 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x ; then
9261 eval "DEFAULT_$LINE"
9266 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9271 eval "$ac_cv_use_colourpicker"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9276 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9277 { echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6; }
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9289 # Check whether --enable-combobox was given.
9290 if test "${enable_combobox+set}" = set; then
9291 enableval=$enable_combobox;
9292 if test "$enableval" = yes; then
9293 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9295 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9300 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9307 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9312 eval "$ac_cv_use_combobox"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9317 if test "$wxUSE_COMBOBOX" = yes; then
9318 { echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6; }
9321 { echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6; }
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9330 # Check whether --enable-comboctrl was given.
9331 if test "${enable_comboctrl+set}" = set; then
9332 enableval=$enable_comboctrl;
9333 if test "$enableval" = yes; then
9334 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9336 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9341 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9348 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9353 eval "$ac_cv_use_comboctrl"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9358 if test "$wxUSE_COMBOCTRL" = yes; then
9359 { echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6; }
9362 { echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6; }
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9371 # Check whether --enable-datepick was given.
9372 if test "${enable_datepick+set}" = set; then
9373 enableval=$enable_datepick;
9374 if test "$enableval" = yes; then
9375 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9377 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9382 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9389 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9394 eval "$ac_cv_use_datepick"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9399 if test "$wxUSE_DATEPICKCTRL" = yes; then
9400 { echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6; }
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9412 # Check whether --enable-dirpicker was given.
9413 if test "${enable_dirpicker+set}" = set; then
9414 enableval=$enable_dirpicker;
9415 if test "$enableval" = yes; then
9416 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9418 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9423 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9430 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9435 eval "$ac_cv_use_dirpicker"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9440 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9441 { echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6; }
9444 { echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6; }
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9453 # Check whether --enable-display was given.
9454 if test "${enable_display+set}" = set; then
9455 enableval=$enable_display;
9456 if test "$enableval" = yes; then
9457 ac_cv_use_display='wxUSE_DISPLAY=yes'
9459 ac_cv_use_display='wxUSE_DISPLAY=no'
9464 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9465 if test "x$LINE" != x ; then
9466 eval "DEFAULT_$LINE"
9471 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9476 eval "$ac_cv_use_display"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9481 if test "$wxUSE_DISPLAY" = yes; then
9482 { echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6; }
9485 { echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6; }
9491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9494 # Check whether --enable-detect_sm was given.
9495 if test "${enable_detect_sm+set}" = set; then
9496 enableval=$enable_detect_sm;
9497 if test "$enableval" = yes; then
9498 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9500 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9505 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9506 if test "x$LINE" != x ; then
9507 eval "DEFAULT_$LINE"
9512 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9517 eval "$ac_cv_use_detect_sm"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9522 if test "$wxUSE_DETECT_SM" = yes; then
9523 { echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6; }
9526 { echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6; }
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9535 # Check whether --enable-filepicker was given.
9536 if test "${enable_filepicker+set}" = set; then
9537 enableval=$enable_filepicker;
9538 if test "$enableval" = yes; then
9539 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9541 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9546 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9553 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9558 eval "$ac_cv_use_filepicker"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9564 { echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6; }
9567 { echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6; }
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9576 # Check whether --enable-fontpicker was given.
9577 if test "${enable_fontpicker+set}" = set; then
9578 enableval=$enable_fontpicker;
9579 if test "$enableval" = yes; then
9580 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9582 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9587 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9594 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9599 eval "$ac_cv_use_fontpicker"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9604 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9605 { echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6; }
9608 { echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6; }
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9617 # Check whether --enable-gauge was given.
9618 if test "${enable_gauge+set}" = set; then
9619 enableval=$enable_gauge;
9620 if test "$enableval" = yes; then
9621 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9623 ac_cv_use_gauge='wxUSE_GAUGE=no'
9628 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9635 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9640 eval "$ac_cv_use_gauge"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9645 if test "$wxUSE_GAUGE" = yes; then
9646 { echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6; }
9649 { echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6; }
9655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9658 # Check whether --enable-grid was given.
9659 if test "${enable_grid+set}" = set; then
9660 enableval=$enable_grid;
9661 if test "$enableval" = yes; then
9662 ac_cv_use_grid='wxUSE_GRID=yes'
9664 ac_cv_use_grid='wxUSE_GRID=no'
9669 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9670 if test "x$LINE" != x ; then
9671 eval "DEFAULT_$LINE"
9676 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9681 eval "$ac_cv_use_grid"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9686 if test "$wxUSE_GRID" = yes; then
9687 { echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6; }
9690 { echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6; }
9696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9699 # Check whether --enable-dataviewctrl was given.
9700 if test "${enable_dataviewctrl+set}" = set; then
9701 enableval=$enable_dataviewctrl;
9702 if test "$enableval" = yes; then
9703 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9705 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9710 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9711 if test "x$LINE" != x ; then
9712 eval "DEFAULT_$LINE"
9717 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9722 eval "$ac_cv_use_dataviewctrl"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9727 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9728 { echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6; }
9731 { echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6; }
9737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9740 # Check whether --enable-hyperlink was given.
9741 if test "${enable_hyperlink+set}" = set; then
9742 enableval=$enable_hyperlink;
9743 if test "$enableval" = yes; then
9744 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9746 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9751 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9752 if test "x$LINE" != x ; then
9753 eval "DEFAULT_$LINE"
9758 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9763 eval "$ac_cv_use_hyperlink"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9769 { echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6; }
9772 { echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6; }
9778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9781 # Check whether --enable-imaglist was given.
9782 if test "${enable_imaglist+set}" = set; then
9783 enableval=$enable_imaglist;
9784 if test "$enableval" = yes; then
9785 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9787 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9792 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9793 if test "x$LINE" != x ; then
9794 eval "DEFAULT_$LINE"
9799 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9804 eval "$ac_cv_use_imaglist"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_IMAGLIST" = yes; then
9810 { echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6; }
9813 { echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6; }
9819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9822 # Check whether --enable-listbook was given.
9823 if test "${enable_listbook+set}" = set; then
9824 enableval=$enable_listbook;
9825 if test "$enableval" = yes; then
9826 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9828 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9833 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9834 if test "x$LINE" != x ; then
9835 eval "DEFAULT_$LINE"
9840 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9845 eval "$ac_cv_use_listbook"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_LISTBOOK" = yes; then
9851 { echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6; }
9854 { echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6; }
9860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9863 # Check whether --enable-listbox was given.
9864 if test "${enable_listbox+set}" = set; then
9865 enableval=$enable_listbox;
9866 if test "$enableval" = yes; then
9867 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9869 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9874 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9875 if test "x$LINE" != x ; then
9876 eval "DEFAULT_$LINE"
9881 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9886 eval "$ac_cv_use_listbox"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_LISTBOX" = yes; then
9892 { echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6; }
9895 { echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6; }
9901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9904 # Check whether --enable-listctrl was given.
9905 if test "${enable_listctrl+set}" = set; then
9906 enableval=$enable_listctrl;
9907 if test "$enableval" = yes; then
9908 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9910 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9915 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9916 if test "x$LINE" != x ; then
9917 eval "DEFAULT_$LINE"
9922 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9927 eval "$ac_cv_use_listctrl"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_LISTCTRL" = yes; then
9933 { echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6; }
9936 { echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6; }
9942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9945 # Check whether --enable-notebook was given.
9946 if test "${enable_notebook+set}" = set; then
9947 enableval=$enable_notebook;
9948 if test "$enableval" = yes; then
9949 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9951 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9956 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9957 if test "x$LINE" != x ; then
9958 eval "DEFAULT_$LINE"
9963 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9968 eval "$ac_cv_use_notebook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_NOTEBOOK" = yes; then
9974 { echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6; }
9977 { echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6; }
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9986 # Check whether --enable-odcombobox was given.
9987 if test "${enable_odcombobox+set}" = set; then
9988 enableval=$enable_odcombobox;
9989 if test "$enableval" = yes; then
9990 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9992 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9997 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9998 if test "x$LINE" != x ; then
9999 eval "DEFAULT_$LINE"
10004 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10009 eval "$ac_cv_use_odcombobox"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_ODCOMBOBOX" = yes; then
10015 { echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6; }
10018 { echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6; }
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10027 # Check whether --enable-radiobox was given.
10028 if test "${enable_radiobox+set}" = set; then
10029 enableval=$enable_radiobox;
10030 if test "$enableval" = yes; then
10031 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10033 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10038 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10039 if test "x$LINE" != x ; then
10040 eval "DEFAULT_$LINE"
10045 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10050 eval "$ac_cv_use_radiobox"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_RADIOBOX" = yes; then
10056 { echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6; }
10059 { echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6; }
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10068 # Check whether --enable-radiobtn was given.
10069 if test "${enable_radiobtn+set}" = set; then
10070 enableval=$enable_radiobtn;
10071 if test "$enableval" = yes; then
10072 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10074 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10079 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10080 if test "x$LINE" != x ; then
10081 eval "DEFAULT_$LINE"
10086 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10091 eval "$ac_cv_use_radiobtn"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_RADIOBTN" = yes; then
10097 { echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6; }
10100 { echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6; }
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10109 # Check whether --enable-sash was given.
10110 if test "${enable_sash+set}" = set; then
10111 enableval=$enable_sash;
10112 if test "$enableval" = yes; then
10113 ac_cv_use_sash='wxUSE_SASH=yes'
10115 ac_cv_use_sash='wxUSE_SASH=no'
10120 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10127 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10132 eval "$ac_cv_use_sash"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10137 if test "$wxUSE_SASH" = yes; then
10138 { echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6; }
10141 { echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6; }
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10150 # Check whether --enable-scrollbar was given.
10151 if test "${enable_scrollbar+set}" = set; then
10152 enableval=$enable_scrollbar;
10153 if test "$enableval" = yes; then
10154 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10156 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10161 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10162 if test "x$LINE" != x ; then
10163 eval "DEFAULT_$LINE"
10168 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10173 eval "$ac_cv_use_scrollbar"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_SCROLLBAR" = yes; then
10179 { echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6; }
10182 { echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6; }
10188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10191 # Check whether --enable-searchctrl was given.
10192 if test "${enable_searchctrl+set}" = set; then
10193 enableval=$enable_searchctrl;
10194 if test "$enableval" = yes; then
10195 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10197 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10202 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10203 if test "x$LINE" != x ; then
10204 eval "DEFAULT_$LINE"
10209 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10214 eval "$ac_cv_use_searchctrl"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10219 if test "$wxUSE_SEARCHCTRL" = yes; then
10220 { echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6; }
10223 { echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6; }
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10232 # Check whether --enable-slider was given.
10233 if test "${enable_slider+set}" = set; then
10234 enableval=$enable_slider;
10235 if test "$enableval" = yes; then
10236 ac_cv_use_slider='wxUSE_SLIDER=yes'
10238 ac_cv_use_slider='wxUSE_SLIDER=no'
10243 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10250 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10255 eval "$ac_cv_use_slider"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10260 if test "$wxUSE_SLIDER" = yes; then
10261 { echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6; }
10264 { echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6; }
10270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10273 # Check whether --enable-spinbtn was given.
10274 if test "${enable_spinbtn+set}" = set; then
10275 enableval=$enable_spinbtn;
10276 if test "$enableval" = yes; then
10277 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10279 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10284 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10285 if test "x$LINE" != x ; then
10286 eval "DEFAULT_$LINE"
10291 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10296 eval "$ac_cv_use_spinbtn"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10301 if test "$wxUSE_SPINBTN" = yes; then
10302 { echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6; }
10305 { echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6; }
10311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10314 # Check whether --enable-spinctrl was given.
10315 if test "${enable_spinctrl+set}" = set; then
10316 enableval=$enable_spinctrl;
10317 if test "$enableval" = yes; then
10318 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10320 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10325 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10326 if test "x$LINE" != x ; then
10327 eval "DEFAULT_$LINE"
10332 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10337 eval "$ac_cv_use_spinctrl"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10342 if test "$wxUSE_SPINCTRL" = yes; then
10343 { echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6; }
10346 { echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6; }
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10355 # Check whether --enable-splitter was given.
10356 if test "${enable_splitter+set}" = set; then
10357 enableval=$enable_splitter;
10358 if test "$enableval" = yes; then
10359 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10361 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10366 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10367 if test "x$LINE" != x ; then
10368 eval "DEFAULT_$LINE"
10373 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10378 eval "$ac_cv_use_splitter"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10383 if test "$wxUSE_SPLITTER" = yes; then
10384 { echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6; }
10387 { echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6; }
10393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10396 # Check whether --enable-statbmp was given.
10397 if test "${enable_statbmp+set}" = set; then
10398 enableval=$enable_statbmp;
10399 if test "$enableval" = yes; then
10400 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10402 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10407 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10408 if test "x$LINE" != x ; then
10409 eval "DEFAULT_$LINE"
10414 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10419 eval "$ac_cv_use_statbmp"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_STATBMP" = yes; then
10425 { echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6; }
10428 { echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6; }
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10437 # Check whether --enable-statbox was given.
10438 if test "${enable_statbox+set}" = set; then
10439 enableval=$enable_statbox;
10440 if test "$enableval" = yes; then
10441 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10443 ac_cv_use_statbox='wxUSE_STATBOX=no'
10448 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10449 if test "x$LINE" != x ; then
10450 eval "DEFAULT_$LINE"
10455 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10460 eval "$ac_cv_use_statbox"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10465 if test "$wxUSE_STATBOX" = yes; then
10466 { echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6; }
10469 { echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6; }
10475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10476 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10478 # Check whether --enable-statline was given.
10479 if test "${enable_statline+set}" = set; then
10480 enableval=$enable_statline;
10481 if test "$enableval" = yes; then
10482 ac_cv_use_statline='wxUSE_STATLINE=yes'
10484 ac_cv_use_statline='wxUSE_STATLINE=no'
10489 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10490 if test "x$LINE" != x ; then
10491 eval "DEFAULT_$LINE"
10496 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10501 eval "$ac_cv_use_statline"
10502 if test "$no_cache" != 1; then
10503 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10506 if test "$wxUSE_STATLINE" = yes; then
10507 { echo "$as_me:$LINENO: result: yes" >&5
10508 echo "${ECHO_T}yes" >&6; }
10510 { echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6; }
10516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10517 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10519 # Check whether --enable-stattext was given.
10520 if test "${enable_stattext+set}" = set; then
10521 enableval=$enable_stattext;
10522 if test "$enableval" = yes; then
10523 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10525 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10530 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10531 if test "x$LINE" != x ; then
10532 eval "DEFAULT_$LINE"
10537 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10542 eval "$ac_cv_use_stattext"
10543 if test "$no_cache" != 1; then
10544 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10547 if test "$wxUSE_STATTEXT" = yes; then
10548 { echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6; }
10551 { echo "$as_me:$LINENO: result: no" >&5
10552 echo "${ECHO_T}no" >&6; }
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10560 # Check whether --enable-statusbar was given.
10561 if test "${enable_statusbar+set}" = set; then
10562 enableval=$enable_statusbar;
10563 if test "$enableval" = yes; then
10564 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10566 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10571 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10578 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10583 eval "$ac_cv_use_statusbar"
10584 if test "$no_cache" != 1; then
10585 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10588 if test "$wxUSE_STATUSBAR" = yes; then
10589 { echo "$as_me:$LINENO: result: yes" >&5
10590 echo "${ECHO_T}yes" >&6; }
10592 { echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6; }
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10601 # Check whether --enable-tabdialog was given.
10602 if test "${enable_tabdialog+set}" = set; then
10603 enableval=$enable_tabdialog;
10604 if test "$enableval" = yes; then
10605 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10607 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10612 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10613 if test "x$LINE" != x ; then
10614 eval "DEFAULT_$LINE"
10619 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10624 eval "$ac_cv_use_tabdialog"
10625 if test "$no_cache" != 1; then
10626 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10629 if test "$wxUSE_TAB_DIALOG" = yes; then
10630 { echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6; }
10633 { echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6; }
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10642 # Check whether --enable-textctrl was given.
10643 if test "${enable_textctrl+set}" = set; then
10644 enableval=$enable_textctrl;
10645 if test "$enableval" = yes; then
10646 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10648 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10653 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10654 if test "x$LINE" != x ; then
10655 eval "DEFAULT_$LINE"
10660 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10665 eval "$ac_cv_use_textctrl"
10666 if test "$no_cache" != 1; then
10667 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10670 if test "$wxUSE_TEXTCTRL" = yes; then
10671 { echo "$as_me:$LINENO: result: yes" >&5
10672 echo "${ECHO_T}yes" >&6; }
10674 { echo "$as_me:$LINENO: result: no" >&5
10675 echo "${ECHO_T}no" >&6; }
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10683 # Check whether --enable-togglebtn was given.
10684 if test "${enable_togglebtn+set}" = set; then
10685 enableval=$enable_togglebtn;
10686 if test "$enableval" = yes; then
10687 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10689 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10694 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x ; then
10696 eval "DEFAULT_$LINE"
10701 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10706 eval "$ac_cv_use_togglebtn"
10707 if test "$no_cache" != 1; then
10708 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10711 if test "$wxUSE_TOGGLEBTN" = yes; then
10712 { echo "$as_me:$LINENO: result: yes" >&5
10713 echo "${ECHO_T}yes" >&6; }
10715 { echo "$as_me:$LINENO: result: no" >&5
10716 echo "${ECHO_T}no" >&6; }
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10724 # Check whether --enable-toolbar was given.
10725 if test "${enable_toolbar+set}" = set; then
10726 enableval=$enable_toolbar;
10727 if test "$enableval" = yes; then
10728 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10730 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10735 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10736 if test "x$LINE" != x ; then
10737 eval "DEFAULT_$LINE"
10742 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10747 eval "$ac_cv_use_toolbar"
10748 if test "$no_cache" != 1; then
10749 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10752 if test "$wxUSE_TOOLBAR" = yes; then
10753 { echo "$as_me:$LINENO: result: yes" >&5
10754 echo "${ECHO_T}yes" >&6; }
10756 { echo "$as_me:$LINENO: result: no" >&5
10757 echo "${ECHO_T}no" >&6; }
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10765 # Check whether --enable-tbarnative was given.
10766 if test "${enable_tbarnative+set}" = set; then
10767 enableval=$enable_tbarnative;
10768 if test "$enableval" = yes; then
10769 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10771 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10776 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10777 if test "x$LINE" != x ; then
10778 eval "DEFAULT_$LINE"
10783 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10788 eval "$ac_cv_use_tbarnative"
10789 if test "$no_cache" != 1; then
10790 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10793 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10794 { echo "$as_me:$LINENO: result: yes" >&5
10795 echo "${ECHO_T}yes" >&6; }
10797 { echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6; }
10803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10806 # Check whether --enable-treebook was given.
10807 if test "${enable_treebook+set}" = set; then
10808 enableval=$enable_treebook;
10809 if test "$enableval" = yes; then
10810 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10812 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10817 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x ; then
10819 eval "DEFAULT_$LINE"
10824 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10829 eval "$ac_cv_use_treebook"
10830 if test "$no_cache" != 1; then
10831 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10834 if test "$wxUSE_TREEBOOK" = yes; then
10835 { echo "$as_me:$LINENO: result: yes" >&5
10836 echo "${ECHO_T}yes" >&6; }
10838 { echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6; }
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10847 # Check whether --enable-toolbook was given.
10848 if test "${enable_toolbook+set}" = set; then
10849 enableval=$enable_toolbook;
10850 if test "$enableval" = yes; then
10851 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10853 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10858 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10859 if test "x$LINE" != x ; then
10860 eval "DEFAULT_$LINE"
10865 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10870 eval "$ac_cv_use_toolbook"
10871 if test "$no_cache" != 1; then
10872 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10875 if test "$wxUSE_TOOLBOOK" = yes; then
10876 { echo "$as_me:$LINENO: result: yes" >&5
10877 echo "${ECHO_T}yes" >&6; }
10879 { echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6; }
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10888 # Check whether --enable-treectrl was given.
10889 if test "${enable_treectrl+set}" = set; then
10890 enableval=$enable_treectrl;
10891 if test "$enableval" = yes; then
10892 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10894 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10899 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10900 if test "x$LINE" != x ; then
10901 eval "DEFAULT_$LINE"
10906 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10911 eval "$ac_cv_use_treectrl"
10912 if test "$no_cache" != 1; then
10913 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10916 if test "$wxUSE_TREECTRL" = yes; then
10917 { echo "$as_me:$LINENO: result: yes" >&5
10918 echo "${ECHO_T}yes" >&6; }
10920 { echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6; }
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10929 # Check whether --enable-tipwindow was given.
10930 if test "${enable_tipwindow+set}" = set; then
10931 enableval=$enable_tipwindow;
10932 if test "$enableval" = yes; then
10933 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10935 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10940 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x ; then
10942 eval "DEFAULT_$LINE"
10947 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10952 eval "$ac_cv_use_tipwindow"
10953 if test "$no_cache" != 1; then
10954 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10957 if test "$wxUSE_TIPWINDOW" = yes; then
10958 { echo "$as_me:$LINENO: result: yes" >&5
10959 echo "${ECHO_T}yes" >&6; }
10961 { echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6; }
10967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10968 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10970 # Check whether --enable-popupwin was given.
10971 if test "${enable_popupwin+set}" = set; then
10972 enableval=$enable_popupwin;
10973 if test "$enableval" = yes; then
10974 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10976 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10981 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x ; then
10983 eval "DEFAULT_$LINE"
10988 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10993 eval "$ac_cv_use_popupwin"
10994 if test "$no_cache" != 1; then
10995 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10998 if test "$wxUSE_POPUPWIN" = yes; then
10999 { echo "$as_me:$LINENO: result: yes" >&5
11000 echo "${ECHO_T}yes" >&6; }
11002 { echo "$as_me:$LINENO: result: no" >&5
11003 echo "${ECHO_T}no" >&6; }
11010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11011 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11013 # Check whether --enable-commondlg was given.
11014 if test "${enable_commondlg+set}" = set; then
11015 enableval=$enable_commondlg;
11016 if test "$enableval" = yes; then
11017 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11019 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11024 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11025 if test "x$LINE" != x ; then
11026 eval "DEFAULT_$LINE"
11031 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11036 eval "$ac_cv_use_commondlg"
11037 if test "$no_cache" != 1; then
11038 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11041 if test "$wxUSE_COMMONDLGS" = yes; then
11042 { echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6; }
11045 { echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6; }
11051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11052 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11054 # Check whether --enable-aboutdlg was given.
11055 if test "${enable_aboutdlg+set}" = set; then
11056 enableval=$enable_aboutdlg;
11057 if test "$enableval" = yes; then
11058 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11060 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11065 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11066 if test "x$LINE" != x ; then
11067 eval "DEFAULT_$LINE"
11072 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11077 eval "$ac_cv_use_aboutdlg"
11078 if test "$no_cache" != 1; then
11079 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11082 if test "$wxUSE_ABOUTDLG" = yes; then
11083 { echo "$as_me:$LINENO: result: yes" >&5
11084 echo "${ECHO_T}yes" >&6; }
11086 { echo "$as_me:$LINENO: result: no" >&5
11087 echo "${ECHO_T}no" >&6; }
11092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11093 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11095 # Check whether --enable-choicedlg was given.
11096 if test "${enable_choicedlg+set}" = set; then
11097 enableval=$enable_choicedlg;
11098 if test "$enableval" = yes; then
11099 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11101 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11106 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11107 if test "x$LINE" != x ; then
11108 eval "DEFAULT_$LINE"
11113 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11118 eval "$ac_cv_use_choicedlg"
11119 if test "$no_cache" != 1; then
11120 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11123 if test "$wxUSE_CHOICEDLG" = yes; then
11124 { echo "$as_me:$LINENO: result: yes" >&5
11125 echo "${ECHO_T}yes" >&6; }
11127 { echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6; }
11133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11134 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11136 # Check whether --enable-coldlg was given.
11137 if test "${enable_coldlg+set}" = set; then
11138 enableval=$enable_coldlg;
11139 if test "$enableval" = yes; then
11140 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11142 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11147 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x ; then
11149 eval "DEFAULT_$LINE"
11154 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11159 eval "$ac_cv_use_coldlg"
11160 if test "$no_cache" != 1; then
11161 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11164 if test "$wxUSE_COLOURDLG" = yes; then
11165 { echo "$as_me:$LINENO: result: yes" >&5
11166 echo "${ECHO_T}yes" >&6; }
11168 { echo "$as_me:$LINENO: result: no" >&5
11169 echo "${ECHO_T}no" >&6; }
11174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11175 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11177 # Check whether --enable-filedlg was given.
11178 if test "${enable_filedlg+set}" = set; then
11179 enableval=$enable_filedlg;
11180 if test "$enableval" = yes; then
11181 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11183 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11188 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11189 if test "x$LINE" != x ; then
11190 eval "DEFAULT_$LINE"
11195 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11200 eval "$ac_cv_use_filedlg"
11201 if test "$no_cache" != 1; then
11202 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11205 if test "$wxUSE_FILEDLG" = yes; then
11206 { echo "$as_me:$LINENO: result: yes" >&5
11207 echo "${ECHO_T}yes" >&6; }
11209 { echo "$as_me:$LINENO: result: no" >&5
11210 echo "${ECHO_T}no" >&6; }
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11218 # Check whether --enable-finddlg was given.
11219 if test "${enable_finddlg+set}" = set; then
11220 enableval=$enable_finddlg;
11221 if test "$enableval" = yes; then
11222 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11224 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11229 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11230 if test "x$LINE" != x ; then
11231 eval "DEFAULT_$LINE"
11236 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11241 eval "$ac_cv_use_finddlg"
11242 if test "$no_cache" != 1; then
11243 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11246 if test "$wxUSE_FINDREPLDLG" = yes; then
11247 { echo "$as_me:$LINENO: result: yes" >&5
11248 echo "${ECHO_T}yes" >&6; }
11250 { echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6; }
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11259 # Check whether --enable-fontdlg was given.
11260 if test "${enable_fontdlg+set}" = set; then
11261 enableval=$enable_fontdlg;
11262 if test "$enableval" = yes; then
11263 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11265 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11270 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11271 if test "x$LINE" != x ; then
11272 eval "DEFAULT_$LINE"
11277 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11282 eval "$ac_cv_use_fontdlg"
11283 if test "$no_cache" != 1; then
11284 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11287 if test "$wxUSE_FONTDLG" = yes; then
11288 { echo "$as_me:$LINENO: result: yes" >&5
11289 echo "${ECHO_T}yes" >&6; }
11291 { echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6; }
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11300 # Check whether --enable-dirdlg was given.
11301 if test "${enable_dirdlg+set}" = set; then
11302 enableval=$enable_dirdlg;
11303 if test "$enableval" = yes; then
11304 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11306 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11311 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11318 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11323 eval "$ac_cv_use_dirdlg"
11324 if test "$no_cache" != 1; then
11325 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11328 if test "$wxUSE_DIRDLG" = yes; then
11329 { echo "$as_me:$LINENO: result: yes" >&5
11330 echo "${ECHO_T}yes" >&6; }
11332 { echo "$as_me:$LINENO: result: no" >&5
11333 echo "${ECHO_T}no" >&6; }
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11341 # Check whether --enable-msgdlg was given.
11342 if test "${enable_msgdlg+set}" = set; then
11343 enableval=$enable_msgdlg;
11344 if test "$enableval" = yes; then
11345 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11347 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11352 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11353 if test "x$LINE" != x ; then
11354 eval "DEFAULT_$LINE"
11359 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11364 eval "$ac_cv_use_msgdlg"
11365 if test "$no_cache" != 1; then
11366 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11369 if test "$wxUSE_MSGDLG" = yes; then
11370 { echo "$as_me:$LINENO: result: yes" >&5
11371 echo "${ECHO_T}yes" >&6; }
11373 { echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6; }
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11382 # Check whether --enable-numberdlg was given.
11383 if test "${enable_numberdlg+set}" = set; then
11384 enableval=$enable_numberdlg;
11385 if test "$enableval" = yes; then
11386 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11388 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11393 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11394 if test "x$LINE" != x ; then
11395 eval "DEFAULT_$LINE"
11400 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11405 eval "$ac_cv_use_numberdlg"
11406 if test "$no_cache" != 1; then
11407 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11410 if test "$wxUSE_NUMBERDLG" = yes; then
11411 { echo "$as_me:$LINENO: result: yes" >&5
11412 echo "${ECHO_T}yes" >&6; }
11414 { echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6; }
11420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11421 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11423 # Check whether --enable-splash was given.
11424 if test "${enable_splash+set}" = set; then
11425 enableval=$enable_splash;
11426 if test "$enableval" = yes; then
11427 ac_cv_use_splash='wxUSE_SPLASH=yes'
11429 ac_cv_use_splash='wxUSE_SPLASH=no'
11434 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11435 if test "x$LINE" != x ; then
11436 eval "DEFAULT_$LINE"
11441 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11446 eval "$ac_cv_use_splash"
11447 if test "$no_cache" != 1; then
11448 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11451 if test "$wxUSE_SPLASH" = yes; then
11452 { echo "$as_me:$LINENO: result: yes" >&5
11453 echo "${ECHO_T}yes" >&6; }
11455 { echo "$as_me:$LINENO: result: no" >&5
11456 echo "${ECHO_T}no" >&6; }
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11464 # Check whether --enable-textdlg was given.
11465 if test "${enable_textdlg+set}" = set; then
11466 enableval=$enable_textdlg;
11467 if test "$enableval" = yes; then
11468 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11470 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11475 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11482 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11487 eval "$ac_cv_use_textdlg"
11488 if test "$no_cache" != 1; then
11489 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11492 if test "$wxUSE_TEXTDLG" = yes; then
11493 { echo "$as_me:$LINENO: result: yes" >&5
11494 echo "${ECHO_T}yes" >&6; }
11496 { echo "$as_me:$LINENO: result: no" >&5
11497 echo "${ECHO_T}no" >&6; }
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11505 # Check whether --enable-tipdlg was given.
11506 if test "${enable_tipdlg+set}" = set; then
11507 enableval=$enable_tipdlg;
11508 if test "$enableval" = yes; then
11509 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11511 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11516 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11523 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11528 eval "$ac_cv_use_tipdlg"
11529 if test "$no_cache" != 1; then
11530 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11533 if test "$wxUSE_STARTUP_TIPS" = yes; then
11534 { echo "$as_me:$LINENO: result: yes" >&5
11535 echo "${ECHO_T}yes" >&6; }
11537 { echo "$as_me:$LINENO: result: no" >&5
11538 echo "${ECHO_T}no" >&6; }
11543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11544 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11546 # Check whether --enable-progressdlg was given.
11547 if test "${enable_progressdlg+set}" = set; then
11548 enableval=$enable_progressdlg;
11549 if test "$enableval" = yes; then
11550 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11552 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11557 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11558 if test "x$LINE" != x ; then
11559 eval "DEFAULT_$LINE"
11564 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11569 eval "$ac_cv_use_progressdlg"
11570 if test "$no_cache" != 1; then
11571 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11574 if test "$wxUSE_PROGRESSDLG" = yes; then
11575 { echo "$as_me:$LINENO: result: yes" >&5
11576 echo "${ECHO_T}yes" >&6; }
11578 { echo "$as_me:$LINENO: result: no" >&5
11579 echo "${ECHO_T}no" >&6; }
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11587 # Check whether --enable-wizarddlg was given.
11588 if test "${enable_wizarddlg+set}" = set; then
11589 enableval=$enable_wizarddlg;
11590 if test "$enableval" = yes; then
11591 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11593 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11598 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11599 if test "x$LINE" != x ; then
11600 eval "DEFAULT_$LINE"
11605 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11610 eval "$ac_cv_use_wizarddlg"
11611 if test "$no_cache" != 1; then
11612 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11615 if test "$wxUSE_WIZARDDLG" = yes; then
11616 { echo "$as_me:$LINENO: result: yes" >&5
11617 echo "${ECHO_T}yes" >&6; }
11619 { echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6; }
11627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11628 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11630 # Check whether --enable-menus was given.
11631 if test "${enable_menus+set}" = set; then
11632 enableval=$enable_menus;
11633 if test "$enableval" = yes; then
11634 ac_cv_use_menus='wxUSE_MENUS=yes'
11636 ac_cv_use_menus='wxUSE_MENUS=no'
11641 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11642 if test "x$LINE" != x ; then
11643 eval "DEFAULT_$LINE"
11648 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11653 eval "$ac_cv_use_menus"
11654 if test "$no_cache" != 1; then
11655 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11658 if test "$wxUSE_MENUS" = yes; then
11659 { echo "$as_me:$LINENO: result: yes" >&5
11660 echo "${ECHO_T}yes" >&6; }
11662 { echo "$as_me:$LINENO: result: no" >&5
11663 echo "${ECHO_T}no" >&6; }
11668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11669 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11671 # Check whether --enable-miniframe was given.
11672 if test "${enable_miniframe+set}" = set; then
11673 enableval=$enable_miniframe;
11674 if test "$enableval" = yes; then
11675 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11677 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11682 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11683 if test "x$LINE" != x ; then
11684 eval "DEFAULT_$LINE"
11689 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11694 eval "$ac_cv_use_miniframe"
11695 if test "$no_cache" != 1; then
11696 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11699 if test "$wxUSE_MINIFRAME" = yes; then
11700 { echo "$as_me:$LINENO: result: yes" >&5
11701 echo "${ECHO_T}yes" >&6; }
11703 { echo "$as_me:$LINENO: result: no" >&5
11704 echo "${ECHO_T}no" >&6; }
11709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11710 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11712 # Check whether --enable-tooltips was given.
11713 if test "${enable_tooltips+set}" = set; then
11714 enableval=$enable_tooltips;
11715 if test "$enableval" = yes; then
11716 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11718 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11723 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11724 if test "x$LINE" != x ; then
11725 eval "DEFAULT_$LINE"
11730 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11735 eval "$ac_cv_use_tooltips"
11736 if test "$no_cache" != 1; then
11737 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11740 if test "$wxUSE_TOOLTIPS" = yes; then
11741 { echo "$as_me:$LINENO: result: yes" >&5
11742 echo "${ECHO_T}yes" >&6; }
11744 { echo "$as_me:$LINENO: result: no" >&5
11745 echo "${ECHO_T}no" >&6; }
11750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11753 # Check whether --enable-splines was given.
11754 if test "${enable_splines+set}" = set; then
11755 enableval=$enable_splines;
11756 if test "$enableval" = yes; then
11757 ac_cv_use_splines='wxUSE_SPLINES=yes'
11759 ac_cv_use_splines='wxUSE_SPLINES=no'
11764 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11771 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11776 eval "$ac_cv_use_splines"
11777 if test "$no_cache" != 1; then
11778 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11781 if test "$wxUSE_SPLINES" = yes; then
11782 { echo "$as_me:$LINENO: result: yes" >&5
11783 echo "${ECHO_T}yes" >&6; }
11785 { echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6; }
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11794 # Check whether --enable-mousewheel was given.
11795 if test "${enable_mousewheel+set}" = set; then
11796 enableval=$enable_mousewheel;
11797 if test "$enableval" = yes; then
11798 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11800 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11805 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11812 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11817 eval "$ac_cv_use_mousewheel"
11818 if test "$no_cache" != 1; then
11819 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11822 if test "$wxUSE_MOUSEWHEEL" = yes; then
11823 { echo "$as_me:$LINENO: result: yes" >&5
11824 echo "${ECHO_T}yes" >&6; }
11826 { echo "$as_me:$LINENO: result: no" >&5
11827 echo "${ECHO_T}no" >&6; }
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11835 # Check whether --enable-validators was given.
11836 if test "${enable_validators+set}" = set; then
11837 enableval=$enable_validators;
11838 if test "$enableval" = yes; then
11839 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11841 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11846 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11853 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11858 eval "$ac_cv_use_validators"
11859 if test "$no_cache" != 1; then
11860 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11863 if test "$wxUSE_VALIDATORS" = yes; then
11864 { echo "$as_me:$LINENO: result: yes" >&5
11865 echo "${ECHO_T}yes" >&6; }
11867 { echo "$as_me:$LINENO: result: no" >&5
11868 echo "${ECHO_T}no" >&6; }
11873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11874 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11876 # Check whether --enable-busyinfo was given.
11877 if test "${enable_busyinfo+set}" = set; then
11878 enableval=$enable_busyinfo;
11879 if test "$enableval" = yes; then
11880 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11882 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11887 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11888 if test "x$LINE" != x ; then
11889 eval "DEFAULT_$LINE"
11894 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11899 eval "$ac_cv_use_busyinfo"
11900 if test "$no_cache" != 1; then
11901 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11904 if test "$wxUSE_BUSYINFO" = yes; then
11905 { echo "$as_me:$LINENO: result: yes" >&5
11906 echo "${ECHO_T}yes" >&6; }
11908 { echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6; }
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11917 # Check whether --enable-joystick was given.
11918 if test "${enable_joystick+set}" = set; then
11919 enableval=$enable_joystick;
11920 if test "$enableval" = yes; then
11921 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11923 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11928 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11935 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11940 eval "$ac_cv_use_joystick"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11945 if test "$wxUSE_JOYSTICK" = yes; then
11946 { echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6; }
11949 { echo "$as_me:$LINENO: result: no" >&5
11950 echo "${ECHO_T}no" >&6; }
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11958 # Check whether --enable-metafile was given.
11959 if test "${enable_metafile+set}" = set; then
11960 enableval=$enable_metafile;
11961 if test "$enableval" = yes; then
11962 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11964 ac_cv_use_metafile='wxUSE_METAFILE=no'
11969 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11976 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11981 eval "$ac_cv_use_metafile"
11982 if test "$no_cache" != 1; then
11983 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11986 if test "$wxUSE_METAFILE" = yes; then
11987 { echo "$as_me:$LINENO: result: yes" >&5
11988 echo "${ECHO_T}yes" >&6; }
11990 { echo "$as_me:$LINENO: result: no" >&5
11991 echo "${ECHO_T}no" >&6; }
11996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11997 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11999 # Check whether --enable-dragimage was given.
12000 if test "${enable_dragimage+set}" = set; then
12001 enableval=$enable_dragimage;
12002 if test "$enableval" = yes; then
12003 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12005 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12010 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12011 if test "x$LINE" != x ; then
12012 eval "DEFAULT_$LINE"
12017 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12022 eval "$ac_cv_use_dragimage"
12023 if test "$no_cache" != 1; then
12024 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12027 if test "$wxUSE_DRAGIMAGE" = yes; then
12028 { echo "$as_me:$LINENO: result: yes" >&5
12029 echo "${ECHO_T}yes" >&6; }
12031 { echo "$as_me:$LINENO: result: no" >&5
12032 echo "${ECHO_T}no" >&6; }
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12040 # Check whether --enable-accessibility was given.
12041 if test "${enable_accessibility+set}" = set; then
12042 enableval=$enable_accessibility;
12043 if test "$enableval" = yes; then
12044 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12046 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12051 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12052 if test "x$LINE" != x ; then
12053 eval "DEFAULT_$LINE"
12058 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12063 eval "$ac_cv_use_accessibility"
12064 if test "$no_cache" != 1; then
12065 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12068 if test "$wxUSE_ACCESSIBILITY" = yes; then
12069 { echo "$as_me:$LINENO: result: yes" >&5
12070 echo "${ECHO_T}yes" >&6; }
12072 { echo "$as_me:$LINENO: result: no" >&5
12073 echo "${ECHO_T}no" >&6; }
12077 if test "$wxUSE_MSW" = "1"; then
12080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12081 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12083 # Check whether --enable-dccache was given.
12084 if test "${enable_dccache+set}" = set; then
12085 enableval=$enable_dccache;
12086 if test "$enableval" = yes; then
12087 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12089 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12094 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12095 if test "x$LINE" != x ; then
12096 eval "DEFAULT_$LINE"
12101 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12106 eval "$ac_cv_use_dccache"
12107 if test "$no_cache" != 1; then
12108 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12111 if test "$wxUSE_DC_CACHEING" = yes; then
12112 { echo "$as_me:$LINENO: result: yes" >&5
12113 echo "${ECHO_T}yes" >&6; }
12115 { echo "$as_me:$LINENO: result: no" >&5
12116 echo "${ECHO_T}no" >&6; }
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12127 # Check whether --enable-palette was given.
12128 if test "${enable_palette+set}" = set; then
12129 enableval=$enable_palette;
12130 if test "$enableval" = yes; then
12131 ac_cv_use_palette='wxUSE_PALETTE=yes'
12133 ac_cv_use_palette='wxUSE_PALETTE=no'
12138 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12145 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12150 eval "$ac_cv_use_palette"
12151 if test "$no_cache" != 1; then
12152 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12155 if test "$wxUSE_PALETTE" = yes; then
12156 { echo "$as_me:$LINENO: result: yes" >&5
12157 echo "${ECHO_T}yes" >&6; }
12159 { echo "$as_me:$LINENO: result: no" >&5
12160 echo "${ECHO_T}no" >&6; }
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12168 # Check whether --enable-image was given.
12169 if test "${enable_image+set}" = set; then
12170 enableval=$enable_image;
12171 if test "$enableval" = yes; then
12172 ac_cv_use_image='wxUSE_IMAGE=yes'
12174 ac_cv_use_image='wxUSE_IMAGE=no'
12179 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12180 if test "x$LINE" != x ; then
12181 eval "DEFAULT_$LINE"
12186 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12191 eval "$ac_cv_use_image"
12192 if test "$no_cache" != 1; then
12193 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12196 if test "$wxUSE_IMAGE" = yes; then
12197 { echo "$as_me:$LINENO: result: yes" >&5
12198 echo "${ECHO_T}yes" >&6; }
12200 { echo "$as_me:$LINENO: result: no" >&5
12201 echo "${ECHO_T}no" >&6; }
12206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12207 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12209 # Check whether --enable-gif was given.
12210 if test "${enable_gif+set}" = set; then
12211 enableval=$enable_gif;
12212 if test "$enableval" = yes; then
12213 ac_cv_use_gif='wxUSE_GIF=yes'
12215 ac_cv_use_gif='wxUSE_GIF=no'
12220 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12221 if test "x$LINE" != x ; then
12222 eval "DEFAULT_$LINE"
12227 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12232 eval "$ac_cv_use_gif"
12233 if test "$no_cache" != 1; then
12234 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12237 if test "$wxUSE_GIF" = yes; then
12238 { echo "$as_me:$LINENO: result: yes" >&5
12239 echo "${ECHO_T}yes" >&6; }
12241 { echo "$as_me:$LINENO: result: no" >&5
12242 echo "${ECHO_T}no" >&6; }
12247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12248 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12250 # Check whether --enable-pcx was given.
12251 if test "${enable_pcx+set}" = set; then
12252 enableval=$enable_pcx;
12253 if test "$enableval" = yes; then
12254 ac_cv_use_pcx='wxUSE_PCX=yes'
12256 ac_cv_use_pcx='wxUSE_PCX=no'
12261 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12262 if test "x$LINE" != x ; then
12263 eval "DEFAULT_$LINE"
12268 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12273 eval "$ac_cv_use_pcx"
12274 if test "$no_cache" != 1; then
12275 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12278 if test "$wxUSE_PCX" = yes; then
12279 { echo "$as_me:$LINENO: result: yes" >&5
12280 echo "${ECHO_T}yes" >&6; }
12282 { echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6; }
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12291 # Check whether --enable-tga was given.
12292 if test "${enable_tga+set}" = set; then
12293 enableval=$enable_tga;
12294 if test "$enableval" = yes; then
12295 ac_cv_use_tga='wxUSE_TGA=yes'
12297 ac_cv_use_tga='wxUSE_TGA=no'
12302 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x ; then
12304 eval "DEFAULT_$LINE"
12309 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12314 eval "$ac_cv_use_tga"
12315 if test "$no_cache" != 1; then
12316 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12319 if test "$wxUSE_TGA" = yes; then
12320 { echo "$as_me:$LINENO: result: yes" >&5
12321 echo "${ECHO_T}yes" >&6; }
12323 { echo "$as_me:$LINENO: result: no" >&5
12324 echo "${ECHO_T}no" >&6; }
12329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12332 # Check whether --enable-iff was given.
12333 if test "${enable_iff+set}" = set; then
12334 enableval=$enable_iff;
12335 if test "$enableval" = yes; then
12336 ac_cv_use_iff='wxUSE_IFF=yes'
12338 ac_cv_use_iff='wxUSE_IFF=no'
12343 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12344 if test "x$LINE" != x ; then
12345 eval "DEFAULT_$LINE"
12350 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12355 eval "$ac_cv_use_iff"
12356 if test "$no_cache" != 1; then
12357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12360 if test "$wxUSE_IFF" = yes; then
12361 { echo "$as_me:$LINENO: result: yes" >&5
12362 echo "${ECHO_T}yes" >&6; }
12364 { echo "$as_me:$LINENO: result: no" >&5
12365 echo "${ECHO_T}no" >&6; }
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12373 # Check whether --enable-pnm was given.
12374 if test "${enable_pnm+set}" = set; then
12375 enableval=$enable_pnm;
12376 if test "$enableval" = yes; then
12377 ac_cv_use_pnm='wxUSE_PNM=yes'
12379 ac_cv_use_pnm='wxUSE_PNM=no'
12384 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12385 if test "x$LINE" != x ; then
12386 eval "DEFAULT_$LINE"
12391 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12396 eval "$ac_cv_use_pnm"
12397 if test "$no_cache" != 1; then
12398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12401 if test "$wxUSE_PNM" = yes; then
12402 { echo "$as_me:$LINENO: result: yes" >&5
12403 echo "${ECHO_T}yes" >&6; }
12405 { echo "$as_me:$LINENO: result: no" >&5
12406 echo "${ECHO_T}no" >&6; }
12411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12414 # Check whether --enable-xpm was given.
12415 if test "${enable_xpm+set}" = set; then
12416 enableval=$enable_xpm;
12417 if test "$enableval" = yes; then
12418 ac_cv_use_xpm='wxUSE_XPM=yes'
12420 ac_cv_use_xpm='wxUSE_XPM=no'
12425 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12426 if test "x$LINE" != x ; then
12427 eval "DEFAULT_$LINE"
12432 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12437 eval "$ac_cv_use_xpm"
12438 if test "$no_cache" != 1; then
12439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12442 if test "$wxUSE_XPM" = yes; then
12443 { echo "$as_me:$LINENO: result: yes" >&5
12444 echo "${ECHO_T}yes" >&6; }
12446 { echo "$as_me:$LINENO: result: no" >&5
12447 echo "${ECHO_T}no" >&6; }
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12455 # Check whether --enable-ico_cur was given.
12456 if test "${enable_ico_cur+set}" = set; then
12457 enableval=$enable_ico_cur;
12458 if test "$enableval" = yes; then
12459 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12461 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12466 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12473 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12478 eval "$ac_cv_use_ico_cur"
12479 if test "$no_cache" != 1; then
12480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12483 if test "$wxUSE_ICO_CUR" = yes; then
12484 { echo "$as_me:$LINENO: result: yes" >&5
12485 echo "${ECHO_T}yes" >&6; }
12487 { echo "$as_me:$LINENO: result: no" >&5
12488 echo "${ECHO_T}no" >&6; }
12496 # Check whether --with-flavour was given.
12497 if test "${with_flavour+set}" = set; then
12498 withval=$with_flavour; WX_FLAVOUR="$withval"
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12508 # Check whether --enable-official_build was given.
12509 if test "${enable_official_build+set}" = set; then
12510 enableval=$enable_official_build;
12511 if test "$enableval" = yes; then
12512 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12514 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12519 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12520 if test "x$LINE" != x ; then
12521 eval "DEFAULT_$LINE"
12526 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12531 eval "$ac_cv_use_official_build"
12532 if test "$no_cache" != 1; then
12533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12537 { echo "$as_me:$LINENO: result: yes" >&5
12538 echo "${ECHO_T}yes" >&6; }
12540 { echo "$as_me:$LINENO: result: no" >&5
12541 echo "${ECHO_T}no" >&6; }
12544 # Check whether --enable-vendor was given.
12545 if test "${enable_vendor+set}" = set; then
12546 enableval=$enable_vendor; VENDOR="$enableval"
12549 if test "x$VENDOR" = "x"; then
12556 echo "saving argument cache $wx_arg_cache_file"
12557 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12561 { echo "$as_me:$LINENO: checking for toolkit" >&5
12562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12564 # In Wine, we need to default to MSW, not GTK or MOTIF
12565 if test "$wxUSE_WINE" = "yes"; then
12566 DEFAULT_DEFAULT_wxUSE_GTK=0
12567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12568 DEFAULT_DEFAULT_wxUSE_MSW=1
12571 CXX=${CXX:-wineg++}
12575 if test "$wxUSE_GUI" = "yes"; then
12577 if test "$USE_BEOS" = 1; then
12578 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12579 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12580 { (exit 1); exit 1; }; }
12583 if test "$TOOLKIT_GIVEN" = 1; then
12584 for toolkit in `echo $ALL_TOOLKITS`; do
12586 eval "value=\$${var}"
12587 if test "x$value" = "xno"; then
12589 elif test "x$value" != "x"; then
12593 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12594 eval "wx${toolkit}_VERSION=$value"
12598 for toolkit in `echo $ALL_TOOLKITS`; do
12599 if test "$has_toolkit_in_cache" != 1; then
12600 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12602 var=DEFAULT_wxUSE_$toolkit
12604 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12605 if test "x$version" != "x"; then
12606 eval "wx${toolkit}_VERSION=$version"
12609 eval "wxUSE_$toolkit=\$${var}"
12613 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12614 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12615 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12618 *-pc-os2_emx | *-pc-os2-emx )
12619 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12622 case "$NUM_TOOLKITS" in
12626 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12627 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12628 { (exit 1); exit 1; }; }
12631 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12632 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12633 { (exit 1); exit 1; }; }
12636 # to be removed when --disable-gtk2 isn't needed
12637 if test "x$wxUSE_GTK2" = "xyes"; then
12639 elif test "x$wxUSE_GTK2" = "xno"; then
12643 for toolkit in `echo $ALL_TOOLKITS`; do
12645 eval "value=\$${var}"
12646 if test "x$value" != x; then
12647 cache_var=CACHE_$toolkit
12648 eval "cache=\$${cache_var}"
12649 if test "$cache" = 1; then
12650 echo "$var=$value" >> ${wx_arg_cache_file}
12651 eval "version=\$wx${toolkit}_VERSION"
12652 if test "x$version" != "x"; then
12653 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12656 if test "$value" = 1; then
12657 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12658 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12659 echo "${ECHO_T}$toolkit_echo" >&6; }
12664 if test "x$host_alias" != "x"; then
12665 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12666 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12668 { echo "$as_me:$LINENO: result: base only" >&5
12669 echo "${ECHO_T}base only" >&6; }
12674 cat >confcache <<\_ACEOF
12675 # This file is a shell script that caches the results of configure
12676 # tests run on this system so they can be shared between configure
12677 # scripts and configure runs, see configure's option --config-cache.
12678 # It is not useful on other systems. If it contains results you don't
12679 # want to keep, you may remove or edit it.
12681 # config.status only pays attention to the cache file if you give it
12682 # the --recheck option to rerun configure.
12684 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12686 # following values.
12690 # The following way of writing the cache mishandles newlines in values,
12691 # but we know of no workaround that is simple, portable, and efficient.
12692 # So, we kill variables containing newlines.
12693 # Ultrix sh set writes to stderr and can't be redirected directly,
12694 # and sets the high bit in the cache file unless we assign to the vars.
12696 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12697 eval ac_val
=\$
$ac_var
12701 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12705 _
| IFS
| as_nl
) ;; #(
12706 *) $as_unset $ac_var ;;
12712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12713 *${as_nl}ac_space
=\
*)
12714 # `set' does not quote correctly, so add quotes (double-quote
12715 # substitution turns \\\\ into \\, and sed turns \\ into \).
12718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12721 # `set' quotes correctly as required by POSIX, so do not add quotes.
12722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12735 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12736 if test -w "$cache_file"; then
12737 test "x$cache_file" != "x/dev/null" &&
12738 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12739 echo "$as_me: updating cache $cache_file" >&6;}
12740 cat confcache
>$cache_file
12742 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12753 ac_cpp
='$CPP $CPPFLAGS'
12754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12757 if test -n "$ac_tool_prefix"; then
12758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12759 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12762 if test "${ac_cv_prog_CC+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 if test -n "$CC"; then
12766 ac_cv_prog_CC
="$CC" # Let the user override the test.
12768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12769 for as_dir
in $PATH
12772 test -z "$as_dir" && as_dir
=.
12773 for ac_exec_ext
in '' $ac_executable_extensions; do
12774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12775 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12786 if test -n "$CC"; then
12787 { echo "$as_me:$LINENO: result: $CC" >&5
12788 echo "${ECHO_T}$CC" >&6; }
12790 { echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6; }
12796 if test -z "$ac_cv_prog_CC"; then
12798 # Extract the first word of "gcc", so it can be a program name with args.
12799 set dummy gcc
; ac_word
=$2
12800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 if test -n "$ac_ct_CC"; then
12806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12809 for as_dir
in $PATH
12812 test -z "$as_dir" && as_dir
=.
12813 for ac_exec_ext
in '' $ac_executable_extensions; do
12814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12815 ac_cv_prog_ac_ct_CC
="gcc"
12816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12826 if test -n "$ac_ct_CC"; then
12827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12828 echo "${ECHO_T}$ac_ct_CC" >&6; }
12830 { echo "$as_me:$LINENO: result: no" >&5
12831 echo "${ECHO_T}no" >&6; }
12834 if test "x$ac_ct_CC" = x
; then
12837 case $cross_compiling:$ac_tool_warned in
12839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12840 whose name does not start with the host triplet. If you think this
12841 configuration is useful to you, please write to autoconf@gnu.org." >&5
12842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12843 whose name does not start with the host triplet. If you think this
12844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12845 ac_tool_warned
=yes ;;
12850 CC
="$ac_cv_prog_CC"
12853 if test -z "$CC"; then
12854 if test -n "$ac_tool_prefix"; then
12855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12856 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12859 if test "${ac_cv_prog_CC+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12862 if test -n "$CC"; then
12863 ac_cv_prog_CC
="$CC" # Let the user override the test.
12865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12866 for as_dir
in $PATH
12869 test -z "$as_dir" && as_dir
=.
12870 for ac_exec_ext
in '' $ac_executable_extensions; do
12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12872 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12883 if test -n "$CC"; then
12884 { echo "$as_me:$LINENO: result: $CC" >&5
12885 echo "${ECHO_T}$CC" >&6; }
12887 { echo "$as_me:$LINENO: result: no" >&5
12888 echo "${ECHO_T}no" >&6; }
12894 if test -z "$CC"; then
12895 # Extract the first word of "cc", so it can be a program name with args.
12896 set dummy cc
; ac_word
=$2
12897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12899 if test "${ac_cv_prog_CC+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 if test -n "$CC"; then
12903 ac_cv_prog_CC
="$CC" # Let the user override the test.
12905 ac_prog_rejected
=no
12906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12907 for as_dir
in $PATH
12910 test -z "$as_dir" && as_dir
=.
12911 for ac_exec_ext
in '' $ac_executable_extensions; do
12912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12914 ac_prog_rejected
=yes
12918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12925 if test $ac_prog_rejected = yes; then
12926 # We found a bogon in the path, so make sure we never use it.
12927 set dummy
$ac_cv_prog_CC
12929 if test $# != 0; then
12930 # We chose a different compiler from the bogus one.
12931 # However, it has the same basename, so the bogon will be chosen
12932 # first if we set CC to just the basename; use the full file name.
12934 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12940 if test -n "$CC"; then
12941 { echo "$as_me:$LINENO: result: $CC" >&5
12942 echo "${ECHO_T}$CC" >&6; }
12944 { echo "$as_me:$LINENO: result: no" >&5
12945 echo "${ECHO_T}no" >&6; }
12950 if test -z "$CC"; then
12951 if test -n "$ac_tool_prefix"; then
12952 for ac_prog
in cl.exe
12954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12955 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12958 if test "${ac_cv_prog_CC+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 if test -n "$CC"; then
12962 ac_cv_prog_CC
="$CC" # Let the user override the test.
12964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12965 for as_dir
in $PATH
12968 test -z "$as_dir" && as_dir
=.
12969 for ac_exec_ext
in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12982 if test -n "$CC"; then
12983 { echo "$as_me:$LINENO: result: $CC" >&5
12984 echo "${ECHO_T}$CC" >&6; }
12986 { echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6; }
12991 test -n "$CC" && break
12994 if test -z "$CC"; then
12996 for ac_prog
in cl.exe
12998 # Extract the first word of "$ac_prog", so it can be a program name with args.
12999 set dummy
$ac_prog; ac_word
=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 if test -n "$ac_ct_CC"; then
13006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13009 for as_dir
in $PATH
13012 test -z "$as_dir" && as_dir
=.
13013 for ac_exec_ext
in '' $ac_executable_extensions; do
13014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13015 ac_cv_prog_ac_ct_CC
="$ac_prog"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13025 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13026 if test -n "$ac_ct_CC"; then
13027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13028 echo "${ECHO_T}$ac_ct_CC" >&6; }
13030 { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13035 test -n "$ac_ct_CC" && break
13038 if test "x$ac_ct_CC" = x
; then
13041 case $cross_compiling:$ac_tool_warned in
13043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&5
13046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13047 whose name does not start with the host triplet. If you think this
13048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13049 ac_tool_warned
=yes ;;
13058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13059 See \`config.log' for more details." >&5
13060 echo "$as_me: error: no acceptable C compiler found in \$PATH
13061 See \`config.log' for more details." >&2;}
13062 { (exit 1); exit 1; }; }
13064 # Provide some information about the compiler.
13065 echo "$as_me:$LINENO: checking for C compiler version" >&5
13066 ac_compiler
=`set X $ac_compile; echo $2`
13067 { (ac_try
="$ac_compiler --version >&5"
13068 case "(($ac_try" in
13069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_compiler --version >&5") 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }
13077 { (ac_try="$ac_compiler -v >&5"
13078 case "(($ac_try" in
13079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13080 *) ac_try_echo
=$ac_try;;
13082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_compiler -v >&5") 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }
13087 { (ac_try
="$ac_compiler -V >&5"
13088 case "(($ac_try" in
13089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_compiler -V >&5") 2>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }
13098 cat >conftest.$ac_ext <<_ACEOF
13101 cat confdefs.h >>conftest.$ac_ext
13102 cat >>conftest.$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13113 ac_clean_files_save=$ac_clean_files
13114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13115 # Try to create an executable without -o first, disregard a.out.
13116 # It will help us diagnose broken compilers, and finding out an intuition
13118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13122 # List of possible output files, starting from the most likely.
13123 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13124 # only as a last resort. b.out is created by i960 compilers.
13125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13127 # The IRIX 6 linker writes into existing files which may not be
13128 # executable, retaining their permissions. Remove them first so a
13129 # subsequent execution test works.
13131 for ac_file in $ac_files
13134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13140 if { (ac_try="$ac_link_default"
13141 case "(($ac_try" in
13142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link_default") 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; then
13150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13153 # so that the user can short-circuit this test for compilers unknown to
13155 for ac_file
in $ac_files ''
13157 test -f "$ac_file" || continue
13159 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13162 # We found the default executable, but exeext='' is most
13166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13168 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13170 # We set ac_cv_exeext here because the later test for it is not
13171 # safe: cross compilers may not add the suffix if given an `-o'
13172 # argument, so we may need to know it at that point already.
13173 # Even if this section looks crufty: it has the advantage of
13174 # actually working.
13180 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13186 { echo "$as_me:$LINENO: result: $ac_file" >&5
13187 echo "${ECHO_T}$ac_file" >&6; }
13188 if test -z "$ac_file"; then
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.
$ac_ext >&5
13192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13193 See \`config.log' for more details." >&5
13194 echo "$as_me: error: C compiler cannot create executables
13195 See \`config.log' for more details." >&2;}
13196 { (exit 77); exit 77; }; }
13199 ac_exeext
=$ac_cv_exeext
13201 # Check that the compiler produces executables we can run. If not, either
13202 # the compiler is broken, or we cross compile.
13203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13206 # If not cross compiling, check that we can run a simple program.
13207 if test "$cross_compiling" != yes; then
13208 if { ac_try
='./$ac_file'
13209 { (case "(($ac_try" in
13210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13211 *) ac_try_echo=$ac_try;;
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214 (eval "$ac_try") 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13220 if test "$cross_compiling" = maybe; then
13221 cross_compiling=yes
13223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13224 If you meant to cross compile, use \`--host'.
13225 See \`config.log' for more details.
" >&5
13226 echo "$as_me: error
: cannot run C compiled programs.
13227 If you meant to cross compile
, use \
`--host'.
13228 See \`config.log
' for more details." >&2;}
13229 { (exit 1); exit 1; }; }
13233 { echo "$as_me:$LINENO: result: yes" >&5
13234 echo "${ECHO_T}yes" >&6; }
13236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13237 ac_clean_files=$ac_clean_files_save
13238 # Check that the compiler produces executables we can run. If not, either
13239 # the compiler is broken, or we cross compile.
13240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13243 echo "${ECHO_T}$cross_compiling" >&6; }
13245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13247 if { (ac_try="$ac_link"
13248 case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_link") 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; then
13257 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13258 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13259 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13261 for ac_file
in conftest.exe conftest conftest.
*; do
13262 test -f "$ac_file" || continue
13264 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13265 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13272 See \`config.log' for more details." >&5
13273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13274 See \`config.log' for more details." >&2;}
13275 { (exit 1); exit 1; }; }
13278 rm -f conftest
$ac_cv_exeext
13279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13282 rm -f conftest.
$ac_ext
13283 EXEEXT
=$ac_cv_exeext
13285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13287 if test "${ac_cv_objext+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 cat >conftest.
$ac_ext <<_ACEOF
13293 cat confdefs.h
>>conftest.
$ac_ext
13294 cat >>conftest.
$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13305 rm -f conftest.o conftest.obj
13306 if { (ac_try
="$ac_compile"
13307 case "(($ac_try" in
13308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_compile") 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; then
13316 for ac_file in conftest.o conftest.obj conftest.*; do
13317 test -f "$ac_file" || continue;
13319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13329 See \`config.log
' for more details." >&5
13330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13331 See \`config.log' for more details.
" >&2;}
13332 { (exit 1); exit 1; }; }
13335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13337 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13338 echo "${ECHO_T}$ac_cv_objext" >&6; }
13339 OBJEXT=$ac_cv_objext
13341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13342 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13344 echo $ECHO_N "(cached
) $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13364 rm -f conftest.$ac_objext
13365 if { (ac_try="$ac_compile"
13366 case "(($ac_try" in
13367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13368 *) ac_try_echo=$ac_try;;
13370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13371 (eval "$ac_compile") 2>conftest.er1
13373 grep -v '^ *+' conftest.er1 >conftest.err
13375 cat conftest.err >&5
13376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13377 (exit $ac_status); } && {
13378 test -z "$ac_c_werror_flag" ||
13379 test ! -s conftest.err
13380 } && test -s conftest.$ac_objext; then
13381 ac_compiler_gnu=yes
13383 echo "$as_me: failed program was
:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13393 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13395 GCC=`test $ac_compiler_gnu = yes && echo yes`
13396 ac_test_CFLAGS=${CFLAGS+set}
13397 ac_save_CFLAGS=$CFLAGS
13398 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13399 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13400 if test "${ac_cv_prog_cc_g+set}" = set; then
13401 echo $ECHO_N "(cached
) $ECHO_C" >&6
13403 ac_save_c_werror_flag=$ac_c_werror_flag
13404 ac_c_werror_flag=yes
13407 cat >conftest.$ac_ext <<_ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13422 rm -f conftest.$ac_objext
13423 if { (ac_try="$ac_compile"
13424 case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_compile") 2>conftest.er1
13431 grep -v '^ *+' conftest.er1 >conftest.err
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13435 (exit $ac_status); } && {
13436 test -z "$ac_c_werror_flag" ||
13437 test ! -s conftest.err
13438 } && test -s conftest.$ac_objext; then
13439 ac_cv_prog_cc_g=yes
13441 echo "$as_me: failed program was
:" >&5
13442 sed 's/^/| /' conftest.$ac_ext >&5
13445 cat >conftest.$ac_ext <<_ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13460 rm -f conftest.$ac_objext
13461 if { (ac_try="$ac_compile"
13462 case "(($ac_try" in
13463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13467 (eval "$ac_compile") 2>conftest.er1
13469 grep -v '^ *+' conftest.er1 >conftest.err
13471 cat conftest.err >&5
13472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13473 (exit $ac_status); } && {
13474 test -z "$ac_c_werror_flag" ||
13475 test ! -s conftest.err
13476 } && test -s conftest.$ac_objext; then
13479 echo "$as_me: failed program was
:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_c_werror_flag=$ac_save_c_werror_flag
13484 cat >conftest.$ac_ext <<_ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13508 grep -v '^ *+' conftest.er1 >conftest.err
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest.$ac_objext; then
13516 ac_cv_prog_cc_g=yes
13518 echo "$as_me: failed program was
:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13531 ac_c_werror_flag=$ac_save_c_werror_flag
13533 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13535 if test "$ac_test_CFLAGS" = set; then
13536 CFLAGS=$ac_save_CFLAGS
13537 elif test $ac_cv_prog_cc_g = yes; then
13538 if test "$GCC" = yes; then
13544 if test "$GCC" = yes; then
13550 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13551 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13552 if test "${ac_cv_prog_cc_c89+set}" = set; then
13553 echo $ECHO_N "(cached
) $ECHO_C" >&6
13555 ac_cv_prog_cc_c89=no
13557 cat >conftest.$ac_ext <<_ACEOF
13560 cat confdefs.h >>conftest.$ac_ext
13561 cat >>conftest.$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #include <stdarg.h>
13565 #include <sys/types.h>
13566 #include <sys/stat.h>
13567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13568 struct buf { int x; };
13569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13570 static char *e (p, i)
13576 static char *f (char * (*g) (char **, int), char **p, ...)
13581 s = g (p, va_arg (v,int));
13586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13587 function prototypes and stuff, but not '\xHH' hex character constants.
13588 These don't provoke an error unfortunately, instead are silently treated
13589 as 'x'. The following induces an error, until -std is added to get
13590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13591 array size at least. It's necessary to write '\x00'==0 to get something
13592 that's true only with -std. */
13593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13596 inside strings and character constants. */
13598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13600 int test (int i, double x);
13601 struct s1 {int (*f) (int a);};
13602 struct s2 {int (*f) (double a);};
13603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13617 CC="$ac_save_CC $ac_arg"
13618 rm -f conftest.$ac_objext
13619 if { (ac_try="$ac_compile"
13620 case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_compile") 2>conftest.er1
13627 grep -v '^ *+' conftest.er1 >conftest.err
13629 cat conftest.err >&5
13630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13631 (exit $ac_status); } && {
13632 test -z "$ac_c_werror_flag" ||
13633 test ! -s conftest.err
13634 } && test -s conftest.$ac_objext; then
13635 ac_cv_prog_cc_c89=$ac_arg
13637 echo "$as_me: failed program was
:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13643 rm -f core conftest.err conftest.$ac_objext
13644 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13646 rm -f conftest.$ac_ext
13651 case "x
$ac_cv_prog_cc_c89" in
13653 { echo "$as_me:$LINENO: result
: none needed
" >&5
13654 echo "${ECHO_T}none needed
" >&6; } ;;
13656 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13657 echo "${ECHO_T}unsupported
" >&6; } ;;
13659 CC="$CC $ac_cv_prog_cc_c89"
13660 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13679 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13680 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13681 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13682 echo $ECHO_N "(cached
) $ECHO_C" >&6
13684 cat >conftest.$ac_ext <<_ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13695 #ifndef __INTEL_COMPILER
13703 rm -f conftest.$ac_objext
13704 if { (ac_try="$ac_compile"
13705 case "(($ac_try" in
13706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13707 *) ac_try_echo=$ac_try;;
13709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13710 (eval "$ac_compile") 2>conftest.er1
13712 grep -v '^ *+' conftest.er1 >conftest.err
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13716 (exit $ac_status); } && {
13717 test -z "$ac_c_werror_flag" ||
13718 test ! -s conftest.err
13719 } && test -s conftest.$ac_objext; then
13720 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13722 echo "$as_me: failed program was
:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13725 bakefile_cv_c_compiler___INTEL_COMPILER=no
13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13733 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13734 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13736 ac_cpp='$CPP $CPPFLAGS'
13737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13741 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13748 if test "x
$GCC" != "xyes
"; then
13749 if test "xCC
" = "xC
"; then
13750 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13751 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13752 if test "${bakefile_cv_c_exto+set}" = set; then
13753 echo $ECHO_N "(cached
) $ECHO_C" >&6
13755 cat >conftest.$ac_ext <<_ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13770 rm -f conftest.$ac_objext conftest.$ac_ext.o
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>&5
13774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13775 (exit $ac_status); }; then
13776 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13778 conftest.$ac_ext.o)
13779 bakefile_cv_c_exto="-ext o
"
13786 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13787 See \
`config.log' for more details." >&5
13788 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13789 See \`config.log
' for more details." >&2;}
13790 { (exit 1); exit 1; }; }
13794 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13797 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13798 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13800 if test "c" = "c"; then
13801 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13803 if test "c" = "cxx"; then
13804 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13809 unset ac_cv_prog_cc_g
13810 ac_test_CFLAGS=${CFLAGS+set}
13811 ac_save_CFLAGS=$CFLAGS
13812 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13813 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13814 if test "${ac_cv_prog_cc_g+set}" = set; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 ac_save_c_werror_flag=$ac_c_werror_flag
13818 ac_c_werror_flag=yes
13821 cat >conftest.$ac_ext <<_ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13836 rm -f conftest.$ac_objext
13837 if { (ac_try="$ac_compile"
13838 case "(($ac_try" in
13839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 *) ac_try_echo=$ac_try;;
13842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 (eval "$ac_compile") 2>conftest.er1
13845 grep -v '^
*+' conftest.er1 >conftest.err
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && {
13850 test -z "$ac_c_werror_flag" ||
13851 test ! -s conftest.err
13852 } && test -s conftest.$ac_objext; then
13853 ac_cv_prog_cc_g=yes
13855 echo "$as_me: failed program was:" >&5
13856 sed 's
/^
/| /' conftest.$ac_ext >&5
13859 cat >conftest.$ac_ext <<_ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13874 rm -f conftest.$ac_objext
13875 if { (ac_try="$ac_compile"
13876 case "(($ac_try" in
13877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13878 *) ac_try_echo=$ac_try;;
13880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13881 (eval "$ac_compile") 2>conftest.er1
13883 grep -v '^
*+' conftest.er1 >conftest.err
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } && {
13888 test -z "$ac_c_werror_flag" ||
13889 test ! -s conftest.err
13890 } && test -s conftest.$ac_objext; then
13893 echo "$as_me: failed program was:" >&5
13894 sed 's
/^
/| /' conftest.$ac_ext >&5
13896 ac_c_werror_flag=$ac_save_c_werror_flag
13898 cat >conftest.$ac_ext <<_ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13913 rm -f conftest.$ac_objext
13914 if { (ac_try="$ac_compile"
13915 case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_compile") 2>conftest.er1
13922 grep -v '^
*+' conftest.er1 >conftest.err
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } && {
13927 test -z "$ac_c_werror_flag" ||
13928 test ! -s conftest.err
13929 } && test -s conftest.$ac_objext; then
13930 ac_cv_prog_cc_g=yes
13932 echo "$as_me: failed program was:" >&5
13933 sed 's
/^
/| /' conftest.$ac_ext >&5
13938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 ac_c_werror_flag=$ac_save_c_werror_flag
13947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13948 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13949 if test "$ac_test_CFLAGS" = set; then
13950 CFLAGS=$ac_save_CFLAGS
13951 elif test $ac_cv_prog_cc_g = yes; then
13952 if test "$GCC" = yes; then
13958 if test "$GCC" = yes; then
13970 ac_cpp='$CPP $CPPFLAGS'
13971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13972 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13975 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13976 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13977 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 cat >conftest.$ac_ext <<_ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13998 rm -f conftest.$ac_objext
13999 if { (ac_try="$ac_compile"
14000 case "(($ac_try" in
14001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14002 *) ac_try_echo=$ac_try;;
14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14005 (eval "$ac_compile") 2>conftest.er1
14007 grep -v '^
*+' conftest.er1 >conftest.err
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && {
14012 test -z "$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14014 } && test -s conftest.$ac_objext; then
14015 bakefile_compiler_xlc=yes
14017 echo "$as_me: failed program was:" >&5
14018 sed 's
/^
/| /' conftest.$ac_ext >&5
14020 bakefile_compiler_xlc=no
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14024 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14027 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14028 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14030 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14034 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14042 ac_cpp='$CPP $CPPFLAGS'
14043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14044 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14047 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14048 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14049 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 cat >conftest.$ac_ext <<_ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14070 rm -f conftest.$ac_objext
14071 if { (ac_try="$ac_compile"
14072 case "(($ac_try" in
14073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14074 *) ac_try_echo=$ac_try;;
14076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14077 (eval "$ac_compile") 2>conftest.er1
14079 grep -v '^
*+' conftest.er1 >conftest.err
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } && {
14084 test -z "$ac_c_werror_flag" ||
14085 test ! -s conftest.err
14086 } && test -s conftest.$ac_objext; then
14087 bakefile_compiler_mwerks=yes
14089 echo "$as_me: failed program was:" >&5
14090 sed 's
/^
/| /' conftest.$ac_ext >&5
14092 bakefile_compiler_mwerks=no
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14096 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14099 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14100 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14102 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14104 ac_cpp='$CPP $CPPFLAGS'
14105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14106 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14113 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14116 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14117 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14118 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 cat >conftest.$ac_ext <<_ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14139 rm -f conftest.$ac_objext
14140 if { (ac_try="$ac_compile"
14141 case "(($ac_try" in
14142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_compile") 2>conftest.er1
14148 grep -v '^
*+' conftest.er1 >conftest.err
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest.$ac_objext; then
14156 bakefile_compiler_xlc=yes
14158 echo "$as_me: failed program was:" >&5
14159 sed 's
/^
/| /' conftest.$ac_ext >&5
14161 bakefile_compiler_xlc=no
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14165 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14168 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14169 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14171 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14173 ac_cpp='$CPP $CPPFLAGS'
14174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14175 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14185 ac_cpp='$CPP $CPPFLAGS'
14186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14187 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14190 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14191 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14192 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 cat >conftest.$ac_ext <<_ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14206 #ifndef _SGI_COMPILER_VERSION
14214 rm -f conftest.$ac_objext
14215 if { (ac_try="$ac_compile"
14216 case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_compile") 2>conftest.er1
14223 grep -v '^
*+' conftest.er1 >conftest.err
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } && {
14228 test -z "$ac_c_werror_flag" ||
14229 test ! -s conftest.err
14230 } && test -s conftest.$ac_objext; then
14231 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14233 echo "$as_me: failed program was:" >&5
14234 sed 's
/^
/| /' conftest.$ac_ext >&5
14236 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14245 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14247 ac_cpp='$CPP $CPPFLAGS'
14248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14249 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14252 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14265 ac_cpp='$CPP $CPPFLAGS'
14266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14267 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14270 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14271 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14272 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 cat >conftest.$ac_ext <<_ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14303 grep -v '^
*+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 bakefile_cv_c_compiler___HP_cc=yes
14313 echo "$as_me: failed program was:" >&5
14314 sed 's
/^
/| /' conftest.$ac_ext >&5
14316 bakefile_cv_c_compiler___HP_cc=no
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14324 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14325 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14327 ac_cpp='$CPP $CPPFLAGS'
14328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14329 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14332 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14347 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14351 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14352 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 cat >conftest.$ac_ext <<_ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14383 grep -v '^
*+' conftest.er1 >conftest.err
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 bakefile_cv_c_compiler___DECC=yes
14393 echo "$as_me: failed program was:" >&5
14394 sed 's
/^
/| /' conftest.$ac_ext >&5
14396 bakefile_cv_c_compiler___DECC=no
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14405 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14409 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14427 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14430 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14431 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14432 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 cat >conftest.$ac_ext <<_ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14454 rm -f conftest.$ac_objext
14455 if { (ac_try="$ac_compile"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_compile") 2>conftest.er1
14463 grep -v '^
*+' conftest.er1 >conftest.err
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
14471 bakefile_cv_c_compiler___SUNPRO_C=yes
14473 echo "$as_me: failed program was:" >&5
14474 sed 's
/^
/| /' conftest.$ac_ext >&5
14476 bakefile_cv_c_compiler___SUNPRO_C=no
14480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14485 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14487 ac_cpp='$CPP $CPPFLAGS'
14488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14489 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14492 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14506 ac_cpp='$CPP $CPPFLAGS'
14507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14508 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14510 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14511 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14512 # On Suns, sometimes $CPP names a directory.
14513 if test -n "$CPP" && test -d "$CPP"; then
14516 if test -z "$CPP"; then
14517 if test "${ac_cv_prog_CPP+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 # Double quotes because CPP needs to be expanded
14521 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14523 ac_preproc_ok=false
14524 for ac_c_preproc_warn_flag in '' yes
14526 # Use a header file that comes with gcc, so configuring glibc
14527 # with a fresh cross-compiler works.
14528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14529 # <limits.h> exists even on freestanding compilers.
14530 # On the NeXT, cc -E runs the code through the compiler's parser
,
14531 # not just through cpp. "Syntax error" is here to catch this case.
14532 cat >conftest.
$ac_ext <<_ACEOF
14535 cat confdefs.h
>>conftest.
$ac_ext
14536 cat >>conftest.
$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14539 # include <limits.h>
14541 # include <assert.h>
14545 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14546 case "(($ac_try" in
14547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14553 grep -v '^ *+' conftest.er1 >conftest.err
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } >/dev/null && {
14558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 # Broken: fails on valid input.
14570 rm -f conftest.err conftest.$ac_ext
14572 # OK, works on sane cases. Now check whether nonexistent headers
14573 # can be detected and how.
14574 cat >conftest.$ac_ext <<_ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #include <ac_nonexistent.h>
14582 if { (ac_try="$ac_cpp conftest.$ac_ext"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14585 *) ac_try_echo
=$ac_try;;
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14590 grep -v '^ *+' conftest.er1
>conftest.err
14592 cat conftest.err
>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } >/dev
/null
&& {
14595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14598 # Broken: success on invalid input.
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.
$ac_ext >&5
14604 # Passes both tests.
14609 rm -f conftest.err conftest.
$ac_ext
14612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14613 rm -f conftest.err conftest.
$ac_ext
14614 if $ac_preproc_ok; then
14619 ac_cv_prog_CPP
=$CPP
14622 CPP
=$ac_cv_prog_CPP
14624 ac_cv_prog_CPP
=$CPP
14626 { echo "$as_me:$LINENO: result: $CPP" >&5
14627 echo "${ECHO_T}$CPP" >&6; }
14628 ac_preproc_ok
=false
14629 for ac_c_preproc_warn_flag
in '' yes
14631 # Use a header file that comes with gcc, so configuring glibc
14632 # with a fresh cross-compiler works.
14633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14634 # <limits.h> exists even on freestanding compilers.
14635 # On the NeXT, cc -E runs the code through the compiler's parser,
14636 # not just through cpp. "Syntax error" is here to catch this case.
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14644 # include <limits.h>
14646 # include <assert.h>
14650 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14651 case "(($ac_try" in
14652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14658 grep -v '^ *+' conftest.er1 >conftest.err
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev/null && {
14663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14664 test ! -s conftest.err
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14671 # Broken: fails on valid input.
14675 rm -f conftest.err conftest.$ac_ext
14677 # OK, works on sane cases. Now check whether nonexistent headers
14678 # can be detected and how.
14679 cat >conftest.$ac_ext <<_ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 #include <ac_nonexistent.h>
14687 if { (ac_try="$ac_cpp conftest.$ac_ext"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14690 *) ac_try_echo
=$ac_try;;
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14695 grep -v '^ *+' conftest.er1
>conftest.err
14697 cat conftest.err
>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } >/dev
/null
&& {
14700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14703 # Broken: success on invalid input.
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 # Passes both tests.
14714 rm -f conftest.err conftest.
$ac_ext
14717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14718 rm -f conftest.err conftest.
$ac_ext
14719 if $ac_preproc_ok; then
14722 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14723 See \`config.log' for more details." >&5
14724 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14725 See \`config.log' for more details." >&2;}
14726 { (exit 1); exit 1; }; }
14730 ac_cpp
='$CPP $CPPFLAGS'
14731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14736 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14737 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14738 if test "${ac_cv_path_GREP+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 # Extract the first word of "grep ggrep" to use in msg output
14742 if test -z "$GREP"; then
14743 set dummy
grep ggrep
; ac_prog_name
=$2
14744 if test "${ac_cv_path_GREP+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 ac_path_GREP_found
=false
14748 # Loop through the user's path and test for each of PROGNAME-LIST
14749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14750 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14753 test -z "$as_dir" && as_dir
=.
14754 for ac_prog
in grep ggrep
; do
14755 for ac_exec_ext
in '' $ac_executable_extensions; do
14756 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14757 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14758 # Check for GNU ac_path_GREP and select it if it is found.
14759 # Check for GNU $ac_path_GREP
14760 case `"$ac_path_GREP" --version 2>&1` in
14762 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14768 cat "conftest.in" "conftest.in" >"conftest.tmp"
14769 mv "conftest.tmp" "conftest.in"
14770 cp "conftest.in" "conftest.nl"
14771 echo 'GREP' >> "conftest.nl"
14772 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14773 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14774 ac_count
=`expr $ac_count + 1`
14775 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14776 # Best one so far, save it but keep looking for a better one
14777 ac_cv_path_GREP
="$ac_path_GREP"
14778 ac_path_GREP_max
=$ac_count
14780 # 10*(2^10) chars as input seems more than enough
14781 test $ac_count -gt 10 && break
14783 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14787 $ac_path_GREP_found && break 3
14797 GREP
="$ac_cv_path_GREP"
14798 if test -z "$GREP"; then
14799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14800 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14801 { (exit 1); exit 1; }; }
14805 ac_cv_path_GREP
=$GREP
14810 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14811 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14812 GREP
="$ac_cv_path_GREP"
14815 { echo "$as_me:$LINENO: checking for egrep" >&5
14816 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14817 if test "${ac_cv_path_EGREP+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14821 then ac_cv_path_EGREP
="$GREP -E"
14823 # Extract the first word of "egrep" to use in msg output
14824 if test -z "$EGREP"; then
14825 set dummy
egrep; ac_prog_name
=$2
14826 if test "${ac_cv_path_EGREP+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 ac_path_EGREP_found
=false
14830 # Loop through the user's path and test for each of PROGNAME-LIST
14831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14832 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14835 test -z "$as_dir" && as_dir
=.
14836 for ac_prog
in egrep; do
14837 for ac_exec_ext
in '' $ac_executable_extensions; do
14838 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14840 # Check for GNU ac_path_EGREP and select it if it is found.
14841 # Check for GNU $ac_path_EGREP
14842 case `"$ac_path_EGREP" --version 2>&1` in
14844 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14847 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14850 cat "conftest.in" "conftest.in" >"conftest.tmp"
14851 mv "conftest.tmp" "conftest.in"
14852 cp "conftest.in" "conftest.nl"
14853 echo 'EGREP' >> "conftest.nl"
14854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14855 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14856 ac_count
=`expr $ac_count + 1`
14857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14858 # Best one so far, save it but keep looking for a better one
14859 ac_cv_path_EGREP
="$ac_path_EGREP"
14860 ac_path_EGREP_max
=$ac_count
14862 # 10*(2^10) chars as input seems more than enough
14863 test $ac_count -gt 10 && break
14865 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14869 $ac_path_EGREP_found && break 3
14879 EGREP
="$ac_cv_path_EGREP"
14880 if test -z "$EGREP"; then
14881 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14882 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14883 { (exit 1); exit 1; }; }
14887 ac_cv_path_EGREP
=$EGREP
14893 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14894 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14895 EGREP
="$ac_cv_path_EGREP"
14898 if test $ac_cv_c_compiler_gnu = yes; then
14899 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14900 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14901 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 ac_pattern
="Autoconf.*'x'"
14905 cat >conftest.
$ac_ext <<_ACEOF
14908 cat confdefs.h
>>conftest.
$ac_ext
14909 cat >>conftest.
$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14915 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14916 ac_cv_prog_gcc_traditional
=yes
14918 ac_cv_prog_gcc_traditional
=no
14923 if test $ac_cv_prog_gcc_traditional = no
; then
14924 cat >conftest.
$ac_ext <<_ACEOF
14927 cat confdefs.h
>>conftest.
$ac_ext
14928 cat >>conftest.
$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 #include <termio.h>
14933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14934 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14935 ac_cv_prog_gcc_traditional
=yes
14941 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14942 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14943 if test $ac_cv_prog_gcc_traditional = yes; then
14944 CC
="$CC -traditional"
14949 CXXFLAGS
=${CXXFLAGS:=}
14954 ac_cpp
='$CXXCPP $CPPFLAGS'
14955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14958 if test -z "$CXX"; then
14959 if test -n "$CCC"; then
14962 if test -n "$ac_tool_prefix"; then
14963 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14966 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14969 if test "${ac_cv_prog_CXX+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 if test -n "$CXX"; then
14973 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14976 for as_dir
in $PATH
14979 test -z "$as_dir" && as_dir
=.
14980 for ac_exec_ext
in '' $ac_executable_extensions; do
14981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14982 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14992 CXX
=$ac_cv_prog_CXX
14993 if test -n "$CXX"; then
14994 { echo "$as_me:$LINENO: result: $CXX" >&5
14995 echo "${ECHO_T}$CXX" >&6; }
14997 { echo "$as_me:$LINENO: result: no" >&5
14998 echo "${ECHO_T}no" >&6; }
15002 test -n "$CXX" && break
15005 if test -z "$CXX"; then
15007 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15009 # Extract the first word of "$ac_prog", so it can be a program name with args.
15010 set dummy
$ac_prog; ac_word
=$2
15011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15013 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 if test -n "$ac_ct_CXX"; then
15017 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15020 for as_dir
in $PATH
15023 test -z "$as_dir" && as_dir
=.
15024 for ac_exec_ext
in '' $ac_executable_extensions; do
15025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15026 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15036 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15037 if test -n "$ac_ct_CXX"; then
15038 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15039 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15041 { echo "$as_me:$LINENO: result: no" >&5
15042 echo "${ECHO_T}no" >&6; }
15046 test -n "$ac_ct_CXX" && break
15049 if test "x$ac_ct_CXX" = x
; then
15052 case $cross_compiling:$ac_tool_warned in
15054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15055 whose name does not start with the host triplet. If you think this
15056 configuration is useful to you, please write to autoconf@gnu.org." >&5
15057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15058 whose name does not start with the host triplet. If you think this
15059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15060 ac_tool_warned
=yes ;;
15068 # Provide some information about the compiler.
15069 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15070 ac_compiler
=`set X $ac_compile; echo $2`
15071 { (ac_try
="$ac_compiler --version >&5"
15072 case "(($ac_try" in
15073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_compiler --version >&5") 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }
15081 { (ac_try="$ac_compiler -v >&5"
15082 case "(($ac_try" in
15083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15084 *) ac_try_echo
=$ac_try;;
15086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15087 (eval "$ac_compiler -v >&5") 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }
15091 { (ac_try
="$ac_compiler -V >&5"
15092 case "(($ac_try" in
15093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15094 *) ac_try_echo=$ac_try;;
15096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15097 (eval "$ac_compiler -V >&5") 2>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }
15102 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15103 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15104 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 cat >conftest.$ac_ext <<_ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15125 rm -f conftest.$ac_objext
15126 if { (ac_try="$ac_compile"
15127 case "(($ac_try" in
15128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15129 *) ac_try_echo
=$ac_try;;
15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15132 (eval "$ac_compile") 2>conftest.er1
15134 grep -v '^ *+' conftest.er1
>conftest.err
15136 cat conftest.err
>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } && {
15139 test -z "$ac_cxx_werror_flag" ||
15140 test ! -s conftest.err
15141 } && test -s conftest.
$ac_objext; then
15142 ac_compiler_gnu
=yes
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.
$ac_ext >&5
15150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15151 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15154 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15155 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15156 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15157 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15158 ac_save_CXXFLAGS
=$CXXFLAGS
15159 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15160 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15161 if test "${ac_cv_prog_cxx_g+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15165 ac_cxx_werror_flag
=yes
15166 ac_cv_prog_cxx_g
=no
15168 cat >conftest.
$ac_ext <<_ACEOF
15171 cat confdefs.h
>>conftest.
$ac_ext
15172 cat >>conftest.
$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15183 rm -f conftest.
$ac_objext
15184 if { (ac_try
="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15192 grep -v '^ *+' conftest.er1 >conftest.err
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_cxx_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 ac_cv_prog_cxx_g=yes
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15206 cat >conftest.$ac_ext <<_ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15221 rm -f conftest.$ac_objext
15222 if { (ac_try="$ac_compile"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15225 *) ac_try_echo
=$ac_try;;
15227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_compile") 2>conftest.er1
15230 grep -v '^ *+' conftest.er1
>conftest.err
15232 cat conftest.err
>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_cxx_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest.
$ac_objext; then
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.
$ac_ext >&5
15243 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15245 cat >conftest.
$ac_ext <<_ACEOF
15248 cat confdefs.h
>>conftest.
$ac_ext
15249 cat >>conftest.
$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15260 rm -f conftest.
$ac_objext
15261 if { (ac_try
="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15269 grep -v '^ *+' conftest.er1 >conftest.err
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_cxx_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 ac_cv_prog_cxx_g=yes
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15294 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15295 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15296 if test "$ac_test_CXXFLAGS" = set; then
15297 CXXFLAGS=$ac_save_CXXFLAGS
15298 elif test $ac_cv_prog_cxx_g = yes; then
15299 if test "$GXX" = yes; then
15305 if test "$GXX" = yes; then
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15320 ac_cpp='$CXXCPP $CPPFLAGS'
15321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15325 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15326 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15327 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 cat >conftest.$ac_ext <<_ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15341 #ifndef __INTEL_COMPILER
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15353 *) ac_try_echo
=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15358 grep -v '^ *+' conftest.er1
>conftest.err
15360 cat conftest.err
>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_cxx_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.
$ac_objext; then
15366 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.
$ac_ext >&5
15371 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15379 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15382 ac_cpp
='$CPP $CPPFLAGS'
15383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15387 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15394 if test "x$GCXX" != "xyes"; then
15395 if test "xCXX" = "xC"; then
15396 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15397 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15398 if test "${bakefile_cv_c_exto+set}" = set; then
15399 echo $ECHO_N "(cached) $ECHO_C" >&6
15401 cat >conftest.
$ac_ext <<_ACEOF
15404 cat confdefs.h
>>conftest.
$ac_ext
15405 cat >>conftest.
$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15416 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; then
15422 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15424 conftest.
$ac_ext.o
)
15425 bakefile_cv_c_exto
="-ext o"
15432 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15440 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15444 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15446 if test "c" = "c"; then
15447 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15449 if test "c" = "cxx"; then
15450 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15455 unset ac_cv_prog_cc_g
15456 ac_test_CFLAGS
=${CFLAGS+set}
15457 ac_save_CFLAGS
=$CFLAGS
15458 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15459 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15460 if test "${ac_cv_prog_cc_g+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 ac_save_c_werror_flag
=$ac_c_werror_flag
15464 ac_c_werror_flag
=yes
15467 cat >conftest.
$ac_ext <<_ACEOF
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15482 rm -f conftest.
$ac_objext
15483 if { (ac_try
="$ac_compile"
15484 case "(($ac_try" in
15485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_compile") 2>conftest.er1
15491 grep -v '^ *+' conftest.er1 >conftest.err
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } && {
15496 test -z "$ac_c_werror_flag" ||
15497 test ! -s conftest.err
15498 } && test -s conftest.$ac_objext; then
15499 ac_cv_prog_cc_g=yes
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15505 cat >conftest.$ac_ext <<_ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15520 rm -f conftest.$ac_objext
15521 if { (ac_try="$ac_compile"
15522 case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15524 *) ac_try_echo
=$ac_try;;
15526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15527 (eval "$ac_compile") 2>conftest.er1
15529 grep -v '^ *+' conftest.er1
>conftest.err
15531 cat conftest.err
>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err
15536 } && test -s conftest.
$ac_objext; then
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ac_c_werror_flag
=$ac_save_c_werror_flag
15544 cat >conftest.
$ac_ext <<_ACEOF
15547 cat confdefs.h
>>conftest.
$ac_ext
15548 cat >>conftest.
$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15559 rm -f conftest.
$ac_objext
15560 if { (ac_try
="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15568 grep -v '^ *+' conftest.er1 >conftest.err
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 ac_cv_prog_cc_g=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 ac_c_werror_flag=$ac_save_c_werror_flag
15593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15594 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15595 if test "$ac_test_CFLAGS" = set; then
15596 CFLAGS=$ac_save_CFLAGS
15597 elif test $ac_cv_prog_cc_g = yes; then
15598 if test "$GCC" = yes; then
15604 if test "$GCC" = yes; then
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15621 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15622 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15623 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 cat >conftest.$ac_ext <<_ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15644 rm -f conftest.$ac_objext
15645 if { (ac_try="$ac_compile"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15648 *) ac_try_echo
=$ac_try;;
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_compile") 2>conftest.er1
15653 grep -v '^ *+' conftest.er1
>conftest.err
15655 cat conftest.err
>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_cxx_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest.
$ac_objext; then
15661 bakefile_compiler_xlc
=yes
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 bakefile_compiler_xlc
=no
15669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15673 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15674 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15676 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15678 ac_cpp
='$CPP $CPPFLAGS'
15679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15688 ac_cpp
='$CXXCPP $CPPFLAGS'
15689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15693 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15694 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15695 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15716 rm -f conftest.
$ac_objext
15717 if { (ac_try
="$ac_compile"
15718 case "(($ac_try" in
15719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_compile") 2>conftest.er1
15725 grep -v '^ *+' conftest.er1 >conftest.err
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && {
15730 test -z "$ac_cxx_werror_flag" ||
15731 test ! -s conftest.err
15732 } && test -s conftest.$ac_objext; then
15733 bakefile_compiler_mwerks=yes
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15738 bakefile_compiler_mwerks=no
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15746 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15748 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15757 ac_cpp='$CXXCPP $CPPFLAGS'
15758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15762 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15763 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15764 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 cat >conftest.$ac_ext <<_ACEOF
15770 cat confdefs.h >>conftest.$ac_ext
15771 cat >>conftest.$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15785 rm -f conftest.$ac_objext
15786 if { (ac_try="$ac_compile"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15789 *) ac_try_echo
=$ac_try;;
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_compile") 2>conftest.er1
15794 grep -v '^ *+' conftest.er1
>conftest.err
15796 cat conftest.err
>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_cxx_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest.
$ac_objext; then
15802 bakefile_compiler_xlc
=yes
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.
$ac_ext >&5
15807 bakefile_compiler_xlc
=no
15810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15811 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15814 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15817 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15819 ac_cpp
='$CPP $CPPFLAGS'
15820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15831 ac_cpp
='$CXXCPP $CPPFLAGS'
15832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15836 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15852 #ifndef _SGI_COMPILER_VERSION
15860 rm -f conftest.
$ac_objext
15861 if { (ac_try
="$ac_compile"
15862 case "(($ac_try" in
15863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15864 *) ac_try_echo=$ac_try;;
15866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15867 (eval "$ac_compile") 2>conftest.er1
15869 grep -v '^ *+' conftest.er1 >conftest.err
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } && {
15874 test -z "$ac_cxx_werror_flag" ||
15875 test ! -s conftest.err
15876 } && test -s conftest.$ac_objext; then
15877 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15890 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15891 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15893 ac_cpp='$CPP $CPPFLAGS'
15894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15898 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15916 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15917 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15918 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 cat >conftest.$ac_ext <<_ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15940 rm -f conftest.$ac_objext
15941 if { (ac_try="$ac_compile"
15942 case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15944 *) ac_try_echo
=$ac_try;;
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_compile") 2>conftest.er1
15949 grep -v '^ *+' conftest.er1
>conftest.err
15951 cat conftest.err
>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } && {
15954 test -z "$ac_cxx_werror_flag" ||
15955 test ! -s conftest.err
15956 } && test -s conftest.
$ac_objext; then
15957 bakefile_cv_cxx_compiler___HP_aCC
=yes
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.
$ac_ext >&5
15962 bakefile_cv_cxx_compiler___HP_aCC
=no
15966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15973 ac_cpp
='$CPP $CPPFLAGS'
15974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15978 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15991 ac_cpp
='$CXXCPP $CPPFLAGS'
15992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15996 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15997 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15998 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 cat >conftest.
$ac_ext <<_ACEOF
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16020 rm -f conftest.
$ac_objext
16021 if { (ac_try
="$ac_compile"
16022 case "(($ac_try" in
16023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_compile") 2>conftest.er1
16029 grep -v '^ *+' conftest.er1 >conftest.err
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } && {
16034 test -z "$ac_cxx_werror_flag" ||
16035 test ! -s conftest.err
16036 } && test -s conftest.$ac_objext; then
16037 bakefile_cv_cxx_compiler___DECCXX=yes
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16042 bakefile_cv_cxx_compiler___DECCXX=no
16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16051 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16053 ac_cpp='$CPP $CPPFLAGS'
16054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16058 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16071 ac_cpp='$CXXCPP $CPPFLAGS'
16072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16076 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16077 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16078 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16079 echo $ECHO_N "(cached) $ECHO_C" >&6
16081 cat >conftest.$ac_ext <<_ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16092 #ifndef __SUNPRO_CC
16100 rm -f conftest.$ac_objext
16101 if { (ac_try="$ac_compile"
16102 case "(($ac_try" in
16103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16104 *) ac_try_echo
=$ac_try;;
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_compile") 2>conftest.er1
16109 grep -v '^ *+' conftest.er1
>conftest.err
16111 cat conftest.err
>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } && {
16114 test -z "$ac_cxx_werror_flag" ||
16115 test ! -s conftest.err
16116 } && test -s conftest.
$ac_objext; then
16117 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.
$ac_ext >&5
16122 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16130 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16131 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16133 ac_cpp
='$CPP $CPPFLAGS'
16134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16138 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16151 if test -n "$ac_tool_prefix"; then
16152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16153 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16156 if test "${ac_cv_prog_RANLIB+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 if test -n "$RANLIB"; then
16160 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16163 for as_dir
in $PATH
16166 test -z "$as_dir" && as_dir
=.
16167 for ac_exec_ext
in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 RANLIB
=$ac_cv_prog_RANLIB
16180 if test -n "$RANLIB"; then
16181 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16182 echo "${ECHO_T}$RANLIB" >&6; }
16184 { echo "$as_me:$LINENO: result: no" >&5
16185 echo "${ECHO_T}no" >&6; }
16190 if test -z "$ac_cv_prog_RANLIB"; then
16191 ac_ct_RANLIB
=$RANLIB
16192 # Extract the first word of "ranlib", so it can be a program name with args.
16193 set dummy ranlib
; ac_word
=$2
16194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 if test -n "$ac_ct_RANLIB"; then
16200 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16203 for as_dir
in $PATH
16206 test -z "$as_dir" && as_dir
=.
16207 for ac_exec_ext
in '' $ac_executable_extensions; do
16208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16209 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16219 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16220 if test -n "$ac_ct_RANLIB"; then
16221 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16222 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16224 { echo "$as_me:$LINENO: result: no" >&5
16225 echo "${ECHO_T}no" >&6; }
16228 if test "x$ac_ct_RANLIB" = x
; then
16231 case $cross_compiling:$ac_tool_warned in
16233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16234 whose name does not start with the host triplet. If you think this
16235 configuration is useful to you, please write to autoconf@gnu.org." >&5
16236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16237 whose name does not start with the host triplet. If you think this
16238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16239 ac_tool_warned
=yes ;;
16241 RANLIB
=$ac_ct_RANLIB
16244 RANLIB
="$ac_cv_prog_RANLIB"
16248 if test "x$SUNCXX" != xyes
; then
16249 if test -n "$ac_tool_prefix"; then
16250 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16251 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16254 if test "${ac_cv_prog_AR+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 if test -n "$AR"; then
16258 ac_cv_prog_AR
="$AR" # Let the user override the test.
16260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16261 for as_dir
in $PATH
16264 test -z "$as_dir" && as_dir
=.
16265 for ac_exec_ext
in '' $ac_executable_extensions; do
16266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16267 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16278 if test -n "$AR"; then
16279 { echo "$as_me:$LINENO: result: $AR" >&5
16280 echo "${ECHO_T}$AR" >&6; }
16282 { echo "$as_me:$LINENO: result: no" >&5
16283 echo "${ECHO_T}no" >&6; }
16288 if test -z "$ac_cv_prog_AR"; then
16290 # Extract the first word of "ar", so it can be a program name with args.
16291 set dummy
ar; ac_word
=$2
16292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 if test -n "$ac_ct_AR"; then
16298 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16301 for as_dir
in $PATH
16304 test -z "$as_dir" && as_dir
=.
16305 for ac_exec_ext
in '' $ac_executable_extensions; do
16306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16307 ac_cv_prog_ac_ct_AR
="ar"
16308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16317 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16318 if test -n "$ac_ct_AR"; then
16319 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16320 echo "${ECHO_T}$ac_ct_AR" >&6; }
16322 { echo "$as_me:$LINENO: result: no" >&5
16323 echo "${ECHO_T}no" >&6; }
16326 if test "x$ac_ct_AR" = x
; then
16329 case $cross_compiling:$ac_tool_warned in
16331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16332 whose name does not start with the host triplet. If you think this
16333 configuration is useful to you, please write to autoconf@gnu.org." >&5
16334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16335 whose name does not start with the host triplet. If you think this
16336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16337 ac_tool_warned
=yes ;;
16342 AR
="$ac_cv_prog_AR"
16345 if test "x$AR" = "x" ; then
16346 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16347 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16348 { (exit 1); exit 1; }; }
16352 # Find a good install program. We prefer a C program (faster),
16353 # so one script is as good as another. But avoid the broken or
16354 # incompatible versions:
16355 # SysV /etc/install, /usr/sbin/install
16356 # SunOS /usr/etc/install
16357 # IRIX /sbin/install
16359 # AmigaOS /C/install, which installs bootblocks on floppy discs
16360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16363 # OS/2's system install, which has a completely different semantic
16364 # ./install, which can be erroneously created by make from ./install.sh.
16365 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16366 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16367 if test -z "$INSTALL"; then
16368 if test "${ac_cv_path_install+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16372 for as_dir
in $PATH
16375 test -z "$as_dir" && as_dir
=.
16376 # Account for people who put trailing slashes in PATH elements.
16378 .
/ | .
// | /cC
/* | \
16379 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16380 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16383 # OSF1 and SCO ODT 3.0 have their own names for install.
16384 # Don't use installbsd from OSF since it installs stuff as root
16386 for ac_prog
in ginstall scoinst
install; do
16387 for ac_exec_ext
in '' $ac_executable_extensions; do
16388 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16389 if test $ac_prog = install &&
16390 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16391 # AIX install. It has an incompatible calling convention.
16393 elif test $ac_prog = install &&
16394 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16395 # program-specific install script used by HP pwplus--don't use.
16398 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16411 if test "${ac_cv_path_install+set}" = set; then
16412 INSTALL
=$ac_cv_path_install
16414 # As a last resort, use the slow shell script. Don't cache a
16415 # value for INSTALL within a source directory, because that will
16416 # break other packages using the cache if that directory is
16417 # removed, or if the value is a relative name.
16418 INSTALL
=$ac_install_sh
16421 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16422 echo "${ECHO_T}$INSTALL" >&6; }
16424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16425 # It thinks the first close brace ends the variable substitution.
16426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16430 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16436 ?
:* ) # Drive letter, considered as absolute.
16439 INSTALL
=`pwd`/${INSTALL} ;;
16446 INSTALL_PROGRAM
="cp -fp"
16447 INSTALL_DATA
="cp -fp"
16453 if test -n "$ac_tool_prefix"; then
16454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16455 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16458 if test "${ac_cv_prog_STRIP+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 if test -n "$STRIP"; then
16462 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16465 for as_dir
in $PATH
16468 test -z "$as_dir" && as_dir
=.
16469 for ac_exec_ext
in '' $ac_executable_extensions; do
16470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16471 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16481 STRIP
=$ac_cv_prog_STRIP
16482 if test -n "$STRIP"; then
16483 { echo "$as_me:$LINENO: result: $STRIP" >&5
16484 echo "${ECHO_T}$STRIP" >&6; }
16486 { echo "$as_me:$LINENO: result: no" >&5
16487 echo "${ECHO_T}no" >&6; }
16492 if test -z "$ac_cv_prog_STRIP"; then
16494 # Extract the first word of "strip", so it can be a program name with args.
16495 set dummy strip
; ac_word
=$2
16496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 if test -n "$ac_ct_STRIP"; then
16502 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16505 for as_dir
in $PATH
16508 test -z "$as_dir" && as_dir
=.
16509 for ac_exec_ext
in '' $ac_executable_extensions; do
16510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16511 ac_cv_prog_ac_ct_STRIP
="strip"
16512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16521 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16522 if test -n "$ac_ct_STRIP"; then
16523 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16524 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16526 { echo "$as_me:$LINENO: result: no" >&5
16527 echo "${ECHO_T}no" >&6; }
16530 if test "x$ac_ct_STRIP" = x
; then
16533 case $cross_compiling:$ac_tool_warned in
16535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16536 whose name does not start with the host triplet. If you think this
16537 configuration is useful to you, please write to autoconf@gnu.org." >&5
16538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16539 whose name does not start with the host triplet. If you think this
16540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16541 ac_tool_warned
=yes ;;
16546 STRIP
="$ac_cv_prog_STRIP"
16550 if test "$wxUSE_WINE" = "yes"; then
16551 if test -n "$ac_tool_prefix"; then
16552 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16553 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16556 if test "${ac_cv_prog_WINDRES+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 if test -n "$WINDRES"; then
16560 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16563 for as_dir
in $PATH
16566 test -z "$as_dir" && as_dir
=.
16567 for ac_exec_ext
in '' $ac_executable_extensions; do
16568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16569 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16579 WINDRES
=$ac_cv_prog_WINDRES
16580 if test -n "$WINDRES"; then
16581 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16582 echo "${ECHO_T}$WINDRES" >&6; }
16584 { echo "$as_me:$LINENO: result: no" >&5
16585 echo "${ECHO_T}no" >&6; }
16590 if test -z "$ac_cv_prog_WINDRES"; then
16591 ac_ct_WINDRES
=$WINDRES
16592 # Extract the first word of "wrc", so it can be a program name with args.
16593 set dummy wrc
; ac_word
=$2
16594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 if test -n "$ac_ct_WINDRES"; then
16600 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16603 for as_dir
in $PATH
16606 test -z "$as_dir" && as_dir
=.
16607 for ac_exec_ext
in '' $ac_executable_extensions; do
16608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16609 ac_cv_prog_ac_ct_WINDRES
="wrc"
16610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16619 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16620 if test -n "$ac_ct_WINDRES"; then
16621 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16622 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16624 { echo "$as_me:$LINENO: result: no" >&5
16625 echo "${ECHO_T}no" >&6; }
16628 if test "x$ac_ct_WINDRES" = x
; then
16631 case $cross_compiling:$ac_tool_warned in
16633 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16634 whose name does not start with the host triplet. If you think this
16635 configuration is useful to you, please write to autoconf@gnu.org." >&5
16636 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16639 ac_tool_warned
=yes ;;
16641 WINDRES
=$ac_ct_WINDRES
16644 WINDRES
="$ac_cv_prog_WINDRES"
16650 *-*-cygwin* | *-*-mingw32* )
16651 if test -n "$ac_tool_prefix"; then
16652 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16653 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16656 if test "${ac_cv_prog_WINDRES+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 if test -n "$WINDRES"; then
16660 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16663 for as_dir
in $PATH
16666 test -z "$as_dir" && as_dir
=.
16667 for ac_exec_ext
in '' $ac_executable_extensions; do
16668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16669 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16679 WINDRES
=$ac_cv_prog_WINDRES
16680 if test -n "$WINDRES"; then
16681 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16682 echo "${ECHO_T}$WINDRES" >&6; }
16684 { echo "$as_me:$LINENO: result: no" >&5
16685 echo "${ECHO_T}no" >&6; }
16690 if test -z "$ac_cv_prog_WINDRES"; then
16691 ac_ct_WINDRES
=$WINDRES
16692 # Extract the first word of "windres", so it can be a program name with args.
16693 set dummy windres
; ac_word
=$2
16694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16696 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 if test -n "$ac_ct_WINDRES"; then
16700 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16703 for as_dir
in $PATH
16706 test -z "$as_dir" && as_dir
=.
16707 for ac_exec_ext
in '' $ac_executable_extensions; do
16708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16709 ac_cv_prog_ac_ct_WINDRES
="windres"
16710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16719 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16720 if test -n "$ac_ct_WINDRES"; then
16721 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16722 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16724 { echo "$as_me:$LINENO: result: no" >&5
16725 echo "${ECHO_T}no" >&6; }
16728 if test "x$ac_ct_WINDRES" = x
; then
16731 case $cross_compiling:$ac_tool_warned in
16733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&5
16736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16737 whose name does not start with the host triplet. If you think this
16738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16739 ac_tool_warned
=yes ;;
16741 WINDRES
=$ac_ct_WINDRES
16744 WINDRES
="$ac_cv_prog_WINDRES"
16748 if test -n "$ac_tool_prefix"; then
16749 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16750 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16753 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 if test -n "$DLLTOOL"; then
16757 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16760 for as_dir
in $PATH
16763 test -z "$as_dir" && as_dir
=.
16764 for ac_exec_ext
in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16776 DLLTOOL
=$ac_cv_prog_DLLTOOL
16777 if test -n "$DLLTOOL"; then
16778 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16779 echo "${ECHO_T}$DLLTOOL" >&6; }
16781 { echo "$as_me:$LINENO: result: no" >&5
16782 echo "${ECHO_T}no" >&6; }
16787 if test -z "$ac_cv_prog_DLLTOOL"; then
16788 ac_ct_DLLTOOL
=$DLLTOOL
16789 # Extract the first word of "dlltool", so it can be a program name with args.
16790 set dummy dlltool
; ac_word
=$2
16791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16793 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 if test -n "$ac_ct_DLLTOOL"; then
16797 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16800 for as_dir
in $PATH
16803 test -z "$as_dir" && as_dir
=.
16804 for ac_exec_ext
in '' $ac_executable_extensions; do
16805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16806 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16817 if test -n "$ac_ct_DLLTOOL"; then
16818 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16819 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16821 { echo "$as_me:$LINENO: result: no" >&5
16822 echo "${ECHO_T}no" >&6; }
16825 if test "x$ac_ct_DLLTOOL" = x
; then
16828 case $cross_compiling:$ac_tool_warned in
16830 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16831 whose name does not start with the host triplet. If you think this
16832 configuration is useful to you, please write to autoconf@gnu.org." >&5
16833 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16834 whose name does not start with the host triplet. If you think this
16835 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16836 ac_tool_warned
=yes ;;
16838 DLLTOOL
=$ac_ct_DLLTOOL
16841 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16848 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16849 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16850 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16855 $EGREP -s GNU
> /dev
/null
); then
16856 wx_cv_prog_makeisgnu
="yes"
16858 wx_cv_prog_makeisgnu
="no"
16862 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16863 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16865 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16873 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16874 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16875 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16876 if test "${wx_cv_prog_makevpath+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat - << EOF > confMake
16886 if test ! -d sub
; then
16889 echo dummy
> sub
/file
16890 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16892 rm -f sub
/file check final_file confMake
16894 if test "$RESULT" = 0; then
16895 wx_cv_prog_makevpath
="yes"
16897 wx_cv_prog_makevpath
="no"
16901 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16902 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16904 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16905 { { echo "$as_me:$LINENO: error:
16906 You need a make-utility that is able to use the variable
16908 If your version of make does not support VPATH correctly,
16909 please install GNU-make (possibly as gmake), and start
16910 configure with the following command:
16911 export MAKE=gmake; ./configure for sh-type shells
16912 setenv MAKE gmake; ./configure for csh-type shells
16913 Also please do remember to use gmake in this case every time
16914 you are trying to compile.
16916 echo "$as_me: error:
16917 You need a make-utility that is able to use the variable
16919 If your version of make does not support VPATH correctly,
16920 please install GNU-make (possibly as gmake), and start
16921 configure with the following command:
16922 export MAKE=gmake; ./configure for sh-type shells
16923 setenv MAKE gmake; ./configure for csh-type shells
16924 Also please do remember to use gmake in this case every time
16925 you are trying to compile.
16927 { (exit 1); exit 1; }; }
16929 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16930 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16932 if test "$LN_S" = "ln -s"; then
16933 { echo "$as_me:$LINENO: result: yes" >&5
16934 echo "${ECHO_T}yes" >&6; }
16936 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16937 echo "${ECHO_T}no, using $LN_S" >&6; }
16943 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16944 CXXFLAGS
="-qunique $CXXFLAGS"
16948 powerpc
-*-darwin* )
16949 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16950 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16951 cat >conftest.
$ac_ext <<_ACEOF
16954 cat confdefs.h
>>conftest.
$ac_ext
16955 cat >>conftest.
$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16961 #ifndef __POWERPC__
16962 choke me for lack of PowerPC
16969 rm -f conftest.
$ac_objext
16970 if { (ac_try
="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16978 grep -v '^ *+' conftest.er1 >conftest.err
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 { echo "$as_me:$LINENO: result: yes" >&5
16987 echo "${ECHO_T}yes" >&6; }
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 { echo "$as_me:$LINENO: result: no" >&5
16993 echo "${ECHO_T}no" >&6; }
16994 cat >>confdefs.h <<\_ACEOF
16995 #define __POWERPC__ 1
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17008 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17009 cat >conftest.$ac_ext <<_ACEOF
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 #include <CoreFoundation/CFBase.h>
17025 rm -f conftest.$ac_objext
17026 if { (ac_try="$ac_compile"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17029 *) ac_try_echo
=$ac_try;;
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_compile") 2>conftest.er1
17034 grep -v '^ *+' conftest.er1
>conftest.err
17036 cat conftest.err
>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } && {
17039 test -z "$ac_c_werror_flag" ||
17040 test ! -s conftest.err
17041 } && test -s conftest.
$ac_objext; then
17042 { echo "$as_me:$LINENO: result: yes" >&5
17043 echo "${ECHO_T}yes" >&6; }
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.
$ac_ext >&5
17048 { echo "$as_me:$LINENO: result: no" >&5
17049 echo "${ECHO_T}no" >&6; }
17050 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17051 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17052 cat >conftest.
$ac_ext <<_ACEOF
17055 cat confdefs.h
>>conftest.
$ac_ext
17056 cat >>conftest.
$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 #define __CF_USE_FRAMEWORK_INCLUDES__
17059 #include <CoreFoundation/CFBase.h>
17069 rm -f conftest.
$ac_objext
17070 if { (ac_try
="$ac_compile"
17071 case "(($ac_try" in
17072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17073 *) ac_try_echo=$ac_try;;
17075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17076 (eval "$ac_compile") 2>conftest.er1
17078 grep -v '^ *+' conftest.er1 >conftest.err
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } && {
17083 test -z "$ac_c_werror_flag" ||
17084 test ! -s conftest.err
17085 } && test -s conftest.$ac_objext; then
17086 { echo "$as_me:$LINENO: result: yes" >&5
17087 echo "${ECHO_T}yes" >&6; }
17088 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17093 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17094 See \`config.log
' for more details." >&5
17095 echo "$as_me: error: no. CoreFoundation not available.
17096 See \`config.log' for more details.
" >&2;}
17097 { (exit 1); exit 1; }; }
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 doesnt_want_win32=0
17114 if test "$wxUSE_MSW" = 1 ; then
17117 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17118 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17119 if test "${wx_cv_nocygwin+set}" = set; then
17120 echo $ECHO_N "(cached
) $ECHO_C" >&6
17123 cat >conftest.$ac_ext <<_ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17151 grep -v '^ *+' conftest.er1 >conftest.err
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17161 echo "$as_me: failed program was
:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17173 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17175 if test "$wx_cv_nocygwin" = "yes"; then
17178 doesnt_want_win32=1
17181 if test "$wants_win32" = 1 ; then
17182 BAKEFILE_FORCE_PLATFORM=win32
17190 if test "$wxUSE_WINE" = "yes"; then
17192 LDFLAGS_GUI="-mwindows"
17195 if test "$wants_win32" = 1 ; then
17198 cat >>confdefs.h <<\_ACEOF
17199 #define __WIN32__ 1
17202 cat >>confdefs.h <<\_ACEOF
17203 #define __WIN95__ 1
17206 cat >>confdefs.h <<\_ACEOF
17207 #define __WINDOWS__ 1
17210 cat >>confdefs.h <<\_ACEOF
17211 #define __GNUWIN32__ 1
17214 cat >>confdefs.h <<\_ACEOF
17219 if test "$doesnt_want_win32" = 1 ; then
17224 if test "$USE_UNIX" = 1 ; then
17226 cat >>confdefs.h <<\_ACEOF
17233 *-pc-os2_emx | *-pc-os2-emx )
17234 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17235 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17236 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17237 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17238 echo $ECHO_N "(cached
) $ECHO_C" >&6
17240 ac_check_lib_save_LIBS=$LIBS
17241 LIBS="-lcExt $LIBS"
17242 cat >conftest.$ac_ext <<_ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17249 /* Override any GCC internal prototype to avoid an error.
17250 Use char because int might match the return type of a GCC
17251 builtin and then its argument prototype would still apply. */
17264 rm -f conftest.$ac_objext conftest$ac_exeext
17265 if { (ac_try="$ac_link"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_link") 2>conftest.er1
17273 grep -v '^ *+' conftest.er1 >conftest.err
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_c_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest$ac_exeext &&
17281 $as_test_x conftest$ac_exeext; then
17282 ac_cv_lib_cExt_drand48=yes
17284 echo "$as_me: failed program was
:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17287 ac_cv_lib_cExt_drand48=no
17290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17294 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17295 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17296 if test $ac_cv_lib_cExt_drand48 = yes; then
17297 LIBS="$LIBS -lcExt"
17301 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17303 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17304 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17305 if test "${wx_cv_gccversion+set}" = set; then
17306 echo $ECHO_N "(cached
) $ECHO_C" >&6
17309 if test "$cross_compiling" = yes; then
17310 wx_cv_gccversion="EMX2
"
17313 cat >conftest.$ac_ext <<_ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17324 FILE *f=fopen("conftestval
", "w
");
17329 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17331 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17341 rm -f conftest$ac_exeext
17342 if { (ac_try="$ac_link"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_link") 2>&5
17350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17352 { (case "(($ac_try" in
17353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17354 *) ac_try_echo=$ac_try;;
17356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17357 (eval "$ac_try") 2>&5
17359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17360 (exit $ac_status); }; }; then
17361 wx_cv_gccversion=`cat conftestval`
17363 echo "$as_me: program exited with status
$ac_status" >&5
17364 echo "$as_me: failed program was
:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 ( exit $ac_status )
17368 wx_cv_gccversion="EMX2
"
17370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17376 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17377 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17378 if test "$wx_cv_gccversion" = "EMX2
"; then
17379 LIBS="$LIBS -lstdcpp"
17380 LDFLAGS="$LDFLAGS -Zsysv-signals"
17382 if test "$wx_cv_gccversion" = "EMX3
"; then
17383 LIBS="$LIBS -lstdcxx -lgcc"
17384 LDFLAGS="$LDFLAGS -Zsysv-signals"
17386 LIBS="$LIBS -lstdc++"
17389 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17390 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17391 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17398 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17399 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17400 if test "${ac_cv_string_strcasecmp+set}" = set; then
17401 echo $ECHO_N "(cached
) $ECHO_C" >&6
17404 cat >conftest.$ac_ext <<_ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17411 #include <string.h>
17417 strcasecmp("foo
", "bar
");
17423 rm -f conftest.$ac_objext conftest$ac_exeext
17424 if { (ac_try="$ac_link"
17425 case "(($ac_try" in
17426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17427 *) ac_try_echo=$ac_try;;
17429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17430 (eval "$ac_link") 2>conftest.er1
17432 grep -v '^ *+' conftest.er1 >conftest.err
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17436 (exit $ac_status); } && {
17437 test -z "$ac_c_werror_flag" ||
17438 test ! -s conftest.err
17439 } && test -s conftest$ac_exeext &&
17440 $as_test_x conftest$ac_exeext; then
17441 ac_cv_string_strcasecmp=yes
17443 echo "$as_me: failed program was
:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17446 ac_cv_string_strcasecmp=no
17450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17451 conftest$ac_exeext conftest.$ac_ext
17454 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17455 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17457 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17458 cat >>confdefs.h <<\_ACEOF
17459 #define HAVE_STRCASECMP_IN_STRING_H 1
17463 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17464 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17465 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17466 echo $ECHO_N "(cached
) $ECHO_C" >&6
17469 cat >conftest.$ac_ext <<_ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17476 #include <strings.h>
17482 strcasecmp("foo
", "bar
");
17488 rm -f conftest.$ac_objext conftest$ac_exeext
17489 if { (ac_try="$ac_link"
17490 case "(($ac_try" in
17491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_link") 2>conftest.er1
17497 grep -v '^ *+' conftest.er1 >conftest.err
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest$ac_exeext &&
17505 $as_test_x conftest$ac_exeext; then
17506 ac_cv_strings_strcasecmp=yes
17508 echo "$as_me: failed program was
:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17511 ac_cv_strings_strcasecmp=no
17515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17516 conftest$ac_exeext conftest.$ac_ext
17519 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17520 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17522 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17523 cat >>confdefs.h <<\_ACEOF
17524 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17528 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17529 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17530 { (exit 1); exit 1; }; }
17538 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17539 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17540 if test "${ac_cv_header_stdc+set}" = set; then
17541 echo $ECHO_N "(cached
) $ECHO_C" >&6
17543 cat >conftest.$ac_ext <<_ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 #include <stdlib.h>
17550 #include <stdarg.h>
17551 #include <string.h>
17562 rm -f conftest.$ac_objext
17563 if { (ac_try="$ac_compile"
17564 case "(($ac_try" in
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 *) ac_try_echo=$ac_try;;
17568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17569 (eval "$ac_compile") 2>conftest.er1
17571 grep -v '^ *+' conftest.er1 >conftest.err
17573 cat conftest.err >&5
17574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17575 (exit $ac_status); } && {
17576 test -z "$ac_c_werror_flag" ||
17577 test ! -s conftest.err
17578 } && test -s conftest.$ac_objext; then
17579 ac_cv_header_stdc=yes
17581 echo "$as_me: failed program was
:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17584 ac_cv_header_stdc=no
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 if test $ac_cv_header_stdc = yes; then
17590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17591 cat >conftest.$ac_ext <<_ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <string.h>
17600 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17601 $EGREP "memchr
" >/dev/null 2>&1; then
17604 ac_cv_header_stdc=no
17610 if test $ac_cv_header_stdc = yes; then
17611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17612 cat >conftest.$ac_ext <<_ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #include <stdlib.h>
17621 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17622 $EGREP "free
" >/dev/null 2>&1; then
17625 ac_cv_header_stdc=no
17631 if test $ac_cv_header_stdc = yes; then
17632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17633 if test "$cross_compiling" = yes; then
17636 cat >conftest.$ac_ext <<_ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17643 #include <stdlib.h>
17644 #if ((' ' & 0x0FF) == 0x020)
17645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17648 # define ISLOWER(c) \
17649 (('a' <= (c) && (c) <= 'i') \
17650 || ('j' <= (c) && (c) <= 'r') \
17651 || ('s' <= (c) && (c) <= 'z'))
17652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17660 for (i = 0; i < 256; i++)
17661 if (XOR (islower (i), ISLOWER (i))
17662 || toupper (i) != TOUPPER (i))
17667 rm -f conftest$ac_exeext
17668 if { (ac_try="$ac_link"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_link") 2>&5
17676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17678 { (case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680 *) ac_try_echo=$ac_try;;
17682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_try") 2>&5
17685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17686 (exit $ac_status); }; }; then
17689 echo "$as_me: program exited with status
$ac_status" >&5
17690 echo "$as_me: failed program was
:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17693 ( exit $ac_status )
17694 ac_cv_header_stdc=no
17696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17702 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17703 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17704 if test $ac_cv_header_stdc = yes; then
17706 cat >>confdefs.h <<\_ACEOF
17707 #define STDC_HEADERS 1
17712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17723 inttypes.h stdint.h unistd.h
17725 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17726 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17727 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17728 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17729 echo $ECHO_N "(cached
) $ECHO_C" >&6
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17739 #include <$ac_header>
17741 rm -f conftest.$ac_objext
17742 if { (ac_try="$ac_compile"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compile") 2>conftest.er1
17750 grep -v '^ *+' conftest.er1 >conftest.err
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest.$ac_objext; then
17758 eval "$as_ac_Header=yes"
17760 echo "$as_me: failed program was
:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 eval "$as_ac_Header=no
"
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 ac_res=`eval echo '${'$as_ac_Header'}'`
17769 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17770 echo "${ECHO_T}$ac_res" >&6; }
17771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17787 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17789 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17790 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17791 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17792 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17793 echo $ECHO_N "(cached
) $ECHO_C" >&6
17795 cat >conftest.$ac_ext <<_ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17803 #include <$ac_header>
17805 rm -f conftest.$ac_objext
17806 if { (ac_try="$ac_compile"
17807 case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_compile") 2>conftest.er1
17814 grep -v '^ *+' conftest.er1 >conftest.err
17816 cat conftest.err >&5
17817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17818 (exit $ac_status); } && {
17819 test -z "$ac_c_werror_flag" ||
17820 test ! -s conftest.err
17821 } && test -s conftest.$ac_objext; then
17822 eval "$as_ac_Header=yes"
17824 echo "$as_me: failed program was
:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17827 eval "$as_ac_Header=no
"
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 ac_res=`eval echo '${'$as_ac_Header'}'`
17833 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17834 echo "${ECHO_T}$ac_res" >&6; }
17835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17836 cat >>confdefs.h <<_ACEOF
17837 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17845 if test "$ac_cv_header_wchar_h" != "yes"; then
17846 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
17847 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
17848 if test "${ac_cv_header_wcstr_h+set}" = set; then
17849 echo $ECHO_N "(cached
) $ECHO_C" >&6
17851 cat >conftest.$ac_ext <<_ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 $ac_includes_default
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17867 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17870 grep -v '^ *+' conftest.er1 >conftest.err
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_c_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_header_wcstr_h=yes
17880 echo "$as_me: failed program was
:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 ac_cv_header_wcstr_h=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17888 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
17889 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17895 *-pc-os2_emx | *-pc-os2-emx )
17896 if test $ac_cv_header_langinfo_h = "yes" \
17897 -a \( "$wx_cv_gccversion" = "EMX2
" \
17898 -o "$wx_cv_gccversion" = "EMX3
" \
17899 -o "$wx_cv_gccversion" = "Innotek5
" \); then
17900 LIBS="$LIBS -lintl"
17905 if test "$USE_UNIX" = 1 ; then
17906 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
17907 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
17908 if test "${ac_cv_header_sys_select_h+set}" = set; then
17909 echo $ECHO_N "(cached
) $ECHO_C" >&6
17911 cat >conftest.$ac_ext <<_ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 $ac_includes_default
17919 #include <sys/select.h>
17921 rm -f conftest.$ac_objext
17922 if { (ac_try="$ac_compile"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_compile") 2>conftest.er1
17930 grep -v '^ *+' conftest.er1 >conftest.err
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17934 (exit $ac_status); } && {
17935 test -z "$ac_c_werror_flag" ||
17936 test ! -s conftest.err
17937 } && test -s conftest.$ac_objext; then
17938 ac_cv_header_sys_select_h=yes
17940 echo "$as_me: failed program was
:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17943 ac_cv_header_sys_select_h=no
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17948 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
17949 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17955 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
17956 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
17957 if test "${ac_cv_c_const+set}" = set; then
17958 echo $ECHO_N "(cached
) $ECHO_C" >&6
17960 cat >conftest.$ac_ext <<_ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17970 /* FIXME: Include the comments suggested by Paul. */
17971 #ifndef __cplusplus
17972 /* Ultrix mips cc rejects this. */
17973 typedef int charset[2];
17975 /* SunOS 4.1.1 cc rejects this. */
17976 char const *const *pcpcc;
17978 /* NEC SVR4.0.2 mips cc rejects this. */
17979 struct point {int x, y;};
17980 static struct point const zero = {0,0};
17981 /* AIX XL C 1.02.0.0 rejects this.
17982 It does not let you subtract one const X* pointer from another in
17983 an arm of an if-expression whose if-part is not a constant
17985 const char *g = "string
";
17986 pcpcc = &g + (g ? g-g : 0);
17987 /* HPUX 7.0 cc rejects these. */
17989 ppc = (char**) pcpcc;
17990 pcpcc = (char const *const *) ppc;
17991 { /* SCO 3.2v4 cc rejects this. */
17993 char const *s = 0 ? (char *) 0 : (char const *) 0;
17998 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17999 int x[] = {25, 17};
18000 const int *foo = &x[0];
18003 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18004 typedef const int *iptr;
18008 { /* AIX XL C 1.02.0.0 rejects this saying
18009 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18010 struct s { int j; const int *ap[3]; };
18011 struct s *b; b->j = 5;
18013 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18014 const int foo = 10;
18015 if (!foo) return 0;
18017 return !cs[0] && !zero.x;
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18033 grep -v '^ *+' conftest.er1 >conftest.err
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_c_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18043 echo "$as_me: failed program was
:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18052 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18053 if test $ac_cv_c_const = no; then
18055 cat >>confdefs.h <<\_ACEOF
18061 { echo "$as_me:$LINENO: checking
for inline
" >&5
18062 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18063 if test "${ac_cv_c_inline+set}" = set; then
18064 echo $ECHO_N "(cached
) $ECHO_C" >&6
18067 for ac_kw in inline __inline__ __inline; do
18068 cat >conftest.$ac_ext <<_ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 #ifndef __cplusplus
18076 static $ac_kw foo_t static_foo () {return 0; }
18077 $ac_kw foo_t foo () {return 0; }
18081 rm -f conftest.$ac_objext
18082 if { (ac_try="$ac_compile"
18083 case "(($ac_try" in
18084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_compile") 2>conftest.er1
18090 grep -v '^ *+' conftest.er1 >conftest.err
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_c_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest.$ac_objext; then
18098 ac_cv_c_inline=$ac_kw
18100 echo "$as_me: failed program was
:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 test "$ac_cv_c_inline" != no && break
18111 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18112 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18115 case $ac_cv_c_inline in
18118 case $ac_cv_c_inline in
18120 *) ac_val=$ac_cv_c_inline;;
18122 cat >>confdefs.h <<_ACEOF
18123 #ifndef __cplusplus
18124 #define inline $ac_val
18131 { echo "$as_me:$LINENO: checking
for short
" >&5
18132 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18133 if test "${ac_cv_type_short+set}" = set; then
18134 echo $ECHO_N "(cached
) $ECHO_C" >&6
18136 cat >conftest.$ac_ext <<_ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 $ac_includes_default
18143 typedef short ac__type_new_;
18147 if ((ac__type_new_ *) 0)
18149 if (sizeof (ac__type_new_))
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18164 grep -v '^ *+' conftest.er1 >conftest.err
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_type_short=yes
18174 echo "$as_me: failed program was
:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ac_cv_type_short=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18183 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18185 # The cast to long int works around a bug in the HP C Compiler
18186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18188 # This bug is HP SR number 8606223364.
18189 { echo "$as_me:$LINENO: checking size of short
" >&5
18190 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18191 if test "${ac_cv_sizeof_short+set}" = set; then
18192 echo $ECHO_N "(cached
) $ECHO_C" >&6
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 typedef short ac__type_sizeof_;
18207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18223 grep -v '^ *+' conftest.er1 >conftest.err
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_c_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.$ac_objext; then
18233 cat >conftest.$ac_ext <<_ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18240 typedef short ac__type_sizeof_;
18244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18257 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18260 grep -v '^ *+' conftest.er1 >conftest.err
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_hi=$ac_mid; break
18270 echo "$as_me: failed program was
:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 ac_lo=`expr $ac_mid + 1`
18274 if test $ac_lo -le $ac_mid; then
18278 ac_mid=`expr 2 '*' $ac_mid + 1`
18281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 echo "$as_me: failed program was
:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18287 cat >conftest.$ac_ext <<_ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef short ac__type_sizeof_;
18298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18324 cat >conftest.$ac_ext <<_ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 $ac_includes_default
18331 typedef short ac__type_sizeof_;
18335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18342 rm -f conftest.$ac_objext
18343 if { (ac_try="$ac_compile"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_compile") 2>conftest.er1
18351 grep -v '^ *+' conftest.er1 >conftest.err
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18355 (exit $ac_status); } && {
18356 test -z "$ac_c_werror_flag" ||
18357 test ! -s conftest.err
18358 } && test -s conftest.$ac_objext; then
18359 ac_lo=$ac_mid; break
18361 echo "$as_me: failed program was
:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 ac_hi=`expr '(' $ac_mid ')' - 1`
18365 if test $ac_mid -le $ac_hi; then
18369 ac_mid=`expr 2 '*' $ac_mid`
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 echo "$as_me: failed program was
:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 # Binary search between lo and hi bounds.
18386 while test "x
$ac_lo" != "x
$ac_hi"; do
18387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18388 cat >conftest.$ac_ext <<_ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 $ac_includes_default
18395 typedef short ac__type_sizeof_;
18399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1 >conftest.err
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.$ac_objext; then
18425 echo "$as_me: failed program was
:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18428 ac_lo=`expr '(' $ac_mid ')' + 1`
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18434 ?*) ac_cv_sizeof_short=$ac_lo;;
18435 '') if test "$ac_cv_type_short" = yes; then
18436 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18437 See \
`config.log' for more details." >&5
18438 echo "$as_me: error: cannot compute sizeof (short)
18439 See \`config.log
' for more details." >&2;}
18440 { (exit 77); exit 77; }; }
18442 ac_cv_sizeof_short=0
18446 cat >conftest.$ac_ext <<_ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 $ac_includes_default
18453 typedef short ac__type_sizeof_;
18454 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18455 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18457 #include <stdlib.h>
18462 FILE *f = fopen ("conftest.val", "w");
18465 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18467 long int i = longval ();
18468 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18470 fprintf (f, "%ld\n", i);
18474 unsigned long int i = ulongval ();
18475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18477 fprintf (f, "%lu\n", i);
18479 return ferror (f) || fclose (f) != 0;
18485 rm -f conftest$ac_exeext
18486 if { (ac_try="$ac_link"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_link") 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18496 { (case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_try") 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_sizeof_short=`cat conftest.val`
18507 echo "$as_me: program exited with status $ac_status" >&5
18508 echo "$as_me: failed program was:" >&5
18509 sed 's
/^
/| /' conftest.$ac_ext >&5
18511 ( exit $ac_status )
18512 if test "$ac_cv_type_short" = yes; then
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18514 See \`config.log' for more details.
" >&5
18515 echo "$as_me: error
: cannot compute sizeof
(short
)
18516 See \
`config.log' for more details." >&2;}
18517 { (exit 77); exit 77; }; }
18519 ac_cv_sizeof_short=0
18522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18526 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18527 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18531 cat >>confdefs.h <<_ACEOF
18532 #define SIZEOF_SHORT $ac_cv_sizeof_short
18536 { echo "$as_me:$LINENO: checking for void *" >&5
18537 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18538 if test "${ac_cv_type_void_p+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 cat >conftest.$ac_ext <<_ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18548 typedef void * ac__type_new_;
18552 if ((ac__type_new_ *) 0)
18554 if (sizeof (ac__type_new_))
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18564 *) ac_try_echo
=$ac_try;;
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_compile") 2>conftest.er1
18569 grep -v '^ *+' conftest.er1
>conftest.err
18571 cat conftest.err
>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && {
18574 test -z "$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 } && test -s conftest.
$ac_objext; then
18577 ac_cv_type_void_p
=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.
$ac_ext >&5
18582 ac_cv_type_void_p
=no
18585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18587 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18588 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18590 # The cast to long int works around a bug in the HP C Compiler
18591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18593 # This bug is HP SR number 8606223364.
18594 { echo "$as_me:$LINENO: checking size of void *" >&5
18595 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18596 if test "${ac_cv_sizeof_void_p+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 if test "$cross_compiling" = yes; then
18600 # Depending upon the size, compute the lo and hi bounds.
18601 cat >conftest.
$ac_ext <<_ACEOF
18604 cat confdefs.h
>>conftest.
$ac_ext
18605 cat >>conftest.
$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18608 typedef void * ac__type_sizeof_;
18612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18619 rm -f conftest.
$ac_objext
18620 if { (ac_try
="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18628 grep -v '^ *+' conftest.er1 >conftest.err
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18638 cat >conftest.$ac_ext <<_ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18645 typedef void * ac__type_sizeof_;
18649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18656 rm -f conftest.$ac_objext
18657 if { (ac_try="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18660 *) ac_try_echo
=$ac_try;;
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18665 grep -v '^ *+' conftest.er1
>conftest.err
18667 cat conftest.err
>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.
$ac_objext; then
18673 ac_hi
=$ac_mid; break
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 ac_lo
=`expr $ac_mid + 1`
18679 if test $ac_lo -le $ac_mid; then
18683 ac_mid
=`expr 2 '*' $ac_mid + 1`
18686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18692 cat >conftest.
$ac_ext <<_ACEOF
18695 cat confdefs.h
>>conftest.
$ac_ext
18696 cat >>conftest.
$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 typedef void * ac__type_sizeof_;
18703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18710 rm -f conftest.
$ac_objext
18711 if { (ac_try
="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18719 grep -v '^ *+' conftest.er1 >conftest.err
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18729 cat >conftest.$ac_ext <<_ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 $ac_includes_default
18736 typedef void * ac__type_sizeof_;
18740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18751 *) ac_try_echo
=$ac_try;;
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.
$ac_objext; then
18764 ac_lo
=$ac_mid; break
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ac_hi
=`expr '(' $ac_mid ')' - 1`
18770 if test $ac_mid -le $ac_hi; then
18774 ac_mid
=`expr 2 '*' $ac_mid`
18777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.
$ac_ext >&5
18786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18790 # Binary search between lo and hi bounds.
18791 while test "x$ac_lo" != "x$ac_hi"; do
18792 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18793 cat >conftest.
$ac_ext <<_ACEOF
18796 cat confdefs.h
>>conftest.
$ac_ext
18797 cat >>conftest.
$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18800 typedef void * ac__type_sizeof_;
18804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18811 rm -f conftest.
$ac_objext
18812 if { (ac_try
="$ac_compile"
18813 case "(($ac_try" in
18814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18818 (eval "$ac_compile") 2>conftest.er1
18820 grep -v '^ *+' conftest.er1 >conftest.err
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } && {
18825 test -z "$ac_c_werror_flag" ||
18826 test ! -s conftest.err
18827 } && test -s conftest.$ac_objext; then
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18833 ac_lo=`expr '(' $ac_mid ')' + 1`
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18840 '') if test "$ac_cv_type_void_p" = yes; then
18841 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18842 See \`config.log
' for more details." >&5
18843 echo "$as_me: error: cannot compute sizeof (void *)
18844 See \`config.log' for more details.
" >&2;}
18845 { (exit 77); exit 77; }; }
18847 ac_cv_sizeof_void_p=0
18851 cat >conftest.$ac_ext <<_ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18858 typedef void * ac__type_sizeof_;
18859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18862 #include <stdlib.h>
18867 FILE *f = fopen ("conftest.val
", "w
");
18870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18872 long int i = longval ();
18873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18875 fprintf (f, "%ld
\n", i);
18879 unsigned long int i = ulongval ();
18880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18882 fprintf (f, "%lu
\n", i);
18884 return ferror (f) || fclose (f) != 0;
18890 rm -f conftest$ac_exeext
18891 if { (ac_try="$ac_link"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_link") 2>&5
18899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18901 { (case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_try") 2>&5
18908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_sizeof_void_p=`cat conftest.val`
18912 echo "$as_me: program exited with status
$ac_status" >&5
18913 echo "$as_me: failed program was
:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18916 ( exit $ac_status )
18917 if test "$ac_cv_type_void_p" = yes; then
18918 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
18919 See \
`config.log' for more details." >&5
18920 echo "$as_me: error: cannot compute sizeof (void *)
18921 See \`config.log
' for more details." >&2;}
18922 { (exit 77); exit 77; }; }
18924 ac_cv_sizeof_void_p=0
18927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18932 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18936 cat >>confdefs.h <<_ACEOF
18937 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18941 { echo "$as_me:$LINENO: checking for int" >&5
18942 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18943 if test "${ac_cv_type_int+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 $ac_includes_default
18953 typedef int ac__type_new_;
18957 if ((ac__type_new_ *) 0)
18959 if (sizeof (ac__type_new_))
18965 rm -f conftest.$ac_objext
18966 if { (ac_try="$ac_compile"
18967 case "(($ac_try" in
18968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 *) ac_try_echo=$ac_try;;
18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 (eval "$ac_compile") 2>conftest.er1
18974 grep -v '^
*+' conftest.er1 >conftest.err
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } && {
18979 test -z "$ac_c_werror_flag" ||
18980 test ! -s conftest.err
18981 } && test -s conftest.$ac_objext; then
18984 echo "$as_me: failed program was:" >&5
18985 sed 's
/^
/| /' conftest.$ac_ext >&5
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18993 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18995 # The cast to long int works around a bug in the HP C Compiler
18996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18998 # This bug is HP SR number 8606223364.
18999 { echo "$as_me:$LINENO: checking size of int" >&5
19000 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19001 if test "${ac_cv_sizeof_int+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 if test "$cross_compiling" = yes; then
19005 # Depending upon the size, compute the lo and hi bounds.
19006 cat >conftest.
$ac_ext <<_ACEOF
19009 cat confdefs.h
>>conftest.
$ac_ext
19010 cat >>conftest.
$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19013 typedef int ac__type_sizeof_;
19017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19024 rm -f conftest.
$ac_objext
19025 if { (ac_try
="$ac_compile"
19026 case "(($ac_try" in
19027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_compile") 2>conftest.er1
19033 grep -v '^ *+' conftest.er1 >conftest.err
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest.$ac_objext; then
19043 cat >conftest.$ac_ext <<_ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 $ac_includes_default
19050 typedef int ac__type_sizeof_;
19054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19061 rm -f conftest.$ac_objext
19062 if { (ac_try="$ac_compile"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19065 *) ac_try_echo
=$ac_try;;
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compile") 2>conftest.er1
19070 grep -v '^ *+' conftest.er1
>conftest.err
19072 cat conftest.err
>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && {
19075 test -z "$ac_c_werror_flag" ||
19076 test ! -s conftest.err
19077 } && test -s conftest.
$ac_objext; then
19078 ac_hi
=$ac_mid; break
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.
$ac_ext >&5
19083 ac_lo
=`expr $ac_mid + 1`
19084 if test $ac_lo -le $ac_mid; then
19088 ac_mid
=`expr 2 '*' $ac_mid + 1`
19091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.
$ac_ext >&5
19097 cat >conftest.
$ac_ext <<_ACEOF
19100 cat confdefs.h
>>conftest.
$ac_ext
19101 cat >>conftest.
$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 $ac_includes_default
19104 typedef int ac__type_sizeof_;
19108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19115 rm -f conftest.
$ac_objext
19116 if { (ac_try
="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19124 grep -v '^ *+' conftest.er1 >conftest.err
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19134 cat >conftest.$ac_ext <<_ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 typedef int ac__type_sizeof_;
19145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19156 *) ac_try_echo
=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.
$ac_objext; then
19169 ac_lo
=$ac_mid; break
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_hi
=`expr '(' $ac_mid ')' - 1`
19175 if test $ac_mid -le $ac_hi; then
19179 ac_mid
=`expr 2 '*' $ac_mid`
19182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19195 # Binary search between lo and hi bounds.
19196 while test "x$ac_lo" != "x$ac_hi"; do
19197 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19198 cat >conftest.
$ac_ext <<_ACEOF
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 $ac_includes_default
19205 typedef int ac__type_sizeof_;
19209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19216 rm -f conftest.
$ac_objext
19217 if { (ac_try
="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19225 grep -v '^ *+' conftest.er1 >conftest.err
19227 cat conftest.err >&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.$ac_objext; then
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19238 ac_lo=`expr '(' $ac_mid ')' + 1`
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 ?*) ac_cv_sizeof_int=$ac_lo;;
19245 '') if test "$ac_cv_type_int" = yes; then
19246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19247 See \`config.log
' for more details." >&5
19248 echo "$as_me: error: cannot compute sizeof (int)
19249 See \`config.log' for more details.
" >&2;}
19250 { (exit 77); exit 77; }; }
19256 cat >conftest.$ac_ext <<_ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 typedef int ac__type_sizeof_;
19264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19267 #include <stdlib.h>
19272 FILE *f = fopen ("conftest.val
", "w
");
19275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19277 long int i = longval ();
19278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19280 fprintf (f, "%ld
\n", i);
19284 unsigned long int i = ulongval ();
19285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19287 fprintf (f, "%lu
\n", i);
19289 return ferror (f) || fclose (f) != 0;
19295 rm -f conftest$ac_exeext
19296 if { (ac_try="$ac_link"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_link") 2>&5
19304 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19306 { (case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_try") 2>&5
19313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_cv_sizeof_int=`cat conftest.val`
19317 echo "$as_me: program exited with status
$ac_status" >&5
19318 echo "$as_me: failed program was
:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19321 ( exit $ac_status )
19322 if test "$ac_cv_type_int" = yes; then
19323 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19324 See \
`config.log' for more details." >&5
19325 echo "$as_me: error: cannot compute sizeof (int)
19326 See \`config.log
' for more details." >&2;}
19327 { (exit 77); exit 77; }; }
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19337 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19341 cat >>confdefs.h <<_ACEOF
19342 #define SIZEOF_INT $ac_cv_sizeof_int
19346 { echo "$as_me:$LINENO: checking for long" >&5
19347 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19348 if test "${ac_cv_type_long+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 typedef long ac__type_new_;
19362 if ((ac__type_new_ *) 0)
19364 if (sizeof (ac__type_new_))
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19379 grep -v '^
*+' conftest.er1 >conftest.err
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_type_long=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's
/^
/| /' conftest.$ac_ext >&5
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19398 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19400 # The cast to long int works around a bug in the HP C Compiler
19401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19403 # This bug is HP SR number 8606223364.
19404 { echo "$as_me:$LINENO: checking size of long" >&5
19405 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19406 if test "${ac_cv_sizeof_long+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 if test "$cross_compiling" = yes; then
19410 # Depending upon the size, compute the lo and hi bounds.
19411 cat >conftest.
$ac_ext <<_ACEOF
19414 cat confdefs.h
>>conftest.
$ac_ext
19415 cat >>conftest.
$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 $ac_includes_default
19418 typedef long ac__type_sizeof_;
19422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19429 rm -f conftest.
$ac_objext
19430 if { (ac_try
="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19438 grep -v '^ *+' conftest.er1 >conftest.err
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19448 cat >conftest.$ac_ext <<_ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef long ac__type_sizeof_;
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19470 *) ac_try_echo
=$ac_try;;
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19475 grep -v '^ *+' conftest.er1
>conftest.err
19477 cat conftest.err
>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.
$ac_objext; then
19483 ac_hi
=$ac_mid; break
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.
$ac_ext >&5
19488 ac_lo
=`expr $ac_mid + 1`
19489 if test $ac_lo -le $ac_mid; then
19493 ac_mid
=`expr 2 '*' $ac_mid + 1`
19496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.
$ac_ext >&5
19502 cat >conftest.
$ac_ext <<_ACEOF
19505 cat confdefs.h
>>conftest.
$ac_ext
19506 cat >>conftest.
$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef long ac__type_sizeof_;
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19520 rm -f conftest.
$ac_objext
19521 if { (ac_try
="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19529 grep -v '^ *+' conftest.er1 >conftest.err
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef long ac__type_sizeof_;
19550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19561 *) ac_try_echo
=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.
$ac_objext; then
19574 ac_lo
=$ac_mid; break
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.
$ac_ext >&5
19579 ac_hi
=`expr '(' $ac_mid ')' - 1`
19580 if test $ac_mid -le $ac_hi; then
19584 ac_mid
=`expr 2 '*' $ac_mid`
19587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19600 # Binary search between lo and hi bounds.
19601 while test "x$ac_lo" != "x$ac_hi"; do
19602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19603 cat >conftest.
$ac_ext <<_ACEOF
19606 cat confdefs.h
>>conftest.
$ac_ext
19607 cat >>conftest.
$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 typedef long ac__type_sizeof_;
19614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19621 rm -f conftest.
$ac_objext
19622 if { (ac_try
="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19630 grep -v '^ *+' conftest.er1 >conftest.err
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 ac_lo=`expr '(' $ac_mid ')' + 1`
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ?*) ac_cv_sizeof_long=$ac_lo;;
19650 '') if test "$ac_cv_type_long" = yes; then
19651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19652 See \`config.log
' for more details." >&5
19653 echo "$as_me: error: cannot compute sizeof (long)
19654 See \`config.log' for more details.
" >&2;}
19655 { (exit 77); exit 77; }; }
19657 ac_cv_sizeof_long=0
19661 cat >conftest.$ac_ext <<_ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 $ac_includes_default
19668 typedef long ac__type_sizeof_;
19669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19672 #include <stdlib.h>
19677 FILE *f = fopen ("conftest.val
", "w
");
19680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19682 long int i = longval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19685 fprintf (f, "%ld
\n", i);
19689 unsigned long int i = ulongval ();
19690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19692 fprintf (f, "%lu
\n", i);
19694 return ferror (f) || fclose (f) != 0;
19700 rm -f conftest$ac_exeext
19701 if { (ac_try="$ac_link"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_link") 2>&5
19709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19711 { (case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_try") 2>&5
19718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 ac_cv_sizeof_long=`cat conftest.val`
19722 echo "$as_me: program exited with status
$ac_status" >&5
19723 echo "$as_me: failed program was
:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 ( exit $ac_status )
19727 if test "$ac_cv_type_long" = yes; then
19728 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19729 See \
`config.log' for more details." >&5
19730 echo "$as_me: error: cannot compute sizeof (long)
19731 See \`config.log
' for more details." >&2;}
19732 { (exit 77); exit 77; }; }
19734 ac_cv_sizeof_long=0
19737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19742 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19746 cat >>confdefs.h <<_ACEOF
19747 #define SIZEOF_LONG $ac_cv_sizeof_long
19751 { echo "$as_me:$LINENO: checking for size_t" >&5
19752 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19753 if test "${ac_cv_type_size_t+set}" = set; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19756 cat >conftest.$ac_ext <<_ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef size_t ac__type_new_;
19767 if ((ac__type_new_ *) 0)
19769 if (sizeof (ac__type_new_))
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19784 grep -v '^
*+' conftest.er1 >conftest.err
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 ac_cv_type_size_t=yes
19794 echo "$as_me: failed program was:" >&5
19795 sed 's
/^
/| /' conftest.$ac_ext >&5
19797 ac_cv_type_size_t=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19803 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19805 # The cast to long int works around a bug in the HP C Compiler
19806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19808 # This bug is HP SR number 8606223364.
19809 { echo "$as_me:$LINENO: checking size of size_t" >&5
19810 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19811 if test "${ac_cv_sizeof_size_t+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 if test "$cross_compiling" = yes; then
19815 # Depending upon the size, compute the lo and hi bounds.
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 typedef size_t ac__type_sizeof_;
19827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19834 rm -f conftest.
$ac_objext
19835 if { (ac_try
="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19843 grep -v '^ *+' conftest.er1 >conftest.err
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19853 cat >conftest.$ac_ext <<_ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 typedef size_t ac__type_sizeof_;
19864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19871 rm -f conftest.$ac_objext
19872 if { (ac_try="$ac_compile"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19875 *) ac_try_echo
=$ac_try;;
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_compile") 2>conftest.er1
19880 grep -v '^ *+' conftest.er1
>conftest.err
19882 cat conftest.err
>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && {
19885 test -z "$ac_c_werror_flag" ||
19886 test ! -s conftest.err
19887 } && test -s conftest.
$ac_objext; then
19888 ac_hi
=$ac_mid; break
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_lo
=`expr $ac_mid + 1`
19894 if test $ac_lo -le $ac_mid; then
19898 ac_mid
=`expr 2 '*' $ac_mid + 1`
19901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.
$ac_ext >&5
19907 cat >conftest.
$ac_ext <<_ACEOF
19910 cat confdefs.h
>>conftest.
$ac_ext
19911 cat >>conftest.
$ac_ext <<_ACEOF
19912 /* end confdefs.h. */
19913 $ac_includes_default
19914 typedef size_t ac__type_sizeof_;
19918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19925 rm -f conftest.
$ac_objext
19926 if { (ac_try
="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_c_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest.$ac_objext; then
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef size_t ac__type_sizeof_;
19955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19966 *) ac_try_echo
=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1
>conftest.err
19973 cat conftest.err
>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.
$ac_objext; then
19979 ac_lo
=$ac_mid; break
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ac_hi
=`expr '(' $ac_mid ')' - 1`
19985 if test $ac_mid -le $ac_hi; then
19989 ac_mid
=`expr 2 '*' $ac_mid`
19992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.
$ac_ext >&5
20001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20005 # Binary search between lo and hi bounds.
20006 while test "x$ac_lo" != "x$ac_hi"; do
20007 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20008 cat >conftest.
$ac_ext <<_ACEOF
20011 cat confdefs.h
>>conftest.
$ac_ext
20012 cat >>conftest.
$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 $ac_includes_default
20015 typedef size_t ac__type_sizeof_;
20019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20026 rm -f conftest.
$ac_objext
20027 if { (ac_try
="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20035 grep -v '^ *+' conftest.er1 >conftest.err
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20048 ac_lo=`expr '(' $ac_mid ')' + 1`
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20055 '') if test "$ac_cv_type_size_t" = yes; then
20056 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20057 See \`config.log
' for more details." >&5
20058 echo "$as_me: error: cannot compute sizeof (size_t)
20059 See \`config.log' for more details.
" >&2;}
20060 { (exit 77); exit 77; }; }
20062 ac_cv_sizeof_size_t=0
20066 cat >conftest.$ac_ext <<_ACEOF
20069 cat confdefs.h >>conftest.$ac_ext
20070 cat >>conftest.$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072 $ac_includes_default
20073 typedef size_t ac__type_sizeof_;
20074 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20075 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20077 #include <stdlib.h>
20082 FILE *f = fopen ("conftest.val
", "w
");
20085 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20087 long int i = longval ();
20088 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20090 fprintf (f, "%ld
\n", i);
20094 unsigned long int i = ulongval ();
20095 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20097 fprintf (f, "%lu
\n", i);
20099 return ferror (f) || fclose (f) != 0;
20105 rm -f conftest$ac_exeext
20106 if { (ac_try="$ac_link"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_link") 2>&5
20114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_sizeof_size_t=`cat conftest.val`
20127 echo "$as_me: program exited with status
$ac_status" >&5
20128 echo "$as_me: failed program was
:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20131 ( exit $ac_status )
20132 if test "$ac_cv_type_size_t" = yes; then
20133 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20134 See \
`config.log' for more details." >&5
20135 echo "$as_me: error: cannot compute sizeof (size_t)
20136 See \`config.log
' for more details." >&2;}
20137 { (exit 77); exit 77; }; }
20139 ac_cv_sizeof_size_t=0
20142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20146 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20147 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20151 cat >>confdefs.h <<_ACEOF
20152 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20159 { echo "$as_me:$LINENO: checking for long long" >&5
20160 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20161 if test "${ac_cv_type_long_long+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 cat >conftest.$ac_ext <<_ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20171 typedef long long ac__type_new_;
20175 if ((ac__type_new_ *) 0)
20177 if (sizeof (ac__type_new_))
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20192 grep -v '^
*+' conftest.er1 >conftest.err
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_c_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20200 ac_cv_type_long_long=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's
/^
/| /' conftest.$ac_ext >&5
20205 ac_cv_type_long_long=no
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20210 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20211 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20213 # The cast to long int works around a bug in the HP C Compiler
20214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20216 # This bug is HP SR number 8606223364.
20217 { echo "$as_me:$LINENO: checking size of long long" >&5
20218 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20219 if test "${ac_cv_sizeof_long_long+set}" = set; then
20220 echo $ECHO_N "(cached) $ECHO_C" >&6
20222 if test "$cross_compiling" = yes; then
20223 # Depending upon the size, compute the lo and hi bounds.
20224 cat >conftest.
$ac_ext <<_ACEOF
20227 cat confdefs.h
>>conftest.
$ac_ext
20228 cat >>conftest.
$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230 $ac_includes_default
20231 typedef long long ac__type_sizeof_;
20235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20242 rm -f conftest.
$ac_objext
20243 if { (ac_try
="$ac_compile"
20244 case "(($ac_try" in
20245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_compile") 2>conftest.er1
20251 grep -v '^ *+' conftest.er1 >conftest.err
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } && {
20256 test -z "$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20258 } && test -s conftest.$ac_objext; then
20261 cat >conftest.$ac_ext <<_ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef long long ac__type_sizeof_;
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20283 *) ac_try_echo
=$ac_try;;
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.
$ac_objext; then
20296 ac_hi
=$ac_mid; break
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.
$ac_ext >&5
20301 ac_lo
=`expr $ac_mid + 1`
20302 if test $ac_lo -le $ac_mid; then
20306 ac_mid
=`expr 2 '*' $ac_mid + 1`
20309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.
$ac_ext >&5
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20322 typedef long long ac__type_sizeof_;
20326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20333 rm -f conftest.
$ac_objext
20334 if { (ac_try
="$ac_compile"
20335 case "(($ac_try" in
20336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_compile") 2>conftest.er1
20342 grep -v '^ *+' conftest.er1 >conftest.err
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && {
20347 test -z "$ac_c_werror_flag" ||
20348 test ! -s conftest.err
20349 } && test -s conftest.$ac_objext; then
20352 cat >conftest.$ac_ext <<_ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20359 typedef long long ac__type_sizeof_;
20363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20370 rm -f conftest.$ac_objext
20371 if { (ac_try="$ac_compile"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20374 *) ac_try_echo
=$ac_try;;
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_compile") 2>conftest.er1
20379 grep -v '^ *+' conftest.er1
>conftest.err
20381 cat conftest.err
>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } && {
20384 test -z "$ac_c_werror_flag" ||
20385 test ! -s conftest.err
20386 } && test -s conftest.
$ac_objext; then
20387 ac_lo
=$ac_mid; break
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.
$ac_ext >&5
20392 ac_hi
=`expr '(' $ac_mid ')' - 1`
20393 if test $ac_mid -le $ac_hi; then
20397 ac_mid
=`expr 2 '*' $ac_mid`
20400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.
$ac_ext >&5
20409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.
$ac_ext <<_ACEOF
20419 cat confdefs.h
>>conftest.
$ac_ext
20420 cat >>conftest.
$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20423 typedef long long ac__type_sizeof_;
20427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20434 rm -f conftest.
$ac_objext
20435 if { (ac_try
="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20443 grep -v '^ *+' conftest.er1 >conftest.err
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20456 ac_lo=`expr '(' $ac_mid ')' + 1`
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20462 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20463 '') if test "$ac_cv_type_long_long" = yes; then
20464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20465 See \`config.log
' for more details." >&5
20466 echo "$as_me: error: cannot compute sizeof (long long)
20467 See \`config.log' for more details.
" >&2;}
20468 { (exit 77); exit 77; }; }
20470 ac_cv_sizeof_long_long=0
20474 cat >conftest.$ac_ext <<_ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef long long ac__type_sizeof_;
20482 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20483 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20485 #include <stdlib.h>
20490 FILE *f = fopen ("conftest.val
", "w
");
20493 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20495 long int i = longval ();
20496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20498 fprintf (f, "%ld
\n", i);
20502 unsigned long int i = ulongval ();
20503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20505 fprintf (f, "%lu
\n", i);
20507 return ferror (f) || fclose (f) != 0;
20513 rm -f conftest$ac_exeext
20514 if { (ac_try="$ac_link"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_link") 2>&5
20522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20524 { (case "(($ac_try" in
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20528 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_try") 2>&5
20531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_sizeof_long_long=`cat conftest.val`
20535 echo "$as_me: program exited with status
$ac_status" >&5
20536 echo "$as_me: failed program was
:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 ( exit $ac_status )
20540 if test "$ac_cv_type_long_long" = yes; then
20541 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20542 See \
`config.log' for more details." >&5
20543 echo "$as_me: error: cannot compute sizeof (long long)
20544 See \`config.log
' for more details." >&2;}
20545 { (exit 77); exit 77; }; }
20547 ac_cv_sizeof_long_long=0
20550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20554 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20555 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20559 cat >>confdefs.h <<_ACEOF
20560 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20566 { echo "$as_me:$LINENO: checking for long long" >&5
20567 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20568 if test "${ac_cv_type_long_long+set}" = set; then
20569 echo $ECHO_N "(cached) $ECHO_C" >&6
20571 cat >conftest.$ac_ext <<_ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 typedef long long ac__type_new_;
20582 if ((ac__type_new_ *) 0)
20584 if (sizeof (ac__type_new_))
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20599 grep -v '^
*+' conftest.er1 >conftest.err
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && {
20604 test -z "$ac_c_werror_flag" ||
20605 test ! -s conftest.err
20606 } && test -s conftest.$ac_objext; then
20607 ac_cv_type_long_long=yes
20609 echo "$as_me: failed program was:" >&5
20610 sed 's
/^
/| /' conftest.$ac_ext >&5
20612 ac_cv_type_long_long=no
20615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20617 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20618 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20620 # The cast to long int works around a bug in the HP C Compiler
20621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20623 # This bug is HP SR number 8606223364.
20624 { echo "$as_me:$LINENO: checking size of long long" >&5
20625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20626 if test "${ac_cv_sizeof_long_long+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 if test "$cross_compiling" = yes; then
20630 # Depending upon the size, compute the lo and hi bounds.
20631 cat >conftest.
$ac_ext <<_ACEOF
20634 cat confdefs.h
>>conftest.
$ac_ext
20635 cat >>conftest.
$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef long long ac__type_sizeof_;
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20649 rm -f conftest.
$ac_objext
20650 if { (ac_try
="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20658 grep -v '^ *+' conftest.er1 >conftest.err
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef long long ac__type_sizeof_;
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20690 *) ac_try_echo
=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20695 grep -v '^ *+' conftest.er1
>conftest.err
20697 cat conftest.err
>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.
$ac_objext; then
20703 ac_hi
=$ac_mid; break
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.
$ac_ext >&5
20708 ac_lo
=`expr $ac_mid + 1`
20709 if test $ac_lo -le $ac_mid; then
20713 ac_mid
=`expr 2 '*' $ac_mid + 1`
20716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.
$ac_ext >&5
20722 cat >conftest.
$ac_ext <<_ACEOF
20725 cat confdefs.h
>>conftest.
$ac_ext
20726 cat >>conftest.
$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20729 typedef long long ac__type_sizeof_;
20733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20740 rm -f conftest.
$ac_objext
20741 if { (ac_try
="$ac_compile"
20742 case "(($ac_try" in
20743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_compile") 2>conftest.er1
20749 grep -v '^ *+' conftest.er1 >conftest.err
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && {
20754 test -z "$ac_c_werror_flag" ||
20755 test ! -s conftest.err
20756 } && test -s conftest.$ac_objext; then
20759 cat >conftest.$ac_ext <<_ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 $ac_includes_default
20766 typedef long long ac__type_sizeof_;
20770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20781 *) ac_try_echo
=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20786 grep -v '^ *+' conftest.er1
>conftest.err
20788 cat conftest.err
>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.
$ac_objext; then
20794 ac_lo
=$ac_mid; break
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.
$ac_ext >&5
20799 ac_hi
=`expr '(' $ac_mid ')' - 1`
20800 if test $ac_mid -le $ac_hi; then
20804 ac_mid
=`expr 2 '*' $ac_mid`
20807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.
$ac_ext >&5
20816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20820 # Binary search between lo and hi bounds.
20821 while test "x$ac_lo" != "x$ac_hi"; do
20822 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20823 cat >conftest.
$ac_ext <<_ACEOF
20826 cat confdefs.h
>>conftest.
$ac_ext
20827 cat >>conftest.
$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef long long ac__type_sizeof_;
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20841 rm -f conftest.
$ac_objext
20842 if { (ac_try
="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1 >conftest.err
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 ac_lo=`expr '(' $ac_mid ')' + 1`
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20870 '') if test "$ac_cv_type_long_long" = yes; then
20871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20872 See \`config.log
' for more details." >&5
20873 echo "$as_me: error: cannot compute sizeof (long long)
20874 See \`config.log' for more details.
" >&2;}
20875 { (exit 77); exit 77; }; }
20877 ac_cv_sizeof_long_long=0
20881 cat >conftest.$ac_ext <<_ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 $ac_includes_default
20888 typedef long long ac__type_sizeof_;
20889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20892 #include <stdlib.h>
20897 FILE *f = fopen ("conftest.val
", "w
");
20900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20902 long int i = longval ();
20903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20905 fprintf (f, "%ld
\n", i);
20909 unsigned long int i = ulongval ();
20910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20912 fprintf (f, "%lu
\n", i);
20914 return ferror (f) || fclose (f) != 0;
20920 rm -f conftest$ac_exeext
20921 if { (ac_try="$ac_link"
20922 case "(($ac_try" in
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20924 *) ac_try_echo=$ac_try;;
20926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20927 (eval "$ac_link") 2>&5
20929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20931 { (case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933 *) ac_try_echo=$ac_try;;
20935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_try") 2>&5
20938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_sizeof_long_long=`cat conftest.val`
20942 echo "$as_me: program exited with status
$ac_status" >&5
20943 echo "$as_me: failed program was
:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20946 ( exit $ac_status )
20947 if test "$ac_cv_type_long_long" = yes; then
20948 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20949 See \
`config.log' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (long long)
20951 See \`config.log
' for more details." >&2;}
20952 { (exit 77); exit 77; }; }
20954 ac_cv_sizeof_long_long=0
20957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20962 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20966 cat >>confdefs.h <<_ACEOF
20967 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20971 if test "$ac_cv_sizeof_long_long" != "0"; then
20972 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20976 { echo "$as_me:$LINENO: checking for long long" >&5
20977 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20978 if test "${ac_cv_type_long_long+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 cat >conftest.$ac_ext <<_ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20987 $ac_includes_default
20988 typedef long long ac__type_new_;
20992 if ((ac__type_new_ *) 0)
20994 if (sizeof (ac__type_new_))
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21009 grep -v '^
*+' conftest.er1 >conftest.err
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_cv_type_long_long=yes
21019 echo "$as_me: failed program was:" >&5
21020 sed 's
/^
/| /' conftest.$ac_ext >&5
21022 ac_cv_type_long_long=no
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21027 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21028 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21030 # The cast to long int works around a bug in the HP C Compiler
21031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21033 # This bug is HP SR number 8606223364.
21034 { echo "$as_me:$LINENO: checking size of long long" >&5
21035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21036 if test "${ac_cv_sizeof_long_long+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 if test "$cross_compiling" = yes; then
21040 # Depending upon the size, compute the lo and hi bounds.
21041 cat >conftest.
$ac_ext <<_ACEOF
21044 cat confdefs.h
>>conftest.
$ac_ext
21045 cat >>conftest.
$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21047 $ac_includes_default
21048 typedef long long ac__type_sizeof_;
21052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21059 rm -f conftest.
$ac_objext
21060 if { (ac_try
="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21068 grep -v '^ *+' conftest.er1 >conftest.err
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21078 cat >conftest.$ac_ext <<_ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 $ac_includes_default
21085 typedef long long ac__type_sizeof_;
21089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21100 *) ac_try_echo
=$ac_try;;
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21105 grep -v '^ *+' conftest.er1
>conftest.err
21107 cat conftest.err
>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.
$ac_objext; then
21113 ac_hi
=$ac_mid; break
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.
$ac_ext >&5
21118 ac_lo
=`expr $ac_mid + 1`
21119 if test $ac_lo -le $ac_mid; then
21123 ac_mid
=`expr 2 '*' $ac_mid + 1`
21126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.
$ac_ext >&5
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21139 typedef long long ac__type_sizeof_;
21143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21150 rm -f conftest.
$ac_objext
21151 if { (ac_try
="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21159 grep -v '^ *+' conftest.er1 >conftest.err
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21169 cat >conftest.$ac_ext <<_ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21175 $ac_includes_default
21176 typedef long long ac__type_sizeof_;
21180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21187 rm -f conftest.$ac_objext
21188 if { (ac_try="$ac_compile"
21189 case "(($ac_try" in
21190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21191 *) ac_try_echo
=$ac_try;;
21193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21194 (eval "$ac_compile") 2>conftest.er1
21196 grep -v '^ *+' conftest.er1
>conftest.err
21198 cat conftest.err
>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } && {
21201 test -z "$ac_c_werror_flag" ||
21202 test ! -s conftest.err
21203 } && test -s conftest.
$ac_objext; then
21204 ac_lo
=$ac_mid; break
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.
$ac_ext >&5
21209 ac_hi
=`expr '(' $ac_mid ')' - 1`
21210 if test $ac_mid -le $ac_hi; then
21214 ac_mid
=`expr 2 '*' $ac_mid`
21217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.
$ac_ext >&5
21226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21230 # Binary search between lo and hi bounds.
21231 while test "x$ac_lo" != "x$ac_hi"; do
21232 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21233 cat >conftest.
$ac_ext <<_ACEOF
21236 cat confdefs.h
>>conftest.
$ac_ext
21237 cat >>conftest.
$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef long long ac__type_sizeof_;
21244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21251 rm -f conftest.
$ac_objext
21252 if { (ac_try
="$ac_compile"
21253 case "(($ac_try" in
21254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21255 *) ac_try_echo=$ac_try;;
21257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258 (eval "$ac_compile") 2>conftest.er1
21260 grep -v '^ *+' conftest.er1 >conftest.err
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } && {
21265 test -z "$ac_c_werror_flag" ||
21266 test ! -s conftest.err
21267 } && test -s conftest.$ac_objext; then
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21273 ac_lo=`expr '(' $ac_mid ')' + 1`
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21279 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21280 '') if test "$ac_cv_type_long_long" = yes; then
21281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21282 See \`config.log
' for more details." >&5
21283 echo "$as_me: error: cannot compute sizeof (long long)
21284 See \`config.log' for more details.
" >&2;}
21285 { (exit 77); exit 77; }; }
21287 ac_cv_sizeof_long_long=0
21291 cat >conftest.$ac_ext <<_ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 $ac_includes_default
21298 typedef long long ac__type_sizeof_;
21299 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21300 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21302 #include <stdlib.h>
21307 FILE *f = fopen ("conftest.val
", "w
");
21310 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21312 long int i = longval ();
21313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21315 fprintf (f, "%ld
\n", i);
21319 unsigned long int i = ulongval ();
21320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21322 fprintf (f, "%lu
\n", i);
21324 return ferror (f) || fclose (f) != 0;
21330 rm -f conftest$ac_exeext
21331 if { (ac_try="$ac_link"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_link") 2>&5
21339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21341 { (case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_try") 2>&5
21348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_sizeof_long_long=`cat conftest.val`
21352 echo "$as_me: program exited with status
$ac_status" >&5
21353 echo "$as_me: failed program was
:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21356 ( exit $ac_status )
21357 if test "$ac_cv_type_long_long" = yes; then
21358 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21359 See \
`config.log' for more details." >&5
21360 echo "$as_me: error: cannot compute sizeof (long long)
21361 See \`config.log
' for more details." >&2;}
21362 { (exit 77); exit 77; }; }
21364 ac_cv_sizeof_long_long=0
21367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21371 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21372 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21376 cat >>confdefs.h <<_ACEOF
21377 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21383 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21384 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21385 if test "${ac_cv_type_wchar_t+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21395 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21397 # error "fake wchar_t"
21399 #ifdef HAVE_WCHAR_H
21401 # include <stddef.h>
21403 # include <wchar.h>
21405 #ifdef HAVE_STDLIB_H
21406 # include <stdlib.h>
21412 typedef wchar_t ac__type_new_
;
21416 if ((ac__type_new_
*) 0)
21418 if (sizeof
(ac__type_new_
))
21424 rm -f conftest.
$ac_objext
21425 if { (ac_try
="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21433 grep -v '^ *+' conftest.er1 >conftest.err
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } && {
21438 test -z "$ac_c_werror_flag" ||
21439 test ! -s conftest.err
21440 } && test -s conftest.$ac_objext; then
21441 ac_cv_type_wchar_t=yes
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21446 ac_cv_type_wchar_t=no
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21452 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21454 # The cast to long int works around a bug in the HP C Compiler
21455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21456 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21457 # This bug is HP SR number 8606223364.
21458 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21459 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 if test "$cross_compiling" = yes; then
21464 # Depending upon the size, compute the lo and hi bounds.
21465 cat >conftest.$ac_ext <<_ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21472 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21474 # error "fake wchar_t"
21476 #ifdef HAVE_WCHAR_H
21478 # include <stddef.h>
21480 # include <wchar.h>
21482 #ifdef HAVE_STDLIB_H
21483 # include <stdlib.h>
21489 typedef wchar_t ac__type_sizeof_
;
21493 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21500 rm -f conftest.
$ac_objext
21501 if { (ac_try
="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21509 grep -v '^ *+' conftest.er1 >conftest.err
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.$ac_objext; then
21519 cat >conftest.$ac_ext <<_ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21526 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21527 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21528 # error "fake wchar_t"
21530 #ifdef HAVE_WCHAR_H
21532 # include <stddef.h>
21534 # include <wchar.h>
21536 #ifdef HAVE_STDLIB_H
21537 # include <stdlib.h>
21543 typedef wchar_t ac__type_sizeof_;
21547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21554 rm -f conftest.$ac_objext
21555 if { (ac_try="$ac_compile"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21558 *) ac_try_echo
=$ac_try;;
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21563 grep -v '^ *+' conftest.er1
>conftest.err
21565 cat conftest.err
>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest.
$ac_objext; then
21571 ac_hi
=$ac_mid; break
21573 echo "$as_me: failed program was:" >&5
21574 sed 's/^/| /' conftest.
$ac_ext >&5
21576 ac_lo
=`expr $ac_mid + 1`
21577 if test $ac_lo -le $ac_mid; then
21581 ac_mid
=`expr 2 '*' $ac_mid + 1`
21584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 cat >conftest.
$ac_ext <<_ACEOF
21593 cat confdefs.h
>>conftest.
$ac_ext
21594 cat >>conftest.
$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21597 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21598 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21599 # error "fake wchar_t"
21601 #ifdef HAVE_WCHAR_H
21603 # include <stddef.h>
21605 # include <wchar.h>
21607 #ifdef HAVE_STDLIB_H
21608 # include <stdlib.h>
21614 typedef wchar_t ac__type_sizeof_;
21618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21625 rm -f conftest.
$ac_objext
21626 if { (ac_try
="$ac_compile"
21627 case "(($ac_try" in
21628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21629 *) ac_try_echo=$ac_try;;
21631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21632 (eval "$ac_compile") 2>conftest.er1
21634 grep -v '^ *+' conftest.er1 >conftest.err
21636 cat conftest.err >&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); } && {
21639 test -z "$ac_c_werror_flag" ||
21640 test ! -s conftest.err
21641 } && test -s conftest.$ac_objext; then
21644 cat >conftest.$ac_ext <<_ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21651 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21652 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21653 # error "fake wchar_t"
21655 #ifdef HAVE_WCHAR_H
21657 # include <stddef.h>
21659 # include <wchar.h>
21661 #ifdef HAVE_STDLIB_H
21662 # include <stdlib.h>
21668 typedef wchar_t ac__type_sizeof_;
21672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21679 rm -f conftest.$ac_objext
21680 if { (ac_try="$ac_compile"
21681 case "(($ac_try" in
21682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21683 *) ac_try_echo
=$ac_try;;
21685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21686 (eval "$ac_compile") 2>conftest.er1
21688 grep -v '^ *+' conftest.er1
>conftest.err
21690 cat conftest.err
>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } && {
21693 test -z "$ac_c_werror_flag" ||
21694 test ! -s conftest.err
21695 } && test -s conftest.
$ac_objext; then
21696 ac_lo
=$ac_mid; break
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.
$ac_ext >&5
21701 ac_hi
=`expr '(' $ac_mid ')' - 1`
21702 if test $ac_mid -le $ac_hi; then
21706 ac_mid
=`expr 2 '*' $ac_mid`
21709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.
$ac_ext >&5
21718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21722 # Binary search between lo and hi bounds.
21723 while test "x$ac_lo" != "x$ac_hi"; do
21724 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21725 cat >conftest.
$ac_ext <<_ACEOF
21728 cat confdefs.h
>>conftest.
$ac_ext
21729 cat >>conftest.
$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21732 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21733 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21734 # error "fake wchar_t"
21736 #ifdef HAVE_WCHAR_H
21738 # include <stddef.h>
21740 # include <wchar.h>
21742 #ifdef HAVE_STDLIB_H
21743 # include <stdlib.h>
21749 typedef wchar_t ac__type_sizeof_;
21753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21760 rm -f conftest.
$ac_objext
21761 if { (ac_try
="$ac_compile"
21762 case "(($ac_try" in
21763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_compile") 2>conftest.er1
21769 grep -v '^ *+' conftest.er1 >conftest.err
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } && {
21774 test -z "$ac_c_werror_flag" ||
21775 test ! -s conftest.err
21776 } && test -s conftest.$ac_objext; then
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21782 ac_lo=`expr '(' $ac_mid ')' + 1`
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21789 '') if test "$ac_cv_type_wchar_t" = yes; then
21790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21791 See \`config.log
' for more details." >&5
21792 echo "$as_me: error: cannot compute sizeof (wchar_t)
21793 See \`config.log' for more details.
" >&2;}
21794 { (exit 77); exit 77; }; }
21796 ac_cv_sizeof_wchar_t=0
21800 cat >conftest.$ac_ext <<_ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21809 # error "fake wchar_t
"
21811 #ifdef HAVE_WCHAR_H
21813 # include <stddef.h>
21815 # include <wchar.h>
21817 #ifdef HAVE_STDLIB_H
21818 # include <stdlib.h>
21824 typedef wchar_t ac__type_sizeof_;
21825 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21828 #include <stdlib.h>
21833 FILE *f = fopen ("conftest.val
", "w
");
21836 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21838 long int i = longval ();
21839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21841 fprintf (f, "%ld
\n", i);
21845 unsigned long int i = ulongval ();
21846 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21848 fprintf (f, "%lu
\n", i);
21850 return ferror (f) || fclose (f) != 0;
21856 rm -f conftest$ac_exeext
21857 if { (ac_try="$ac_link"
21858 case "(($ac_try" in
21859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_link") 2>&5
21865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21867 { (case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_try") 2>&5
21874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_sizeof_wchar_t=`cat conftest.val`
21878 echo "$as_me: program exited with status
$ac_status" >&5
21879 echo "$as_me: failed program was
:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21882 ( exit $ac_status )
21883 if test "$ac_cv_type_wchar_t" = yes; then
21884 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
21885 See \
`config.log' for more details." >&5
21886 echo "$as_me: error: cannot compute sizeof (wchar_t)
21887 See \`config.log
' for more details." >&2;}
21888 { (exit 77); exit 77; }; }
21890 ac_cv_sizeof_wchar_t=0
21893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21897 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21898 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21902 cat >>confdefs.h <<_ACEOF
21903 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21907 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21913 { echo "$as_me:$LINENO: checking for va_copy" >&5
21914 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21915 if test "${wx_cv_func_va_copy+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 cat >conftest.$ac_ext <<_ACEOF
21921 #include <stdarg.h>
21922 void foo(char *f, ...)
21936 rm -f conftest.$ac_objext conftest$ac_exeext
21937 if { (ac_try="$ac_link"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_link") 2>conftest.er1
21945 grep -v '^
*+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest$ac_exeext &&
21953 $as_test_x conftest$ac_exeext; then
21954 wx_cv_func_va_copy=yes
21956 echo "$as_me: failed program was:" >&5
21957 sed 's
/^
/| /' conftest.$ac_ext >&5
21959 wx_cv_func_va_copy=no
21963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21964 conftest$ac_exeext conftest.$ac_ext
21968 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21969 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21971 if test $wx_cv_func_va_copy = "yes"; then
21972 cat >>confdefs.h <<\_ACEOF
21973 #define HAVE_VA_COPY 1
21977 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21978 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21979 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21980 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 if test "$cross_compiling" = yes; then
21984 wx_cv_type_va_list_lvalue=yes
21987 cat >conftest.$ac_ext <<_ACEOF
21989 #include <stdarg.h>
21990 int foo(char *f, ...)
21995 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22003 return foo("hi", 17);
22006 rm -f conftest$ac_exeext
22007 if { (ac_try="$ac_link"
22008 case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_link") 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22017 { (case "(($ac_try" in
22018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_try") 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; }; then
22026 wx_cv_type_va_list_lvalue=yes
22028 echo "$as_me: program exited with status $ac_status" >&5
22029 echo "$as_me: failed program was:" >&5
22030 sed 's
/^
/| /' conftest.$ac_ext >&5
22032 ( exit $ac_status )
22033 wx_cv_type_va_list_lvalue=no
22035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22042 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22043 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22045 if test $wx_cv_type_va_list_lvalue != "yes"; then
22046 cat >>confdefs.h <<\_ACEOF
22047 #define VA_LIST_IS_ARRAY 1
22053 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22055 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22056 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22057 if test "${wx_cv_have_variadic_macros+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22062 ac_cpp='$CXXCPP $CPPFLAGS'
22063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22064 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22067 cat >conftest.$ac_ext <<_ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22075 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22081 test("%s %d %p", "test", 1, 0);
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22097 grep -v '^
*+' conftest.er1 >conftest.err
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_cxx_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 wx_cv_have_variadic_macros=yes
22107 echo "$as_me: failed program was:" >&5
22108 sed 's
/^
/| /' conftest.$ac_ext >&5
22110 wx_cv_have_variadic_macros=no
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22118 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22124 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22125 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22127 if test $wx_cv_have_variadic_macros = "yes"; then
22128 cat >>confdefs.h <<\_ACEOF
22129 #define HAVE_VARIADIC_MACROS 1
22135 # Check whether --enable-largefile was given.
22136 if test "${enable_largefile+set}" = set; then
22137 enableval=$enable_largefile;
22140 if test "$enable_largefile" != no; then
22143 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22144 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22145 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 cat >conftest.$ac_ext <<_ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #define _FILE_OFFSET_BITS 64
22156 #include <sys/types.h>
22161 unsigned int field: sizeof(off_t) == 8;
22168 rm -f conftest.$ac_objext
22169 if { (ac_try="$ac_compile"
22170 case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;;
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_compile") 2>conftest.er1
22177 grep -v '^
*+' conftest.er1 >conftest.err
22179 cat conftest.err >&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } && {
22182 test -z "$ac_c_werror_flag" ||
22183 test ! -s conftest.err
22184 } && test -s conftest.$ac_objext; then
22185 ac_cv_sys_file_offset_bits=64
22187 echo "$as_me: failed program was:" >&5
22188 sed 's
/^
/| /' conftest.$ac_ext >&5
22190 ac_cv_sys_file_offset_bits=no
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22197 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22198 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22200 if test "$ac_cv_sys_file_offset_bits" != no; then
22202 cat >>confdefs.h <<_ACEOF
22203 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22208 if test "x$wx_largefile" != "xyes"; then
22210 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22211 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22212 if test "${ac_cv_sys_large_files+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 cat >conftest.$ac_ext <<_ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #define _LARGE_FILES 1
22223 #include <sys/types.h>
22228 unsigned int field: sizeof(off_t) == 8;
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22244 grep -v '^
*+' conftest.er1 >conftest.err
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_cv_sys_large_files=1
22254 echo "$as_me: failed program was:" >&5
22255 sed 's
/^
/| /' conftest.$ac_ext >&5
22257 ac_cv_sys_large_files=no
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22265 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22267 if test "$ac_cv_sys_large_files" != no; then
22269 cat >>confdefs.h <<_ACEOF
22270 #define _LARGE_FILES $ac_cv_sys_large_files
22277 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22278 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22279 if test "x$wx_largefile" = "xyes"; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_LARGEFILE_SUPPORT 1
22285 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22286 echo "${ECHO_T}$wx_largefile" >&6; }
22290 if test "x$wx_largefile" = "xyes"; then
22291 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22292 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22294 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22295 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22296 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22297 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22298 echo $ECHO_N "(cached) $ECHO_C" >&6
22302 ac_cpp='$CXXCPP $CPPFLAGS'
22303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22304 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22307 cat >conftest.$ac_ext <<_ACEOF
22310 cat confdefs.h >>conftest.$ac_ext
22311 cat >>conftest.$ac_ext <<_ACEOF
22312 /* end confdefs.h. */
22318 #ifndef __STDC_EXT__
22326 rm -f conftest.$ac_objext
22327 if { (ac_try="$ac_compile"
22328 case "(($ac_try" in
22329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22330 *) ac_try_echo=$ac_try;;
22332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22333 (eval "$ac_compile") 2>conftest.er1
22335 grep -v '^
*+' conftest.er1 >conftest.err
22337 cat conftest.err >&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } && {
22340 test -z "$ac_cxx_werror_flag" ||
22341 test ! -s conftest.err
22342 } && test -s conftest.$ac_objext; then
22343 wx_cv_STDC_EXT_required=no
22345 echo "$as_me: failed program was:" >&5
22346 sed 's
/^
/| /' conftest.$ac_ext >&5
22348 wx_cv_STDC_EXT_required=yes
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22356 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22362 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22363 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22364 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22365 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22369 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22371 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22372 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22373 if test "${ac_cv_sys_largefile_source+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22377 cat >conftest.$ac_ext <<_ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 #include <sys/types.h> /* for off_t */
22388 int (*fp) (FILE *, off_t, int) = fseeko;
22389 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22394 rm -f conftest.$ac_objext conftest$ac_exeext
22395 if { (ac_try="$ac_link"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_link") 2>conftest.er1
22403 grep -v '^
*+' conftest.er1 >conftest.err
22405 cat conftest.err >&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } && {
22408 test -z "$ac_c_werror_flag" ||
22409 test ! -s conftest.err
22410 } && test -s conftest$ac_exeext &&
22411 $as_test_x conftest$ac_exeext; then
22412 ac_cv_sys_largefile_source=no; break
22414 echo "$as_me: failed program was:" >&5
22415 sed 's
/^
/| /' conftest.$ac_ext >&5
22420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22421 conftest$ac_exeext conftest.$ac_ext
22422 cat >conftest.$ac_ext <<_ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 #define _LARGEFILE_SOURCE 1
22429 #include <sys/types.h> /* for off_t */
22434 int (*fp) (FILE *, off_t, int) = fseeko;
22435 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22440 rm -f conftest.$ac_objext conftest$ac_exeext
22441 if { (ac_try="$ac_link"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_link") 2>conftest.er1
22449 grep -v '^
*+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest$ac_exeext &&
22457 $as_test_x conftest$ac_exeext; then
22458 ac_cv_sys_largefile_source=1; break
22460 echo "$as_me: failed program was:" >&5
22461 sed 's
/^
/| /' conftest.$ac_ext >&5
22466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22467 conftest$ac_exeext conftest.$ac_ext
22468 ac_cv_sys_largefile_source=unknown
22472 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22473 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22474 case $ac_cv_sys_largefile_source in #(
22477 cat >>confdefs.h <<_ACEOF
22478 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22484 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22485 # in glibc 2.1.3, but that breaks too many other things.
22486 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22487 if test $ac_cv_sys_largefile_source != unknown; then
22489 cat >>confdefs.h <<\_ACEOF
22490 #define HAVE_FSEEKO 1
22495 if test "$ac_cv_sys_largefile_source" != no; then
22496 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22500 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22501 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22502 if test "${ac_cv_c_bigendian+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 ac_cv_c_bigendian=unknown
22506 # See if sys/param.h defines the BYTE_ORDER macro.
22507 cat >conftest.$ac_ext <<_ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 #include <sys/types.h>
22514 #include <sys/param.h>
22519 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22520 bogus endian macros
22526 rm -f conftest.$ac_objext
22527 if { (ac_try="$ac_compile"
22528 case "(($ac_try" in
22529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22530 *) ac_try_echo=$ac_try;;
22532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533 (eval "$ac_compile") 2>conftest.er1
22535 grep -v '^
*+' conftest.er1 >conftest.err
22537 cat conftest.err >&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } && {
22540 test -z "$ac_c_werror_flag" ||
22541 test ! -s conftest.err
22542 } && test -s conftest.$ac_objext; then
22543 # It does; now see whether it defined to BIG_ENDIAN or not.
22544 cat >conftest.$ac_ext <<_ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 #include <sys/types.h>
22551 #include <sys/param.h>
22556 #if BYTE_ORDER != BIG_ENDIAN
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22572 grep -v '^
*+' conftest.er1 >conftest.err
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_cv_c_bigendian=yes
22582 echo "$as_me: failed program was:" >&5
22583 sed 's
/^
/| /' conftest.$ac_ext >&5
22585 ac_cv_c_bigendian=no
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 echo "$as_me: failed program was:" >&5
22591 sed 's
/^
/| /' conftest.$ac_ext >&5
22596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 if test $ac_cv_c_bigendian = unknown; then
22598 if test "$cross_compiling" = yes; then
22599 ac_cv_c_bigendian=unknown
22601 cat >conftest.$ac_ext <<_ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22608 /* Are we little or big endian? From Harbison&Steele. */
22612 char c[sizeof (long)];
22615 exit (u.c[sizeof (long) - 1] == 1);
22618 rm -f conftest$ac_exeext
22619 if { (ac_try="$ac_link"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_link") 2>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22629 { (case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 ac_cv_c_bigendian=no
22640 echo "$as_me: program exited with status $ac_status" >&5
22641 echo "$as_me: failed program was:" >&5
22642 sed 's
/^
/| /' conftest.$ac_ext >&5
22644 ( exit $ac_status )
22645 ac_cv_c_bigendian=yes
22647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22653 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22654 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22655 if test $ac_cv_c_bigendian = unknown; then
22656 { 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
22657 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;}
22659 if test $ac_cv_c_bigendian = yes; then
22660 cat >>confdefs.h <<\_ACEOF
22661 #define WORDS_BIGENDIAN 1
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22672 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22676 { echo "$as_me:$LINENO: checking for iostream" >&5
22677 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22678 if test "${ac_cv_header_iostream+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22681 cat >conftest.$ac_ext <<_ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22689 #include <iostream>
22691 rm -f conftest.$ac_objext
22692 if { (ac_try="$ac_compile"
22693 case "(($ac_try" in
22694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695 *) ac_try_echo=$ac_try;;
22697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698 (eval "$ac_compile") 2>conftest.er1
22700 grep -v '^
*+' conftest.er1 >conftest.err
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } && {
22705 test -z "$ac_cxx_werror_flag" ||
22706 test ! -s conftest.err
22707 } && test -s conftest.$ac_objext; then
22708 ac_cv_header_iostream=yes
22710 echo "$as_me: failed program was:" >&5
22711 sed 's
/^
/| /' conftest.$ac_ext >&5
22713 ac_cv_header_iostream=no
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22718 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22719 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22723 if test "$ac_cv_header_iostream" = "yes" ; then
22726 cat >>confdefs.h <<\_ACEOF
22727 #define wxUSE_IOSTREAMH 1
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22735 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22741 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22742 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22743 if test "${wx_cv_cpp_bool+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 ac_cpp='$CXXCPP $CPPFLAGS'
22750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22751 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755 cat >conftest.$ac_ext <<_ACEOF
22758 cat confdefs.h >>conftest.$ac_ext
22759 cat >>conftest.$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22784 grep -v '^
*+' conftest.er1 >conftest.err
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_cxx_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.$ac_objext; then
22796 echo "$as_me: failed program was:" >&5
22797 sed 's
/^
/| /' conftest.$ac_ext >&5
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22810 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22816 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22818 if test "$wx_cv_cpp_bool" = "yes"; then
22819 cat >>confdefs.h <<\_ACEOF
22820 #define HAVE_BOOL 1
22827 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22828 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22829 if test "${wx_cv_explicit+set}" = set; then
22830 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 ac_cpp='$CXXCPP $CPPFLAGS'
22836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22837 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841 cat >conftest.$ac_ext <<_ACEOF
22844 cat confdefs.h >>conftest.$ac_ext
22845 cat >>conftest.$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22848 class Foo { public: explicit Foo(int) {} };
22860 rm -f conftest.$ac_objext
22861 if { (ac_try="$ac_compile"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_compile") 2>conftest.er1
22869 grep -v '^
*+' conftest.er1 >conftest.err
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } && {
22874 test -z "$ac_cxx_werror_flag" ||
22875 test ! -s conftest.err
22876 } && test -s conftest.$ac_objext; then
22878 cat >conftest.$ac_ext <<_ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22885 class Foo { public: explicit Foo(int) {} };
22886 static void TakeFoo(const Foo& foo) { }
22899 rm -f conftest.$ac_objext
22900 if { (ac_try="$ac_compile"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_compile") 2>conftest.er1
22908 grep -v '^
*+' conftest.er1 >conftest.err
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && {
22913 test -z "$ac_cxx_werror_flag" ||
22914 test ! -s conftest.err
22915 } && test -s conftest.$ac_objext; then
22918 echo "$as_me: failed program was:" >&5
22919 sed 's
/^
/| /' conftest.$ac_ext >&5
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 echo "$as_me: failed program was:" >&5
22929 sed 's
/^
/| /' conftest.$ac_ext >&5
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22940 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22945 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22946 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22948 if test "$wx_cv_explicit" = "yes"; then
22949 cat >>confdefs.h <<\_ACEOF
22950 #define HAVE_EXPLICIT 1
22956 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22957 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22958 if test "${ac_cv_cxx_const_cast+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 ac_cpp='$CXXCPP $CPPFLAGS'
22964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22965 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22968 cat >conftest.$ac_ext <<_ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22978 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22992 grep -v '^
*+' conftest.er1 >conftest.err
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 ac_cv_cxx_const_cast=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's
/^
/| /' conftest.$ac_ext >&5
23005 ac_cv_cxx_const_cast=no
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23012 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23018 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23019 if test "$ac_cv_cxx_const_cast" = yes; then
23021 cat >>confdefs.h <<\_ACEOF
23022 #define HAVE_CONST_CAST
23027 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23028 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23029 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23036 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat >conftest.$ac_ext <<_ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 #include <typeinfo>
23046 class Base { public : Base () {} virtual void f () = 0;};
23047 class Derived : public Base { public : Derived () {} virtual void f () {} };
23048 class Unrelated { public : Unrelated () {} };
23049 int g (Unrelated&) { return 0; }
23054 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23059 rm -f conftest.$ac_objext
23060 if { (ac_try="$ac_compile"
23061 case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_compile") 2>conftest.er1
23068 grep -v '^
*+' conftest.er1 >conftest.err
23070 cat conftest.err >&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } && {
23073 test -z "$ac_cxx_werror_flag" ||
23074 test ! -s conftest.err
23075 } && test -s conftest.$ac_objext; then
23076 ac_cv_cxx_reinterpret_cast=yes
23078 echo "$as_me: failed program was:" >&5
23079 sed 's
/^
/| /' conftest.$ac_ext >&5
23081 ac_cv_cxx_reinterpret_cast=no
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 ac_cpp='$CPP $CPPFLAGS'
23087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23088 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23093 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23094 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23095 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23097 cat >>confdefs.h <<\_ACEOF
23098 #define HAVE_REINTERPRET_CAST
23103 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23104 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23105 if test "${ac_cv_cxx_static_cast+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23112 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115 cat >conftest.$ac_ext <<_ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <typeinfo>
23122 class Base { public : Base () {} virtual void f () = 0; };
23123 class Derived : public Base { public : Derived () {} virtual void f () {} };
23124 int g (Derived&) { return 0; }
23129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23134 rm -f conftest.$ac_objext
23135 if { (ac_try="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23143 grep -v '^
*+' conftest.er1 >conftest.err
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_cxx_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23151 ac_cv_cxx_static_cast=yes
23153 echo "$as_me: failed program was:" >&5
23154 sed 's
/^
/| /' conftest.$ac_ext >&5
23156 ac_cv_cxx_static_cast=no
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_cpp='$CPP $CPPFLAGS'
23162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23163 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23168 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23169 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23170 if test "$ac_cv_cxx_static_cast" = yes; then
23172 cat >>confdefs.h <<\_ACEOF
23173 #define HAVE_STATIC_CAST
23179 if test "x$SUNCXX" = xyes; then
23180 CXXFLAGS="-features=tmplife $CXXFLAGS"
23183 if test "x$SUNCC" = xyes; then
23184 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23187 if test "x$SGICC" = "xyes"; then
23188 CFLAGS="-woff 3970 $CFLAGS"
23190 if test "x$SGICXX" = "xyes"; then
23191 CXXFLAGS="-woff 3970 $CXXFLAGS"
23194 if test "x$HPCC" = "xyes"; then
23195 CFLAGS="+W 2011,2450 $CFLAGS"
23197 if test "x$HPCXX" = "xyes"; then
23198 CXXFLAGS="+W 2340 $CXXFLAGS"
23201 if test "x$COMPAQCXX" = "xyes"; then
23202 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23206 ac_cpp='$CXXCPP $CPPFLAGS'
23207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23208 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23213 if test "$wxUSE_UNICODE" = "yes"; then
23214 std_string="std::wstring"
23215 char_type="wchar_t"
23217 std_string="std::string"
23221 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23222 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23223 if test "${wx_cv_class_stdstring+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23227 cat >conftest.$ac_ext <<_ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23242 rm -f conftest.$ac_objext
23243 if { (ac_try="$ac_compile"
23244 case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246 *) ac_try_echo=$ac_try;;
23248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23249 (eval "$ac_compile") 2>conftest.er1
23251 grep -v '^
*+' conftest.er1 >conftest.err
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } && {
23256 test -z "$ac_cxx_werror_flag" ||
23257 test ! -s conftest.err
23258 } && test -s conftest.$ac_objext; then
23259 wx_cv_class_stdstring=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's
/^
/| /' conftest.$ac_ext >&5
23264 wx_cv_class_stdstring=no
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23273 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23275 if test "$wx_cv_class_stdstring" = yes; then
23276 if test "$wxUSE_UNICODE" = "yes"; then
23277 cat >>confdefs.h <<\_ACEOF
23278 #define HAVE_STD_WSTRING 1
23283 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23284 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23285 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23286 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 cat >conftest.$ac_ext <<_ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23296 #ifdef HAVE_WCHAR_H
23298 # include <stddef.h>
23300 # include <wchar.h>
23302 #ifdef HAVE_STDLIB_H
23303 # include <stdlib.h>
23311 std::basic_string<$char_type> foo;
23312 const $char_type* dummy = foo.c_str();
23317 rm -f conftest.$ac_objext
23318 if { (ac_try="$ac_compile"
23319 case "(($ac_try" in
23320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_compile") 2>conftest.er1
23326 grep -v '^
*+' conftest.er1 >conftest.err
23328 cat conftest.err >&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } && {
23331 test -z "$ac_cxx_werror_flag" ||
23332 test ! -s conftest.err
23333 } && test -s conftest.$ac_objext; then
23334 wx_cv_class_stdbasicstring=yes
23336 echo "$as_me: failed program was:" >&5
23337 sed 's
/^
/| /' conftest.$ac_ext >&5
23339 wx_cv_class_stdbasicstring=no
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23347 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23348 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23350 if test "$wx_cv_class_stdbasicstring" != yes; then
23351 if test "$wxUSE_STL" = "yes"; then
23352 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23353 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23354 { (exit 1); exit 1; }; }
23355 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23356 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23357 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23358 { (exit 1); exit 1; }; }
23360 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23361 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23362 wxUSE_STD_STRING=no
23368 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23369 { echo "$as_me:$LINENO: checking for std::istream" >&5
23370 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23371 if test "${ac_cv_type_std__istream+set}" = set; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 cat >conftest.$ac_ext <<_ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 #include <iostream>
23382 typedef std::istream ac__type_new_;
23386 if ((ac__type_new_ *) 0)
23388 if (sizeof (ac__type_new_))
23394 rm -f conftest.$ac_objext
23395 if { (ac_try="$ac_compile"
23396 case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_compile") 2>conftest.er1
23403 grep -v '^
*+' conftest.er1 >conftest.err
23405 cat conftest.err >&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } && {
23408 test -z "$ac_cxx_werror_flag" ||
23409 test ! -s conftest.err
23410 } && test -s conftest.$ac_objext; then
23411 ac_cv_type_std__istream=yes
23413 echo "$as_me: failed program was:" >&5
23414 sed 's
/^
/| /' conftest.$ac_ext >&5
23416 ac_cv_type_std__istream=no
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23422 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23423 if test $ac_cv_type_std__istream = yes; then
23425 cat >>confdefs.h <<_ACEOF
23426 #define HAVE_STD__ISTREAM 1
23431 wxUSE_STD_IOSTREAM=no
23433 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23434 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23435 if test "${ac_cv_type_std__ostream+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 cat >conftest.$ac_ext <<_ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #include <iostream>
23446 typedef std::ostream ac__type_new_;
23450 if ((ac__type_new_ *) 0)
23452 if (sizeof (ac__type_new_))
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23467 grep -v '^
*+' conftest.er1 >conftest.err
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_cxx_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_cv_type_std__ostream=yes
23477 echo "$as_me: failed program was:" >&5
23478 sed 's
/^
/| /' conftest.$ac_ext >&5
23480 ac_cv_type_std__ostream=no
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23486 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23487 if test $ac_cv_type_std__ostream = yes; then
23489 cat >>confdefs.h <<_ACEOF
23490 #define HAVE_STD__OSTREAM 1
23495 wxUSE_STD_IOSTREAM=no
23499 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23500 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23501 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23502 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23503 { (exit 1); exit 1; }; }
23505 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23506 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23511 if test "$wxUSE_STL" = "yes"; then
23512 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23513 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23514 if test "${wx_cv_lib_stl+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 cat >conftest.$ac_ext <<_ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23524 #include <functional>
23525 #include <algorithm>
23531 std::vector<int> moo;
23532 std::list<int> foo;
23533 std::vector<int>::iterator it =
23534 std::find_if(moo.begin(), moo.end(),
23535 std::bind2nd(std::less<int>(), 3));
23540 rm -f conftest.$ac_objext
23541 if { (ac_try="$ac_compile"
23542 case "(($ac_try" in
23543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_compile") 2>conftest.er1
23549 grep -v '^
*+' conftest.er1 >conftest.err
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } && {
23554 test -z "$ac_cxx_werror_flag" ||
23555 test ! -s conftest.err
23556 } && test -s conftest.$ac_objext; then
23559 echo "$as_me: failed program was:" >&5
23560 sed 's
/^
/| /' conftest.$ac_ext >&5
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23570 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23572 if test "$wx_cv_lib_stl" != yes; then
23573 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23574 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23575 { (exit 1); exit 1; }; }
23578 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23579 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23580 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23581 echo $ECHO_N "(cached) $ECHO_C" >&6
23583 cat >conftest.$ac_ext <<_ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23593 std::string foo, bar;
23595 foo.compare(1, 1, bar);
23596 foo.compare(1, 1, bar, 1, 1);
23598 foo.compare(1, 1, "");
23599 foo.compare(1, 1, "", 2);
23604 rm -f conftest.$ac_objext
23605 if { (ac_try="$ac_compile"
23606 case "(($ac_try" in
23607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23608 *) ac_try_echo=$ac_try;;
23610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23611 (eval "$ac_compile") 2>conftest.er1
23613 grep -v '^
*+' conftest.er1 >conftest.err
23615 cat conftest.err >&5
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); } && {
23618 test -z "$ac_cxx_werror_flag" ||
23619 test ! -s conftest.err
23620 } && test -s conftest.$ac_objext; then
23621 wx_cv_func_stdstring_compare=yes
23623 echo "$as_me: failed program was:" >&5
23624 sed 's
/^
/| /' conftest.$ac_ext >&5
23626 wx_cv_func_stdstring_compare=no
23630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23633 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23634 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23636 if test "$wx_cv_func_stdstring_compare" = yes; then
23637 cat >>confdefs.h <<\_ACEOF
23638 #define HAVE_STD_STRING_COMPARE 1
23643 { echo "$as_me:$LINENO: checking for hash_map" >&5
23644 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23645 if test "${ac_cv_header_hash_map+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 cat >conftest.$ac_ext <<_ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23657 #include <hash_map>
23659 rm -f conftest.$ac_objext
23660 if { (ac_try="$ac_compile"
23661 case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_compile") 2>conftest.er1
23668 grep -v '^
*+' conftest.er1 >conftest.err
23670 cat conftest.err >&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } && {
23673 test -z "$ac_cxx_werror_flag" ||
23674 test ! -s conftest.err
23675 } && test -s conftest.$ac_objext; then
23676 ac_cv_header_hash_map=yes
23678 echo "$as_me: failed program was:" >&5
23679 sed 's
/^
/| /' conftest.$ac_ext >&5
23681 ac_cv_header_hash_map=no
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23687 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23688 if test $ac_cv_header_hash_map = yes; then
23689 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23690 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23691 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 cat >conftest.$ac_ext <<_ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <hash_map>
23701 #include <hash_set>
23705 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23706 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23711 rm -f conftest.$ac_objext
23712 if { (ac_try="$ac_compile"
23713 case "(($ac_try" in
23714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23715 *) ac_try_echo=$ac_try;;
23717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23718 (eval "$ac_compile") 2>conftest.er1
23720 grep -v '^
*+' conftest.er1 >conftest.err
23722 cat conftest.err >&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } && {
23725 test -z "$ac_cxx_werror_flag" ||
23726 test ! -s conftest.err
23727 } && test -s conftest.$ac_objext; then
23728 wx_cv_class_stdhashmapset=yes
23730 echo "$as_me: failed program was:" >&5
23731 sed 's
/^
/| /' conftest.$ac_ext >&5
23733 wx_cv_class_stdhashmapset=no
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23741 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23746 if test "$wx_cv_class_stdhashmapset" = yes; then
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_HASH_MAP 1
23751 cat >>confdefs.h <<\_ACEOF
23752 #define HAVE_STD_HASH_MAP 1
23757 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23758 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23759 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 cat >conftest.$ac_ext <<_ACEOF
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23771 #include <ext/hash_map>
23773 rm -f conftest.$ac_objext
23774 if { (ac_try="$ac_compile"
23775 case "(($ac_try" in
23776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23777 *) ac_try_echo=$ac_try;;
23779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23780 (eval "$ac_compile") 2>conftest.er1
23782 grep -v '^
*+' conftest.er1 >conftest.err
23784 cat conftest.err >&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); } && {
23787 test -z "$ac_cxx_werror_flag" ||
23788 test ! -s conftest.err
23789 } && test -s conftest.$ac_objext; then
23790 ac_cv_header_ext_hash_map=yes
23792 echo "$as_me: failed program was:" >&5
23793 sed 's
/^
/| /' conftest.$ac_ext >&5
23795 ac_cv_header_ext_hash_map=no
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23800 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23801 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23802 if test $ac_cv_header_ext_hash_map = yes; then
23803 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23804 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23805 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23808 cat >conftest.$ac_ext <<_ACEOF
23811 cat confdefs.h >>conftest.$ac_ext
23812 cat >>conftest.$ac_ext <<_ACEOF
23813 /* end confdefs.h. */
23814 #include <ext/hash_map>
23815 #include <ext/hash_set>
23819 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23820 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23825 rm -f conftest.$ac_objext
23826 if { (ac_try="$ac_compile"
23827 case "(($ac_try" in
23828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23829 *) ac_try_echo=$ac_try;;
23831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23832 (eval "$ac_compile") 2>conftest.er1
23834 grep -v '^
*+' conftest.er1 >conftest.err
23836 cat conftest.err >&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } && {
23839 test -z "$ac_cxx_werror_flag" ||
23840 test ! -s conftest.err
23841 } && test -s conftest.$ac_objext; then
23842 wx_cv_class_gnuhashmapset=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's
/^
/| /' conftest.$ac_ext >&5
23847 wx_cv_class_gnuhashmapset=no
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23855 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23860 if test "$wx_cv_class_gnuhashmapset" = yes; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_EXT_HASH_MAP 1
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_GNU_CXX_HASH_MAP 1
23873 ac_cpp='$CPP $CPPFLAGS'
23874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23875 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23881 /usr/local/include \
23883 /usr/Motif-2.1/include \
23884 /usr/Motif-1.2/include \
23885 /usr/include/Motif1.2 \
23888 /usr/openwin/include \
23892 /usr/X11R6/include \
23893 /usr/X11R6.4/include \
23894 /usr/X11R5/include \
23895 /usr/X11R4/include \
23897 /usr/include/X11R6 \
23898 /usr/include/X11R5 \
23899 /usr/include/X11R4 \
23901 /usr/local/X11R6/include \
23902 /usr/local/X11R5/include \
23903 /usr/local/X11R4/include \
23905 /usr/local/include/X11R6 \
23906 /usr/local/include/X11R5 \
23907 /usr/local/include/X11R4 \
23911 /usr/local/X11/include \
23912 /usr/local/include/X11 \
23914 /usr/XFree86/include/X11 \
23917 /usr/openwin/share/include"
23919 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23920 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23924 if test "${wx_cv_std_libpath+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23929 for e in a so sl dylib dll.a; do
23931 if test -f $libc; then
23934 cat >conftest.$ac_ext <<_ACEOF
23935 int main() { return 0; }
23937 rm -f conftest.$ac_objext conftest$ac_exeext
23938 if { (ac_try="$ac_link"
23939 case "(($ac_try" in
23940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23941 *) ac_try_echo=$ac_try;;
23943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23944 (eval "$ac_link") 2>conftest.er1
23946 grep -v '^
*+' conftest.er1 >conftest.err
23948 cat conftest.err >&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } && {
23951 test -z "$ac_c_werror_flag" ||
23952 test ! -s conftest.err
23953 } && test -s conftest$ac_exeext &&
23954 $as_test_x conftest$ac_exeext; then
23955 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23957 echo "$as_me: failed program was:" >&5
23958 sed 's
/^
/| /' conftest.$ac_ext >&5
23963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23964 conftest$ac_exeext conftest.$ac_ext
23966 if test "x$wx_cv_std_libpath" != "x"; then
23972 if test "x$wx_cv_std_libpath" = "x"; then
23973 wx_cv_std_libpath="lib"
23982 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23983 wx_cv_std_libpath="lib/64"
23985 wx_cv_std_libpath="lib"
23990 if test "$ac_cv_sizeof_void_p" = 8 -a \
23991 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23992 wx_cv_std_libpath="lib64"
23994 wx_cv_std_libpath="lib"
23999 wx_cv_std_libpath="lib";
24003 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24004 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24006 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24008 if test "$build" != "$host" -a "$GCC" = yes; then
24009 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24010 cross_root=`dirname $cross_root`
24011 cross_root=`dirname $cross_root`
24013 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24014 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24015 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24017 if test -z "$PKG_CONFIG_PATH"; then
24018 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24019 export PKG_CONFIG_PATH
24022 if test -z "$x_includes" -o "$x_includes" = NONE; then
24025 for ac_dir in $SEARCH_INCLUDE /usr/include;
24027 if test -f "$ac_dir/X11/Intrinsic.h"; then
24028 ac_find_includes=$ac_dir
24033 x_includes=$ac_find_includes
24035 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24038 for ac_dir in $SEARCH_LIB;
24040 for ac_extension in a so sl dylib dll.a; do
24041 if test -f "$ac_dir/libXt.$ac_extension"; then
24042 ac_find_libraries=$ac_dir
24048 x_libraries=$ac_find_libraries
24054 cat >confcache <<\_ACEOF
24055 # This file is a shell script that caches the results of configure
24056 # tests run on this system so they can be shared between configure
24057 # scripts and configure runs, see configure's option
--config-cache.
24058 # It is not useful on other systems. If it contains results you don't
24059 # want to keep, you may remove or edit it.
24061 # config.status only pays attention to the cache file if you give it
24062 # the --recheck option to rerun configure.
24064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24066 # following values.
24070 # The following way of writing the cache mishandles newlines in values,
24071 # but we know of no workaround that is simple, portable, and efficient.
24072 # So, we kill variables containing newlines.
24073 # Ultrix sh set writes to stderr and can't be redirected directly,
24074 # and sets the high bit in the cache file unless we assign to the vars.
24076 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24077 eval ac_val
=\$
$ac_var
24081 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24082 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24085 _
| IFS
| as_nl
) ;; #(
24086 *) $as_unset $ac_var ;;
24092 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24093 *${as_nl}ac_space
=\
*)
24094 # `set' does not quote correctly, so add quotes (double-quote
24095 # substitution turns \\\\ into \\, and sed turns \\ into \).
24098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24101 # `set' quotes correctly as required by POSIX, so do not add quotes.
24102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24113 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24115 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24116 if test -w "$cache_file"; then
24117 test "x$cache_file" != "x/dev/null" &&
24118 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24119 echo "$as_me: updating cache $cache_file" >&6;}
24120 cat confcache
>$cache_file
24122 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24123 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24128 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24129 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24130 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24131 if test "${wx_cv_lib_glibc21+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 cat >conftest.
$ac_ext <<_ACEOF
24138 cat confdefs.h
>>conftest.
$ac_ext
24139 cat >>conftest.
$ac_ext <<_ACEOF
24140 /* end confdefs.h. */
24141 #include <features.h>
24146 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24154 rm -f conftest.
$ac_objext
24155 if { (ac_try
="$ac_compile"
24156 case "(($ac_try" in
24157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24158 *) ac_try_echo=$ac_try;;
24160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24161 (eval "$ac_compile") 2>conftest.er1
24163 grep -v '^ *+' conftest.er1 >conftest.err
24165 cat conftest.err >&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } && {
24168 test -z "$ac_c_werror_flag" ||
24169 test ! -s conftest.err
24170 } && test -s conftest.$ac_objext; then
24172 wx_cv_lib_glibc21=yes
24175 echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24179 wx_cv_lib_glibc21=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24187 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24188 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24189 if test "$wx_cv_lib_glibc21" = "yes"; then
24190 cat >>confdefs.h <<\_ACEOF
24191 #define wxHAVE_GLIBC2 1
24197 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24198 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24199 cat >>confdefs.h <<\_ACEOF
24200 #define _GNU_SOURCE 1
24211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24215 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 cat >conftest.$ac_ext <<_ACEOF
24220 cat confdefs.h >>conftest.$ac_ext
24221 cat >>conftest.$ac_ext <<_ACEOF
24222 /* end confdefs.h. */
24223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24225 #define $ac_func innocuous_$ac_func
24227 /* System header to define __stub macros and hopefully few prototypes,
24228 which can conflict with char $ac_func (); below.
24229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24230 <limits.h> exists even on freestanding compilers. */
24233 # include <limits.h>
24235 # include <assert.h>
24240 /* Override any GCC internal prototype to avoid an error.
24241 Use char because int might match the return type of a GCC
24242 builtin and then its argument prototype would still apply. */
24247 /* The GNU C library defines this for functions which it implements
24248 to always fail with ENOSYS. Some functions are actually named
24249 something starting with __ and the normal name is an alias. */
24250 #if defined __stub_$ac_func || defined __stub___$ac_func
24257 return $ac_func ();
24262 rm -f conftest.$ac_objext conftest$ac_exeext
24263 if { (ac_try="$ac_link"
24264 case "(($ac_try" in
24265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24266 *) ac_try_echo
=$ac_try;;
24268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24269 (eval "$ac_link") 2>conftest.er1
24271 grep -v '^ *+' conftest.er1
>conftest.err
24273 cat conftest.err
>&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && {
24276 test -z "$ac_c_werror_flag" ||
24277 test ! -s conftest.err
24278 } && test -s conftest
$ac_exeext &&
24279 $as_test_x conftest
$ac_exeext; then
24280 eval "$as_ac_var=yes"
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24285 eval "$as_ac_var=no"
24288 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24289 conftest
$ac_exeext conftest.
$ac_ext
24291 ac_res
=`eval echo '${'$as_ac_var'}'`
24292 { echo "$as_me:$LINENO: result: $ac_res" >&5
24293 echo "${ECHO_T}$ac_res" >&6; }
24294 if test `eval echo '${'$as_ac_var'}'` = yes; then
24295 cat >>confdefs.h
<<_ACEOF
24296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24303 for ac_func
in floor
24305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24308 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 cat >conftest.
$ac_ext <<_ACEOF
24314 cat confdefs.h
>>conftest.
$ac_ext
24315 cat >>conftest.
$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24319 #define $ac_func innocuous_$ac_func
24321 /* System header to define __stub macros and hopefully few prototypes,
24322 which can conflict with char $ac_func (); below.
24323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24324 <limits.h> exists even on freestanding compilers. */
24327 # include <limits.h>
24329 # include <assert.h>
24334 /* Override any GCC internal prototype to avoid an error.
24335 Use char because int might match the return type of a GCC
24336 builtin and then its argument prototype would still apply. */
24341 /* The GNU C library defines this for functions which it implements
24342 to always fail with ENOSYS. Some functions are actually named
24343 something starting with __ and the normal name is an alias. */
24344 #if defined __stub_$ac_func || defined __stub___$ac_func
24351 return $ac_func ();
24356 rm -f conftest.
$ac_objext conftest
$ac_exeext
24357 if { (ac_try
="$ac_link"
24358 case "(($ac_try" in
24359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24360 *) ac_try_echo=$ac_try;;
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363 (eval "$ac_link") 2>conftest.er1
24365 grep -v '^ *+' conftest.er1 >conftest.err
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && {
24370 test -z "$ac_c_werror_flag" ||
24371 test ! -s conftest.err
24372 } && test -s conftest$ac_exeext &&
24373 $as_test_x conftest$ac_exeext; then
24374 eval "$as_ac_var=yes"
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.$ac_ext >&5
24379 eval "$as_ac_var=no"
24382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24383 conftest$ac_exeext conftest.$ac_ext
24385 ac_res=`eval echo '${'$as_ac_var'}'`
24386 { echo "$as_me:$LINENO: result: $ac_res" >&5
24387 echo "${ECHO_T}$ac_res" >&6; }
24388 if test `eval echo '${'$as_ac_var'}'` = yes; then
24389 cat >>confdefs.h <<_ACEOF
24390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24396 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24397 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24398 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24399 { echo "$as_me:$LINENO: result: yes" >&5
24400 echo "${ECHO_T}yes" >&6; }
24402 { echo "$as_me:$LINENO: result: no" >&5
24403 echo "${ECHO_T}no" >&6; }
24405 # use different functions to avoid configure caching
24411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24425 #define $ac_func innocuous_$ac_func
24427 /* System header to define __stub macros and hopefully few prototypes,
24428 which can conflict with char $ac_func (); below.
24429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24430 <limits.h> exists even on freestanding compilers. */
24433 # include <limits.h>
24435 # include <assert.h>
24440 /* Override any GCC internal prototype to avoid an error.
24441 Use char because int might match the return type of a GCC
24442 builtin and then its argument prototype would still apply. */
24447 /* The GNU C library defines this for functions which it implements
24448 to always fail with ENOSYS. Some functions are actually named
24449 something starting with __ and the normal name is an alias. */
24450 #if defined __stub_$ac_func || defined __stub___$ac_func
24457 return $ac_func ();
24462 rm -f conftest.$ac_objext conftest$ac_exeext
24463 if { (ac_try="$ac_link"
24464 case "(($ac_try" in
24465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24466 *) ac_try_echo
=$ac_try;;
24468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24469 (eval "$ac_link") 2>conftest.er1
24471 grep -v '^ *+' conftest.er1
>conftest.err
24473 cat conftest.err
>&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); } && {
24476 test -z "$ac_c_werror_flag" ||
24477 test ! -s conftest.err
24478 } && test -s conftest
$ac_exeext &&
24479 $as_test_x conftest
$ac_exeext; then
24480 eval "$as_ac_var=yes"
24482 echo "$as_me: failed program was:" >&5
24483 sed 's/^/| /' conftest.
$ac_ext >&5
24485 eval "$as_ac_var=no"
24488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24489 conftest
$ac_exeext conftest.
$ac_ext
24491 ac_res
=`eval echo '${'$as_ac_var'}'`
24492 { echo "$as_me:$LINENO: result: $ac_res" >&5
24493 echo "${ECHO_T}$ac_res" >&6; }
24494 if test `eval echo '${'$as_ac_var'}'` = yes; then
24495 cat >>confdefs.h
<<_ACEOF
24496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24503 for ac_func
in ceil
24505 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24508 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 cat >conftest.
$ac_ext <<_ACEOF
24514 cat confdefs.h
>>conftest.
$ac_ext
24515 cat >>conftest.
$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24519 #define $ac_func innocuous_$ac_func
24521 /* System header to define __stub macros and hopefully few prototypes,
24522 which can conflict with char $ac_func (); below.
24523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24524 <limits.h> exists even on freestanding compilers. */
24527 # include <limits.h>
24529 # include <assert.h>
24534 /* Override any GCC internal prototype to avoid an error.
24535 Use char because int might match the return type of a GCC
24536 builtin and then its argument prototype would still apply. */
24541 /* The GNU C library defines this for functions which it implements
24542 to always fail with ENOSYS. Some functions are actually named
24543 something starting with __ and the normal name is an alias. */
24544 #if defined __stub_$ac_func || defined __stub___$ac_func
24551 return $ac_func ();
24556 rm -f conftest.
$ac_objext conftest
$ac_exeext
24557 if { (ac_try
="$ac_link"
24558 case "(($ac_try" in
24559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24560 *) ac_try_echo=$ac_try;;
24562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24563 (eval "$ac_link") 2>conftest.er1
24565 grep -v '^ *+' conftest.er1 >conftest.err
24567 cat conftest.err >&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); } && {
24570 test -z "$ac_c_werror_flag" ||
24571 test ! -s conftest.err
24572 } && test -s conftest$ac_exeext &&
24573 $as_test_x conftest$ac_exeext; then
24574 eval "$as_ac_var=yes"
24576 echo "$as_me: failed program was:" >&5
24577 sed 's/^/| /' conftest.$ac_ext >&5
24579 eval "$as_ac_var=no"
24582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24583 conftest$ac_exeext conftest.$ac_ext
24585 ac_res=`eval echo '${'$as_ac_var'}'`
24586 { echo "$as_me:$LINENO: result: $ac_res" >&5
24587 echo "${ECHO_T}$ac_res" >&6; }
24588 if test `eval echo '${'$as_ac_var'}'` = yes; then
24589 cat >>confdefs.h <<_ACEOF
24590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24596 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24597 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24598 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24599 { echo "$as_me:$LINENO: result: yes" >&5
24600 echo "${ECHO_T}yes" >&6; }
24602 { echo "$as_me:$LINENO: result: no" >&5
24603 echo "${ECHO_T}no" >&6; }
24604 # not sure we should warn the user, crash, etc.
24609 ac_cpp='$CXXCPP $CPPFLAGS'
24610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24614 if test "wxUSE_UNICODE" = "yes"; then
24616 for wx_func in wcstoull
24618 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24619 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24620 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 cat >conftest.$ac_ext <<_ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24633 $ac_includes_default
24649 rm -f conftest.$ac_objext conftest$ac_exeext
24650 if { (ac_try="$ac_link"
24651 case "(($ac_try" in
24652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24653 *) ac_try_echo
=$ac_try;;
24655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24656 (eval "$ac_link") 2>conftest.er1
24658 grep -v '^ *+' conftest.er1
>conftest.err
24660 cat conftest.err
>&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } && {
24663 test -z "$ac_cxx_werror_flag" ||
24664 test ! -s conftest.err
24665 } && test -s conftest
$ac_exeext &&
24666 $as_test_x conftest
$ac_exeext; then
24667 eval wx_cv_func_
$wx_func=yes
24669 echo "$as_me: failed program was:" >&5
24670 sed 's/^/| /' conftest.
$ac_ext >&5
24672 eval wx_cv_func_
$wx_func=no
24675 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24676 conftest
$ac_exeext conftest.
$ac_ext
24679 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24680 { echo "$as_me:$LINENO: result: $ac_res" >&5
24681 echo "${ECHO_T}$ac_res" >&6; }
24683 if eval test \
$wx_cv_func_$wx_func = yes
24685 cat >>confdefs.h
<<_ACEOF
24686 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24698 for wx_func
in strtoull
24700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24702 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24703 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 cat >conftest.
$ac_ext <<_ACEOF
24710 cat confdefs.h
>>conftest.
$ac_ext
24711 cat >>conftest.
$ac_ext <<_ACEOF
24712 /* end confdefs.h. */
24715 $ac_includes_default
24731 rm -f conftest.
$ac_objext conftest
$ac_exeext
24732 if { (ac_try
="$ac_link"
24733 case "(($ac_try" in
24734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24735 *) ac_try_echo=$ac_try;;
24737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24738 (eval "$ac_link") 2>conftest.er1
24740 grep -v '^ *+' conftest.er1 >conftest.err
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } && {
24745 test -z "$ac_cxx_werror_flag" ||
24746 test ! -s conftest.err
24747 } && test -s conftest$ac_exeext &&
24748 $as_test_x conftest$ac_exeext; then
24749 eval wx_cv_func_$wx_func=yes
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24754 eval wx_cv_func_$wx_func=no
24757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24758 conftest$ac_exeext conftest.$ac_ext
24761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24762 { echo "$as_me:$LINENO: result: $ac_res" >&5
24763 echo "${ECHO_T}$ac_res" >&6; }
24765 if eval test \$wx_cv_func_$wx_func = yes
24767 cat >>confdefs.h <<_ACEOF
24768 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788 if test "$wxUSE_REGEX" != "no"; then
24789 cat >>confdefs.h <<\_ACEOF
24790 #define wxUSE_REGEX 1
24794 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24795 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24796 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24797 wxUSE_REGEX=builtin
24800 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24801 { echo "$as_me:$LINENO: checking for regex.h" >&5
24802 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24803 if test "${ac_cv_header_regex_h+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24806 cat >conftest.$ac_ext <<_ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24816 rm -f conftest.$ac_objext
24817 if { (ac_try="$ac_compile"
24818 case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24820 *) ac_try_echo
=$ac_try;;
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_compile") 2>conftest.er1
24825 grep -v '^ *+' conftest.er1
>conftest.err
24827 cat conftest.err
>&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } && {
24830 test -z "$ac_c_werror_flag" ||
24831 test ! -s conftest.err
24832 } && test -s conftest.
$ac_objext; then
24833 ac_cv_header_regex_h
=yes
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.
$ac_ext >&5
24838 ac_cv_header_regex_h
=no
24841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24843 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24844 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24845 if test $ac_cv_header_regex_h = yes; then
24848 for ac_func
in regcomp re_search
24850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24853 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.
$ac_ext <<_ACEOF
24859 cat confdefs.h
>>conftest.
$ac_ext
24860 cat >>conftest.
$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24864 #define $ac_func innocuous_$ac_func
24866 /* System header to define __stub macros and hopefully few prototypes,
24867 which can conflict with char $ac_func (); below.
24868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24869 <limits.h> exists even on freestanding compilers. */
24872 # include <limits.h>
24874 # include <assert.h>
24879 /* Override any GCC internal prototype to avoid an error.
24880 Use char because int might match the return type of a GCC
24881 builtin and then its argument prototype would still apply. */
24886 /* The GNU C library defines this for functions which it implements
24887 to always fail with ENOSYS. Some functions are actually named
24888 something starting with __ and the normal name is an alias. */
24889 #if defined __stub_$ac_func || defined __stub___$ac_func
24896 return $ac_func ();
24901 rm -f conftest.
$ac_objext conftest
$ac_exeext
24902 if { (ac_try
="$ac_link"
24903 case "(($ac_try" in
24904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_link") 2>conftest.er1
24910 grep -v '^ *+' conftest.er1 >conftest.err
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_c_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest$ac_exeext &&
24918 $as_test_x conftest$ac_exeext; then
24919 eval "$as_ac_var=yes"
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24924 eval "$as_ac_var=no"
24927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24928 conftest$ac_exeext conftest.$ac_ext
24930 ac_res=`eval echo '${'$as_ac_var'}'`
24931 { echo "$as_me:$LINENO: result: $ac_res" >&5
24932 echo "${ECHO_T}$ac_res" >&6; }
24933 if test `eval echo '${'$as_ac_var'}'` = yes; then
24934 cat >>confdefs.h <<_ACEOF
24935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24945 if test "x$ac_cv_func_regcomp" != "xyes"; then
24946 if test "$wxUSE_REGEX" = "sys" ; then
24947 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24948 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24949 { (exit 1); exit 1; }; }
24951 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24952 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24953 wxUSE_REGEX=builtin
24957 cat >>confdefs.h <<\_ACEOF
24958 #define WX_NO_REGEX_ADVANCED 1
24967 if test "$wxUSE_ZLIB" != "no" ; then
24968 cat >>confdefs.h <<\_ACEOF
24969 #define wxUSE_ZLIB 1
24973 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24974 if test "$USE_DARWIN" = 1; then
24975 system_zlib_h_ok="yes"
24977 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24978 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24979 if test "${ac_cv_header_zlib_h+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 if test "$cross_compiling" = yes; then
24983 unset ac_cv_header_zlib_h
24986 cat >conftest.$ac_ext <<_ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24998 FILE *f=fopen("conftestval", "w");
25001 ZLIB_VERSION[0] == '1' &&
25002 (ZLIB_VERSION[2] > '1' ||
25003 (ZLIB_VERSION[2] == '1' &&
25004 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25009 rm -f conftest$ac_exeext
25010 if { (ac_try="$ac_link"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25013 *) ac_try_echo
=$ac_try;;
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_link") 2>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25020 { (case "(($ac_try" in
25021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_try") 2>&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; }; then
25029 ac_cv_header_zlib_h=`cat conftestval
`
25031 echo "$as_me: program exited with status $ac_status" >&5
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25035 ( exit $ac_status )
25036 ac_cv_header_zlib_h=no
25038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25044 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25045 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25046 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25047 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25048 if test "${ac_cv_header_zlib_h+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25051 cat >conftest.$ac_ext <<_ACEOF
25054 cat confdefs.h >>conftest.$ac_ext
25055 cat >>conftest.$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25061 rm -f conftest.$ac_objext
25062 if { (ac_try="$ac_compile"
25063 case "(($ac_try" in
25064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25065 *) ac_try_echo
=$ac_try;;
25067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25068 (eval "$ac_compile") 2>conftest.er1
25070 grep -v '^ *+' conftest.er1
>conftest.err
25072 cat conftest.err
>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } && {
25075 test -z "$ac_c_werror_flag" ||
25076 test ! -s conftest.err
25077 } && test -s conftest.
$ac_objext; then
25078 ac_cv_header_zlib_h
=yes
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.
$ac_ext >&5
25083 ac_cv_header_zlib_h
=no
25086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25088 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25089 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25093 system_zlib_h_ok
=$ac_cv_header_zlib_h
25096 if test "$system_zlib_h_ok" = "yes"; then
25097 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25098 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25099 if test "${ac_cv_lib_z_deflate+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 ac_check_lib_save_LIBS
=$LIBS
25104 cat >conftest.
$ac_ext <<_ACEOF
25107 cat confdefs.h
>>conftest.
$ac_ext
25108 cat >>conftest.
$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25111 /* Override any GCC internal prototype to avoid an error.
25112 Use char because int might match the return type of a GCC
25113 builtin and then its argument prototype would still apply. */
25126 rm -f conftest.
$ac_objext conftest
$ac_exeext
25127 if { (ac_try
="$ac_link"
25128 case "(($ac_try" in
25129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25130 *) ac_try_echo=$ac_try;;
25132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25133 (eval "$ac_link") 2>conftest.er1
25135 grep -v '^ *+' conftest.er1 >conftest.err
25137 cat conftest.err >&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } && {
25140 test -z "$ac_c_werror_flag" ||
25141 test ! -s conftest.err
25142 } && test -s conftest$ac_exeext &&
25143 $as_test_x conftest$ac_exeext; then
25144 ac_cv_lib_z_deflate=yes
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25149 ac_cv_lib_z_deflate=no
25152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25153 conftest$ac_exeext conftest.$ac_ext
25154 LIBS=$ac_check_lib_save_LIBS
25156 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25157 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25158 if test $ac_cv_lib_z_deflate = yes; then
25164 if test "x$ZLIB_LINK" = "x" ; then
25165 if test "$wxUSE_ZLIB" = "sys" ; then
25166 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25167 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25168 { (exit 1); exit 1; }; }
25170 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25171 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25182 if test "$wxUSE_LIBPNG" != "no" ; then
25183 cat >>confdefs.h <<\_ACEOF
25184 #define wxUSE_LIBPNG 1
25188 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25189 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25190 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25194 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25195 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25196 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25197 wxUSE_LIBPNG=builtin
25200 if test "$wxUSE_MGL" != 1 ; then
25201 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25202 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25203 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25204 if test "${ac_cv_header_png_h+set}" = set; then
25205 echo $ECHO_N "(cached) $ECHO_C" >&6
25207 if test "$cross_compiling" = yes; then
25208 unset ac_cv_header_png_h
25211 cat >conftest.$ac_ext <<_ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25223 FILE *f=fopen("conftestval", "w");
25226 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25231 rm -f conftest$ac_exeext
25232 if { (ac_try="$ac_link"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25235 *) ac_try_echo
=$ac_try;;
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_link") 2>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25242 { (case "(($ac_try" in
25243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_try") 2>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; }; then
25251 ac_cv_header_png_h=`cat conftestval
`
25253 echo "$as_me: program exited with status $ac_status" >&5
25254 echo "$as_me: failed program was:" >&5
25255 sed 's/^/| /' conftest.$ac_ext >&5
25257 ( exit $ac_status )
25258 ac_cv_header_png_h=no
25260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25266 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25267 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25268 { echo "$as_me:$LINENO: checking for png.h" >&5
25269 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25270 if test "${ac_cv_header_png_h+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 cat >conftest.$ac_ext <<_ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25283 rm -f conftest.$ac_objext
25284 if { (ac_try="$ac_compile"
25285 case "(($ac_try" in
25286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25287 *) ac_try_echo
=$ac_try;;
25289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25290 (eval "$ac_compile") 2>conftest.er1
25292 grep -v '^ *+' conftest.er1
>conftest.err
25294 cat conftest.err
>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } && {
25297 test -z "$ac_c_werror_flag" ||
25298 test ! -s conftest.err
25299 } && test -s conftest.
$ac_objext; then
25300 ac_cv_header_png_h
=yes
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.
$ac_ext >&5
25305 ac_cv_header_png_h
=no
25308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25310 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25311 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25315 if test "$ac_cv_header_png_h" = "yes"; then
25316 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25317 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25318 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25319 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 ac_check_lib_save_LIBS
=$LIBS
25322 LIBS
="-lpng -lz -lm $LIBS"
25323 cat >conftest.
$ac_ext <<_ACEOF
25326 cat confdefs.h
>>conftest.
$ac_ext
25327 cat >>conftest.
$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25330 /* Override any GCC internal prototype to avoid an error.
25331 Use char because int might match the return type of a GCC
25332 builtin and then its argument prototype would still apply. */
25336 char png_check_sig ();
25340 return png_check_sig ();
25345 rm -f conftest.
$ac_objext conftest
$ac_exeext
25346 if { (ac_try
="$ac_link"
25347 case "(($ac_try" in
25348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25349 *) ac_try_echo=$ac_try;;
25351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25352 (eval "$ac_link") 2>conftest.er1
25354 grep -v '^ *+' conftest.er1 >conftest.err
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } && {
25359 test -z "$ac_c_werror_flag" ||
25360 test ! -s conftest.err
25361 } && test -s conftest$ac_exeext &&
25362 $as_test_x conftest$ac_exeext; then
25363 ac_cv_lib_png_png_check_sig=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 ac_cv_lib_png_png_check_sig=no
25371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25372 conftest$ac_exeext conftest.$ac_ext
25373 LIBS=$ac_check_lib_save_LIBS
25375 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25376 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25377 if test $ac_cv_lib_png_png_check_sig = yes; then
25378 PNG_LINK=" -lpng -lz"
25383 if test "x$PNG_LINK" = "x" ; then
25384 if test "$wxUSE_LIBPNG" = "sys" ; then
25385 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25386 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25387 { (exit 1); exit 1; }; }
25389 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25390 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25391 wxUSE_LIBPNG=builtin
25399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25404 if test "$wxUSE_LIBJPEG" != "no" ; then
25405 cat >>confdefs.h <<\_ACEOF
25406 #define wxUSE_LIBJPEG 1
25410 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25411 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25412 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25416 if test "$wxUSE_MGL" != 1 ; then
25417 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25418 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25419 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25420 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25421 echo $ECHO_N "(cached) $ECHO_C" >&6
25423 cat >conftest.$ac_ext <<_ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
25428 /* end confdefs.h. */
25430 #undef HAVE_STDLIB_H
25432 #include <jpeglib.h>
25443 rm -f conftest.$ac_objext
25444 if { (ac_try="$ac_compile"
25445 case "(($ac_try" in
25446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25447 *) ac_try_echo
=$ac_try;;
25449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 (eval "$ac_compile") 2>conftest.er1
25452 grep -v '^ *+' conftest.er1
>conftest.err
25454 cat conftest.err
>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } && {
25457 test -z "$ac_c_werror_flag" ||
25458 test ! -s conftest.err
25459 } && test -s conftest.
$ac_objext; then
25460 ac_cv_header_jpeglib_h
=yes
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.
$ac_ext >&5
25465 ac_cv_header_jpeglib_h
=no
25469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25473 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25474 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25476 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25477 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25478 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25479 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 ac_check_lib_save_LIBS
=$LIBS
25483 LIBS
="-ljpeg $LIBS"
25484 cat >conftest.
$ac_ext <<_ACEOF
25487 cat confdefs.h
>>conftest.
$ac_ext
25488 cat >>conftest.
$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25491 /* Override any GCC internal prototype to avoid an error.
25492 Use char because int might match the return type of a GCC
25493 builtin and then its argument prototype would still apply. */
25497 char jpeg_read_header ();
25501 return jpeg_read_header ();
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (ac_try
="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>conftest.er1
25515 grep -v '^ *+' conftest.er1 >conftest.err
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } && {
25520 test -z "$ac_c_werror_flag" ||
25521 test ! -s conftest.err
25522 } && test -s conftest$ac_exeext &&
25523 $as_test_x conftest$ac_exeext; then
25524 ac_cv_lib_jpeg_jpeg_read_header=yes
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25529 ac_cv_lib_jpeg_jpeg_read_header=no
25532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25533 conftest$ac_exeext conftest.$ac_ext
25534 LIBS=$ac_check_lib_save_LIBS
25536 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25537 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25538 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25539 JPEG_LINK=" -ljpeg"
25544 if test "x$JPEG_LINK" = "x" ; then
25545 if test "$wxUSE_LIBJPEG" = "sys" ; then
25546 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25547 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25548 { (exit 1); exit 1; }; }
25550 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25551 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25552 wxUSE_LIBJPEG=builtin
25557 if test "$wxUSE_MSW" = 1; then
25558 { echo "$as_me:$LINENO: checking for boolean" >&5
25559 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25560 if test "${ac_cv_type_boolean+set}" = set; then
25561 echo $ECHO_N "(cached) $ECHO_C" >&6
25563 cat >conftest.$ac_ext <<_ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25569 #include <windows.h>
25571 typedef boolean ac__type_new_;
25575 if ((ac__type_new_ *) 0)
25577 if (sizeof (ac__type_new_))
25583 rm -f conftest.$ac_objext
25584 if { (ac_try="$ac_compile"
25585 case "(($ac_try" in
25586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25587 *) ac_try_echo
=$ac_try;;
25589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25590 (eval "$ac_compile") 2>conftest.er1
25592 grep -v '^ *+' conftest.er1
>conftest.err
25594 cat conftest.err
>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); } && {
25597 test -z "$ac_c_werror_flag" ||
25598 test ! -s conftest.err
25599 } && test -s conftest.
$ac_objext; then
25600 ac_cv_type_boolean
=yes
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.
$ac_ext >&5
25605 ac_cv_type_boolean
=no
25608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25610 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25611 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25612 if test $ac_cv_type_boolean = yes; then
25614 cat >>confdefs.h
<<_ACEOF
25615 #define HAVE_BOOLEAN 1
25619 { echo "$as_me:$LINENO: checking for boolean" >&5
25620 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25621 if test "${ac_cv_type_boolean+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 cat >conftest.
$ac_ext <<_ACEOF
25627 cat confdefs.h
>>conftest.
$ac_ext
25628 cat >>conftest.
$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25631 #undef HAVE_BOOLEAN
25633 #include <jpeglib.h>
25636 typedef boolean ac__type_new_;
25640 if ((ac__type_new_ *) 0)
25642 if (sizeof (ac__type_new_))
25648 rm -f conftest.
$ac_objext
25649 if { (ac_try
="$ac_compile"
25650 case "(($ac_try" in
25651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25652 *) ac_try_echo=$ac_try;;
25654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25655 (eval "$ac_compile") 2>conftest.er1
25657 grep -v '^ *+' conftest.er1 >conftest.err
25659 cat conftest.err >&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); } && {
25662 test -z "$ac_c_werror_flag" ||
25663 test ! -s conftest.err
25664 } && test -s conftest.$ac_objext; then
25665 ac_cv_type_boolean=yes
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25670 ac_cv_type_boolean=no
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25675 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25676 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25678 # The cast to long int works around a bug in the HP C Compiler
25679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25680 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25681 # This bug is HP SR number 8606223364.
25682 { echo "$as_me:$LINENO: checking size of boolean" >&5
25683 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25684 if test "${ac_cv_sizeof_boolean+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 if test "$cross_compiling" = yes; then
25688 # Depending upon the size, compute the lo and hi bounds.
25689 cat >conftest.$ac_ext <<_ACEOF
25692 cat confdefs.h >>conftest.$ac_ext
25693 cat >>conftest.$ac_ext <<_ACEOF
25694 /* end confdefs.h. */
25696 #undef HAVE_BOOLEAN
25698 #include <jpeglib.h>
25701 typedef boolean ac__type_sizeof_;
25705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25712 rm -f conftest.$ac_objext
25713 if { (ac_try="$ac_compile"
25714 case "(($ac_try" in
25715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25716 *) ac_try_echo=$ac_try;;
25718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25719 (eval "$ac_compile") 2>conftest.er1
25721 grep -v '^
*+' conftest.er1 >conftest.err
25723 cat conftest.err >&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); } && {
25726 test -z "$ac_c_werror_flag" ||
25727 test ! -s conftest.err
25728 } && test -s conftest.$ac_objext; then
25731 cat >conftest.$ac_ext <<_ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25738 #undef HAVE_BOOLEAN
25740 #include <jpeglib.h>
25743 typedef boolean ac__type_sizeof_;
25747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25754 rm -f conftest.$ac_objext
25755 if { (ac_try="$ac_compile"
25756 case "(($ac_try" in
25757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758 *) ac_try_echo=$ac_try;;
25760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761 (eval "$ac_compile") 2>conftest.er1
25763 grep -v '^
*+' conftest.er1 >conftest.err
25765 cat conftest.err >&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); } && {
25768 test -z "$ac_c_werror_flag" ||
25769 test ! -s conftest.err
25770 } && test -s conftest.$ac_objext; then
25771 ac_hi=$ac_mid; break
25773 echo "$as_me: failed program was:" >&5
25774 sed 's
/^
/| /' conftest.$ac_ext >&5
25776 ac_lo=`expr $ac_mid + 1`
25777 if test $ac_lo -le $ac_mid; then
25781 ac_mid=`expr 2 '*' $ac_mid + 1`
25784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25787 echo "$as_me: failed program was:" >&5
25788 sed 's
/^
/| /' conftest.$ac_ext >&5
25790 cat >conftest.$ac_ext <<_ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25797 #undef HAVE_BOOLEAN
25799 #include <jpeglib.h>
25802 typedef boolean ac__type_sizeof_;
25806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25813 rm -f conftest.$ac_objext
25814 if { (ac_try="$ac_compile"
25815 case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_compile") 2>conftest.er1
25822 grep -v '^
*+' conftest.er1 >conftest.err
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && {
25827 test -z "$ac_c_werror_flag" ||
25828 test ! -s conftest.err
25829 } && test -s conftest.$ac_objext; then
25832 cat >conftest.$ac_ext <<_ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25839 #undef HAVE_BOOLEAN
25841 #include <jpeglib.h>
25844 typedef boolean ac__type_sizeof_;
25848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25855 rm -f conftest.$ac_objext
25856 if { (ac_try="$ac_compile"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_compile") 2>conftest.er1
25864 grep -v '^
*+' conftest.er1 >conftest.err
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest.$ac_objext; then
25872 ac_lo=$ac_mid; break
25874 echo "$as_me: failed program was:" >&5
25875 sed 's
/^
/| /' conftest.$ac_ext >&5
25877 ac_hi=`expr '(' $ac_mid ')' - 1`
25878 if test $ac_mid -le $ac_hi; then
25882 ac_mid=`expr 2 '*' $ac_mid`
25885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888 echo "$as_me: failed program was:" >&5
25889 sed 's
/^
/| /' conftest.$ac_ext >&5
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 # Binary search between lo and hi bounds.
25899 while test "x$ac_lo" != "x$ac_hi"; do
25900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25901 cat >conftest.$ac_ext <<_ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25908 #undef HAVE_BOOLEAN
25910 #include <jpeglib.h>
25913 typedef boolean ac__type_sizeof_;
25917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25924 rm -f conftest.$ac_objext
25925 if { (ac_try="$ac_compile"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_compile") 2>conftest.er1
25933 grep -v '^
*+' conftest.er1 >conftest.err
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest.$ac_objext; then
25943 echo "$as_me: failed program was:" >&5
25944 sed 's
/^
/| /' conftest.$ac_ext >&5
25946 ac_lo=`expr '(' $ac_mid ')' + 1`
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25952 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25953 '') if test "$ac_cv_type_boolean" = yes; then
25954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25955 See \`config.log' for more details.
" >&5
25956 echo "$as_me: error
: cannot compute sizeof
(boolean
)
25957 See \
`config.log' for more details." >&2;}
25958 { (exit 77); exit 77; }; }
25960 ac_cv_sizeof_boolean=0
25964 cat >conftest.$ac_ext <<_ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 #undef HAVE_BOOLEAN
25973 #include <jpeglib.h>
25976 typedef boolean ac__type_sizeof_;
25977 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25978 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25980 #include <stdlib.h>
25985 FILE *f = fopen ("conftest.val", "w");
25988 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25990 long int i = longval ();
25991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25993 fprintf (f, "%ld\n", i);
25997 unsigned long int i = ulongval ();
25998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26000 fprintf (f, "%lu\n", i);
26002 return ferror (f) || fclose (f) != 0;
26008 rm -f conftest$ac_exeext
26009 if { (ac_try="$ac_link"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26012 *) ac_try_echo
=$ac_try;;
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_link") 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26019 { (case "(($ac_try" in
26020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_try") 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_sizeof_boolean=`cat conftest.val
`
26030 echo "$as_me: program exited with status $ac_status" >&5
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26034 ( exit $ac_status )
26035 if test "$ac_cv_type_boolean" = yes; then
26036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26037 See \`config.log
' for more details." >&5
26038 echo "$as_me: error: cannot compute sizeof (boolean)
26039 See \`config.log' for more details.
" >&2;}
26040 { (exit 77); exit 77; }; }
26042 ac_cv_sizeof_boolean=0
26045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26049 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26050 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26054 cat >>confdefs.h <<_ACEOF
26055 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26059 cat >>confdefs.h <<_ACEOF
26060 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26074 TIFF_PREREQ_LINKS=-lm
26075 if test "$wxUSE_LIBTIFF" != "no
" ; then
26076 cat >>confdefs.h <<\_ACEOF
26077 #define wxUSE_LIBTIFF 1
26081 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26082 if test "$wxUSE_LIBJPEG" = "sys
"; then
26083 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26085 if test "$wxUSE_ZLIB" = "sys
"; then
26086 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26088 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26089 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26090 if test "${ac_cv_header_tiffio_h+set}" = set; then
26091 echo $ECHO_N "(cached
) $ECHO_C" >&6
26093 cat >conftest.$ac_ext <<_ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26102 #include <tiffio.h>
26104 rm -f conftest.$ac_objext
26105 if { (ac_try="$ac_compile"
26106 case "(($ac_try" in
26107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26108 *) ac_try_echo=$ac_try;;
26110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26111 (eval "$ac_compile") 2>conftest.er1
26113 grep -v '^ *+' conftest.er1 >conftest.err
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26117 (exit $ac_status); } && {
26118 test -z "$ac_c_werror_flag" ||
26119 test ! -s conftest.err
26120 } && test -s conftest.$ac_objext; then
26121 ac_cv_header_tiffio_h=yes
26123 echo "$as_me: failed program was
:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26126 ac_cv_header_tiffio_h=no
26129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26131 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26132 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26133 if test $ac_cv_header_tiffio_h = yes; then
26135 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26136 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26137 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26138 echo $ECHO_N "(cached
) $ECHO_C" >&6
26140 ac_check_lib_save_LIBS=$LIBS
26141 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26142 cat >conftest.$ac_ext <<_ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26149 /* Override any GCC internal prototype to avoid an error.
26150 Use char because int might match the return type of a GCC
26151 builtin and then its argument prototype would still apply. */
26159 return TIFFError ();
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (ac_try="$ac_link"
26166 case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168 *) ac_try_echo=$ac_try;;
26170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_link") 2>conftest.er1
26173 grep -v '^ *+' conftest.er1 >conftest.err
26175 cat conftest.err >&5
26176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26177 (exit $ac_status); } && {
26178 test -z "$ac_c_werror_flag" ||
26179 test ! -s conftest.err
26180 } && test -s conftest$ac_exeext &&
26181 $as_test_x conftest$ac_exeext; then
26182 ac_cv_lib_tiff_TIFFError=yes
26184 echo "$as_me: failed program was
:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26187 ac_cv_lib_tiff_TIFFError=no
26190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26191 conftest$ac_exeext conftest.$ac_ext
26192 LIBS=$ac_check_lib_save_LIBS
26194 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26195 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26196 if test $ac_cv_lib_tiff_TIFFError = yes; then
26197 TIFF_LINK=" -ltiff"
26205 if test "x
$TIFF_LINK" = "x
" ; then
26206 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26207 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26208 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26209 { (exit 1); exit 1; }; }
26211 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26212 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26213 wxUSE_LIBTIFF=builtin
26222 if test "$wxUSE_WCHAR_T" != "yes"; then
26223 if test "$wxUSE_EXPAT" != "no
"; then
26224 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26225 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26228 if test "$wxUSE_XML" != "no
"; then
26229 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26230 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26235 if test "$wxUSE_EXPAT" != "no
"; then
26237 cat >>confdefs.h <<\_ACEOF
26238 #define wxUSE_EXPAT 1
26241 cat >>confdefs.h <<\_ACEOF
26242 #define wxUSE_XML 1
26246 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26247 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26248 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26249 if test "${ac_cv_header_expat_h+set}" = set; then
26250 echo $ECHO_N "(cached
) $ECHO_C" >&6
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26271 grep -v '^ *+' conftest.er1 >conftest.err
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_c_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.$ac_objext; then
26279 ac_cv_header_expat_h=yes
26281 echo "$as_me: failed program was
:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26284 ac_cv_header_expat_h=no
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26289 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26290 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26291 if test $ac_cv_header_expat_h = yes; then
26296 if test "x
$found_expat_h" = "x1
"; then
26297 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26298 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26299 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26300 echo $ECHO_N "(cached
) $ECHO_C" >&6
26304 ac_cpp='$CXXCPP $CPPFLAGS'
26305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26309 cat >conftest.$ac_ext <<_ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26324 rm -f conftest.$ac_objext
26325 if { (ac_try="$ac_compile"
26326 case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_compile") 2>conftest.er1
26333 grep -v '^ *+' conftest.er1 >conftest.err
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_cxx_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest.$ac_objext; then
26341 wx_cv_expat_is_not_broken=yes
26343 echo "$as_me: failed program was
:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26346 wx_cv_expat_is_not_broken=no
26350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_cpp='$CPP $CPPFLAGS'
26353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26360 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26361 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26362 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26363 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26364 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26365 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26366 echo $ECHO_N "(cached
) $ECHO_C" >&6
26368 ac_check_lib_save_LIBS=$LIBS
26369 LIBS="-lexpat $LIBS"
26370 cat >conftest.$ac_ext <<_ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26377 /* Override any GCC internal prototype to avoid an error.
26378 Use char because int might match the return type of a GCC
26379 builtin and then its argument prototype would still apply. */
26383 char XML_ParserCreate ();
26387 return XML_ParserCreate ();
26392 rm -f conftest.$ac_objext conftest$ac_exeext
26393 if { (ac_try="$ac_link"
26394 case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_link") 2>conftest.er1
26401 grep -v '^ *+' conftest.er1 >conftest.err
26403 cat conftest.err >&5
26404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26405 (exit $ac_status); } && {
26406 test -z "$ac_c_werror_flag" ||
26407 test ! -s conftest.err
26408 } && test -s conftest$ac_exeext &&
26409 $as_test_x conftest$ac_exeext; then
26410 ac_cv_lib_expat_XML_ParserCreate=yes
26412 echo "$as_me: failed program was
:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26415 ac_cv_lib_expat_XML_ParserCreate=no
26418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26419 conftest$ac_exeext conftest.$ac_ext
26420 LIBS=$ac_check_lib_save_LIBS
26422 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26423 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26424 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26425 EXPAT_LINK=" -lexpat"
26430 if test "x
$EXPAT_LINK" = "x
" ; then
26431 if test "$wxUSE_EXPAT" = "sys
" ; then
26432 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26433 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26434 { (exit 1); exit 1; }; }
26436 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26437 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26438 wxUSE_EXPAT=builtin
26444 if test "$wxUSE_EXPAT" = "builtin" ; then
26445 subdirs="$subdirs src
/expat
"
26452 if test "$wxUSE_LIBMSPACK" != "no
"; then
26453 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26454 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26455 if test "${ac_cv_header_mspack_h+set}" = set; then
26456 echo $ECHO_N "(cached
) $ECHO_C" >&6
26458 cat >conftest.$ac_ext <<_ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26466 #include <mspack.h>
26468 rm -f conftest.$ac_objext
26469 if { (ac_try="$ac_compile"
26470 case "(($ac_try" in
26471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26472 *) ac_try_echo=$ac_try;;
26474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26475 (eval "$ac_compile") 2>conftest.er1
26477 grep -v '^ *+' conftest.er1 >conftest.err
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26481 (exit $ac_status); } && {
26482 test -z "$ac_c_werror_flag" ||
26483 test ! -s conftest.err
26484 } && test -s conftest.$ac_objext; then
26485 ac_cv_header_mspack_h=yes
26487 echo "$as_me: failed program was
:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26490 ac_cv_header_mspack_h=no
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26496 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26497 if test $ac_cv_header_mspack_h = yes; then
26502 if test "x
$found_mspack_h" = "x1
"; then
26503 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26504 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26505 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26506 echo $ECHO_N "(cached
) $ECHO_C" >&6
26508 ac_check_lib_save_LIBS=$LIBS
26509 LIBS="-lmspack $LIBS"
26510 cat >conftest.$ac_ext <<_ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26517 /* Override any GCC internal prototype to avoid an error.
26518 Use char because int might match the return type of a GCC
26519 builtin and then its argument prototype would still apply. */
26523 char mspack_create_chm_decompressor ();
26527 return mspack_create_chm_decompressor ();
26532 rm -f conftest.$ac_objext conftest$ac_exeext
26533 if { (ac_try="$ac_link"
26534 case "(($ac_try" in
26535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26536 *) ac_try_echo=$ac_try;;
26538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26539 (eval "$ac_link") 2>conftest.er1
26541 grep -v '^ *+' conftest.er1 >conftest.err
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26545 (exit $ac_status); } && {
26546 test -z "$ac_c_werror_flag" ||
26547 test ! -s conftest.err
26548 } && test -s conftest$ac_exeext &&
26549 $as_test_x conftest$ac_exeext; then
26550 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26552 echo "$as_me: failed program was
:" >&5
26553 sed 's/^/| /' conftest.$ac_ext >&5
26555 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26559 conftest$ac_exeext conftest.$ac_ext
26560 LIBS=$ac_check_lib_save_LIBS
26562 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26563 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26564 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26565 MSPACK_LINK=" -lmspack"
26569 if test "x
$MSPACK_LINK" = "x
" ; then
26574 if test "$wxUSE_LIBMSPACK" != "no
"; then
26575 cat >>confdefs.h <<\_ACEOF
26576 #define wxUSE_LIBMSPACK 1
26590 if test "$USE_WIN32" = 1 ; then
26591 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26592 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26593 if test "${ac_cv_header_w32api_h+set}" = set; then
26594 echo $ECHO_N "(cached
) $ECHO_C" >&6
26596 cat >conftest.$ac_ext <<_ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26604 #include <w32api.h>
26606 rm -f conftest.$ac_objext
26607 if { (ac_try="$ac_compile"
26608 case "(($ac_try" in
26609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26610 *) ac_try_echo=$ac_try;;
26612 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26613 (eval "$ac_compile") 2>conftest.er1
26615 grep -v '^ *+' conftest.er1 >conftest.err
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26619 (exit $ac_status); } && {
26620 test -z "$ac_c_werror_flag" ||
26621 test ! -s conftest.err
26622 } && test -s conftest.$ac_objext; then
26623 ac_cv_header_w32api_h=yes
26625 echo "$as_me: failed program was
:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26628 ac_cv_header_w32api_h=no
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26634 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26637 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26638 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26639 if test "${ac_cv_header_windows_h+set}" = set; then
26640 echo $ECHO_N "(cached
) $ECHO_C" >&6
26642 cat >conftest.$ac_ext <<_ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26650 #include <windows.h>
26652 rm -f conftest.$ac_objext
26653 if { (ac_try="$ac_compile"
26654 case "(($ac_try" in
26655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26656 *) ac_try_echo=$ac_try;;
26658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26659 (eval "$ac_compile") 2>conftest.er1
26661 grep -v '^ *+' conftest.er1 >conftest.err
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26665 (exit $ac_status); } && {
26666 test -z "$ac_c_werror_flag" ||
26667 test ! -s conftest.err
26668 } && test -s conftest.$ac_objext; then
26669 ac_cv_header_windows_h=yes
26671 echo "$as_me: failed program was
:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26674 ac_cv_header_windows_h=no
26677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26680 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26681 if test $ac_cv_header_windows_h = yes; then
26685 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26686 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26687 { (exit 1); exit 1; }; }
26693 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26695 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26696 LIBS="$LIBS -loleacc"
26701 LIBS="$LIBS -lkernel32 -luser32"
26704 if test "$wxUSE_ODBC" = "sys
" ; then
26707 if test "$wxUSE_ODBC" = "yes" ; then
26708 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26709 cat >>confdefs.h <<\_ACEOF
26710 #define wxUSE_ODBC 1
26715 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26716 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26718 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26720 WIN32INSTALL=win32install
26722 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26723 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26724 if test "${ac_cv_header_pbt_h+set}" = set; then
26725 echo $ECHO_N "(cached
) $ECHO_C" >&6
26727 cat >conftest.$ac_ext <<_ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26737 rm -f conftest.$ac_objext
26738 if { (ac_try="$ac_compile"
26739 case "(($ac_try" in
26740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26741 *) ac_try_echo=$ac_try;;
26743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26744 (eval "$ac_compile") 2>conftest.er1
26746 grep -v '^ *+' conftest.er1 >conftest.err
26748 cat conftest.err >&5
26749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26750 (exit $ac_status); } && {
26751 test -z "$ac_c_werror_flag" ||
26752 test ! -s conftest.err
26753 } && test -s conftest.$ac_objext; then
26754 ac_cv_header_pbt_h=yes
26756 echo "$as_me: failed program was
:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26759 ac_cv_header_pbt_h=no
26762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26765 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26766 if test $ac_cv_header_pbt_h = yes; then
26769 cat >>confdefs.h <<\_ACEOF
26770 #define NEED_PBT_H 1
26778 if test "$wxUSE_GUI" = "yes"; then
26788 if test "$wxUSE_COCOA" = 1 ; then
26789 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26790 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26791 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26792 wxUSE_PRINTING_ARCHITECTURE=no
26794 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26795 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26796 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26797 wxUSE_DRAG_AND_DROP=no
26799 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26800 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26801 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26806 if test "$wxUSE_MSW" = 1 ; then
26812 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26816 if test "$wxUSE_GTK" = 1; then
26817 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26818 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26820 gtk_version_cached=1
26821 if test "${wx_cv_lib_gtk+set}" = set; then
26822 echo $ECHO_N "(cached
) $ECHO_C" >&6
26825 gtk_version_cached=0
26826 { echo "$as_me:$LINENO: result
: " >&5
26827 echo "${ECHO_T}" >&6; }
26830 if test "$wxUSE_THREADS" = "yes"; then
26831 GTK_MODULES=gthread
26835 if test "x
$wxGTK_VERSION" != "x1
"
26839 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26844 # Check whether --enable-gtktest was given.
26845 if test "${enable_gtktest+set}" = set; then
26846 enableval=$enable_gtktest;
26852 pkg_config_args=gtk+-2.0
26853 for module in . $GTK_MODULES
26857 pkg_config_args="$pkg_config_args gthread
-2.0
"
26864 # Extract the first word of "pkg
-config", so it can be a program name with args.
26865 set dummy pkg-config; ac_word=$2
26866 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
26867 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
26868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26869 echo $ECHO_N "(cached
) $ECHO_C" >&6
26871 case $PKG_CONFIG in
26873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26877 for as_dir in $PATH
26880 test -z "$as_dir" && as_dir=.
26881 for ac_exec_ext in '' $ac_executable_extensions; do
26882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26884 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
26891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
26895 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26896 if test -n "$PKG_CONFIG"; then
26897 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
26898 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26900 { echo "$as_me:$LINENO: result
: no
" >&5
26901 echo "${ECHO_T}no
" >&6; }
26906 if test x$PKG_CONFIG != xno ; then
26907 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26910 echo "*** pkg
-config too old
; version
0.7 or better required.
"
26918 min_gtk_version=2.0.0
26919 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
26920 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
26922 if test x$PKG_CONFIG != xno ; then
26923 ## don't try to run the test against uninstalled libtool libs
26924 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26925 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
26929 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26936 if test x"$no_gtk" = x ; then
26937 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26938 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26939 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26941 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26943 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26945 if test "x
$enable_gtktest" = "xyes
" ; then
26946 ac_save_CFLAGS="$CFLAGS"
26947 ac_save_LIBS="$LIBS"
26948 CFLAGS="$CFLAGS $GTK_CFLAGS"
26949 LIBS="$GTK_LIBS $LIBS"
26951 if test "$cross_compiling" = yes; then
26952 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
26954 cat >conftest.$ac_ext <<_ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26961 #include <gtk/gtk.h>
26963 #include <stdlib.h>
26968 int major, minor, micro;
26971 system ("touch conf.gtktest
");
26973 /* HP/UX 9 (%@#!) writes to sscanf strings */
26974 tmp_version = g_strdup("$min_gtk_version");
26975 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
26976 printf("%s
, bad version string
\n", "$min_gtk_version");
26980 if ((gtk_major_version != $gtk_config_major_version) ||
26981 (gtk_minor_version != $gtk_config_minor_version) ||
26982 (gtk_micro_version != $gtk_config_micro_version))
26984 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
26985 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26986 gtk_major_version, gtk_minor_version, gtk_micro_version);
26987 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
26988 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
26989 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
26990 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
26991 printf("*** required on your system.
\n");
26992 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
26993 printf("*** to point to the correct configuration files
\n");
26995 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26996 (gtk_minor_version != GTK_MINOR_VERSION) ||
26997 (gtk_micro_version != GTK_MICRO_VERSION))
26999 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27000 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27001 printf("*** library
(version
%d.
%d.
%d
)\n",
27002 gtk_major_version, gtk_minor_version, gtk_micro_version);
27006 if ((gtk_major_version > major) ||
27007 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27008 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27014 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27015 gtk_major_version, gtk_minor_version, gtk_micro_version);
27016 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27017 major, minor, micro);
27018 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27020 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27021 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27022 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27023 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27024 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27025 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27026 printf("*** so that the correct libraries are found
at run
-time))\n");
27033 rm -f conftest$ac_exeext
27034 if { (ac_try="$ac_link"
27035 case "(($ac_try" in
27036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27037 *) ac_try_echo=$ac_try;;
27039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27040 (eval "$ac_link") 2>&5
27042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27044 { (case "(($ac_try" in
27045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27046 *) ac_try_echo=$ac_try;;
27048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27049 (eval "$ac_try") 2>&5
27051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27052 (exit $ac_status); }; }; then
27055 echo "$as_me: program exited with status
$ac_status" >&5
27056 echo "$as_me: failed program was
:" >&5
27057 sed 's/^/| /' conftest.$ac_ext >&5
27059 ( exit $ac_status )
27062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27066 CFLAGS="$ac_save_CFLAGS"
27067 LIBS="$ac_save_LIBS"
27070 if test "x
$no_gtk" = x ; then
27071 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27072 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27075 { echo "$as_me:$LINENO: result
: no
" >&5
27076 echo "${ECHO_T}no
" >&6; }
27077 if test "$PKG_CONFIG" = "no
" ; then
27078 echo "*** A new enough version of pkg
-config was not found.
"
27079 echo "*** See http
://pkgconfig.sourceforge.net
"
27081 if test -f conf.gtktest ; then
27084 echo "*** Could not run GTK
+ test program
, checking why...
"
27085 ac_save_CFLAGS="$CFLAGS"
27086 ac_save_LIBS="$LIBS"
27087 CFLAGS="$CFLAGS $GTK_CFLAGS"
27088 LIBS="$LIBS $GTK_LIBS"
27089 cat >conftest.$ac_ext <<_ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 #include <gtk/gtk.h>
27102 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27107 rm -f conftest.$ac_objext conftest$ac_exeext
27108 if { (ac_try="$ac_link"
27109 case "(($ac_try" in
27110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27111 *) ac_try_echo=$ac_try;;
27113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27114 (eval "$ac_link") 2>conftest.er1
27116 grep -v '^ *+' conftest.er1 >conftest.err
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27120 (exit $ac_status); } && {
27121 test -z "$ac_c_werror_flag" ||
27122 test ! -s conftest.err
27123 } && test -s conftest$ac_exeext &&
27124 $as_test_x conftest$ac_exeext; then
27125 echo "*** The
test program compiled
, but did not run. This usually means
"
27126 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27127 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27128 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27129 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27130 echo "*** is required on your system"
27132 echo "*** If you have an old version installed, it is best to remove it, although"
27133 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27135 echo "$as_me: failed program was:" >&5
27136 sed 's
/^
/| /' conftest.$ac_ext >&5
27138 echo "*** The test program failed to compile or link. See the file config.log for the"
27139 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27143 conftest$ac_exeext conftest.$ac_ext
27144 CFLAGS="$ac_save_CFLAGS"
27145 LIBS="$ac_save_LIBS"
27159 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27160 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27161 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27163 if test "$wxUSE_SHARED" != "yes"; then
27164 GTK_LIBS="$GTK_LIBS -lX11"
27169 if test -z "$wx_cv_lib_gtk"; then
27170 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27172 # Check whether --with-gtk-prefix was given.
27173 if test "${with_gtk_prefix+set}" = set; then
27174 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27176 gtk_config_prefix=""
27180 # Check whether --with-gtk-exec-prefix was given.
27181 if test "${with_gtk_exec_prefix+set}" = set; then
27182 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27184 gtk_config_exec_prefix=""
27187 # Check whether --enable-gtktest was given.
27188 if test "${enable_gtktest+set}" = set; then
27189 enableval=$enable_gtktest;
27195 for module in . $GTK_MODULES
27199 gtk_config_args="$gtk_config_args gthread"
27204 if test x$gtk_config_exec_prefix != x ; then
27205 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27206 if test x${GTK_CONFIG+set} != xset ; then
27207 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27210 if test x$gtk_config_prefix != x ; then
27211 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27212 if test x${GTK_CONFIG+set} != xset ; then
27213 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27217 # Extract the first word of "gtk-config", so it can be a program name with args.
27218 set dummy gtk-config; ac_word=$2
27219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27221 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 case $GTK_CONFIG in
27226 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27230 for as_dir in $PATH
27233 test -z "$as_dir" && as_dir=.
27234 for ac_exec_ext in '' $ac_executable_extensions; do
27235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27236 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27244 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27248 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27249 if test -n "$GTK_CONFIG"; then
27250 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27251 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27253 { echo "$as_me:$LINENO: result: no" >&5
27254 echo "${ECHO_T}no" >&6; }
27258 min_gtk_version=1.2.7
27259 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27260 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27262 if test "$GTK_CONFIG" = "no" ; then
27265 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27266 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27267 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27268 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27269 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27270 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27271 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27272 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27273 if test "x$enable_gtktest" = "xyes" ; then
27274 ac_save_CFLAGS="$CFLAGS"
27275 ac_save_LIBS="$LIBS"
27276 CFLAGS="$CFLAGS $GTK_CFLAGS"
27277 LIBS="$GTK_LIBS $LIBS"
27279 if test "$cross_compiling" = yes; then
27280 echo $ac_n "cross compiling; assumed OK... $ac_c"
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27289 #include <gtk/gtk.h>
27291 #include <stdlib.h>
27296 int major, minor, micro;
27299 system ("touch conf.gtktest");
27301 /* HP/UX 9 (%@#!) writes to sscanf strings */
27302 tmp_version = g_strdup("$min_gtk_version");
27303 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27304 printf("%s, bad version string\n", "$min_gtk_version");
27308 if ((gtk_major_version != $gtk_config_major_version) ||
27309 (gtk_minor_version != $gtk_config_minor_version) ||
27310 (gtk_micro_version != $gtk_config_micro_version))
27312 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27313 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27314 gtk_major_version, gtk_minor_version, gtk_micro_version);
27315 printf ("*** was found! If gtk-config was correct, then it is best\n");
27316 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27317 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27318 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27319 printf("*** required on your system.\n");
27320 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27321 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27322 printf("*** before re-running configure\n");
27324 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27325 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27326 (gtk_minor_version != GTK_MINOR_VERSION) ||
27327 (gtk_micro_version != GTK_MICRO_VERSION))
27329 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27330 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27331 printf("*** library (version %d.%d.%d)\n",
27332 gtk_major_version, gtk_minor_version, gtk_micro_version);
27334 #endif /* defined (GTK_MAJOR_VERSION) ... */
27337 if ((gtk_major_version > major) ||
27338 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27339 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27345 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27346 gtk_major_version, gtk_minor_version, gtk_micro_version);
27347 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27348 major, minor, micro);
27349 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27351 printf("*** If you have already installed a sufficiently new version, this error\n");
27352 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27353 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27354 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27355 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27356 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27357 printf("*** so that the correct libraries are found at run-time))\n");
27364 rm -f conftest$ac_exeext
27365 if { (ac_try="$ac_link"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_link") 2>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27375 { (case "(($ac_try" in
27376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27377 *) ac_try_echo=$ac_try;;
27379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27380 (eval "$ac_try") 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27386 echo "$as_me: program exited with status $ac_status" >&5
27387 echo "$as_me: failed program was:" >&5
27388 sed 's
/^
/| /' conftest.$ac_ext >&5
27390 ( exit $ac_status )
27393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27397 CFLAGS="$ac_save_CFLAGS"
27398 LIBS="$ac_save_LIBS"
27401 if test "x$no_gtk" = x ; then
27402 { echo "$as_me:$LINENO: result: yes" >&5
27403 echo "${ECHO_T}yes" >&6; }
27404 wx_cv_lib_gtk=1.2.7
27406 { echo "$as_me:$LINENO: result: no" >&5
27407 echo "${ECHO_T}no" >&6; }
27408 if test "$GTK_CONFIG" = "no" ; then
27409 echo "*** The gtk-config script installed by GTK could not be found"
27410 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27411 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27412 echo "*** full path to gtk-config."
27414 if test -f conf.gtktest ; then
27417 echo "*** Could not run GTK test program, checking why..."
27418 CFLAGS="$CFLAGS $GTK_CFLAGS"
27419 LIBS="$LIBS $GTK_LIBS"
27420 cat >conftest.$ac_ext <<_ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27427 #include <gtk/gtk.h>
27433 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (ac_try="$ac_link"
27440 case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_link") 2>conftest.er1
27447 grep -v '^
*+' conftest.er1 >conftest.err
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && {
27452 test -z "$ac_c_werror_flag" ||
27453 test ! -s conftest.err
27454 } && test -s conftest$ac_exeext &&
27455 $as_test_x conftest$ac_exeext; then
27456 echo "*** The test program compiled, but did not run. This usually means"
27457 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27458 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27459 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27460 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27461 echo "*** is required on your system
"
27463 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27464 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27466 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27467 echo "*** came with the system with the
command"
27469 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27471 echo "$as_me: failed program was
:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27475 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27476 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27477 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27481 conftest$ac_exeext conftest.$ac_ext
27482 CFLAGS="$ac_save_CFLAGS"
27483 LIBS="$ac_save_LIBS"
27495 if test -z "$wx_cv_lib_gtk"; then
27497 # Check whether --with-gtk-prefix was given.
27498 if test "${with_gtk_prefix+set}" = set; then
27499 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27501 gtk_config_prefix=""
27505 # Check whether --with-gtk-exec-prefix was given.
27506 if test "${with_gtk_exec_prefix+set}" = set; then
27507 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27509 gtk_config_exec_prefix=""
27512 # Check whether --enable-gtktest was given.
27513 if test "${enable_gtktest+set}" = set; then
27514 enableval=$enable_gtktest;
27520 for module in . $GTK_MODULES
27524 gtk_config_args="$gtk_config_args gthread
"
27529 if test x$gtk_config_exec_prefix != x ; then
27530 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27531 if test x${GTK_CONFIG+set} != xset ; then
27532 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27535 if test x$gtk_config_prefix != x ; then
27536 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27537 if test x${GTK_CONFIG+set} != xset ; then
27538 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27542 # Extract the first word of "gtk
-config", so it can be a program name with args.
27543 set dummy gtk-config; ac_word=$2
27544 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27545 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27546 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27547 echo $ECHO_N "(cached
) $ECHO_C" >&6
27549 case $GTK_CONFIG in
27551 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27555 for as_dir in $PATH
27558 test -z "$as_dir" && as_dir=.
27559 for ac_exec_ext in '' $ac_executable_extensions; do
27560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27561 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27569 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27573 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27574 if test -n "$GTK_CONFIG"; then
27575 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27576 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27578 { echo "$as_me:$LINENO: result
: no
" >&5
27579 echo "${ECHO_T}no
" >&6; }
27583 min_gtk_version=1.2.3
27584 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27585 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27587 if test "$GTK_CONFIG" = "no
" ; then
27590 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27591 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27592 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27594 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27596 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27598 if test "x
$enable_gtktest" = "xyes
" ; then
27599 ac_save_CFLAGS="$CFLAGS"
27600 ac_save_LIBS="$LIBS"
27601 CFLAGS="$CFLAGS $GTK_CFLAGS"
27602 LIBS="$GTK_LIBS $LIBS"
27604 if test "$cross_compiling" = yes; then
27605 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27607 cat >conftest.$ac_ext <<_ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27614 #include <gtk/gtk.h>
27616 #include <stdlib.h>
27621 int major, minor, micro;
27624 system ("touch conf.gtktest
");
27626 /* HP/UX 9 (%@#!) writes to sscanf strings */
27627 tmp_version = g_strdup("$min_gtk_version");
27628 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27629 printf("%s
, bad version string
\n", "$min_gtk_version");
27633 if ((gtk_major_version != $gtk_config_major_version) ||
27634 (gtk_minor_version != $gtk_config_minor_version) ||
27635 (gtk_micro_version != $gtk_config_micro_version))
27637 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27638 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27639 gtk_major_version, gtk_minor_version, gtk_micro_version);
27640 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27641 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27642 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27643 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27644 printf("*** required on your system.
\n");
27645 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27646 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27647 printf("*** before re
-running configure
\n");
27649 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27650 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27651 (gtk_minor_version != GTK_MINOR_VERSION) ||
27652 (gtk_micro_version != GTK_MICRO_VERSION))
27654 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27655 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27656 printf("*** library
(version
%d.
%d.
%d
)\n",
27657 gtk_major_version, gtk_minor_version, gtk_micro_version);
27659 #endif /* defined (GTK_MAJOR_VERSION) ... */
27662 if ((gtk_major_version > major) ||
27663 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27664 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27670 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27671 gtk_major_version, gtk_minor_version, gtk_micro_version);
27672 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27673 major, minor, micro);
27674 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27676 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27677 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27678 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27679 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27680 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27681 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27682 printf("*** so that the correct libraries are found
at run
-time))\n");
27689 rm -f conftest$ac_exeext
27690 if { (ac_try="$ac_link"
27691 case "(($ac_try" in
27692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27693 *) ac_try_echo=$ac_try;;
27695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27696 (eval "$ac_link") 2>&5
27698 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27700 { (case "(($ac_try" in
27701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702 *) ac_try_echo=$ac_try;;
27704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27705 (eval "$ac_try") 2>&5
27707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27708 (exit $ac_status); }; }; then
27711 echo "$as_me: program exited with status
$ac_status" >&5
27712 echo "$as_me: failed program was
:" >&5
27713 sed 's/^/| /' conftest.$ac_ext >&5
27715 ( exit $ac_status )
27718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27722 CFLAGS="$ac_save_CFLAGS"
27723 LIBS="$ac_save_LIBS"
27726 if test "x
$no_gtk" = x ; then
27727 { echo "$as_me:$LINENO: result
: yes" >&5
27728 echo "${ECHO_T}yes" >&6; }
27729 wx_cv_lib_gtk=1.2.3
27731 { echo "$as_me:$LINENO: result
: no
" >&5
27732 echo "${ECHO_T}no
" >&6; }
27733 if test "$GTK_CONFIG" = "no
" ; then
27734 echo "*** The gtk
-config script installed by GTK could not be found
"
27735 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27736 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27737 echo "*** full path to gtk
-config.
"
27739 if test -f conf.gtktest ; then
27742 echo "*** Could not run GTK
test program
, checking why...
"
27743 CFLAGS="$CFLAGS $GTK_CFLAGS"
27744 LIBS="$LIBS $GTK_LIBS"
27745 cat >conftest.$ac_ext <<_ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27752 #include <gtk/gtk.h>
27758 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (ac_try="$ac_link"
27765 case "(($ac_try" in
27766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27767 *) ac_try_echo=$ac_try;;
27769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27770 (eval "$ac_link") 2>conftest.er1
27772 grep -v '^ *+' conftest.er1 >conftest.err
27774 cat conftest.err >&5
27775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27776 (exit $ac_status); } && {
27777 test -z "$ac_c_werror_flag" ||
27778 test ! -s conftest.err
27779 } && test -s conftest$ac_exeext &&
27780 $as_test_x conftest$ac_exeext; then
27781 echo "*** The
test program compiled
, but did not run. This usually means
"
27782 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27783 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27784 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27785 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27786 echo "*** is required on your system"
27788 echo "*** If you have an old version installed, it is best to remove it, although"
27789 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27791 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27792 echo "*** came with the system with the command"
27794 echo "*** rpm --erase --nodeps gtk gtk-devel"
27796 echo "$as_me: failed program was:" >&5
27797 sed 's
/^
/| /' conftest.$ac_ext >&5
27799 echo "*** The test program failed to compile or link. See the file config.log for the"
27800 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27801 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27802 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27806 conftest$ac_exeext conftest.$ac_ext
27807 CFLAGS="$ac_save_CFLAGS"
27808 LIBS="$ac_save_LIBS"
27823 if test -z "$wx_cv_lib_gtk"; then
27826 wx_cv_cflags_gtk=$GTK_CFLAGS
27827 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
27834 if test "$gtk_version_cached" = 1; then
27835 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27836 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27839 case "$wx_cv_lib_gtk" in
27848 *) { { echo "$as_me:$LINENO: error:
27849 The development files for GTK+ were not found. For GTK+ 2, please
27850 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27851 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27852 and that the version is 1.2.3 or above. Also check that the
27853 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27854 --libs' are in the LD_LIBRARY_PATH or equivalent.
27856 echo "$as_me: error:
27857 The development files for GTK+ were not found. For GTK+ 2, please
27858 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27859 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27860 and that the version is 1.2.3 or above. Also check that the
27861 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27862 --libs' are in the LD_LIBRARY_PATH or equivalent.
27864 { (exit 1); exit 1; }; }
27868 if test "$WXGTK20" = 1; then
27869 save_CFLAGS="$CFLAGS"
27871 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27872 LIBS="$LIBS $wx_cv_libs_gtk"
27874 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27875 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27876 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27879 cat >conftest.$ac_ext <<_ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 #include <gtk/gtk.h>
27890 #ifndef gtk_icon_size_lookup
27891 (void) gtk_icon_size_lookup;
27898 rm -f conftest.$ac_objext
27899 if { (ac_try="$ac_compile"
27900 case "(($ac_try" in
27901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27902 *) ac_try_echo=$ac_try;;
27904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27905 (eval "$ac_compile") 2>conftest.er1
27907 grep -v '^
*+' conftest.er1 >conftest.err
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && {
27912 test -z "$ac_c_werror_flag" ||
27913 test ! -s conftest.err
27914 } && test -s conftest.$ac_objext; then
27915 ac_cv_have_decl_gtk_icon_size_lookup=yes
27917 echo "$as_me: failed program was:" >&5
27918 sed 's
/^
/| /' conftest.$ac_ext >&5
27920 ac_cv_have_decl_gtk_icon_size_lookup=no
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27925 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27926 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27927 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27929 cat >>confdefs.h <<_ACEOF
27930 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27935 cat >>confdefs.h <<_ACEOF
27936 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27939 cat >>confdefs.h <<\_ACEOF
27940 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27948 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27949 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27950 cat >conftest.$ac_ext <<_ACEOF
27953 cat confdefs.h >>conftest.$ac_ext
27954 cat >>conftest.$ac_ext <<_ACEOF
27955 /* end confdefs.h. */
27957 #include <gtk/gtk.h>
27963 #if !GTK_CHECK_VERSION(2,10,0)
27971 rm -f conftest.$ac_objext
27972 if { (ac_try="$ac_compile"
27973 case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_compile") 2>conftest.er1
27980 grep -v '^
*+' conftest.er1 >conftest.err
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } && {
27985 test -z "$ac_c_werror_flag" ||
27986 test ! -s conftest.err
27987 } && test -s conftest.$ac_objext; then
27989 cat >>confdefs.h <<\_ACEOF
27990 #define __WXGTK210__ 1
27993 cat >>confdefs.h <<\_ACEOF
27994 #define __WXGTK26__ 1
27997 cat >>confdefs.h <<\_ACEOF
27998 #define __WXGTK24__ 1
28001 { echo "$as_me:$LINENO: result: yes" >&5
28002 echo "${ECHO_T}yes" >&6; }
28006 echo "$as_me: failed program was:" >&5
28007 sed 's
/^
/| /' conftest.$ac_ext >&5
28010 { echo "$as_me:$LINENO: result: no" >&5
28011 echo "${ECHO_T}no" >&6; }
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28018 if test "$ac_wxgtk210" = 0; then
28019 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28020 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28021 cat >conftest.$ac_ext <<_ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28028 #include <gtk/gtk.h>
28034 #if !GTK_CHECK_VERSION(2,6,0)
28042 rm -f conftest.$ac_objext
28043 if { (ac_try="$ac_compile"
28044 case "(($ac_try" in
28045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_compile") 2>conftest.er1
28051 grep -v '^
*+' conftest.er1 >conftest.err
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } && {
28056 test -z "$ac_c_werror_flag" ||
28057 test ! -s conftest.err
28058 } && test -s conftest.$ac_objext; then
28060 cat >>confdefs.h <<\_ACEOF
28061 #define __WXGTK26__ 1
28064 cat >>confdefs.h <<\_ACEOF
28065 #define __WXGTK24__ 1
28068 { echo "$as_me:$LINENO: result: yes" >&5
28069 echo "${ECHO_T}yes" >&6; }
28073 echo "$as_me: failed program was:" >&5
28074 sed 's
/^
/| /' conftest.$ac_ext >&5
28077 { echo "$as_me:$LINENO: result: no" >&5
28078 echo "${ECHO_T}no" >&6; }
28083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28086 if test "$ac_wxgtk26" = 0; then
28087 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28088 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28089 cat >conftest.$ac_ext <<_ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28096 #include <gtk/gtk.h>
28102 #if !GTK_CHECK_VERSION(2,4,0)
28110 rm -f conftest.$ac_objext
28111 if { (ac_try="$ac_compile"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_compile") 2>conftest.er1
28119 grep -v '^
*+' conftest.er1 >conftest.err
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest.$ac_objext; then
28128 cat >>confdefs.h <<\_ACEOF
28129 #define __WXGTK24__ 1
28132 { echo "$as_me:$LINENO: result: yes" >&5
28133 echo "${ECHO_T}yes" >&6; }
28136 echo "$as_me: failed program was:" >&5
28137 sed 's
/^
/| /' conftest.$ac_ext >&5
28140 { echo "$as_me:$LINENO: result: no" >&5
28141 echo "${ECHO_T}no" >&6; }
28145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28148 CFLAGS="$save_CFLAGS"
28151 if test "$wxUSE_UNICODE" = "yes"; then
28152 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28153 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28157 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28158 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28159 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 ac_check_lib_save_LIBS=$LIBS
28164 cat >conftest.$ac_ext <<_ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28171 /* Override any GCC internal prototype to avoid an error.
28172 Use char because int might match the return type of a GCC
28173 builtin and then its argument prototype would still apply. */
28177 char gdk_im_open ();
28181 return gdk_im_open ();
28186 rm -f conftest.$ac_objext conftest$ac_exeext
28187 if { (ac_try="$ac_link"
28188 case "(($ac_try" in
28189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28190 *) ac_try_echo=$ac_try;;
28192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28193 (eval "$ac_link") 2>conftest.er1
28195 grep -v '^
*+' conftest.er1 >conftest.err
28197 cat conftest.err >&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } && {
28200 test -z "$ac_c_werror_flag" ||
28201 test ! -s conftest.err
28202 } && test -s conftest$ac_exeext &&
28203 $as_test_x conftest$ac_exeext; then
28204 ac_cv_lib_gdk_gdk_im_open=yes
28206 echo "$as_me: failed program was:" >&5
28207 sed 's
/^
/| /' conftest.$ac_ext >&5
28209 ac_cv_lib_gdk_gdk_im_open=no
28212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28213 conftest$ac_exeext conftest.$ac_ext
28214 LIBS=$ac_check_lib_save_LIBS
28216 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28217 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28218 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28219 cat >>confdefs.h <<\_ACEOF
28226 if test "$USE_DARWIN" != 1; then
28228 for ac_func in poll
28230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 cat >conftest.$ac_ext <<_ACEOF
28239 cat confdefs.h >>conftest.$ac_ext
28240 cat >>conftest.$ac_ext <<_ACEOF
28241 /* end confdefs.h. */
28242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28244 #define $ac_func innocuous_$ac_func
28246 /* System header to define __stub macros and hopefully few prototypes,
28247 which can conflict with char $ac_func (); below.
28248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28249 <limits.h> exists even on freestanding compilers. */
28252 # include <limits.h>
28254 # include <assert.h>
28259 /* Override any GCC internal prototype to avoid an error.
28260 Use char because int might match the return type of a GCC
28261 builtin and then its argument prototype would still apply. */
28266 /* The GNU C library defines this for functions which it implements
28267 to always fail with ENOSYS. Some functions are actually named
28268 something starting with __ and the normal name is an alias. */
28269 #if defined __stub_$ac_func || defined __stub___$ac_func
28276 return $ac_func ();
28281 rm -f conftest.$ac_objext conftest$ac_exeext
28282 if { (ac_try="$ac_link"
28283 case "(($ac_try" in
28284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28285 *) ac_try_echo=$ac_try;;
28287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28288 (eval "$ac_link") 2>conftest.er1
28290 grep -v '^
*+' conftest.er1 >conftest.err
28292 cat conftest.err >&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } && {
28295 test -z "$ac_c_werror_flag" ||
28296 test ! -s conftest.err
28297 } && test -s conftest$ac_exeext &&
28298 $as_test_x conftest$ac_exeext; then
28299 eval "$as_ac_var=yes"
28301 echo "$as_me: failed program was:" >&5
28302 sed 's
/^
/| /' conftest.$ac_ext >&5
28304 eval "$as_ac_var=no"
28307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28308 conftest$ac_exeext conftest.$ac_ext
28310 ac_res=`eval echo '${'$as_ac_var'}'`
28311 { echo "$as_me:$LINENO: result: $ac_res" >&5
28312 echo "${ECHO_T}$ac_res" >&6; }
28313 if test `eval echo '${'$as_ac_var'}'` = yes; then
28314 cat >>confdefs.h <<_ACEOF
28315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28324 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28325 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28327 AFMINSTALL=afminstall
28331 if test "$wxUSE_GPE" = "yes"; then
28332 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28333 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28336 for ac_dir in $SEARCH_LIB;
28338 for ac_extension in a so sl dylib dll.a; do
28339 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28340 ac_find_libraries=$ac_dir
28346 if test "$ac_find_libraries" != "" ; then
28348 if test "$ac_find_libraries" = "default location"; then
28351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28353 if test $result = 0; then
28356 ac_path_to_link=" -L$ac_find_libraries"
28360 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28362 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28363 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28365 { echo "$as_me:$LINENO: result: not found" >&5
28366 echo "${ECHO_T}not found" >&6; }
28372 if test "$wxUSE_MGL" = 1; then
28373 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28374 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28375 if test "x$MGL_ROOT" = x ; then
28376 { echo "$as_me:$LINENO: result: not found" >&5
28377 echo "${ECHO_T}not found" >&6; }
28378 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28379 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28380 { (exit 1); exit 1; }; }
28382 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28383 echo "${ECHO_T}$MGL_ROOT" >&6; }
28386 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28387 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28390 if test "x$wxUSE_SHARED" = xyes ; then
28391 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28393 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28397 mgl_os_candidates="dos32/dj2"
28400 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28401 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28402 { (exit 1); exit 1; }; }
28408 for mgl_os_i in $mgl_os_candidates ; do
28409 if test "x$mgl_os" = x ; then
28410 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28411 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28412 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28417 if test "x$mgl_lib_type" = x ; then
28418 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28419 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28420 mgl_lib_type=release
28427 if test "x$mgl_os" = x ; then
28428 { echo "$as_me:$LINENO: result: not found" >&5
28429 echo "${ECHO_T}not found" >&6; }
28430 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28431 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28432 { (exit 1); exit 1; }; }
28434 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28435 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28437 wxUSE_UNIVERSAL="yes"
28439 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28440 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28442 AFMINSTALL=afminstall
28447 if test "$wxUSE_DFB" = 1; then
28450 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28451 if test -n "$ac_tool_prefix"; then
28452 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28453 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28456 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28459 case $PKG_CONFIG in
28461 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28465 for as_dir in $PATH
28468 test -z "$as_dir" && as_dir=.
28469 for ac_exec_ext in '' $ac_executable_extensions; do
28470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28471 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28483 if test -n "$PKG_CONFIG"; then
28484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28487 { echo "$as_me:$LINENO: result: no" >&5
28488 echo "${ECHO_T}no" >&6; }
28493 if test -z "$ac_cv_path_PKG_CONFIG"; then
28494 ac_pt_PKG_CONFIG=$PKG_CONFIG
28495 # Extract the first word of "pkg-config", so it can be a program name with args.
28496 set dummy pkg-config; ac_word=$2
28497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28499 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 case $ac_pt_PKG_CONFIG in
28504 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28508 for as_dir in $PATH
28511 test -z "$as_dir" && as_dir=.
28512 for ac_exec_ext in '' $ac_executable_extensions; do
28513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28514 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28525 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28526 if test -n "$ac_pt_PKG_CONFIG"; then
28527 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28528 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28530 { echo "$as_me:$LINENO: result: no" >&5
28531 echo "${ECHO_T}no" >&6; }
28534 if test "x$ac_pt_PKG_CONFIG" = x; then
28537 case $cross_compiling:$ac_tool_warned in
28539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28540 whose name does not start with the host triplet. If you think this
28541 configuration is useful to you, please write to autoconf@gnu.org." >&5
28542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28543 whose name does not start with the host triplet. If you think this
28544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28545 ac_tool_warned=yes ;;
28547 PKG_CONFIG=$ac_pt_PKG_CONFIG
28550 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28554 if test -n "$PKG_CONFIG"; then
28555 _pkg_min_version=0.9.0
28556 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28557 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28558 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28559 { echo "$as_me:$LINENO: result: yes" >&5
28560 echo "${ECHO_T}yes" >&6; }
28562 { echo "$as_me:$LINENO: result: no" >&5
28563 echo "${ECHO_T}no" >&6; }
28571 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28572 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28574 if test -n "$PKG_CONFIG"; then
28575 if test -n "$DIRECTFB_CFLAGS"; then
28576 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28578 if test -n "$PKG_CONFIG" && \
28579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28580 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; then
28584 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28592 if test -n "$PKG_CONFIG"; then
28593 if test -n "$DIRECTFB_LIBS"; then
28594 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28596 if test -n "$PKG_CONFIG" && \
28597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28598 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; then
28602 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28613 if test $pkg_failed = yes; then
28615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28616 _pkg_short_errors_supported=yes
28618 _pkg_short_errors_supported=no
28620 if test $_pkg_short_errors_supported = yes; then
28621 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28623 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28625 # Put the nasty error message in config.log where it belongs
28626 echo "$DIRECTFB_PKG_ERRORS" >&5
28629 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28630 echo "$as_me: error: DirectFB not found." >&2;}
28631 { (exit 1); exit 1; }; }
28634 elif test $pkg_failed = untried; then
28636 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28637 echo "$as_me: error: DirectFB not found." >&2;}
28638 { (exit 1); exit 1; }; }
28642 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28643 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28644 { echo "$as_me:$LINENO: result: yes" >&5
28645 echo "${ECHO_T}yes" >&6; }
28647 wxUSE_UNIVERSAL="yes"
28648 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28649 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28656 if test "$wxUSE_MICROWIN" = 1; then
28657 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28658 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28659 if test "x$MICROWINDOWS" = x ; then
28660 { echo "$as_me:$LINENO: result: not found" >&5
28661 echo "${ECHO_T}not found" >&6; }
28662 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28663 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28664 { (exit 1); exit 1; }; }
28666 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28667 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28670 if test -f $MICROWINDOWS/lib/libmwin.a; then
28671 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28672 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28674 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28675 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28676 { (exit 1); exit 1; }; }
28679 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28680 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28682 wxUSE_UNIVERSAL="yes"
28684 AFMINSTALL=afminstall
28686 GUIDIST=MICROWIN_DIST
28688 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28691 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28692 { echo "$as_me:$LINENO: checking for X" >&5
28693 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28696 # Check whether --with-x was given.
28697 if test "${with_x+set}" = set; then
28701 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28702 if test "x$with_x" = xno; then
28703 # The user explicitly disabled X.
28706 case $x_includes,$x_libraries in #(
28707 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28708 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28709 { (exit 1); exit 1; }; };; #(
28710 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28711 echo $ECHO_N "(cached) $ECHO_C" >&6
28713 # One or both of the vars are not set, and there is no cached value.
28714 ac_x_includes=no ac_x_libraries=no
28715 rm -f -r conftest.dir
28716 if mkdir conftest.dir; then
28718 cat >Imakefile <<'_ACEOF'
28720 @echo incroot='${INCROOT}'
28722 @echo usrlibdir='${USRLIBDIR}'
28724 @echo libdir='${LIBDIR}'
28726 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28728 for ac_var in incroot usrlibdir libdir; do
28729 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28731 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28732 for ac_extension in a so sl; do
28733 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28734 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28735 ac_im_usrlibdir=$ac_im_libdir; break
28738 # Screen out bogus values from the imake configuration. They are
28739 # bogus both because they are the default anyway, and because
28740 # using them would break gcc on systems where it needs fixed includes.
28741 case $ac_im_incroot in
28742 /usr/include) ac_x_includes= ;;
28743 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28745 case $ac_im_usrlibdir in
28746 /usr/lib | /lib) ;;
28747 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28751 rm -f -r conftest.dir
28754 # Standard set of common directories for X headers.
28755 # Check X11 before X11Rn because it is often a symlink to the current release.
28767 /usr
/local
/X
11/include
28768 /usr
/local
/X
11R
6/include
28769 /usr
/local
/X
11R
5/include
28770 /usr
/local
/X
11R
4/include
28772 /usr
/local
/include
/X11
28773 /usr
/local
/include
/X11R6
28774 /usr
/local
/include
/X11R5
28775 /usr
/local
/include
/X11R4
28779 /usr
/XFree
86/include
/X11
28783 /usr
/unsupported
/include
28784 /usr
/athena
/include
28785 /usr
/local
/x
11r
5/include
28786 /usr
/lpp
/Xamples
/include
28788 /usr
/openwin
/include
28789 /usr
/openwin
/share
/include
'
28791 if test "$ac_x_includes" = no; then
28792 # Guess where to find include files, by looking for Xlib.h.
28793 # First, try using that file with no special directory specified.
28794 cat >conftest.$ac_ext <<_ACEOF
28797 cat confdefs.h >>conftest.$ac_ext
28798 cat >>conftest.$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28800 #include <X11/Xlib.h>
28802 if { (ac_try="$ac_cpp conftest.$ac_ext"
28803 case "(($ac_try" in
28804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28805 *) ac_try_echo=$ac_try;;
28807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28810 grep -v '^
*+' conftest.er1 >conftest.err
28812 cat conftest.err >&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } >/dev/null && {
28815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28816 test ! -s conftest.err
28818 # We can compile using X headers with no special include directory.
28821 echo "$as_me: failed program was:" >&5
28822 sed 's
/^
/| /' conftest.$ac_ext >&5
28824 for ac_dir in $ac_x_header_dirs; do
28825 if test -r "$ac_dir/X11/Xlib.h"; then
28826 ac_x_includes=$ac_dir
28832 rm -f conftest.err conftest.$ac_ext
28833 fi # $ac_x_includes = no
28835 if test "$ac_x_libraries" = no; then
28836 # Check for the libraries.
28837 # See if we find them without any special options.
28838 # Don't add to
$LIBS permanently.
28841 cat >conftest.
$ac_ext <<_ACEOF
28844 cat confdefs.h
>>conftest.
$ac_ext
28845 cat >>conftest.
$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 #include <X11/Xlib.h>
28856 rm -f conftest.
$ac_objext conftest
$ac_exeext
28857 if { (ac_try
="$ac_link"
28858 case "(($ac_try" in
28859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_link") 2>conftest.er1
28865 grep -v '^ *+' conftest.er1 >conftest.err
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } && {
28870 test -z "$ac_c_werror_flag" ||
28871 test ! -s conftest.err
28872 } && test -s conftest$ac_exeext &&
28873 $as_test_x conftest$ac_exeext; then
28875 # We can link X programs with no special library path.
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.$ac_ext >&5
28882 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
28884 # Don't even attempt the hair of trying to link an X program!
28885 for ac_extension in a so sl; do
28886 if test -r "$ac_dir/libX11.$ac_extension"; then
28887 ac_x_libraries=$ac_dir
28894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28895 conftest$ac_exeext conftest.$ac_ext
28896 fi # $ac_x_libraries = no
28898 case $ac_x_includes,$ac_x_libraries in #(
28899 no,* | *,no | *\'*)
28900 # Didn't find X, or a directory has "'" in its name.
28901 ac_cv_have_x="have_x=no";; #(
28903 # Record where we found X for the cache.
28904 ac_cv_have_x="have_x=yes\
28905 ac_x_includes='$ac_x_includes'\
28906 ac_x_libraries='$ac_x_libraries'"
28912 eval "$ac_cv_have_x"
28915 if test "$have_x" != yes; then
28916 { echo "$as_me:$LINENO: result: $have_x" >&5
28917 echo "${ECHO_T}$have_x" >&6; }
28920 # If each of the values was on the command line, it overrides each guess.
28921 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28922 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28923 # Update the cache value to reflect the command line values.
28924 ac_cv_have_x="have_x=yes\
28925 ac_x_includes='$x_includes'\
28926 ac_x_libraries='$x_libraries'"
28927 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28928 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28931 if test "$no_x" = yes; then
28932 # Not all programs may use this symbol, but it does not hurt to define it.
28934 cat >>confdefs.h <<\_ACEOF
28935 #define X_DISPLAY_MISSING 1
28938 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28940 if test -n "$x_includes"; then
28941 X_CFLAGS="$X_CFLAGS -I$x_includes"
28944 # It would also be nice to do this for all -L options, not just this one.
28945 if test -n "$x_libraries"; then
28946 X_LIBS="$X_LIBS -L$x_libraries"
28947 # For Solaris; some versions of Sun CC require a space after -R and
28948 # others require no space. Words are not sufficient . . . .
28949 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28950 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28951 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28952 ac_xsave_c_werror_flag=$ac_c_werror_flag
28953 ac_c_werror_flag=yes
28954 cat >conftest.$ac_ext <<_ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (ac_try="$ac_link"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28973 *) ac_try_echo
=$ac_try;;
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_link") 2>conftest.er1
28978 grep -v '^ *+' conftest.er1
>conftest.err
28980 cat conftest.err
>&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } && {
28983 test -z "$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 } && test -s conftest
$ac_exeext &&
28986 $as_test_x conftest
$ac_exeext; then
28987 { echo "$as_me:$LINENO: result: no" >&5
28988 echo "${ECHO_T}no" >&6; }
28989 X_LIBS
="$X_LIBS -R$x_libraries"
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.
$ac_ext >&5
28994 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28995 cat >conftest.
$ac_ext <<_ACEOF
28998 cat confdefs.h
>>conftest.
$ac_ext
28999 cat >>conftest.
$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29010 rm -f conftest.
$ac_objext conftest
$ac_exeext
29011 if { (ac_try
="$ac_link"
29012 case "(($ac_try" in
29013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29014 *) ac_try_echo=$ac_try;;
29016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29017 (eval "$ac_link") 2>conftest.er1
29019 grep -v '^ *+' conftest.er1 >conftest.err
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } && {
29024 test -z "$ac_c_werror_flag" ||
29025 test ! -s conftest.err
29026 } && test -s conftest$ac_exeext &&
29027 $as_test_x conftest$ac_exeext; then
29028 { echo "$as_me:$LINENO: result: yes" >&5
29029 echo "${ECHO_T}yes" >&6; }
29030 X_LIBS="$X_LIBS -R $x_libraries"
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29035 { echo "$as_me:$LINENO: result: neither works" >&5
29036 echo "${ECHO_T}neither works" >&6; }
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29044 conftest$ac_exeext conftest.$ac_ext
29045 ac_c_werror_flag=$ac_xsave_c_werror_flag
29046 LIBS=$ac_xsave_LIBS
29049 # Check for system-dependent libraries X programs must link with.
29050 # Do this before checking for the system-independent R6 libraries
29051 # (-lICE), since we may need -lsocket or whatever for X linking.
29053 if test "$ISC" = yes; then
29054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29056 # Martyn Johnson says this is needed for Ultrix, if the X
29057 # libraries were built with DECnet support. And Karl Berry says
29058 # the Alpha needs dnet_stub (dnet does not exist).
29059 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29060 cat >conftest.$ac_ext <<_ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29067 /* Override any GCC internal prototype to avoid an error.
29068 Use char because int might match the return type of a GCC
29069 builtin and then its argument prototype would still apply. */
29073 char XOpenDisplay ();
29077 return XOpenDisplay ();
29082 rm -f conftest.$ac_objext conftest$ac_exeext
29083 if { (ac_try="$ac_link"
29084 case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29086 *) ac_try_echo
=$ac_try;;
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_link") 2>conftest.er1
29091 grep -v '^ *+' conftest.er1
>conftest.err
29093 cat conftest.err
>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } && {
29096 test -z "$ac_c_werror_flag" ||
29097 test ! -s conftest.err
29098 } && test -s conftest
$ac_exeext &&
29099 $as_test_x conftest
$ac_exeext; then
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.
$ac_ext >&5
29105 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29106 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29107 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29110 ac_check_lib_save_LIBS
=$LIBS
29111 LIBS
="-ldnet $LIBS"
29112 cat >conftest.
$ac_ext <<_ACEOF
29115 cat confdefs.h
>>conftest.
$ac_ext
29116 cat >>conftest.
$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29119 /* Override any GCC internal prototype to avoid an error.
29120 Use char because int might match the return type of a GCC
29121 builtin and then its argument prototype would still apply. */
29129 return dnet_ntoa ();
29134 rm -f conftest.
$ac_objext conftest
$ac_exeext
29135 if { (ac_try
="$ac_link"
29136 case "(($ac_try" in
29137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29138 *) ac_try_echo=$ac_try;;
29140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29141 (eval "$ac_link") 2>conftest.er1
29143 grep -v '^ *+' conftest.er1 >conftest.err
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } && {
29148 test -z "$ac_c_werror_flag" ||
29149 test ! -s conftest.err
29150 } && test -s conftest$ac_exeext &&
29151 $as_test_x conftest$ac_exeext; then
29152 ac_cv_lib_dnet_dnet_ntoa=yes
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29157 ac_cv_lib_dnet_dnet_ntoa=no
29160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29161 conftest$ac_exeext conftest.$ac_ext
29162 LIBS=$ac_check_lib_save_LIBS
29164 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29165 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29166 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29170 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29171 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29172 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29173 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 ac_check_lib_save_LIBS=$LIBS
29177 LIBS="-ldnet_stub $LIBS"
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29185 /* Override any GCC internal prototype to avoid an error.
29186 Use char because int might match the return type of a GCC
29187 builtin and then its argument prototype would still apply. */
29195 return dnet_ntoa ();
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (ac_try="$ac_link"
29202 case "(($ac_try" in
29203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29204 *) ac_try_echo
=$ac_try;;
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_link") 2>conftest.er1
29209 grep -v '^ *+' conftest.er1
>conftest.err
29211 cat conftest.err
>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } && {
29214 test -z "$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29216 } && test -s conftest
$ac_exeext &&
29217 $as_test_x conftest
$ac_exeext; then
29218 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.
$ac_ext >&5
29223 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29227 conftest
$ac_exeext conftest.
$ac_ext
29228 LIBS
=$ac_check_lib_save_LIBS
29230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29231 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29232 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29233 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29240 conftest
$ac_exeext conftest.
$ac_ext
29241 LIBS
="$ac_xsave_LIBS"
29243 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29244 # to get the SysV transport functions.
29245 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29247 # The nsl library prevents programs from opening the X display
29248 # on Irix 5.2, according to T.E. Dickey.
29249 # The functions gethostbyname, getservbyname, and inet_addr are
29250 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29251 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29252 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29253 if test "${ac_cv_func_gethostbyname+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 cat >conftest.
$ac_ext <<_ACEOF
29259 cat confdefs.h
>>conftest.
$ac_ext
29260 cat >>conftest.
$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29264 #define gethostbyname innocuous_gethostbyname
29266 /* System header to define __stub macros and hopefully few prototypes,
29267 which can conflict with char gethostbyname (); below.
29268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29269 <limits.h> exists even on freestanding compilers. */
29272 # include <limits.h>
29274 # include <assert.h>
29277 #undef gethostbyname
29279 /* Override any GCC internal prototype to avoid an error.
29280 Use char because int might match the return type of a GCC
29281 builtin and then its argument prototype would still apply. */
29285 char gethostbyname ();
29286 /* The GNU C library defines this for functions which it implements
29287 to always fail with ENOSYS. Some functions are actually named
29288 something starting with __ and the normal name is an alias. */
29289 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29296 return gethostbyname ();
29301 rm -f conftest.
$ac_objext conftest
$ac_exeext
29302 if { (ac_try
="$ac_link"
29303 case "(($ac_try" in
29304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_link") 2>conftest.er1
29310 grep -v '^ *+' conftest.er1 >conftest.err
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest$ac_exeext &&
29318 $as_test_x conftest$ac_exeext; then
29319 ac_cv_func_gethostbyname=yes
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29324 ac_cv_func_gethostbyname=no
29327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29328 conftest$ac_exeext conftest.$ac_ext
29330 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29331 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29333 if test $ac_cv_func_gethostbyname = no; then
29334 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29335 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29336 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 ac_check_lib_save_LIBS=$LIBS
29341 cat >conftest.$ac_ext <<_ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29348 /* Override any GCC internal prototype to avoid an error.
29349 Use char because int might match the return type of a GCC
29350 builtin and then its argument prototype would still apply. */
29354 char gethostbyname ();
29358 return gethostbyname ();
29363 rm -f conftest.$ac_objext conftest$ac_exeext
29364 if { (ac_try="$ac_link"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29367 *) ac_try_echo
=$ac_try;;
29369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_link") 2>conftest.er1
29372 grep -v '^ *+' conftest.er1
>conftest.err
29374 cat conftest.err
>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest
$ac_exeext &&
29380 $as_test_x conftest
$ac_exeext; then
29381 ac_cv_lib_nsl_gethostbyname
=yes
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.
$ac_ext >&5
29386 ac_cv_lib_nsl_gethostbyname
=no
29389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29390 conftest
$ac_exeext conftest.
$ac_ext
29391 LIBS
=$ac_check_lib_save_LIBS
29393 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29394 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29395 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29399 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29400 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29401 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29402 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 ac_check_lib_save_LIBS
=$LIBS
29407 cat >conftest.
$ac_ext <<_ACEOF
29410 cat confdefs.h
>>conftest.
$ac_ext
29411 cat >>conftest.
$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29414 /* Override any GCC internal prototype to avoid an error.
29415 Use char because int might match the return type of a GCC
29416 builtin and then its argument prototype would still apply. */
29420 char gethostbyname ();
29424 return gethostbyname ();
29429 rm -f conftest.
$ac_objext conftest
$ac_exeext
29430 if { (ac_try
="$ac_link"
29431 case "(($ac_try" in
29432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29433 *) ac_try_echo=$ac_try;;
29435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29436 (eval "$ac_link") 2>conftest.er1
29438 grep -v '^ *+' conftest.er1 >conftest.err
29440 cat conftest.err >&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } && {
29443 test -z "$ac_c_werror_flag" ||
29444 test ! -s conftest.err
29445 } && test -s conftest$ac_exeext &&
29446 $as_test_x conftest$ac_exeext; then
29447 ac_cv_lib_bsd_gethostbyname=yes
29449 echo "$as_me: failed program was:" >&5
29450 sed 's/^/| /' conftest.$ac_ext >&5
29452 ac_cv_lib_bsd_gethostbyname=no
29455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29456 conftest$ac_exeext conftest.$ac_ext
29457 LIBS=$ac_check_lib_save_LIBS
29459 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29460 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29461 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29468 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29469 # socket/setsockopt and other routines are undefined under SCO ODT
29470 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29471 # on later versions), says Simon Leinen: it contains gethostby*
29472 # variants that don't use the name server (or something). -lsocket
29473 # must be given before -lnsl if both are needed. We assume that
29474 # if connect needs -lnsl, so does gethostbyname.
29475 { echo "$as_me:$LINENO: checking for connect" >&5
29476 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29477 if test "${ac_cv_func_connect+set}" = set; then
29478 echo $ECHO_N "(cached) $ECHO_C" >&6
29480 cat >conftest.$ac_ext <<_ACEOF
29483 cat confdefs.h >>conftest.$ac_ext
29484 cat >>conftest.$ac_ext <<_ACEOF
29485 /* end confdefs.h. */
29486 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29488 #define connect innocuous_connect
29490 /* System header to define __stub macros and hopefully few prototypes,
29491 which can conflict with char connect (); below.
29492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29493 <limits.h> exists even on freestanding compilers. */
29496 # include <limits.h>
29498 # include <assert.h>
29503 /* Override any GCC internal prototype to avoid an error.
29504 Use char because int might match the return type of a GCC
29505 builtin and then its argument prototype would still apply. */
29510 /* The GNU C library defines this for functions which it implements
29511 to always fail with ENOSYS. Some functions are actually named
29512 something starting with __ and the normal name is an alias. */
29513 #if defined __stub_connect || defined __stub___connect
29525 rm -f conftest.$ac_objext conftest$ac_exeext
29526 if { (ac_try="$ac_link"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29529 *) ac_try_echo
=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_link") 2>conftest.er1
29534 grep -v '^ *+' conftest.er1
>conftest.err
29536 cat conftest.err
>&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_c_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest
$ac_exeext &&
29542 $as_test_x conftest
$ac_exeext; then
29543 ac_cv_func_connect
=yes
29545 echo "$as_me: failed program was:" >&5
29546 sed 's/^/| /' conftest.
$ac_ext >&5
29548 ac_cv_func_connect
=no
29551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29552 conftest
$ac_exeext conftest.
$ac_ext
29554 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29555 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29557 if test $ac_cv_func_connect = no
; then
29558 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29559 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29560 if test "${ac_cv_lib_socket_connect+set}" = set; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 ac_check_lib_save_LIBS
=$LIBS
29564 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29565 cat >conftest.
$ac_ext <<_ACEOF
29568 cat confdefs.h
>>conftest.
$ac_ext
29569 cat >>conftest.
$ac_ext <<_ACEOF
29570 /* end confdefs.h. */
29572 /* Override any GCC internal prototype to avoid an error.
29573 Use char because int might match the return type of a GCC
29574 builtin and then its argument prototype would still apply. */
29587 rm -f conftest.
$ac_objext conftest
$ac_exeext
29588 if { (ac_try
="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29596 grep -v '^ *+' conftest.er1 >conftest.err
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 ac_cv_lib_socket_connect=yes
29607 echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29610 ac_cv_lib_socket_connect=no
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29615 LIBS=$ac_check_lib_save_LIBS
29617 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29618 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29619 if test $ac_cv_lib_socket_connect = yes; then
29620 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29625 # Guillermo Gomez says -lposix is necessary on A/UX.
29626 { echo "$as_me:$LINENO: checking for remove" >&5
29627 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29628 if test "${ac_cv_func_remove+set}" = set; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29631 cat >conftest.$ac_ext <<_ACEOF
29634 cat confdefs.h >>conftest.$ac_ext
29635 cat >>conftest.$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29639 #define remove innocuous_remove
29641 /* System header to define __stub macros and hopefully few prototypes,
29642 which can conflict with char remove (); below.
29643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29644 <limits.h> exists even on freestanding compilers. */
29647 # include <limits.h>
29649 # include <assert.h>
29654 /* Override any GCC internal prototype to avoid an error.
29655 Use char because int might match the return type of a GCC
29656 builtin and then its argument prototype would still apply. */
29661 /* The GNU C library defines this for functions which it implements
29662 to always fail with ENOSYS. Some functions are actually named
29663 something starting with __ and the normal name is an alias. */
29664 #if defined __stub_remove || defined __stub___remove
29676 rm -f conftest.$ac_objext conftest$ac_exeext
29677 if { (ac_try="$ac_link"
29678 case "(($ac_try" in
29679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29680 *) ac_try_echo
=$ac_try;;
29682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29683 (eval "$ac_link") 2>conftest.er1
29685 grep -v '^ *+' conftest.er1
>conftest.err
29687 cat conftest.err
>&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } && {
29690 test -z "$ac_c_werror_flag" ||
29691 test ! -s conftest.err
29692 } && test -s conftest
$ac_exeext &&
29693 $as_test_x conftest
$ac_exeext; then
29694 ac_cv_func_remove
=yes
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.
$ac_ext >&5
29699 ac_cv_func_remove
=no
29702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29703 conftest
$ac_exeext conftest.
$ac_ext
29705 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29706 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29708 if test $ac_cv_func_remove = no
; then
29709 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29710 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29711 if test "${ac_cv_lib_posix_remove+set}" = set; then
29712 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 ac_check_lib_save_LIBS
=$LIBS
29715 LIBS
="-lposix $LIBS"
29716 cat >conftest.
$ac_ext <<_ACEOF
29719 cat confdefs.h
>>conftest.
$ac_ext
29720 cat >>conftest.
$ac_ext <<_ACEOF
29721 /* end confdefs.h. */
29723 /* Override any GCC internal prototype to avoid an error.
29724 Use char because int might match the return type of a GCC
29725 builtin and then its argument prototype would still apply. */
29738 rm -f conftest.
$ac_objext conftest
$ac_exeext
29739 if { (ac_try
="$ac_link"
29740 case "(($ac_try" in
29741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29742 *) ac_try_echo=$ac_try;;
29744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29745 (eval "$ac_link") 2>conftest.er1
29747 grep -v '^ *+' conftest.er1 >conftest.err
29749 cat conftest.err >&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } && {
29752 test -z "$ac_c_werror_flag" ||
29753 test ! -s conftest.err
29754 } && test -s conftest$ac_exeext &&
29755 $as_test_x conftest$ac_exeext; then
29756 ac_cv_lib_posix_remove=yes
29758 echo "$as_me: failed program was:" >&5
29759 sed 's/^/| /' conftest.$ac_ext >&5
29761 ac_cv_lib_posix_remove=no
29764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29765 conftest$ac_exeext conftest.$ac_ext
29766 LIBS=$ac_check_lib_save_LIBS
29768 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29769 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29770 if test $ac_cv_lib_posix_remove = yes; then
29771 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29776 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29777 { echo "$as_me:$LINENO: checking for shmat" >&5
29778 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29779 if test "${ac_cv_func_shmat+set}" = set; then
29780 echo $ECHO_N "(cached) $ECHO_C" >&6
29782 cat >conftest.$ac_ext <<_ACEOF
29785 cat confdefs.h >>conftest.$ac_ext
29786 cat >>conftest.$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29788 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29790 #define shmat innocuous_shmat
29792 /* System header to define __stub macros and hopefully few prototypes,
29793 which can conflict with char shmat (); below.
29794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29795 <limits.h> exists even on freestanding compilers. */
29798 # include <limits.h>
29800 # include <assert.h>
29805 /* Override any GCC internal prototype to avoid an error.
29806 Use char because int might match the return type of a GCC
29807 builtin and then its argument prototype would still apply. */
29812 /* The GNU C library defines this for functions which it implements
29813 to always fail with ENOSYS. Some functions are actually named
29814 something starting with __ and the normal name is an alias. */
29815 #if defined __stub_shmat || defined __stub___shmat
29827 rm -f conftest.$ac_objext conftest$ac_exeext
29828 if { (ac_try="$ac_link"
29829 case "(($ac_try" in
29830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29831 *) ac_try_echo
=$ac_try;;
29833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29834 (eval "$ac_link") 2>conftest.er1
29836 grep -v '^ *+' conftest.er1
>conftest.err
29838 cat conftest.err
>&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); } && {
29841 test -z "$ac_c_werror_flag" ||
29842 test ! -s conftest.err
29843 } && test -s conftest
$ac_exeext &&
29844 $as_test_x conftest
$ac_exeext; then
29845 ac_cv_func_shmat
=yes
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29850 ac_cv_func_shmat
=no
29853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29854 conftest
$ac_exeext conftest.
$ac_ext
29856 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29857 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29859 if test $ac_cv_func_shmat = no
; then
29860 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29861 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29862 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 ac_check_lib_save_LIBS
=$LIBS
29867 cat >conftest.
$ac_ext <<_ACEOF
29870 cat confdefs.h
>>conftest.
$ac_ext
29871 cat >>conftest.
$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29874 /* Override any GCC internal prototype to avoid an error.
29875 Use char because int might match the return type of a GCC
29876 builtin and then its argument prototype would still apply. */
29889 rm -f conftest.
$ac_objext conftest
$ac_exeext
29890 if { (ac_try
="$ac_link"
29891 case "(($ac_try" in
29892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29893 *) ac_try_echo=$ac_try;;
29895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29896 (eval "$ac_link") 2>conftest.er1
29898 grep -v '^ *+' conftest.er1 >conftest.err
29900 cat conftest.err >&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } && {
29903 test -z "$ac_c_werror_flag" ||
29904 test ! -s conftest.err
29905 } && test -s conftest$ac_exeext &&
29906 $as_test_x conftest$ac_exeext; then
29907 ac_cv_lib_ipc_shmat=yes
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29912 ac_cv_lib_ipc_shmat=no
29915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29916 conftest$ac_exeext conftest.$ac_ext
29917 LIBS=$ac_check_lib_save_LIBS
29919 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29920 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29921 if test $ac_cv_lib_ipc_shmat = yes; then
29922 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29928 # Check for libraries that X11R6 Xt/Xaw programs need.
29929 ac_save_LDFLAGS=$LDFLAGS
29930 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29931 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29932 # check for ICE first), but we must link in the order -lSM -lICE or
29933 # we get undefined symbols. So assume we have SM if we have ICE.
29934 # These have to be linked with before -lX11, unlike the other
29935 # libraries we check for below, so use a different variable.
29936 # John Interrante, Karl Berry
29937 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29938 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29939 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29940 echo $ECHO_N "(cached) $ECHO_C" >&6
29942 ac_check_lib_save_LIBS=$LIBS
29943 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29944 cat >conftest.$ac_ext <<_ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29951 /* Override any GCC internal prototype to avoid an error.
29952 Use char because int might match the return type of a GCC
29953 builtin and then its argument prototype would still apply. */
29957 char IceConnectionNumber ();
29961 return IceConnectionNumber ();
29966 rm -f conftest.$ac_objext conftest$ac_exeext
29967 if { (ac_try="$ac_link"
29968 case "(($ac_try" in
29969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29970 *) ac_try_echo
=$ac_try;;
29972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29973 (eval "$ac_link") 2>conftest.er1
29975 grep -v '^ *+' conftest.er1
>conftest.err
29977 cat conftest.err
>&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } && {
29980 test -z "$ac_c_werror_flag" ||
29981 test ! -s conftest.err
29982 } && test -s conftest
$ac_exeext &&
29983 $as_test_x conftest
$ac_exeext; then
29984 ac_cv_lib_ICE_IceConnectionNumber
=yes
29986 echo "$as_me: failed program was:" >&5
29987 sed 's/^/| /' conftest.
$ac_ext >&5
29989 ac_cv_lib_ICE_IceConnectionNumber
=no
29992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29993 conftest
$ac_exeext conftest.
$ac_ext
29994 LIBS
=$ac_check_lib_save_LIBS
29996 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29997 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29998 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29999 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30002 LDFLAGS
=$ac_save_LDFLAGS
30007 if test "$no_x" = "yes"; then
30008 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30009 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30010 { (exit 1); exit 1; }; }
30013 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30014 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30015 AFMINSTALL
=afminstall
30016 COMPILED_X_PROGRAM
=0
30020 if test "$wxUSE_X11" = 1; then
30021 if test "$wxUSE_NANOX" = "yes"; then
30022 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30023 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30024 if test "x$MICROWIN" = x
; then
30025 { echo "$as_me:$LINENO: result: not found" >&5
30026 echo "${ECHO_T}not found" >&6; }
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30028 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30029 { (exit 1); exit 1; }; }
30031 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30032 echo "${ECHO_T}$MICROWIN" >&6; }
30033 cat >>confdefs.h
<<\_ACEOF
30034 #define wxUSE_NANOX 1
30040 if test "$wxUSE_UNICODE" = "yes"; then
30043 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30044 if test -n "$ac_tool_prefix"; then
30045 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30046 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30049 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 case $PKG_CONFIG in
30054 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30058 for as_dir
in $PATH
30061 test -z "$as_dir" && as_dir
=.
30062 for ac_exec_ext
in '' $ac_executable_extensions; do
30063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30064 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30075 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30076 if test -n "$PKG_CONFIG"; then
30077 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30078 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30080 { echo "$as_me:$LINENO: result: no" >&5
30081 echo "${ECHO_T}no" >&6; }
30086 if test -z "$ac_cv_path_PKG_CONFIG"; then
30087 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30088 # Extract the first word of "pkg-config", so it can be a program name with args.
30089 set dummy pkg
-config; ac_word
=$2
30090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30092 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 case $ac_pt_PKG_CONFIG in
30097 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30101 for as_dir
in $PATH
30104 test -z "$as_dir" && as_dir
=.
30105 for ac_exec_ext
in '' $ac_executable_extensions; do
30106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30107 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30118 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30119 if test -n "$ac_pt_PKG_CONFIG"; then
30120 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30121 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30123 { echo "$as_me:$LINENO: result: no" >&5
30124 echo "${ECHO_T}no" >&6; }
30127 if test "x$ac_pt_PKG_CONFIG" = x
; then
30130 case $cross_compiling:$ac_tool_warned in
30132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30133 whose name does not start with the host triplet. If you think this
30134 configuration is useful to you, please write to autoconf@gnu.org." >&5
30135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30136 whose name does not start with the host triplet. If you think this
30137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30138 ac_tool_warned
=yes ;;
30140 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30143 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30147 if test -n "$PKG_CONFIG"; then
30148 _pkg_min_version
=0.9.0
30149 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30150 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30151 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30152 { echo "$as_me:$LINENO: result: yes" >&5
30153 echo "${ECHO_T}yes" >&6; }
30155 { echo "$as_me:$LINENO: result: no" >&5
30156 echo "${ECHO_T}no" >&6; }
30164 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30165 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30167 if test -n "$PKG_CONFIG"; then
30168 if test -n "$PANGOX_CFLAGS"; then
30169 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30171 if test -n "$PKG_CONFIG" && \
30172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30173 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; then
30177 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30185 if test -n "$PKG_CONFIG"; then
30186 if test -n "$PANGOX_LIBS"; then
30187 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30189 if test -n "$PKG_CONFIG" && \
30190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30191 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; then
30195 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30206 if test $pkg_failed = yes; then
30208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30209 _pkg_short_errors_supported
=yes
30211 _pkg_short_errors_supported
=no
30213 if test $_pkg_short_errors_supported = yes; then
30214 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30216 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30218 # Put the nasty error message in config.log where it belongs
30219 echo "$PANGOX_PKG_ERRORS" >&5
30222 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30223 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30224 { (exit 1); exit 1; }; }
30227 elif test $pkg_failed = untried
; then
30229 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30230 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30231 { (exit 1); exit 1; }; }
30235 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30236 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30237 { echo "$as_me:$LINENO: result: yes" >&5
30238 echo "${ECHO_T}yes" >&6; }
30240 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30241 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30242 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30247 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30248 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30250 if test -n "$PKG_CONFIG"; then
30251 if test -n "$PANGOFT2_CFLAGS"; then
30252 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30254 if test -n "$PKG_CONFIG" && \
30255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30256 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; then
30260 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30268 if test -n "$PKG_CONFIG"; then
30269 if test -n "$PANGOFT2_LIBS"; then
30270 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30272 if test -n "$PKG_CONFIG" && \
30273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30274 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; then
30278 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30289 if test $pkg_failed = yes; then
30291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30292 _pkg_short_errors_supported
=yes
30294 _pkg_short_errors_supported
=no
30296 if test $_pkg_short_errors_supported = yes; then
30297 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30299 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30301 # Put the nasty error message in config.log where it belongs
30302 echo "$PANGOFT2_PKG_ERRORS" >&5
30305 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30306 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30307 wxUSE_PRINTING_ARCHITECTURE
="no"
30310 elif test $pkg_failed = untried
; then
30312 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30313 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30314 wxUSE_PRINTING_ARCHITECTURE
="no"
30318 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30319 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30320 { echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6; }
30323 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30324 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30325 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30330 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30331 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30333 if test -n "$PKG_CONFIG"; then
30334 if test -n "$PANGOXFT_CFLAGS"; then
30335 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30337 if test -n "$PKG_CONFIG" && \
30338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30339 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; then
30343 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30351 if test -n "$PKG_CONFIG"; then
30352 if test -n "$PANGOXFT_LIBS"; then
30353 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30355 if test -n "$PKG_CONFIG" && \
30356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30357 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; then
30361 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30372 if test $pkg_failed = yes; then
30374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30375 _pkg_short_errors_supported
=yes
30377 _pkg_short_errors_supported
=no
30379 if test $_pkg_short_errors_supported = yes; then
30380 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30382 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30384 # Put the nasty error message in config.log where it belongs
30385 echo "$PANGOXFT_PKG_ERRORS" >&5
30388 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30389 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30392 elif test $pkg_failed = untried
; then
30394 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30395 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30399 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30400 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30401 { echo "$as_me:$LINENO: result: yes" >&5
30402 echo "${ECHO_T}yes" >&6; }
30404 cat >>confdefs.h
<<\_ACEOF
30405 #define HAVE_PANGO_XFT 1
30408 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30409 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30414 LIBS
="$LIBS $PANGOX_LIBS"
30416 for ac_func
in pango_font_family_is_monospace
30418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30419 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30421 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 cat >conftest.
$ac_ext <<_ACEOF
30427 cat confdefs.h
>>conftest.
$ac_ext
30428 cat >>conftest.
$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30432 #define $ac_func innocuous_$ac_func
30434 /* System header to define __stub macros and hopefully few prototypes,
30435 which can conflict with char $ac_func (); below.
30436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30437 <limits.h> exists even on freestanding compilers. */
30440 # include <limits.h>
30442 # include <assert.h>
30447 /* Override any GCC internal prototype to avoid an error.
30448 Use char because int might match the return type of a GCC
30449 builtin and then its argument prototype would still apply. */
30454 /* The GNU C library defines this for functions which it implements
30455 to always fail with ENOSYS. Some functions are actually named
30456 something starting with __ and the normal name is an alias. */
30457 #if defined __stub_$ac_func || defined __stub___$ac_func
30464 return $ac_func ();
30469 rm -f conftest.
$ac_objext conftest
$ac_exeext
30470 if { (ac_try
="$ac_link"
30471 case "(($ac_try" in
30472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30473 *) ac_try_echo=$ac_try;;
30475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30476 (eval "$ac_link") 2>conftest.er1
30478 grep -v '^ *+' conftest.er1 >conftest.err
30480 cat conftest.err >&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } && {
30483 test -z "$ac_c_werror_flag" ||
30484 test ! -s conftest.err
30485 } && test -s conftest$ac_exeext &&
30486 $as_test_x conftest$ac_exeext; then
30487 eval "$as_ac_var=yes"
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.$ac_ext >&5
30492 eval "$as_ac_var=no"
30495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30496 conftest$ac_exeext conftest.$ac_ext
30498 ac_res=`eval echo '${'$as_ac_var'}'`
30499 { echo "$as_me:$LINENO: result: $ac_res" >&5
30500 echo "${ECHO_T}$ac_res" >&6; }
30501 if test `eval echo '${'$as_ac_var'}'` = yes; then
30502 cat >>confdefs.h <<_ACEOF
30503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30512 wxUSE_UNIVERSAL="yes"
30514 if test "$wxUSE_NANOX" = "yes"; then
30515 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30516 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"
30517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30519 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30526 if test "$wxUSE_MOTIF" = 1; then
30527 if test "$wxUSE_UNICODE" = "yes"; then
30528 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30529 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30530 { (exit 1); exit 1; }; }
30533 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30534 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30537 for ac_dir in $SEARCH_INCLUDE /usr/include;
30539 if test -f "$ac_dir/Xm/Xm.h"; then
30540 ac_find_includes=$ac_dir
30545 if test "$ac_find_includes" != "" ; then
30546 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30547 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30549 if test "x$ac_find_includes" = "x/usr/include"; then
30550 ac_path_to_include=""
30552 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30554 if test $result = 0; then
30555 ac_path_to_include=""
30557 ac_path_to_include=" -I$ac_find_includes"
30561 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30563 save_CFLAGS=$CFLAGS
30564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30566 cat >conftest.$ac_ext <<_ACEOF
30569 cat confdefs.h >>conftest.$ac_ext
30570 cat >>conftest.$ac_ext <<_ACEOF
30571 /* end confdefs.h. */
30580 version = xmUseVersion;
30586 rm -f conftest.$ac_objext
30587 if { (ac_try="$ac_compile"
30588 case "(($ac_try" in
30589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30590 *) ac_try_echo
=$ac_try;;
30592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30593 (eval "$ac_compile") 2>conftest.er1
30595 grep -v '^ *+' conftest.er1
>conftest.err
30597 cat conftest.err
>&5
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); } && {
30600 test -z "$ac_c_werror_flag" ||
30601 test ! -s conftest.err
30602 } && test -s conftest.
$ac_objext; then
30604 { echo "$as_me:$LINENO: result: found in default search path" >&5
30605 echo "${ECHO_T}found in default search path" >&6; }
30606 COMPILED_X_PROGRAM
=1
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.
$ac_ext >&5
30613 { echo "$as_me:$LINENO: result: no" >&5
30614 echo "${ECHO_T}no" >&6; }
30615 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30616 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30617 { (exit 1); exit 1; }; }
30622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30624 CFLAGS
=$save_CFLAGS
30628 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30629 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30632 for ac_dir
in $SEARCH_LIB;
30634 for ac_extension
in a so sl dylib dll.a
; do
30635 if test -f "$ac_dir/libXm.$ac_extension"; then
30636 ac_find_libraries
=$ac_dir
30643 if test "x$ac_find_libraries" != "x" ; then
30644 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30645 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30648 if test "$ac_find_libraries" = "default location"; then
30651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30653 if test $result = 0; then
30656 ac_path_to_link
=" -L$ac_find_libraries"
30660 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30662 save_CFLAGS
=$CFLAGS
30663 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30665 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30667 cat >conftest.
$ac_ext <<_ACEOF
30670 cat confdefs.h
>>conftest.
$ac_ext
30671 cat >>conftest.
$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30681 version = xmUseVersion;
30687 rm -f conftest.
$ac_objext conftest
$ac_exeext
30688 if { (ac_try
="$ac_link"
30689 case "(($ac_try" in
30690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30691 *) ac_try_echo=$ac_try;;
30693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30694 (eval "$ac_link") 2>conftest.er1
30696 grep -v '^ *+' conftest.er1 >conftest.err
30698 cat conftest.err >&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } && {
30701 test -z "$ac_c_werror_flag" ||
30702 test ! -s conftest.err
30703 } && test -s conftest$ac_exeext &&
30704 $as_test_x conftest$ac_exeext; then
30706 { echo "$as_me:$LINENO: result: found in default search path" >&5
30707 echo "${ECHO_T}found in default search path" >&6; }
30708 COMPILED_X_PROGRAM=1
30711 echo "$as_me: failed program was:" >&5
30712 sed 's/^/| /' conftest.$ac_ext >&5
30715 { echo "$as_me:$LINENO: result: no" >&5
30716 echo "${ECHO_T}no" >&6; }
30717 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30718 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30719 { (exit 1); exit 1; }; }
30724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30725 conftest$ac_exeext conftest.$ac_ext
30727 CFLAGS=$save_CFLAGS
30731 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30732 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30736 for libp in "" " -lXp"; do
30737 if test "$libs_found" = "0"; then
30738 for libsm_ice in "" " -lSM -lICE"; do
30739 if test "$libs_found" = "0"; then
30741 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30742 save_CFLAGS=$CFLAGS
30743 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30745 cat >conftest.$ac_ext <<_ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30753 #include <Xm/List.h>
30759 XmString string = NULL;
30762 XmListAddItem(w, string, position);
30768 rm -f conftest.$ac_objext conftest$ac_exeext
30769 if { (ac_try="$ac_link"
30770 case "(($ac_try" in
30771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30772 *) ac_try_echo
=$ac_try;;
30774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30775 (eval "$ac_link") 2>conftest.er1
30777 grep -v '^ *+' conftest.er1
>conftest.err
30779 cat conftest.err
>&5
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); } && {
30782 test -z "$ac_c_werror_flag" ||
30783 test ! -s conftest.err
30784 } && test -s conftest
$ac_exeext &&
30785 $as_test_x conftest
$ac_exeext; then
30788 libsm_ice_link
="$libsm_ice"
30789 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30790 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.
$ac_ext >&5
30801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30802 conftest
$ac_exeext conftest.
$ac_ext
30805 CFLAGS
=$save_CFLAGS
30811 if test "$libs_found" = "0"; then
30812 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30813 echo "${ECHO_T}can't find the right libraries" >&6; }
30814 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30815 echo "$as_me: error: can't link a simple motif program" >&2;}
30816 { (exit 1); exit 1; }; }
30819 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30820 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30821 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 ac_check_lib_save_LIBS
=$LIBS
30826 cat >conftest.
$ac_ext <<_ACEOF
30829 cat confdefs.h
>>conftest.
$ac_ext
30830 cat >>conftest.
$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30833 /* Override any GCC internal prototype to avoid an error.
30834 Use char because int might match the return type of a GCC
30835 builtin and then its argument prototype would still apply. */
30839 char SgCreateList ();
30843 return SgCreateList ();
30848 rm -f conftest.
$ac_objext conftest
$ac_exeext
30849 if { (ac_try
="$ac_link"
30850 case "(($ac_try" in
30851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30852 *) ac_try_echo=$ac_try;;
30854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30855 (eval "$ac_link") 2>conftest.er1
30857 grep -v '^ *+' conftest.er1 >conftest.err
30859 cat conftest.err >&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); } && {
30862 test -z "$ac_c_werror_flag" ||
30863 test ! -s conftest.err
30864 } && test -s conftest$ac_exeext &&
30865 $as_test_x conftest$ac_exeext; then
30866 ac_cv_lib_Sgm_SgCreateList=yes
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30871 ac_cv_lib_Sgm_SgCreateList=no
30874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30875 conftest$ac_exeext conftest.$ac_ext
30876 LIBS=$ac_check_lib_save_LIBS
30878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30879 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30880 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30881 libsgm_link=" -lSgm"
30885 save_CFLAGS=$CFLAGS
30886 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30888 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30889 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30890 if test "${wx_cv_lib_motif2+set}" = set; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 cat >conftest.$ac_ext <<_ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30906 #if XmVersion < 2000
30914 rm -f conftest.$ac_objext
30915 if { (ac_try="$ac_compile"
30916 case "(($ac_try" in
30917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30918 *) ac_try_echo
=$ac_try;;
30920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_compile") 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } && {
30928 test -z "$ac_c_werror_flag" ||
30929 test ! -s conftest.err
30930 } && test -s conftest.
$ac_objext; then
30931 wx_cv_lib_motif2
="yes"
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.
$ac_ext >&5
30936 wx_cv_lib_motif2
="no"
30939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30941 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30942 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30943 if test "$wx_cv_lib_motif2" = "yes"; then
30944 cat >>confdefs.h
<<\_ACEOF
30945 #define __WXMOTIF20__ 1
30949 cat >>confdefs.h
<<\_ACEOF
30950 #define __WXMOTIF20__ 0
30955 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30956 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30957 if test "${wx_cv_lib_lesstif+set}" = set; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30960 cat >conftest.
$ac_ext <<_ACEOF
30963 cat confdefs.h
>>conftest.
$ac_ext
30964 cat >>conftest.
$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30973 #if !defined(LesstifVersion) || LesstifVersion <= 0
30981 rm -f conftest.
$ac_objext
30982 if { (ac_try
="$ac_compile"
30983 case "(($ac_try" in
30984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30985 *) ac_try_echo=$ac_try;;
30987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30988 (eval "$ac_compile") 2>conftest.er1
30990 grep -v '^ *+' conftest.er1 >conftest.err
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } && {
30995 test -z "$ac_c_werror_flag" ||
30996 test ! -s conftest.err
30997 } && test -s conftest.$ac_objext; then
30998 wx_cv_lib_lesstif="yes"
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31003 wx_cv_lib_lesstif="no"
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31010 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31011 if test "$wx_cv_lib_lesstif" = "yes"; then
31012 cat >>confdefs.h <<\_ACEOF
31013 #define __WXLESSTIF__ 1
31017 cat >>confdefs.h <<\_ACEOF
31018 #define __WXLESSTIF__ 0
31023 CFLAGS=$save_CFLAGS
31025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31030 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31031 if test "$wxUSE_LIBXPM" = "sys"; then
31032 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31033 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31036 for ac_dir in $SEARCH_LIB;
31038 for ac_extension in a so sl dylib dll.a; do
31039 if test -f "$ac_dir/libXpm.$ac_extension"; then
31040 ac_find_libraries=$ac_dir
31046 if test "$ac_find_libraries" != "" ; then
31048 if test "$ac_find_libraries" = "default location"; then
31051 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31053 if test $result = 0; then
31056 ac_path_to_link=" -L$ac_find_libraries"
31060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31061 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31062 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31064 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31065 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31066 if test "${wx_cv_x11_xpm_h+set}" = set; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 save_CFLAGS=$CFLAGS
31071 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 #include <X11/xpm.h>
31087 version = XpmLibraryVersion();
31093 rm -f conftest.$ac_objext
31094 if { (ac_try="$ac_compile"
31095 case "(($ac_try" in
31096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31097 *) ac_try_echo
=$ac_try;;
31099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31100 (eval "$ac_compile") 2>conftest.er1
31102 grep -v '^ *+' conftest.er1
>conftest.err
31104 cat conftest.err
>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } && {
31107 test -z "$ac_c_werror_flag" ||
31108 test ! -s conftest.err
31109 } && test -s conftest.
$ac_objext; then
31110 wx_cv_x11_xpm_h
=yes
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.
$ac_ext >&5
31119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31121 CFLAGS
=$save_CFLAGS
31125 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31126 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31128 if test $wx_cv_x11_xpm_h = "yes"; then
31129 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31130 cat >>confdefs.h
<<\_ACEOF
31131 #define wxHAVE_LIB_XPM 1
31135 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31136 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31142 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31143 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31144 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31145 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 ac_check_lib_save_LIBS
=$LIBS
31148 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31149 cat >conftest.
$ac_ext <<_ACEOF
31152 cat confdefs.h
>>conftest.
$ac_ext
31153 cat >>conftest.
$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31156 /* Override any GCC internal prototype to avoid an error.
31157 Use char because int might match the return type of a GCC
31158 builtin and then its argument prototype would still apply. */
31162 char XShapeQueryExtension ();
31166 return XShapeQueryExtension ();
31171 rm -f conftest.
$ac_objext conftest
$ac_exeext
31172 if { (ac_try
="$ac_link"
31173 case "(($ac_try" in
31174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31175 *) ac_try_echo=$ac_try;;
31177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31178 (eval "$ac_link") 2>conftest.er1
31180 grep -v '^ *+' conftest.er1 >conftest.err
31182 cat conftest.err >&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); } && {
31185 test -z "$ac_c_werror_flag" ||
31186 test ! -s conftest.err
31187 } && test -s conftest$ac_exeext &&
31188 $as_test_x conftest$ac_exeext; then
31189 ac_cv_lib_Xext_XShapeQueryExtension=yes
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.$ac_ext >&5
31194 ac_cv_lib_Xext_XShapeQueryExtension=no
31197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31198 conftest$ac_exeext conftest.$ac_ext
31199 LIBS=$ac_check_lib_save_LIBS
31201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31202 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31203 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31211 if test "$wxHAVE_XEXT_LIB" = 1; then
31212 save_CFLAGS="$CFLAGS"
31213 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31215 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31216 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31217 cat >conftest.$ac_ext <<_ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31224 #include <X11/Xlib.h>
31225 #include <X11/extensions/shape.h>
31231 int dummy1, dummy2;
31232 XShapeQueryExtension((Display*)NULL,
31233 (int*)NULL, (int*)NULL);
31239 rm -f conftest.$ac_objext
31240 if { (ac_try="$ac_compile"
31241 case "(($ac_try" in
31242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31243 *) ac_try_echo
=$ac_try;;
31245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31246 (eval "$ac_compile") 2>conftest.er1
31248 grep -v '^ *+' conftest.er1
>conftest.err
31250 cat conftest.err
>&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } && {
31253 test -z "$ac_c_werror_flag" ||
31254 test ! -s conftest.err
31255 } && test -s conftest.
$ac_objext; then
31257 cat >>confdefs.h
<<\_ACEOF
31258 #define HAVE_XSHAPE 1
31261 { echo "$as_me:$LINENO: result: found" >&5
31262 echo "${ECHO_T}found" >&6; }
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.
$ac_ext >&5
31269 { echo "$as_me:$LINENO: result: not found" >&5
31270 echo "${ECHO_T}not found" >&6; }
31274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31275 CFLAGS
="$save_CFLAGS"
31280 if test "$wxUSE_MAC" = 1; then
31281 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31282 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31283 if test "$GCC" = yes; then
31284 { echo "$as_me:$LINENO: result: gcc" >&5
31285 echo "${ECHO_T}gcc" >&6; }
31286 CPPFLAGS_PASCAL
="-fpascal-strings"
31287 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31288 { echo "$as_me:$LINENO: result: xlc" >&5
31289 echo "${ECHO_T}xlc" >&6; }
31290 CPPFLAGS_PASCAL
="-qmacpstr"
31292 { echo "$as_me:$LINENO: result: none" >&5
31293 echo "${ECHO_T}none" >&6; }
31296 if test "x$wxUSE_UNIX" = "xyes"; then
31297 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31299 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31304 WXBASEPORT
="_carbon"
31307 if test "$wxUSE_COCOA" = 1; then
31312 if test "$wxUSE_PM" = 1; then
31315 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31316 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31317 if test "${wx_cv_spbcdata+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31321 cat >conftest.
$ac_ext <<_ACEOF
31324 cat confdefs.h
>>conftest.
$ac_ext
31325 cat >>conftest.
$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31341 rm -f conftest.
$ac_objext
31342 if { (ac_try
="$ac_compile"
31343 case "(($ac_try" in
31344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31345 *) ac_try_echo=$ac_try;;
31347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31348 (eval "$ac_compile") 2>conftest.er1
31350 grep -v '^ *+' conftest.er1 >conftest.err
31352 cat conftest.err >&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } && {
31355 test -z "$ac_c_werror_flag" ||
31356 test ! -s conftest.err
31357 } && test -s conftest.$ac_objext; then
31360 echo "$as_me: failed program was:" >&5
31361 sed 's/^/| /' conftest.$ac_ext >&5
31367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31371 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31372 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31374 if test $wx_cv_spbcdata = "yes"; then
31375 cat >>confdefs.h <<\_ACEOF
31376 #define HAVE_SPBCDATA 1
31382 if test "$TOOLKIT" = "PM" ; then
31385 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31388 if test "$wxUSE_UNIVERSAL" = "yes"; then
31389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31393 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31394 DISTDIR="wx\$(TOOLKIT)"
31400 if test "$USE_WIN32" = 1 ; then
31404 GUIDIST="BASE_DIST"
31409 if test "$wxUSE_GUI" = "yes"; then
31410 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31411 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31412 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31413 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31414 echo $ECHO_N "(cached) $ECHO_C" >&6
31416 cat >conftest.$ac_ext <<_ACEOF
31419 cat confdefs.h >>conftest.$ac_ext
31420 cat >>conftest.$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31424 #include <X11/Xlib.h>
31426 rm -f conftest.$ac_objext
31427 if { (ac_try="$ac_compile"
31428 case "(($ac_try" in
31429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31430 *) ac_try_echo
=$ac_try;;
31432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31433 (eval "$ac_compile") 2>conftest.er1
31435 grep -v '^ *+' conftest.er1
>conftest.err
31437 cat conftest.err
>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); } && {
31440 test -z "$ac_c_werror_flag" ||
31441 test ! -s conftest.err
31442 } && test -s conftest.
$ac_objext; then
31443 ac_cv_header_X11_Xlib_h
=yes
31445 echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.
$ac_ext >&5
31448 ac_cv_header_X11_Xlib_h
=no
31451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31453 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31454 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31457 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31458 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31459 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31460 echo $ECHO_N "(cached) $ECHO_C" >&6
31462 cat >conftest.
$ac_ext <<_ACEOF
31465 cat confdefs.h
>>conftest.
$ac_ext
31466 cat >>conftest.
$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31469 #if HAVE_X11_XLIB_H
31470 #include <X11/Xlib.h>
31474 #include <X11/XKBlib.h>
31476 rm -f conftest.
$ac_objext
31477 if { (ac_try
="$ac_compile"
31478 case "(($ac_try" in
31479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31480 *) ac_try_echo=$ac_try;;
31482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31483 (eval "$ac_compile") 2>conftest.er1
31485 grep -v '^ *+' conftest.er1 >conftest.err
31487 cat conftest.err >&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } && {
31490 test -z "$ac_c_werror_flag" ||
31491 test ! -s conftest.err
31492 } && test -s conftest.$ac_objext; then
31493 ac_cv_header_X11_XKBlib_h=yes
31495 echo "$as_me: failed program was:" >&5
31496 sed 's/^/| /' conftest.$ac_ext >&5
31498 ac_cv_header_X11_XKBlib_h=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31503 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31504 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31515 if test "$TOOLKIT" != "MSW" ; then
31517 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31519 { echo "$as_me:$LINENO: checking for sql.h" >&5
31520 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31521 if test "${ac_cv_header_sql_h+set}" = set; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31524 cat >conftest.$ac_ext <<_ACEOF
31527 cat confdefs.h >>conftest.$ac_ext
31528 cat >>conftest.$ac_ext <<_ACEOF
31529 /* end confdefs.h. */
31534 rm -f conftest.$ac_objext
31535 if { (ac_try="$ac_compile"
31536 case "(($ac_try" in
31537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31538 *) ac_try_echo
=$ac_try;;
31540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31541 (eval "$ac_compile") 2>conftest.er1
31543 grep -v '^ *+' conftest.er1
>conftest.err
31545 cat conftest.err
>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } && {
31548 test -z "$ac_c_werror_flag" ||
31549 test ! -s conftest.err
31550 } && test -s conftest.
$ac_objext; then
31551 ac_cv_header_sql_h
=yes
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.
$ac_ext >&5
31556 ac_cv_header_sql_h
=no
31559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31561 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31562 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31563 if test $ac_cv_header_sql_h = yes; then
31568 if test "x$found_sql_h" = "x1" ; then
31569 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31570 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31571 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 ac_check_lib_save_LIBS
=$LIBS
31575 LIBS
="-liodbc $LIBS"
31576 cat >conftest.
$ac_ext <<_ACEOF
31579 cat confdefs.h
>>conftest.
$ac_ext
31580 cat >>conftest.
$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31583 /* Override any GCC internal prototype to avoid an error.
31584 Use char because int might match the return type of a GCC
31585 builtin and then its argument prototype would still apply. */
31589 char SQLAllocEnv ();
31593 return SQLAllocEnv ();
31598 rm -f conftest.
$ac_objext conftest
$ac_exeext
31599 if { (ac_try
="$ac_link"
31600 case "(($ac_try" in
31601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31602 *) ac_try_echo=$ac_try;;
31604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31605 (eval "$ac_link") 2>conftest.er1
31607 grep -v '^ *+' conftest.er1 >conftest.err
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } && {
31612 test -z "$ac_c_werror_flag" ||
31613 test ! -s conftest.err
31614 } && test -s conftest$ac_exeext &&
31615 $as_test_x conftest$ac_exeext; then
31616 ac_cv_lib_iodbc_SQLAllocEnv=yes
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.$ac_ext >&5
31621 ac_cv_lib_iodbc_SQLAllocEnv=no
31624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31625 conftest$ac_exeext conftest.$ac_ext
31626 LIBS=$ac_check_lib_save_LIBS
31628 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31629 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31630 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31631 ODBC_LINK=" -liodbc"
31634 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31635 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31636 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 ac_check_lib_save_LIBS=$LIBS
31640 LIBS="-lunixodbc $LIBS"
31641 cat >conftest.$ac_ext <<_ACEOF
31644 cat confdefs.h >>conftest.$ac_ext
31645 cat >>conftest.$ac_ext <<_ACEOF
31646 /* end confdefs.h. */
31648 /* Override any GCC internal prototype to avoid an error.
31649 Use char because int might match the return type of a GCC
31650 builtin and then its argument prototype would still apply. */
31654 char SQLAllocEnv ();
31658 return SQLAllocEnv ();
31663 rm -f conftest.$ac_objext conftest$ac_exeext
31664 if { (ac_try="$ac_link"
31665 case "(($ac_try" in
31666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31667 *) ac_try_echo
=$ac_try;;
31669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31670 (eval "$ac_link") 2>conftest.er1
31672 grep -v '^ *+' conftest.er1
>conftest.err
31674 cat conftest.err
>&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } && {
31677 test -z "$ac_c_werror_flag" ||
31678 test ! -s conftest.err
31679 } && test -s conftest
$ac_exeext &&
31680 $as_test_x conftest
$ac_exeext; then
31681 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.
$ac_ext >&5
31686 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31690 conftest
$ac_exeext conftest.
$ac_ext
31691 LIBS
=$ac_check_lib_save_LIBS
31693 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31694 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31695 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31696 ODBC_LINK
=" -lunixodbc"
31699 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31700 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31701 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 ac_check_lib_save_LIBS
=$LIBS
31705 LIBS
="-lodbc $LIBS"
31706 cat >conftest.
$ac_ext <<_ACEOF
31709 cat confdefs.h
>>conftest.
$ac_ext
31710 cat >>conftest.
$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31713 /* Override any GCC internal prototype to avoid an error.
31714 Use char because int might match the return type of a GCC
31715 builtin and then its argument prototype would still apply. */
31719 char SQLAllocEnv ();
31723 return SQLAllocEnv ();
31728 rm -f conftest.
$ac_objext conftest
$ac_exeext
31729 if { (ac_try
="$ac_link"
31730 case "(($ac_try" in
31731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31732 *) ac_try_echo=$ac_try;;
31734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31735 (eval "$ac_link") 2>conftest.er1
31737 grep -v '^ *+' conftest.er1 >conftest.err
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } && {
31742 test -z "$ac_c_werror_flag" ||
31743 test ! -s conftest.err
31744 } && test -s conftest$ac_exeext &&
31745 $as_test_x conftest$ac_exeext; then
31746 ac_cv_lib_odbc_SQLAllocEnv=yes
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31751 ac_cv_lib_odbc_SQLAllocEnv=no
31754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31755 conftest$ac_exeext conftest.$ac_ext
31756 LIBS=$ac_check_lib_save_LIBS
31758 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31759 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31760 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31761 ODBC_LINK=" -lodbc"
31771 if test "x$ODBC_LINK" = "x" ; then
31772 if test "$wxUSE_ODBC" = "sys" ; then
31773 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31774 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31775 { (exit 1); exit 1; }; }
31777 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31778 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31786 if test "$wxUSE_ODBC" = "builtin" ; then
31787 cat >>confdefs.h <<\_ACEOF
31788 #define wxUSE_BUILTIN_IODBC 1
31794 if test "$wxUSE_ODBC" != "no" ; then
31795 cat >>confdefs.h <<\_ACEOF
31796 #define wxUSE_ODBC 1
31799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31801 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31805 if test "$wxUSE_DISPLAY" = "yes"; then
31806 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31807 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31808 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31811 for ac_dir in $SEARCH_LIB;
31813 for ac_extension in a so sl dylib dll.a; do
31814 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31815 ac_find_libraries=$ac_dir
31821 if test "$ac_find_libraries" != "" ; then
31823 if test "$ac_find_libraries" = "default location"; then
31826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31828 if test $result = 0; then
31831 ac_path_to_link=" -L$ac_find_libraries"
31835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31836 LDFLAGS="$LDFLAGS $ac_path_to_link"
31838 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31839 { echo "$as_me:$LINENO: result: yes" >&5
31840 echo "${ECHO_T}yes" >&6; }
31842 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31843 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31846 for ac_dir in $SEARCH_LIB;
31848 for ac_extension in a so sl dylib dll.a; do
31849 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31850 ac_find_libraries=$ac_dir
31856 if test "$ac_find_libraries" != "" ; then
31857 { echo "$as_me:$LINENO: result: yes" >&5
31858 echo "${ECHO_T}yes" >&6; }
31859 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31860 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31861 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31862 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 cat >conftest.$ac_ext <<_ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31871 #if HAVE_X11_XLIB_H
31872 #include <X11/Xlib.h>
31876 #include <X11/extensions/xf86vmode.h>
31878 rm -f conftest.$ac_objext
31879 if { (ac_try="$ac_compile"
31880 case "(($ac_try" in
31881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31882 *) ac_try_echo
=$ac_try;;
31884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31885 (eval "$ac_compile") 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } && {
31892 test -z "$ac_c_werror_flag" ||
31893 test ! -s conftest.err
31894 } && test -s conftest.
$ac_objext; then
31895 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.
$ac_ext >&5
31900 ac_cv_header_X11_extensions_xf86vmode_h
=no
31903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31905 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31906 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31907 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31909 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31915 { echo "$as_me:$LINENO: result: no" >&5
31916 echo "${ECHO_T}no" >&6; }
31920 { echo "$as_me:$LINENO: result: no" >&5
31921 echo "${ECHO_T}no" >&6; }
31922 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31923 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31926 elif test "$wxUSE_MSW" = 1; then
31927 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31928 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31929 if test "${ac_cv_header_ddraw_h+set}" = set; then
31930 echo $ECHO_N "(cached) $ECHO_C" >&6
31932 cat >conftest.
$ac_ext <<_ACEOF
31935 cat confdefs.h
>>conftest.
$ac_ext
31936 cat >>conftest.
$ac_ext <<_ACEOF
31937 /* end confdefs.h. */
31938 #include <windows.h>
31942 rm -f conftest.
$ac_objext
31943 if { (ac_try
="$ac_compile"
31944 case "(($ac_try" in
31945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_compile") 2>conftest.er1
31951 grep -v '^ *+' conftest.er1 >conftest.err
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest.$ac_objext; then
31959 ac_cv_header_ddraw_h=yes
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.$ac_ext >&5
31964 ac_cv_header_ddraw_h=no
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31969 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31970 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31976 if test "$wxUSE_DETECT_SM" = "yes"; then
31977 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31978 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31979 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31982 for ac_dir in $SEARCH_LIB;
31984 for ac_extension in a so sl dylib dll.a; do
31985 if test -f "$ac_dir/libSM.$ac_extension"; then
31986 ac_find_libraries=$ac_dir
31992 if test "$ac_find_libraries" != "" ; then
31994 if test "$ac_find_libraries" = "default location"; then
31997 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31999 if test $result = 0; then
32002 ac_path_to_link=" -L$ac_find_libraries"
32006 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32007 LDFLAGS="$LDFLAGS $ac_path_to_link"
32009 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32010 { echo "$as_me:$LINENO: result: yes" >&5
32011 echo "${ECHO_T}yes" >&6; }
32013 { echo "$as_me:$LINENO: result: no" >&5
32014 echo "${ECHO_T}no" >&6; }
32015 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32016 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32017 wxUSE_DETECT_SM="no"
32020 wxUSE_DETECT_SM="no"
32027 if test "$wxUSE_OPENGL" = "yes"; then
32028 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32029 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32030 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32032 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32033 OPENGL_LIBS="-framework OpenGL -framework AGL"
32034 elif test "$wxUSE_MSW" = 1; then
32035 OPENGL_LIBS="-lopengl32 -lglu32"
32037 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32038 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32041 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32043 if test -f "$ac_dir/GL/gl.h"; then
32044 ac_find_includes=$ac_dir
32049 if test "$ac_find_includes" != "" ; then
32050 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32051 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32053 if test "x$ac_find_includes" = "x/usr/include"; then
32054 ac_path_to_include=""
32056 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32058 if test $result = 0; then
32059 ac_path_to_include=""
32061 ac_path_to_include=" -I$ac_find_includes"
32065 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32067 { echo "$as_me:$LINENO: result: not found" >&5
32068 echo "${ECHO_T}not found" >&6; }
32071 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32072 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32073 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 cat >conftest.$ac_ext <<_ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32086 rm -f conftest.$ac_objext
32087 if { (ac_try="$ac_compile"
32088 case "(($ac_try" in
32089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32090 *) ac_try_echo
=$ac_try;;
32092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32093 (eval "$ac_compile") 2>conftest.er1
32095 grep -v '^ *+' conftest.er1
>conftest.err
32097 cat conftest.err
>&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); } && {
32100 test -z "$ac_c_werror_flag" ||
32101 test ! -s conftest.err
32102 } && test -s conftest.
$ac_objext; then
32103 ac_cv_header_GL_gl_h
=yes
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.
$ac_ext >&5
32108 ac_cv_header_GL_gl_h
=no
32111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32113 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32114 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32115 if test $ac_cv_header_GL_gl_h = yes; then
32117 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32118 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32119 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32120 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32124 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32126 # Is the header compilable?
32127 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32128 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32129 cat >conftest.
$ac_ext <<_ACEOF
32132 cat confdefs.h
>>conftest.
$ac_ext
32133 cat >>conftest.
$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32135 $ac_includes_default
32136 #include <GL/glu.h>
32138 rm -f conftest.
$ac_objext
32139 if { (ac_try
="$ac_compile"
32140 case "(($ac_try" in
32141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32142 *) ac_try_echo=$ac_try;;
32144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32145 (eval "$ac_compile") 2>conftest.er1
32147 grep -v '^ *+' conftest.er1 >conftest.err
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } && {
32152 test -z "$ac_c_werror_flag" ||
32153 test ! -s conftest.err
32154 } && test -s conftest.$ac_objext; then
32155 ac_header_compiler=yes
32157 echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.$ac_ext >&5
32160 ac_header_compiler=no
32163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32164 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32165 echo "${ECHO_T}$ac_header_compiler" >&6; }
32167 # Is the header present?
32168 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32169 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32170 cat >conftest.$ac_ext <<_ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 #include <GL/glu.h>
32178 if { (ac_try="$ac_cpp conftest.$ac_ext"
32179 case "(($ac_try" in
32180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32181 *) ac_try_echo
=$ac_try;;
32183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32186 grep -v '^ *+' conftest.er1
>conftest.err
32188 cat conftest.err
>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } >/dev
/null
&& {
32191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32192 test ! -s conftest.err
32194 ac_header_preproc
=yes
32196 echo "$as_me: failed program was:" >&5
32197 sed 's/^/| /' conftest.
$ac_ext >&5
32199 ac_header_preproc
=no
32202 rm -f conftest.err conftest.
$ac_ext
32203 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32204 echo "${ECHO_T}$ac_header_preproc" >&6; }
32206 # So? What about this header?
32207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32209 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32210 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32211 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32212 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32213 ac_header_preproc
=yes
32216 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32217 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32219 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32220 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32221 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32222 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32223 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32224 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32225 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32226 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32227 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32229 ## ----------------------------------------- ##
32230 ## Report this to wx-dev@lists.wxwidgets.org ##
32231 ## ----------------------------------------- ##
32233 ) | sed "s/^/$as_me: WARNING: /" >&2
32236 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32237 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32238 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32241 ac_cv_header_GL_glu_h
=$ac_header_preproc
32243 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32244 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32247 if test $ac_cv_header_GL_glu_h = yes; then
32251 { echo "$as_me:$LINENO: checking for -lGL" >&5
32252 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32255 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32257 for ac_extension
in a so sl dylib dll.a
; do
32258 if test -f "$ac_dir/libGL.$ac_extension"; then
32259 ac_find_libraries
=$ac_dir
32265 if test "$ac_find_libraries" != "" ; then
32266 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32267 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32270 if test "$ac_find_libraries" = "default location"; then
32273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32275 if test $result = 0; then
32278 ac_path_to_link
=" -L$ac_find_libraries"
32282 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32283 LDFLAGS_GL
="$ac_path_to_link"
32286 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32287 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32290 for ac_dir
in $SEARCH_LIB;
32292 for ac_extension
in a so sl dylib dll.a
; do
32293 if test -f "$ac_dir/libGLU.$ac_extension"; then
32294 ac_find_libraries
=$ac_dir
32300 if test "$ac_find_libraries" != "" ; then
32302 if test "$ac_find_libraries" = "default location"; then
32305 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32307 if test $result = 0; then
32310 ac_path_to_link
=" -L$ac_find_libraries"
32314 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32315 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32316 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32320 OPENGL_LIBS
="-lGL -lGLU"
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; }
32328 { echo "$as_me:$LINENO: result: no" >&5
32329 echo "${ECHO_T}no" >&6; }
32332 if test "$found_gl" != 1; then
32333 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32334 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32337 for ac_dir
in $SEARCH_LIB;
32339 for ac_extension
in a so sl dylib dll.a
; do
32340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32341 ac_find_libraries
=$ac_dir
32347 if test "$ac_find_libraries" != "" ; then
32349 if test "$ac_find_libraries" = "default location"; then
32352 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32354 if test $result = 0; then
32357 ac_path_to_link
=" -L$ac_find_libraries"
32361 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32362 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32363 { echo "$as_me:$LINENO: result: yes" >&5
32364 echo "${ECHO_T}yes" >&6; }
32366 { echo "$as_me:$LINENO: result: no" >&5
32367 echo "${ECHO_T}no" >&6; }
32379 if test "x$OPENGL_LIBS" = "x"; then
32380 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32381 echo "$as_me: error: OpenGL libraries not available" >&2;}
32382 { (exit 1); exit 1; }; }
32386 if test "$wxUSE_OPENGL" = "yes"; then
32388 cat >>confdefs.h
<<\_ACEOF
32389 #define wxUSE_OPENGL 1
32392 cat >>confdefs.h
<<\_ACEOF
32393 #define wxUSE_GLCANVAS 1
32396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32401 if test -n "$TOOLKIT" ; then
32402 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32407 if test "$wxUSE_SHARED" = "yes"; then
32411 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32412 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32417 if test "$wxUSE_SHARED" = "yes"; then
32421 *-*-cygwin* | *-*-mingw* )
32422 wx_cv_version_script
=no
32426 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32427 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32428 if test "${wx_cv_version_script+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 echo "VER_1 { *; };" >conftest.sym
32433 echo "int main() { return 0; }" >conftest.cpp
32436 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32437 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; } ; then
32443 if test -s conftest.stderr
; then
32444 wx_cv_version_script
=no
32446 wx_cv_version_script
=yes
32449 wx_cv_version_script
=no
32452 if test $wx_cv_version_script = yes
32454 echo "struct B { virtual ~B() { } }; \
32455 struct D : public B { }; \
32456 void F() { D d; }" > conftest.cpp
32459 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32460 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32462 (eval $ac_try) 2>&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); }; } &&
32467 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32468 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; }
32476 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32477 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }
32484 wx_cv_version_script
=yes
32486 wx_cv_version_script
=no
32491 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32492 rm -f conftest1.output conftest2.output conftest3.output
32495 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32496 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32498 if test $wx_cv_version_script = yes ; then
32499 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32506 *-*-linux* | *-*-gnu* )
32507 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32508 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32512 if test "$GCC" = yes ; then
32513 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32515 saveLdflags
="$LDFLAGS"
32516 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32517 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32518 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32519 cat >conftest.
$ac_ext <<_ACEOF
32522 cat confdefs.h
>>conftest.
$ac_ext
32523 cat >>conftest.
$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32534 rm -f conftest.
$ac_objext conftest
$ac_exeext
32535 if { (ac_try
="$ac_link"
32536 case "(($ac_try" in
32537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32538 *) ac_try_echo=$ac_try;;
32540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32541 (eval "$ac_link") 2>conftest.er1
32543 grep -v '^ *+' conftest.er1 >conftest.err
32545 cat conftest.err >&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); } && {
32548 test -z "$ac_c_werror_flag" ||
32549 test ! -s conftest.err
32550 } && test -s conftest$ac_exeext &&
32551 $as_test_x conftest$ac_exeext; then
32553 { echo "$as_me:$LINENO: result: yes" >&5
32554 echo "${ECHO_T}yes" >&6; }
32555 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32556 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32563 { echo "$as_me:$LINENO: result: no" >&5
32564 echo "${ECHO_T}no" >&6; }
32565 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32566 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32567 LDFLAGS="$saveLdflags -Wl,-R,/"
32568 cat >conftest.$ac_ext <<_ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32587 *) ac_try_echo
=$ac_try;;
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32592 grep -v '^ *+' conftest.er1
>conftest.err
32594 cat conftest.err
>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest
$ac_exeext &&
32600 $as_test_x conftest
$ac_exeext; then
32602 { echo "$as_me:$LINENO: result: yes" >&5
32603 echo "${ECHO_T}yes" >&6; }
32604 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32605 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.
$ac_ext >&5
32612 { echo "$as_me:$LINENO: result: no" >&5
32613 echo "${ECHO_T}no" >&6; }
32617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32618 conftest
$ac_exeext conftest.
$ac_ext
32622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32623 conftest
$ac_exeext conftest.
$ac_ext
32624 LDFLAGS
="$saveLdflags"
32626 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32627 WXCONFIG_RPATH
="-R\$libdir"
32632 install_name_tool
=`which install_name_tool`
32633 if test "$install_name_tool" -a -x "$install_name_tool"; then
32634 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32635 cat <<EOF >change-install-names
32637 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32638 inst_cmd="install_name_tool "
32639 for i in \${libnames} ; do
32640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32644 chmod +x change
-install-names
32648 *-*-cygwin* | *-*-mingw32* )
32649 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32653 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32654 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32659 if test $wxUSE_RPATH = "no"; then
32660 SAMPLES_RPATH_FLAG
=''
32661 SAMPLES_RPATH_POSTLINK
=''
32669 config_linkage_component
="-static"
32676 lib_unicode_suffix
=
32678 if test "$wxUSE_UNICODE" = "yes"; then
32679 lib_unicode_suffix
=u
32680 WX_CHARTYPE
="unicode"
32685 WX_DEBUGTYPE
="release"
32687 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32689 WX_DEBUGTYPE
="debug"
32693 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32694 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32697 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32701 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32703 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32705 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32707 if test "$cross_compiling" = "yes"; then
32708 HOST_SUFFIX
="-$host_alias"
32709 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32710 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32713 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32714 if test "${TOOLKIT_DIR}" = "os2"; then
32715 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32717 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32722 if test "$wxUSE_COCOA" = 1; then
32725 ac_cpp
='$CPP $CPPFLAGS'
32726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32732 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32733 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32734 cat >conftest.
$ac_ext <<_ACEOF
32737 cat confdefs.h
>>conftest.
$ac_ext
32738 cat >>conftest.
$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32740 #include <AppKit/NSEvent.h>
32741 #include <CoreFoundation/CoreFoundation.h>
32751 rm -f conftest.
$ac_objext
32752 if { (ac_try
="$ac_compile"
32753 case "(($ac_try" in
32754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32755 *) ac_try_echo=$ac_try;;
32757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32758 (eval "$ac_compile") 2>conftest.er1
32760 grep -v '^ *+' conftest.er1 >conftest.err
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } && {
32765 test -z "$ac_c_werror_flag" ||
32766 test ! -s conftest.err
32767 } && test -s conftest.$ac_objext; then
32768 { echo "$as_me:$LINENO: result: no" >&5
32769 echo "${ECHO_T}no" >&6; }
32771 echo "$as_me: failed program was:" >&5
32772 sed 's/^/| /' conftest.$ac_ext >&5
32774 { echo "$as_me:$LINENO: result: yes" >&5
32775 echo "${ECHO_T}yes" >&6; }
32776 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32777 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32778 cat >conftest.$ac_ext <<_ACEOF
32781 cat confdefs.h >>conftest.$ac_ext
32782 cat >>conftest.$ac_ext <<_ACEOF
32783 /* end confdefs.h. */
32784 #define __Point__ 1
32785 #include <AppKit/NSEvent.h>
32786 #include <CoreFoundation/CoreFoundation.h>
32796 rm -f conftest.$ac_objext
32797 if { (ac_try="$ac_compile"
32798 case "(($ac_try" in
32799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32800 *) ac_try_echo
=$ac_try;;
32802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32803 (eval "$ac_compile") 2>conftest.er1
32805 grep -v '^ *+' conftest.er1
>conftest.err
32807 cat conftest.err
>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } && {
32810 test -z "$ac_c_werror_flag" ||
32811 test ! -s conftest.err
32812 } && test -s conftest.
$ac_objext; then
32813 { echo "$as_me:$LINENO: result: yes" >&5
32814 echo "${ECHO_T}yes" >&6; }
32815 cat >>confdefs.h
<<\_ACEOF
32816 #define __Point__ 1
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.
$ac_ext >&5
32824 { { echo "$as_me:$LINENO: error: no
32825 See \`config.log' for more details." >&5
32826 echo "$as_me: error: no
32827 See \`config.log' for more details." >&2;}
32828 { (exit 1); exit 1; }; }
32832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32838 ac_cpp
='$CPP $CPPFLAGS'
32839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32845 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32846 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32847 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32849 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32851 # Extract the first word of "Rez", so it can be a program name with args.
32852 set dummy Rez
; ac_word
=$2
32853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32855 if test "${ac_cv_prog_REZ+set}" = set; then
32856 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 if test -n "$REZ"; then
32859 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32862 for as_dir
in $PATH
32865 test -z "$as_dir" && as_dir
=.
32866 for ac_exec_ext
in '' $ac_executable_extensions; do
32867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32868 ac_cv_prog_REZ
="Rez"
32869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32876 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32879 REZ
=$ac_cv_prog_REZ
32880 if test -n "$REZ"; then
32881 { echo "$as_me:$LINENO: result: $REZ" >&5
32882 echo "${ECHO_T}$REZ" >&6; }
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32889 # Extract the first word of "DeRez", so it can be a program name with args.
32890 set dummy DeRez
; ac_word
=$2
32891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32893 if test "${ac_cv_prog_DEREZ+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 if test -n "$DEREZ"; then
32897 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32900 for as_dir
in $PATH
32903 test -z "$as_dir" && as_dir
=.
32904 for ac_exec_ext
in '' $ac_executable_extensions; do
32905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32906 ac_cv_prog_DEREZ
="DeRez"
32907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32914 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32917 DEREZ
=$ac_cv_prog_DEREZ
32918 if test -n "$DEREZ"; then
32919 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32920 echo "${ECHO_T}$DEREZ" >&6; }
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32927 # Extract the first word of "SetFile", so it can be a program name with args.
32928 set dummy SetFile
; ac_word
=$2
32929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32931 if test "${ac_cv_prog_SETFILE+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32934 if test -n "$SETFILE"; then
32935 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32938 for as_dir
in $PATH
32941 test -z "$as_dir" && as_dir
=.
32942 for ac_exec_ext
in '' $ac_executable_extensions; do
32943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32944 ac_cv_prog_SETFILE
="SetFile"
32945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32952 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32955 SETFILE
=$ac_cv_prog_SETFILE
32956 if test -n "$SETFILE"; then
32957 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32958 echo "${ECHO_T}$SETFILE" >&6; }
32960 { echo "$as_me:$LINENO: result: no" >&5
32961 echo "${ECHO_T}no" >&6; }
32966 MACSETFILE
="\$(SETFILE)"
32968 if test "$wxUSE_MAC" = 1; then
32969 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32971 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32973 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32974 RESCOMP
="echo -n \| $REZ"
32975 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32981 if test "$wxUSE_PM" = 1; then
32983 WXCONFIG_RESFLAGS
="-ep"
32985 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32987 POSTLINK_COMMAND
="@true"
32994 { echo "$as_me:$LINENO: checking for mode_t" >&5
32995 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32996 if test "${ac_cv_type_mode_t+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 cat >conftest.
$ac_ext <<_ACEOF
33002 cat confdefs.h
>>conftest.
$ac_ext
33003 cat >>conftest.
$ac_ext <<_ACEOF
33004 /* end confdefs.h. */
33005 $ac_includes_default
33006 typedef mode_t ac__type_new_;
33010 if ((ac__type_new_ *) 0)
33012 if (sizeof (ac__type_new_))
33018 rm -f conftest.
$ac_objext
33019 if { (ac_try
="$ac_compile"
33020 case "(($ac_try" in
33021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33022 *) ac_try_echo=$ac_try;;
33024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33025 (eval "$ac_compile") 2>conftest.er1
33027 grep -v '^ *+' conftest.er1 >conftest.err
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } && {
33032 test -z "$ac_c_werror_flag" ||
33033 test ! -s conftest.err
33034 } && test -s conftest.$ac_objext; then
33035 ac_cv_type_mode_t=yes
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.$ac_ext >&5
33040 ac_cv_type_mode_t=no
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33046 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33047 if test $ac_cv_type_mode_t = yes; then
33051 cat >>confdefs.h <<_ACEOF
33057 { echo "$as_me:$LINENO: checking for off_t" >&5
33058 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33059 if test "${ac_cv_type_off_t+set}" = set; then
33060 echo $ECHO_N "(cached) $ECHO_C" >&6
33062 cat >conftest.$ac_ext <<_ACEOF
33065 cat confdefs.h >>conftest.$ac_ext
33066 cat >>conftest.$ac_ext <<_ACEOF
33067 /* end confdefs.h. */
33068 $ac_includes_default
33069 typedef off_t ac__type_new_;
33073 if ((ac__type_new_ *) 0)
33075 if (sizeof (ac__type_new_))
33081 rm -f conftest.$ac_objext
33082 if { (ac_try="$ac_compile"
33083 case "(($ac_try" in
33084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33085 *) ac_try_echo
=$ac_try;;
33087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33088 (eval "$ac_compile") 2>conftest.er1
33090 grep -v '^ *+' conftest.er1
>conftest.err
33092 cat conftest.err
>&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } && {
33095 test -z "$ac_c_werror_flag" ||
33096 test ! -s conftest.err
33097 } && test -s conftest.
$ac_objext; then
33098 ac_cv_type_off_t
=yes
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.
$ac_ext >&5
33103 ac_cv_type_off_t
=no
33106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33108 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33109 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33110 if test $ac_cv_type_off_t = yes; then
33114 cat >>confdefs.h
<<_ACEOF
33115 #define off_t long int
33120 { echo "$as_me:$LINENO: checking for pid_t" >&5
33121 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33122 if test "${ac_cv_type_pid_t+set}" = set; then
33123 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 cat >conftest.
$ac_ext <<_ACEOF
33128 cat confdefs.h
>>conftest.
$ac_ext
33129 cat >>conftest.
$ac_ext <<_ACEOF
33130 /* end confdefs.h. */
33131 $ac_includes_default
33132 typedef pid_t ac__type_new_;
33136 if ((ac__type_new_ *) 0)
33138 if (sizeof (ac__type_new_))
33144 rm -f conftest.
$ac_objext
33145 if { (ac_try
="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33153 grep -v '^ *+' conftest.er1 >conftest.err
33155 cat conftest.err >&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.$ac_objext; then
33161 ac_cv_type_pid_t=yes
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33166 ac_cv_type_pid_t=no
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33172 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33173 if test $ac_cv_type_pid_t = yes; then
33177 cat >>confdefs.h <<_ACEOF
33183 { echo "$as_me:$LINENO: checking for size_t" >&5
33184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33185 if test "${ac_cv_type_size_t+set}" = set; then
33186 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 cat >conftest.$ac_ext <<_ACEOF
33191 cat confdefs.h >>conftest.$ac_ext
33192 cat >>conftest.$ac_ext <<_ACEOF
33193 /* end confdefs.h. */
33194 $ac_includes_default
33195 typedef size_t ac__type_new_;
33199 if ((ac__type_new_ *) 0)
33201 if (sizeof (ac__type_new_))
33207 rm -f conftest.$ac_objext
33208 if { (ac_try="$ac_compile"
33209 case "(($ac_try" in
33210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33211 *) ac_try_echo
=$ac_try;;
33213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33214 (eval "$ac_compile") 2>conftest.er1
33216 grep -v '^ *+' conftest.er1
>conftest.err
33218 cat conftest.err
>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); } && {
33221 test -z "$ac_c_werror_flag" ||
33222 test ! -s conftest.err
33223 } && test -s conftest.
$ac_objext; then
33224 ac_cv_type_size_t
=yes
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 ac_cv_type_size_t
=no
33232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33234 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33235 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33236 if test $ac_cv_type_size_t = yes; then
33240 cat >>confdefs.h
<<_ACEOF
33241 #define size_t unsigned int
33246 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33247 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33248 if test "${ac_cv_type_uid_t+set}" = set; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33251 cat >conftest.
$ac_ext <<_ACEOF
33254 cat confdefs.h
>>conftest.
$ac_ext
33255 cat >>conftest.
$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257 #include <sys/types.h>
33260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33261 $EGREP "uid_t" >/dev
/null
2>&1; then
33262 ac_cv_type_uid_t
=yes
33264 ac_cv_type_uid_t
=no
33269 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33270 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33271 if test $ac_cv_type_uid_t = no
; then
33273 cat >>confdefs.h
<<\_ACEOF
33278 cat >>confdefs.h
<<\_ACEOF
33285 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33286 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33287 if test "${ac_cv_type_ssize_t+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33290 cat >conftest.
$ac_ext <<_ACEOF
33293 cat confdefs.h
>>conftest.
$ac_ext
33294 cat >>conftest.
$ac_ext <<_ACEOF
33295 /* end confdefs.h. */
33296 $ac_includes_default
33297 typedef ssize_t ac__type_new_;
33301 if ((ac__type_new_ *) 0)
33303 if (sizeof (ac__type_new_))
33309 rm -f conftest.
$ac_objext
33310 if { (ac_try
="$ac_compile"
33311 case "(($ac_try" in
33312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_compile") 2>conftest.er1
33318 grep -v '^ *+' conftest.er1 >conftest.err
33320 cat conftest.err >&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_c_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest.$ac_objext; then
33326 ac_cv_type_ssize_t=yes
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33331 ac_cv_type_ssize_t=no
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33337 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33338 if test $ac_cv_type_ssize_t = yes; then
33340 cat >>confdefs.h <<_ACEOF
33341 #define HAVE_SSIZE_T 1
33349 ac_cpp='$CXXCPP $CPPFLAGS'
33350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33353 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33354 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33355 if test "${wx_cv_size_t_is_uint+set}" = set; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33359 cat >conftest.$ac_ext <<_ACEOF
33362 cat confdefs.h >>conftest.$ac_ext
33363 cat >>conftest.$ac_ext <<_ACEOF
33364 /* end confdefs.h. */
33365 #include <stddef.h>
33372 struct Foo { void foo(size_t); void foo(unsigned int); };
33380 rm -f conftest.$ac_objext
33381 if { (ac_try="$ac_compile"
33382 case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33384 *) ac_try_echo
=$ac_try;;
33386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_compile") 2>conftest.er1
33389 grep -v '^ *+' conftest.er1
>conftest.err
33391 cat conftest.err
>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && {
33394 test -z "$ac_cxx_werror_flag" ||
33395 test ! -s conftest.err
33396 } && test -s conftest.
$ac_objext; then
33397 wx_cv_size_t_is_uint
=no
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.
$ac_ext >&5
33402 wx_cv_size_t_is_uint
=yes
33406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33410 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33411 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33413 if test "$wx_cv_size_t_is_uint" = "yes"; then
33414 cat >>confdefs.h
<<\_ACEOF
33415 #define wxSIZE_T_IS_UINT 1
33419 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33420 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33421 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33422 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 cat >conftest.
$ac_ext <<_ACEOF
33427 cat confdefs.h
>>conftest.
$ac_ext
33428 cat >>conftest.
$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33430 #include <stddef.h>
33437 struct Foo { void foo(size_t); void foo(unsigned long); };
33445 rm -f conftest.
$ac_objext
33446 if { (ac_try
="$ac_compile"
33447 case "(($ac_try" in
33448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33449 *) ac_try_echo=$ac_try;;
33451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33452 (eval "$ac_compile") 2>conftest.er1
33454 grep -v '^ *+' conftest.er1 >conftest.err
33456 cat conftest.err >&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); } && {
33459 test -z "$ac_cxx_werror_flag" ||
33460 test ! -s conftest.err
33461 } && test -s conftest.$ac_objext; then
33462 wx_cv_size_t_is_ulong=no
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.$ac_ext >&5
33467 wx_cv_size_t_is_ulong=yes
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33475 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33477 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33478 cat >>confdefs.h <<\_ACEOF
33479 #define wxSIZE_T_IS_ULONG 1
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33492 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33493 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33494 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33495 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 cat >conftest.$ac_ext <<_ACEOF
33501 cat confdefs.h >>conftest.$ac_ext
33502 cat >>conftest.$ac_ext <<_ACEOF
33503 /* end confdefs.h. */
33517 rm -f conftest.$ac_objext
33518 if { (ac_try="$ac_compile"
33519 case "(($ac_try" in
33520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33521 *) ac_try_echo
=$ac_try;;
33523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33524 (eval "$ac_compile") 2>conftest.er1
33526 grep -v '^ *+' conftest.er1
>conftest.err
33528 cat conftest.err
>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } && {
33531 test -z "$ac_c_werror_flag" ||
33532 test ! -s conftest.err
33533 } && test -s conftest.
$ac_objext; then
33535 wx_cv_struct_pw_gecos
=yes
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.
$ac_ext >&5
33542 wx_cv_struct_pw_gecos
=no
33547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33551 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33552 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33554 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33555 cat >>confdefs.h
<<\_ACEOF
33556 #define HAVE_PW_GECOS 1
33562 if test "$wxUSE_WCHAR_T" = "yes"; then
33563 cat >>confdefs.h
<<\_ACEOF
33564 #define wxUSE_WCHAR_T 1
33571 for ac_func
in wcslen
33573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33576 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 cat >conftest.
$ac_ext <<_ACEOF
33582 cat confdefs.h
>>conftest.
$ac_ext
33583 cat >>conftest.
$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33587 #define $ac_func innocuous_$ac_func
33589 /* System header to define __stub macros and hopefully few prototypes,
33590 which can conflict with char $ac_func (); below.
33591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33592 <limits.h> exists even on freestanding compilers. */
33595 # include <limits.h>
33597 # include <assert.h>
33602 /* Override any GCC internal prototype to avoid an error.
33603 Use char because int might match the return type of a GCC
33604 builtin and then its argument prototype would still apply. */
33609 /* The GNU C library defines this for functions which it implements
33610 to always fail with ENOSYS. Some functions are actually named
33611 something starting with __ and the normal name is an alias. */
33612 #if defined __stub_$ac_func || defined __stub___$ac_func
33619 return $ac_func ();
33624 rm -f conftest.
$ac_objext conftest
$ac_exeext
33625 if { (ac_try
="$ac_link"
33626 case "(($ac_try" in
33627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_link") 2>conftest.er1
33633 grep -v '^ *+' conftest.er1 >conftest.err
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest$ac_exeext &&
33641 $as_test_x conftest$ac_exeext; then
33642 eval "$as_ac_var=yes"
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33647 eval "$as_ac_var=no"
33650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33651 conftest$ac_exeext conftest.$ac_ext
33653 ac_res=`eval echo '${'$as_ac_var'}'`
33654 { echo "$as_me:$LINENO: result: $ac_res" >&5
33655 echo "${ECHO_T}$ac_res" >&6; }
33656 if test `eval echo '${'$as_ac_var'}'` = yes; then
33657 cat >>confdefs.h <<_ACEOF
33658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33665 if test "$WCSLEN_FOUND" = 0; then
33666 if test "$TOOLKIT" = "MSW"; then
33667 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33668 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33669 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 ac_check_lib_save_LIBS=$LIBS
33673 LIBS="-lmsvcrt $LIBS"
33674 cat >conftest.$ac_ext <<_ACEOF
33677 cat confdefs.h >>conftest.$ac_ext
33678 cat >>conftest.$ac_ext <<_ACEOF
33679 /* end confdefs.h. */
33681 /* Override any GCC internal prototype to avoid an error.
33682 Use char because int might match the return type of a GCC
33683 builtin and then its argument prototype would still apply. */
33696 rm -f conftest.$ac_objext conftest$ac_exeext
33697 if { (ac_try="$ac_link"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33700 *) ac_try_echo
=$ac_try;;
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_link") 2>conftest.er1
33705 grep -v '^ *+' conftest.er1
>conftest.err
33707 cat conftest.err
>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest
$ac_exeext &&
33713 $as_test_x conftest
$ac_exeext; then
33714 ac_cv_lib_msvcrt_wcslen
=yes
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.
$ac_ext >&5
33719 ac_cv_lib_msvcrt_wcslen
=no
33722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33723 conftest
$ac_exeext conftest.
$ac_ext
33724 LIBS
=$ac_check_lib_save_LIBS
33726 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33727 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33728 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33733 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33734 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33735 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33738 ac_check_lib_save_LIBS
=$LIBS
33740 cat >conftest.
$ac_ext <<_ACEOF
33743 cat confdefs.h
>>conftest.
$ac_ext
33744 cat >>conftest.
$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33747 /* Override any GCC internal prototype to avoid an error.
33748 Use char because int might match the return type of a GCC
33749 builtin and then its argument prototype would still apply. */
33762 rm -f conftest.
$ac_objext conftest
$ac_exeext
33763 if { (ac_try
="$ac_link"
33764 case "(($ac_try" in
33765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33766 *) ac_try_echo=$ac_try;;
33768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33769 (eval "$ac_link") 2>conftest.er1
33771 grep -v '^ *+' conftest.er1 >conftest.err
33773 cat conftest.err >&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } && {
33776 test -z "$ac_c_werror_flag" ||
33777 test ! -s conftest.err
33778 } && test -s conftest$ac_exeext &&
33779 $as_test_x conftest$ac_exeext; then
33780 ac_cv_lib_w_wcslen=yes
33782 echo "$as_me: failed program was:" >&5
33783 sed 's/^/| /' conftest.$ac_ext >&5
33785 ac_cv_lib_w_wcslen=no
33788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33789 conftest$ac_exeext conftest.$ac_ext
33790 LIBS=$ac_check_lib_save_LIBS
33792 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33793 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33794 if test $ac_cv_lib_w_wcslen = yes; then
33804 if test "$WCSLEN_FOUND" = 1; then
33805 cat >>confdefs.h <<\_ACEOF
33806 #define HAVE_WCSLEN 1
33811 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33812 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33815 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33816 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33817 if test "${ac_cv_type_mbstate_t+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33820 cat >conftest.$ac_ext <<_ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33828 typedef mbstate_t ac__type_new_;
33832 if ((ac__type_new_ *) 0)
33834 if (sizeof (ac__type_new_))
33840 rm -f conftest.$ac_objext
33841 if { (ac_try="$ac_compile"
33842 case "(($ac_try" in
33843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33844 *) ac_try_echo
=$ac_try;;
33846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33847 (eval "$ac_compile") 2>conftest.er1
33849 grep -v '^ *+' conftest.er1
>conftest.err
33851 cat conftest.err
>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } && {
33854 test -z "$ac_c_werror_flag" ||
33855 test ! -s conftest.err
33856 } && test -s conftest.
$ac_objext; then
33857 ac_cv_type_mbstate_t
=yes
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.
$ac_ext >&5
33862 ac_cv_type_mbstate_t
=no
33865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33867 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33868 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33869 if test $ac_cv_type_mbstate_t = yes; then
33871 cat >>confdefs.h
<<_ACEOF
33872 #define HAVE_MBSTATE_T 1
33876 for ac_func
in wcsrtombs
33878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33881 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 cat >conftest.
$ac_ext <<_ACEOF
33887 cat confdefs.h
>>conftest.
$ac_ext
33888 cat >>conftest.
$ac_ext <<_ACEOF
33889 /* end confdefs.h. */
33890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33892 #define $ac_func innocuous_$ac_func
33894 /* System header to define __stub macros and hopefully few prototypes,
33895 which can conflict with char $ac_func (); below.
33896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33897 <limits.h> exists even on freestanding compilers. */
33900 # include <limits.h>
33902 # include <assert.h>
33907 /* Override any GCC internal prototype to avoid an error.
33908 Use char because int might match the return type of a GCC
33909 builtin and then its argument prototype would still apply. */
33914 /* The GNU C library defines this for functions which it implements
33915 to always fail with ENOSYS. Some functions are actually named
33916 something starting with __ and the normal name is an alias. */
33917 #if defined __stub_$ac_func || defined __stub___$ac_func
33924 return $ac_func ();
33929 rm -f conftest.
$ac_objext conftest
$ac_exeext
33930 if { (ac_try
="$ac_link"
33931 case "(($ac_try" in
33932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33933 *) ac_try_echo=$ac_try;;
33935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33936 (eval "$ac_link") 2>conftest.er1
33938 grep -v '^ *+' conftest.er1 >conftest.err
33940 cat conftest.err >&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); } && {
33943 test -z "$ac_c_werror_flag" ||
33944 test ! -s conftest.err
33945 } && test -s conftest$ac_exeext &&
33946 $as_test_x conftest$ac_exeext; then
33947 eval "$as_ac_var=yes"
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.$ac_ext >&5
33952 eval "$as_ac_var=no"
33955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33956 conftest$ac_exeext conftest.$ac_ext
33958 ac_res=`eval echo '${'$as_ac_var'}'`
33959 { echo "$as_me:$LINENO: result: $ac_res" >&5
33960 echo "${ECHO_T}$ac_res" >&6; }
33961 if test `eval echo '${'$as_ac_var'}'` = yes; then
33962 cat >>confdefs.h <<_ACEOF
33963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33972 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33973 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33978 for ac_func in snprintf vsnprintf
33980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33986 cat >conftest.$ac_ext <<_ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33994 #define $ac_func innocuous_$ac_func
33996 /* System header to define __stub macros and hopefully few prototypes,
33997 which can conflict with char $ac_func (); below.
33998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33999 <limits.h> exists even on freestanding compilers. */
34002 # include <limits.h>
34004 # include <assert.h>
34009 /* Override any GCC internal prototype to avoid an error.
34010 Use char because int might match the return type of a GCC
34011 builtin and then its argument prototype would still apply. */
34016 /* The GNU C library defines this for functions which it implements
34017 to always fail with ENOSYS. Some functions are actually named
34018 something starting with __ and the normal name is an alias. */
34019 #if defined __stub_$ac_func || defined __stub___$ac_func
34026 return $ac_func ();
34031 rm -f conftest.$ac_objext conftest$ac_exeext
34032 if { (ac_try="$ac_link"
34033 case "(($ac_try" in
34034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34035 *) ac_try_echo
=$ac_try;;
34037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34038 (eval "$ac_link") 2>conftest.er1
34040 grep -v '^ *+' conftest.er1
>conftest.err
34042 cat conftest.err
>&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } && {
34045 test -z "$ac_c_werror_flag" ||
34046 test ! -s conftest.err
34047 } && test -s conftest
$ac_exeext &&
34048 $as_test_x conftest
$ac_exeext; then
34049 eval "$as_ac_var=yes"
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.
$ac_ext >&5
34054 eval "$as_ac_var=no"
34057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34058 conftest
$ac_exeext conftest.
$ac_ext
34060 ac_res
=`eval echo '${'$as_ac_var'}'`
34061 { echo "$as_me:$LINENO: result: $ac_res" >&5
34062 echo "${ECHO_T}$ac_res" >&6; }
34063 if test `eval echo '${'$as_ac_var'}'` = yes; then
34064 cat >>confdefs.h
<<_ACEOF
34065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34072 if test "$ac_cv_func_vsnprintf" = "yes"; then
34073 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34074 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34075 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 cat >conftest.
$ac_ext <<_ACEOF
34082 cat confdefs.h
>>conftest.
$ac_ext
34083 cat >>conftest.
$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34087 #include <stdarg.h>
34089 #if __MSL__ >= 0x6000
34091 using namespace std;
34101 vsnprintf(buf, 10u, "%s", ap);
34107 rm -f conftest.
$ac_objext
34108 if { (ac_try
="$ac_compile"
34109 case "(($ac_try" in
34110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34111 *) ac_try_echo=$ac_try;;
34113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34114 (eval "$ac_compile") 2>conftest.er1
34116 grep -v '^ *+' conftest.er1 >conftest.err
34118 cat conftest.err >&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); } && {
34121 test -z "$ac_c_werror_flag" ||
34122 test ! -s conftest.err
34123 } && test -s conftest.$ac_objext; then
34124 wx_cv_func_vsnprintf_decl=yes
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34129 wx_cv_func_vsnprintf_decl=no
34133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34137 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34138 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34140 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34141 cat >>confdefs.h <<\_ACEOF
34142 #define HAVE_VSNPRINTF_DECL 1
34146 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34147 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34148 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34152 cat >conftest.$ac_ext <<_ACEOF
34155 cat confdefs.h >>conftest.$ac_ext
34156 cat >>conftest.$ac_ext <<_ACEOF
34157 /* end confdefs.h. */
34160 #include <stdarg.h>
34162 #if __MSL__ >= 0x6000
34164 using namespace std;
34174 const char *fmt = "%s";
34175 vsnprintf(buf, 10u, fmt, ap);
34181 rm -f conftest.$ac_objext
34182 if { (ac_try="$ac_compile"
34183 case "(($ac_try" in
34184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34185 *) ac_try_echo
=$ac_try;;
34187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34188 (eval "$ac_compile") 2>conftest.er1
34190 grep -v '^ *+' conftest.er1
>conftest.err
34192 cat conftest.err
>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); } && {
34195 test -z "$ac_c_werror_flag" ||
34196 test ! -s conftest.err
34197 } && test -s conftest.
$ac_objext; then
34198 wx_cv_func_broken_vsnprintf_decl
=no
34200 echo "$as_me: failed program was:" >&5
34201 sed 's/^/| /' conftest.
$ac_ext >&5
34203 wx_cv_func_broken_vsnprintf_decl
=yes
34207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34211 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34212 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34214 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34215 cat >>confdefs.h
<<\_ACEOF
34216 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34223 if test "$ac_cv_func_snprintf" = "yes"; then
34224 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34225 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34226 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 cat >conftest.
$ac_ext <<_ACEOF
34233 cat confdefs.h
>>conftest.
$ac_ext
34234 cat >>conftest.
$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34238 #include <stdarg.h>
34240 #if __MSL__ >= 0x6000
34242 using namespace std;
34251 snprintf(buf, 10u, "%s", "wx");
34257 rm -f conftest.
$ac_objext
34258 if { (ac_try
="$ac_compile"
34259 case "(($ac_try" in
34260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34261 *) ac_try_echo=$ac_try;;
34263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34264 (eval "$ac_compile") 2>conftest.er1
34266 grep -v '^ *+' conftest.er1 >conftest.err
34268 cat conftest.err >&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } && {
34271 test -z "$ac_c_werror_flag" ||
34272 test ! -s conftest.err
34273 } && test -s conftest.$ac_objext; then
34274 wx_cv_func_snprintf_decl=yes
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34279 wx_cv_func_snprintf_decl=no
34283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34288 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34290 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define HAVE_SNPRINTF_DECL 1
34296 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34297 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34298 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34302 cat >conftest.$ac_ext <<_ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34310 #include <stdarg.h>
34312 #if __MSL__ >= 0x6000
34314 using namespace std;
34323 const char *fmt = "%s";
34324 snprintf(buf, 10u, fmt, "wx");
34330 rm -f conftest.$ac_objext
34331 if { (ac_try="$ac_compile"
34332 case "(($ac_try" in
34333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34334 *) ac_try_echo
=$ac_try;;
34336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34337 (eval "$ac_compile") 2>conftest.er1
34339 grep -v '^ *+' conftest.er1
>conftest.err
34341 cat conftest.err
>&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); } && {
34344 test -z "$ac_c_werror_flag" ||
34345 test ! -s conftest.err
34346 } && test -s conftest.
$ac_objext; then
34347 wx_cv_func_broken_snprintf_decl
=no
34349 echo "$as_me: failed program was:" >&5
34350 sed 's/^/| /' conftest.
$ac_ext >&5
34352 wx_cv_func_broken_snprintf_decl
=yes
34356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34360 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34361 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34363 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34364 cat >>confdefs.h
<<\_ACEOF
34365 #define HAVE_BROKEN_SNPRINTF_DECL 1
34371 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34373 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34374 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34375 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 if test "$cross_compiling" = yes; then
34381 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34382 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34383 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34384 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34385 wx_cv_func_snprintf_pos_params
=no
34389 cat >conftest.
$ac_ext <<_ACEOF
34392 cat confdefs.h
>>conftest.
$ac_ext
34393 cat >>conftest.
$ac_ext <<_ACEOF
34394 /* end confdefs.h. */
34401 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34402 if (strcmp ("2 3 1", buffer) == 0)
34408 rm -f conftest
$ac_exeext
34409 if { (ac_try
="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>&5
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34419 { (case "(($ac_try" in
34420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34421 *) ac_try_echo
=$ac_try;;
34423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34424 (eval "$ac_try") 2>&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 wx_cv_func_snprintf_pos_params
=no
34430 echo "$as_me: program exited with status $ac_status" >&5
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.
$ac_ext >&5
34434 ( exit $ac_status )
34435 wx_cv_func_snprintf_pos_params
=yes
34437 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34444 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34445 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34447 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34448 cat >>confdefs.h
<<\_ACEOF
34449 #define HAVE_UNIX98_PRINTF 1
34456 if test "$wxUSE_UNICODE" = yes; then
34459 for ac_func
in swprintf
34461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34464 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 cat >conftest.
$ac_ext <<_ACEOF
34470 cat confdefs.h
>>conftest.
$ac_ext
34471 cat >>conftest.
$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34475 #define $ac_func innocuous_$ac_func
34477 /* System header to define __stub macros and hopefully few prototypes,
34478 which can conflict with char $ac_func (); below.
34479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34480 <limits.h> exists even on freestanding compilers. */
34483 # include <limits.h>
34485 # include <assert.h>
34490 /* Override any GCC internal prototype to avoid an error.
34491 Use char because int might match the return type of a GCC
34492 builtin and then its argument prototype would still apply. */
34497 /* The GNU C library defines this for functions which it implements
34498 to always fail with ENOSYS. Some functions are actually named
34499 something starting with __ and the normal name is an alias. */
34500 #if defined __stub_$ac_func || defined __stub___$ac_func
34507 return $ac_func ();
34512 rm -f conftest.
$ac_objext conftest
$ac_exeext
34513 if { (ac_try
="$ac_link"
34514 case "(($ac_try" in
34515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34516 *) ac_try_echo=$ac_try;;
34518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34519 (eval "$ac_link") 2>conftest.er1
34521 grep -v '^ *+' conftest.er1 >conftest.err
34523 cat conftest.err >&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } && {
34526 test -z "$ac_c_werror_flag" ||
34527 test ! -s conftest.err
34528 } && test -s conftest$ac_exeext &&
34529 $as_test_x conftest$ac_exeext; then
34530 eval "$as_ac_var=yes"
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34535 eval "$as_ac_var=no"
34538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34539 conftest$ac_exeext conftest.$ac_ext
34541 ac_res=`eval echo '${'$as_ac_var'}'`
34542 { echo "$as_me:$LINENO: result: $ac_res" >&5
34543 echo "${ECHO_T}$ac_res" >&6; }
34544 if test `eval echo '${'$as_ac_var'}'` = yes; then
34545 cat >>confdefs.h <<_ACEOF
34546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34553 if test "$ac_cv_func_swprintf" = "yes"; then
34554 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34555 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34556 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.$ac_ext <<_ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34568 #include <stdarg.h>
34576 const wchar_t *fmt = L"test";
34577 swprintf(buf, 10u, fmt);
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34587 *) ac_try_echo
=$ac_try;;
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34592 grep -v '^ *+' conftest.er1
>conftest.err
34594 cat conftest.err
>&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.
$ac_objext; then
34600 wx_cv_func_broken_swprintf_decl
=no
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.
$ac_ext >&5
34605 wx_cv_func_broken_swprintf_decl
=yes
34609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34613 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34614 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34616 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34617 cat >>confdefs.h
<<\_ACEOF
34618 #define HAVE_BROKEN_SWPRINTF_DECL 1
34624 wchar_headers
="#include <stdio.h>
34625 #include <wchar.h>"
34628 { echo "$as_me:$LINENO: checking for widec.h" >&5
34629 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34630 if test "${ac_cv_header_widec_h+set}" = set; then
34631 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 cat >conftest.
$ac_ext <<_ACEOF
34636 cat confdefs.h
>>conftest.
$ac_ext
34637 cat >>conftest.
$ac_ext <<_ACEOF
34638 /* end confdefs.h. */
34639 $ac_includes_default
34643 rm -f conftest.
$ac_objext
34644 if { (ac_try
="$ac_compile"
34645 case "(($ac_try" in
34646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34647 *) ac_try_echo=$ac_try;;
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_compile") 2>conftest.er1
34652 grep -v '^ *+' conftest.er1 >conftest.err
34654 cat conftest.err >&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } && {
34657 test -z "$ac_c_werror_flag" ||
34658 test ! -s conftest.err
34659 } && test -s conftest.$ac_objext; then
34660 ac_cv_header_widec_h=yes
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34665 ac_cv_header_widec_h=no
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34670 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34671 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34674 if test "$ac_cv_header_widec_h" = "yes"; then
34675 wchar_headers="$wchar_headers
34676 #include <widec.h>"
34681 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34683 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34684 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34685 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34689 cat >conftest.$ac_ext <<_ACEOF
34693 cat confdefs.h >>conftest.$ac_ext
34694 cat >>conftest.$ac_ext <<_ACEOF
34695 /* end confdefs.h. */
34698 $ac_includes_default
34714 rm -f conftest.$ac_objext conftest$ac_exeext
34715 if { (ac_try="$ac_link"
34716 case "(($ac_try" in
34717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34718 *) ac_try_echo
=$ac_try;;
34720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34721 (eval "$ac_link") 2>conftest.er1
34723 grep -v '^ *+' conftest.er1
>conftest.err
34725 cat conftest.err
>&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } && {
34728 test -z "$ac_c_werror_flag" ||
34729 test ! -s conftest.err
34730 } && test -s conftest
$ac_exeext &&
34731 $as_test_x conftest
$ac_exeext; then
34732 eval wx_cv_func_
$wx_func=yes
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.
$ac_ext >&5
34737 eval wx_cv_func_
$wx_func=no
34740 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34741 conftest
$ac_exeext conftest.
$ac_ext
34744 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34745 { echo "$as_me:$LINENO: result: $ac_res" >&5
34746 echo "${ECHO_T}$ac_res" >&6; }
34748 if eval test \
$wx_cv_func_$wx_func = yes
34750 cat >>confdefs.h
<<_ACEOF
34751 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34762 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34763 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34764 cat >conftest.
$ac_ext <<_ACEOF
34767 cat confdefs.h
>>conftest.
$ac_ext
34768 cat >>conftest.
$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34779 rm -f conftest.
$ac_objext
34780 if { (ac_try
="$ac_compile"
34781 case "(($ac_try" in
34782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34783 *) ac_try_echo=$ac_try;;
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_compile") 2>conftest.er1
34788 grep -v '^ *+' conftest.er1 >conftest.err
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } && {
34793 test -z "$ac_c_werror_flag" ||
34794 test ! -s conftest.err
34795 } && test -s conftest.$ac_objext; then
34796 { echo "$as_me:$LINENO: result: yes" >&5
34797 echo "${ECHO_T}yes" >&6; }
34798 cat >>confdefs.h <<\_ACEOF
34799 #define HAVE__VSNWPRINTF 1
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34806 { echo "$as_me:$LINENO: result: no" >&5
34807 echo "${ECHO_T}no" >&6; }
34810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34813 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34815 for wx_func in fnmatch
34817 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34818 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34819 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 cat >conftest.$ac_ext <<_ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34831 #include <fnmatch.h>
34832 $ac_includes_default
34848 rm -f conftest.$ac_objext conftest$ac_exeext
34849 if { (ac_try="$ac_link"
34850 case "(($ac_try" in
34851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34852 *) ac_try_echo
=$ac_try;;
34854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34855 (eval "$ac_link") 2>conftest.er1
34857 grep -v '^ *+' conftest.er1
>conftest.err
34859 cat conftest.err
>&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } && {
34862 test -z "$ac_c_werror_flag" ||
34863 test ! -s conftest.err
34864 } && test -s conftest
$ac_exeext &&
34865 $as_test_x conftest
$ac_exeext; then
34866 eval wx_cv_func_
$wx_func=yes
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.
$ac_ext >&5
34871 eval wx_cv_func_
$wx_func=no
34874 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34875 conftest
$ac_exeext conftest.
$ac_ext
34878 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34879 { echo "$as_me:$LINENO: result: $ac_res" >&5
34880 echo "${ECHO_T}$ac_res" >&6; }
34882 if eval test \
$wx_cv_func_$wx_func = yes
34884 cat >>confdefs.h
<<_ACEOF
34885 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34897 if test "$wxUSE_FILE" = "yes"; then
34899 for wx_func
in fsync
34901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34903 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 cat >conftest.
$ac_ext <<_ACEOF
34911 cat confdefs.h
>>conftest.
$ac_ext
34912 cat >>conftest.
$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34916 $ac_includes_default
34932 rm -f conftest.
$ac_objext conftest
$ac_exeext
34933 if { (ac_try
="$ac_link"
34934 case "(($ac_try" in
34935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_link") 2>conftest.er1
34941 grep -v '^ *+' conftest.er1 >conftest.err
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest$ac_exeext &&
34949 $as_test_x conftest$ac_exeext; then
34950 eval wx_cv_func_$wx_func=yes
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34955 eval wx_cv_func_$wx_func=no
34958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34959 conftest$ac_exeext conftest.$ac_ext
34962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34963 { echo "$as_me:$LINENO: result: $ac_res" >&5
34964 echo "${ECHO_T}$ac_res" >&6; }
34966 if eval test \$wx_cv_func_$wx_func = yes
34968 cat >>confdefs.h <<_ACEOF
34969 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34982 for wx_func in round
34984 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34985 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34986 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 cat >conftest.$ac_ext <<_ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h. */
34999 $ac_includes_default
35015 rm -f conftest.$ac_objext conftest$ac_exeext
35016 if { (ac_try="$ac_link"
35017 case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35019 *) ac_try_echo
=$ac_try;;
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_link") 2>conftest.er1
35024 grep -v '^ *+' conftest.er1
>conftest.err
35026 cat conftest.err
>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest
$ac_exeext &&
35032 $as_test_x conftest
$ac_exeext; then
35033 eval wx_cv_func_
$wx_func=yes
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.
$ac_ext >&5
35038 eval wx_cv_func_
$wx_func=no
35041 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35042 conftest
$ac_exeext conftest.
$ac_ext
35045 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35046 { echo "$as_me:$LINENO: result: $ac_res" >&5
35047 echo "${ECHO_T}$ac_res" >&6; }
35049 if eval test \
$wx_cv_func_$wx_func = yes
35051 cat >>confdefs.h
<<_ACEOF
35052 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35063 if test "$TOOLKIT" != "MSW"; then
35069 # Check whether --with-libiconv-prefix was given.
35070 if test "${with_libiconv_prefix+set}" = set; then
35071 withval
=$with_libiconv_prefix;
35072 for dir
in `echo "$withval" | tr : ' '`; do
35073 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35074 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35080 { echo "$as_me:$LINENO: checking for iconv" >&5
35081 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35082 if test "${am_cv_func_iconv+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 am_cv_func_iconv
="no, consider installing GNU libiconv"
35088 cat >conftest.
$ac_ext <<_ACEOF
35091 cat confdefs.h
>>conftest.
$ac_ext
35092 cat >>conftest.
$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35094 #include <stdlib.h>
35099 iconv_t cd = iconv_open("","");
35100 iconv(cd,NULL,NULL,NULL,NULL);
35106 rm -f conftest.
$ac_objext conftest
$ac_exeext
35107 if { (ac_try
="$ac_link"
35108 case "(($ac_try" in
35109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_link") 2>conftest.er1
35115 grep -v '^ *+' conftest.er1 >conftest.err
35117 cat conftest.err >&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } && {
35120 test -z "$ac_c_werror_flag" ||
35121 test ! -s conftest.err
35122 } && test -s conftest$ac_exeext &&
35123 $as_test_x conftest$ac_exeext; then
35124 am_cv_func_iconv=yes
35126 echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35133 conftest$ac_exeext conftest.$ac_ext
35134 if test "$am_cv_func_iconv" != yes; then
35135 am_save_LIBS="$LIBS"
35136 LIBS="$LIBS -liconv"
35137 cat >conftest.$ac_ext <<_ACEOF
35140 cat confdefs.h >>conftest.$ac_ext
35141 cat >>conftest.$ac_ext <<_ACEOF
35142 /* end confdefs.h. */
35143 #include <stdlib.h>
35148 iconv_t cd = iconv_open("","");
35149 iconv(cd,NULL,NULL,NULL,NULL);
35155 rm -f conftest.$ac_objext conftest$ac_exeext
35156 if { (ac_try="$ac_link"
35157 case "(($ac_try" in
35158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35159 *) ac_try_echo
=$ac_try;;
35161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35162 (eval "$ac_link") 2>conftest.er1
35164 grep -v '^ *+' conftest.er1
>conftest.err
35166 cat conftest.err
>&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } && {
35169 test -z "$ac_c_werror_flag" ||
35170 test ! -s conftest.err
35171 } && test -s conftest
$ac_exeext &&
35172 $as_test_x conftest
$ac_exeext; then
35173 am_cv_lib_iconv
=yes
35174 am_cv_func_iconv
=yes
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.
$ac_ext >&5
35182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35183 conftest
$ac_exeext conftest.
$ac_ext
35184 LIBS
="$am_save_LIBS"
35188 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35189 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35190 if test "$am_cv_func_iconv" = yes; then
35192 cat >>confdefs.h
<<\_ACEOF
35193 #define HAVE_ICONV 1
35196 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35197 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35198 if test "${wx_cv_func_iconv_const+set}" = set; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35201 cat >conftest.
$ac_ext <<_ACEOF
35204 cat confdefs.h
>>conftest.
$ac_ext
35205 cat >>conftest.
$ac_ext <<_ACEOF
35206 /* end confdefs.h. */
35208 #include <stdlib.h>
35214 #if defined(__STDC__) || defined(__cplusplus)
35215 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35228 rm -f conftest.
$ac_objext
35229 if { (ac_try
="$ac_compile"
35230 case "(($ac_try" in
35231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35232 *) ac_try_echo=$ac_try;;
35234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35235 (eval "$ac_compile") 2>conftest.er1
35237 grep -v '^ *+' conftest.er1 >conftest.err
35239 cat conftest.err >&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } && {
35242 test -z "$ac_c_werror_flag" ||
35243 test ! -s conftest.err
35244 } && test -s conftest.$ac_objext; then
35245 wx_cv_func_iconv_const="no"
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35250 wx_cv_func_iconv_const="yes"
35254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35257 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35258 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35261 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35262 iconv_const="const"
35266 cat >>confdefs.h <<_ACEOF
35267 #define ICONV_CONST $iconv_const
35272 if test "$am_cv_lib_iconv" = yes; then
35277 LIBS="$LIBICONV $LIBS"
35279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35281 for ac_func in sigaction
35283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35287 echo $ECHO_N "(cached) $ECHO_C" >&6
35289 cat >conftest.$ac_ext <<_ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35297 #define $ac_func innocuous_$ac_func
35299 /* System header to define __stub macros and hopefully few prototypes,
35300 which can conflict with char $ac_func (); below.
35301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35302 <limits.h> exists even on freestanding compilers. */
35305 # include <limits.h>
35307 # include <assert.h>
35312 /* Override any GCC internal prototype to avoid an error.
35313 Use char because int might match the return type of a GCC
35314 builtin and then its argument prototype would still apply. */
35319 /* The GNU C library defines this for functions which it implements
35320 to always fail with ENOSYS. Some functions are actually named
35321 something starting with __ and the normal name is an alias. */
35322 #if defined __stub_$ac_func || defined __stub___$ac_func
35329 return $ac_func ();
35334 rm -f conftest.$ac_objext conftest$ac_exeext
35335 if { (ac_try="$ac_link"
35336 case "(($ac_try" in
35337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35338 *) ac_try_echo
=$ac_try;;
35340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35341 (eval "$ac_link") 2>conftest.er1
35343 grep -v '^ *+' conftest.er1
>conftest.err
35345 cat conftest.err
>&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); } && {
35348 test -z "$ac_c_werror_flag" ||
35349 test ! -s conftest.err
35350 } && test -s conftest
$ac_exeext &&
35351 $as_test_x conftest
$ac_exeext; then
35352 eval "$as_ac_var=yes"
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.
$ac_ext >&5
35357 eval "$as_ac_var=no"
35360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35361 conftest
$ac_exeext conftest.
$ac_ext
35363 ac_res
=`eval echo '${'$as_ac_var'}'`
35364 { echo "$as_me:$LINENO: result: $ac_res" >&5
35365 echo "${ECHO_T}$ac_res" >&6; }
35366 if test `eval echo '${'$as_ac_var'}'` = yes; then
35367 cat >>confdefs.h
<<_ACEOF
35368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35375 if test "$ac_cv_func_sigaction" = "no"; then
35376 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35377 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35378 wxUSE_ON_FATAL_EXCEPTION
=no
35381 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35382 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35383 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35384 if test "${wx_cv_type_sa_handler+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35389 ac_cpp
='$CXXCPP $CPPFLAGS'
35390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35394 cat >conftest.
$ac_ext <<_ACEOF
35397 cat confdefs.h
>>conftest.
$ac_ext
35398 cat >>conftest.
$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 #include <signal.h>
35405 extern void testSigHandler(int);
35407 struct sigaction sa;
35408 sa.sa_handler = testSigHandler;
35414 rm -f conftest.
$ac_objext
35415 if { (ac_try
="$ac_compile"
35416 case "(($ac_try" in
35417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35418 *) ac_try_echo=$ac_try;;
35420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35421 (eval "$ac_compile") 2>conftest.er1
35423 grep -v '^ *+' conftest.er1 >conftest.err
35425 cat conftest.err >&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } && {
35428 test -z "$ac_cxx_werror_flag" ||
35429 test ! -s conftest.err
35430 } && test -s conftest.$ac_objext; then
35432 wx_cv_type_sa_handler=int
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35439 wx_cv_type_sa_handler=void
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35445 ac_cpp='$CPP $CPPFLAGS'
35446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35453 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35455 cat >>confdefs.h <<_ACEOF
35456 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35462 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35463 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35464 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35465 if test "${wx_cv_func_backtrace+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 ac_cpp='$CXXCPP $CPPFLAGS'
35471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35475 cat >conftest.$ac_ext <<_ACEOF
35478 cat confdefs.h >>conftest.$ac_ext
35479 cat >>conftest.$ac_ext <<_ACEOF
35480 /* end confdefs.h. */
35481 #include <execinfo.h>
35489 backtrace(trace, 1);
35490 messages = backtrace_symbols(trace, 1);
35496 rm -f conftest.$ac_objext
35497 if { (ac_try="$ac_compile"
35498 case "(($ac_try" in
35499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35500 *) ac_try_echo
=$ac_try;;
35502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35503 (eval "$ac_compile") 2>conftest.er1
35505 grep -v '^ *+' conftest.er1
>conftest.err
35507 cat conftest.err
>&5
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); } && {
35510 test -z "$ac_cxx_werror_flag" ||
35511 test ! -s conftest.err
35512 } && test -s conftest.
$ac_objext; then
35513 wx_cv_func_backtrace
=yes
35515 echo "$as_me: failed program was:" >&5
35516 sed 's/^/| /' conftest.
$ac_ext >&5
35518 wx_cv_func_backtrace
=no
35522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35524 ac_cpp
='$CPP $CPPFLAGS'
35525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35532 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35533 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35536 if test "$wx_cv_func_backtrace" = "no"; then
35537 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35538 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35539 wxUSE_STACKWALKER
=no
35541 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35542 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35543 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35544 echo $ECHO_N "(cached) $ECHO_C" >&6
35548 ac_cpp
='$CXXCPP $CPPFLAGS'
35549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35553 cat >conftest.
$ac_ext <<_ACEOF
35556 cat confdefs.h
>>conftest.
$ac_ext
35557 cat >>conftest.
$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35559 #include <cxxabi.h>
35565 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35571 rm -f conftest.
$ac_objext conftest
$ac_exeext
35572 if { (ac_try
="$ac_link"
35573 case "(($ac_try" in
35574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35575 *) ac_try_echo=$ac_try;;
35577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35578 (eval "$ac_link") 2>conftest.er1
35580 grep -v '^ *+' conftest.er1 >conftest.err
35582 cat conftest.err >&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } && {
35585 test -z "$ac_cxx_werror_flag" ||
35586 test ! -s conftest.err
35587 } && test -s conftest$ac_exeext &&
35588 $as_test_x conftest$ac_exeext; then
35589 wx_cv_func_cxa_demangle=yes
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.$ac_ext >&5
35594 wx_cv_func_cxa_demangle=no
35598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35599 conftest$ac_exeext conftest.$ac_ext
35601 ac_cpp='$CPP $CPPFLAGS'
35602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35609 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35610 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35612 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35613 cat >>confdefs.h <<\_ACEOF
35614 #define HAVE_CXA_DEMANGLE 1
35621 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35622 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35623 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35624 wxUSE_STACKWALKER=no
35630 for ac_func in mkstemp mktemp
35632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35638 cat >conftest.$ac_ext <<_ACEOF
35641 cat confdefs.h >>conftest.$ac_ext
35642 cat >>conftest.$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35646 #define $ac_func innocuous_$ac_func
35648 /* System header to define __stub macros and hopefully few prototypes,
35649 which can conflict with char $ac_func (); below.
35650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35651 <limits.h> exists even on freestanding compilers. */
35654 # include <limits.h>
35656 # include <assert.h>
35661 /* Override any GCC internal prototype to avoid an error.
35662 Use char because int might match the return type of a GCC
35663 builtin and then its argument prototype would still apply. */
35668 /* The GNU C library defines this for functions which it implements
35669 to always fail with ENOSYS. Some functions are actually named
35670 something starting with __ and the normal name is an alias. */
35671 #if defined __stub_$ac_func || defined __stub___$ac_func
35678 return $ac_func ();
35683 rm -f conftest.$ac_objext conftest$ac_exeext
35684 if { (ac_try="$ac_link"
35685 case "(($ac_try" in
35686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35687 *) ac_try_echo
=$ac_try;;
35689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35690 (eval "$ac_link") 2>conftest.er1
35692 grep -v '^ *+' conftest.er1
>conftest.err
35694 cat conftest.err
>&5
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); } && {
35697 test -z "$ac_c_werror_flag" ||
35698 test ! -s conftest.err
35699 } && test -s conftest
$ac_exeext &&
35700 $as_test_x conftest
$ac_exeext; then
35701 eval "$as_ac_var=yes"
35703 echo "$as_me: failed program was:" >&5
35704 sed 's/^/| /' conftest.
$ac_ext >&5
35706 eval "$as_ac_var=no"
35709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35710 conftest
$ac_exeext conftest.
$ac_ext
35712 ac_res
=`eval echo '${'$as_ac_var'}'`
35713 { echo "$as_me:$LINENO: result: $ac_res" >&5
35714 echo "${ECHO_T}$ac_res" >&6; }
35715 if test `eval echo '${'$as_ac_var'}'` = yes; then
35716 cat >>confdefs.h
<<_ACEOF
35717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35724 { echo "$as_me:$LINENO: checking for statfs" >&5
35725 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35726 if test "${wx_cv_func_statfs+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 cat >conftest.
$ac_ext <<_ACEOF
35732 cat confdefs.h
>>conftest.
$ac_ext
35733 cat >>conftest.
$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35736 #if defined(__BSD__)
35737 #include <sys/param.h>
35738 #include <sys/mount.h>
35740 #include <sys/vfs.h>
35758 rm -f conftest.
$ac_objext
35759 if { (ac_try
="$ac_compile"
35760 case "(($ac_try" in
35761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35762 *) ac_try_echo=$ac_try;;
35764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35765 (eval "$ac_compile") 2>conftest.er1
35767 grep -v '^ *+' conftest.er1 >conftest.err
35769 cat conftest.err >&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); } && {
35772 test -z "$ac_c_werror_flag" ||
35773 test ! -s conftest.err
35774 } && test -s conftest.$ac_objext; then
35775 wx_cv_func_statfs=yes
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.$ac_ext >&5
35780 wx_cv_func_statfs=no
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35787 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35788 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35790 if test "$wx_cv_func_statfs" = "yes"; then
35791 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35792 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35793 if test "${wx_cv_func_statfs_decl+set}" = set; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35802 cat >conftest.$ac_ext <<_ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35809 #if defined(__BSD__)
35810 #include <sys/param.h>
35811 #include <sys/mount.h>
35813 #include <sys/vfs.h>
35827 rm -f conftest.$ac_objext
35828 if { (ac_try="$ac_compile"
35829 case "(($ac_try" in
35830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35831 *) ac_try_echo
=$ac_try;;
35833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35834 (eval "$ac_compile") 2>conftest.er1
35836 grep -v '^ *+' conftest.er1
>conftest.err
35838 cat conftest.err
>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } && {
35841 test -z "$ac_cxx_werror_flag" ||
35842 test ! -s conftest.err
35843 } && test -s conftest.
$ac_objext; then
35844 wx_cv_func_statfs_decl
=yes
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.
$ac_ext >&5
35849 wx_cv_func_statfs_decl
=no
35853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35855 ac_cpp
='$CPP $CPPFLAGS'
35856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35862 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35863 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35865 if test "$wx_cv_func_statfs_decl" = "yes"; then
35866 cat >>confdefs.h
<<\_ACEOF
35867 #define HAVE_STATFS_DECL 1
35872 wx_cv_type_statvfs_t
="struct statfs"
35873 cat >>confdefs.h
<<\_ACEOF
35874 #define HAVE_STATFS 1
35878 { echo "$as_me:$LINENO: checking for statvfs" >&5
35879 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35880 if test "${wx_cv_func_statvfs+set}" = set; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35890 #include <stddef.h>
35891 #include <sys/statvfs.h>
35897 statvfs("/", NULL);
35903 rm -f conftest.
$ac_objext
35904 if { (ac_try
="$ac_compile"
35905 case "(($ac_try" in
35906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35907 *) ac_try_echo=$ac_try;;
35909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35910 (eval "$ac_compile") 2>conftest.er1
35912 grep -v '^ *+' conftest.er1 >conftest.err
35914 cat conftest.err >&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); } && {
35917 test -z "$ac_c_werror_flag" ||
35918 test ! -s conftest.err
35919 } && test -s conftest.$ac_objext; then
35920 wx_cv_func_statvfs=yes
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35925 wx_cv_func_statvfs=no
35929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35933 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35935 if test "$wx_cv_func_statvfs" = "yes"; then
35936 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35937 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35938 if test "${wx_cv_type_statvfs_t+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
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 #include <sys/statvfs.h>
35971 rm -f conftest.$ac_objext
35972 if { (ac_try="$ac_compile"
35973 case "(($ac_try" in
35974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35975 *) ac_try_echo
=$ac_try;;
35977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35978 (eval "$ac_compile") 2>conftest.er1
35980 grep -v '^ *+' conftest.er1
>conftest.err
35982 cat conftest.err
>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } && {
35985 test -z "$ac_cxx_werror_flag" ||
35986 test ! -s conftest.err
35987 } && test -s conftest.
$ac_objext; then
35988 wx_cv_type_statvfs_t
=statvfs_t
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36001 #include <sys/statvfs.h>
36018 rm -f conftest.
$ac_objext
36019 if { (ac_try
="$ac_compile"
36020 case "(($ac_try" in
36021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36022 *) ac_try_echo=$ac_try;;
36024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36025 (eval "$ac_compile") 2>conftest.er1
36027 grep -v '^ *+' conftest.er1 >conftest.err
36029 cat conftest.err >&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } && {
36032 test -z "$ac_cxx_werror_flag" ||
36033 test ! -s conftest.err
36034 } && test -s conftest.$ac_objext; then
36035 wx_cv_type_statvfs_t="struct statvfs"
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36040 wx_cv_type_statvfs_t="unknown"
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36051 ac_cpp='$CPP $CPPFLAGS'
36052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36059 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36061 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36062 cat >>confdefs.h <<\_ACEOF
36063 #define HAVE_STATVFS 1
36068 wx_cv_type_statvfs_t="unknown"
36072 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36073 cat >>confdefs.h <<_ACEOF
36074 #define WX_STATFS_T $wx_cv_type_statvfs_t
36078 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36079 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36082 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36085 for ac_func in fcntl flock
36087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36090 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 cat >conftest.$ac_ext <<_ACEOF
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36109 # include <limits.h>
36111 # include <assert.h>
36116 /* Override any GCC internal prototype to avoid an error.
36117 Use char because int might match the return type of a GCC
36118 builtin and then its argument prototype would still apply. */
36123 /* The GNU C library defines this for functions which it implements
36124 to always fail with ENOSYS. Some functions are actually named
36125 something starting with __ and the normal name is an alias. */
36126 #if defined __stub_$ac_func || defined __stub___$ac_func
36133 return $ac_func ();
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (ac_try="$ac_link"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36142 *) ac_try_echo
=$ac_try;;
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_link") 2>conftest.er1
36147 grep -v '^ *+' conftest.er1
>conftest.err
36149 cat conftest.err
>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_c_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest
$ac_exeext &&
36155 $as_test_x conftest
$ac_exeext; then
36156 eval "$as_ac_var=yes"
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.
$ac_ext >&5
36161 eval "$as_ac_var=no"
36164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36165 conftest
$ac_exeext conftest.
$ac_ext
36167 ac_res
=`eval echo '${'$as_ac_var'}'`
36168 { echo "$as_me:$LINENO: result: $ac_res" >&5
36169 echo "${ECHO_T}$ac_res" >&6; }
36170 if test `eval echo '${'$as_ac_var'}'` = yes; then
36171 cat >>confdefs.h
<<_ACEOF
36172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36179 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36180 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36181 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36182 wxUSE_SNGLINST_CHECKER
=no
36187 for ac_func
in timegm
36189 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36192 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36193 echo $ECHO_N "(cached) $ECHO_C" >&6
36195 cat >conftest.
$ac_ext <<_ACEOF
36198 cat confdefs.h
>>conftest.
$ac_ext
36199 cat >>conftest.
$ac_ext <<_ACEOF
36200 /* end confdefs.h. */
36201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36203 #define $ac_func innocuous_$ac_func
36205 /* System header to define __stub macros and hopefully few prototypes,
36206 which can conflict with char $ac_func (); below.
36207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36208 <limits.h> exists even on freestanding compilers. */
36211 # include <limits.h>
36213 # include <assert.h>
36218 /* Override any GCC internal prototype to avoid an error.
36219 Use char because int might match the return type of a GCC
36220 builtin and then its argument prototype would still apply. */
36225 /* The GNU C library defines this for functions which it implements
36226 to always fail with ENOSYS. Some functions are actually named
36227 something starting with __ and the normal name is an alias. */
36228 #if defined __stub_$ac_func || defined __stub___$ac_func
36235 return $ac_func ();
36240 rm -f conftest.
$ac_objext conftest
$ac_exeext
36241 if { (ac_try
="$ac_link"
36242 case "(($ac_try" in
36243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36244 *) ac_try_echo=$ac_try;;
36246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36247 (eval "$ac_link") 2>conftest.er1
36249 grep -v '^ *+' conftest.er1 >conftest.err
36251 cat conftest.err >&5
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); } && {
36254 test -z "$ac_c_werror_flag" ||
36255 test ! -s conftest.err
36256 } && test -s conftest$ac_exeext &&
36257 $as_test_x conftest$ac_exeext; then
36258 eval "$as_ac_var=yes"
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36263 eval "$as_ac_var=no"
36266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36267 conftest$ac_exeext conftest.$ac_ext
36269 ac_res=`eval echo '${'$as_ac_var'}'`
36270 { echo "$as_me:$LINENO: result: $ac_res" >&5
36271 echo "${ECHO_T}$ac_res" >&6; }
36272 if test `eval echo '${'$as_ac_var'}'` = yes; then
36273 cat >>confdefs.h <<_ACEOF
36274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36283 for ac_func in putenv setenv
36285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36291 cat >conftest.$ac_ext <<_ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36307 # include <limits.h>
36309 # include <assert.h>
36314 /* Override any GCC internal prototype to avoid an error.
36315 Use char because int might match the return type of a GCC
36316 builtin and then its argument prototype would still apply. */
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined __stub_$ac_func || defined __stub___$ac_func
36331 return $ac_func ();
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36340 *) ac_try_echo
=$ac_try;;
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36345 grep -v '^ *+' conftest.er1
>conftest.err
36347 cat conftest.err
>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest
$ac_exeext &&
36353 $as_test_x conftest
$ac_exeext; then
36354 eval "$as_ac_var=yes"
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.
$ac_ext >&5
36359 eval "$as_ac_var=no"
36362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36363 conftest
$ac_exeext conftest.
$ac_ext
36365 ac_res
=`eval echo '${'$as_ac_var'}'`
36366 { echo "$as_me:$LINENO: result: $ac_res" >&5
36367 echo "${ECHO_T}$ac_res" >&6; }
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h
<<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36377 HAVE_SOME_SLEEP_FUNC
=0
36378 if test "$USE_BEOS" = 1; then
36379 cat >>confdefs.h
<<\_ACEOF
36380 #define HAVE_SLEEP 1
36383 HAVE_SOME_SLEEP_FUNC
=1
36386 if test "$USE_DARWIN" = 1; then
36387 cat >>confdefs.h
<<\_ACEOF
36388 #define HAVE_USLEEP 1
36391 HAVE_SOME_SLEEP_FUNC
=1
36394 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36397 for ac_func
in nanosleep
36399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36402 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 cat >conftest.
$ac_ext <<_ACEOF
36408 cat confdefs.h
>>conftest.
$ac_ext
36409 cat >>conftest.
$ac_ext <<_ACEOF
36410 /* end confdefs.h. */
36411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36413 #define $ac_func innocuous_$ac_func
36415 /* System header to define __stub macros and hopefully few prototypes,
36416 which can conflict with char $ac_func (); below.
36417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36418 <limits.h> exists even on freestanding compilers. */
36421 # include <limits.h>
36423 # include <assert.h>
36428 /* Override any GCC internal prototype to avoid an error.
36429 Use char because int might match the return type of a GCC
36430 builtin and then its argument prototype would still apply. */
36435 /* The GNU C library defines this for functions which it implements
36436 to always fail with ENOSYS. Some functions are actually named
36437 something starting with __ and the normal name is an alias. */
36438 #if defined __stub_$ac_func || defined __stub___$ac_func
36445 return $ac_func ();
36450 rm -f conftest.
$ac_objext conftest
$ac_exeext
36451 if { (ac_try
="$ac_link"
36452 case "(($ac_try" in
36453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_link") 2>conftest.er1
36459 grep -v '^ *+' conftest.er1 >conftest.err
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } && {
36464 test -z "$ac_c_werror_flag" ||
36465 test ! -s conftest.err
36466 } && test -s conftest$ac_exeext &&
36467 $as_test_x conftest$ac_exeext; then
36468 eval "$as_ac_var=yes"
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.$ac_ext >&5
36473 eval "$as_ac_var=no"
36476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36477 conftest$ac_exeext conftest.$ac_ext
36479 ac_res=`eval echo '${'$as_ac_var'}'`
36480 { echo "$as_me:$LINENO: result: $ac_res" >&5
36481 echo "${ECHO_T}$ac_res" >&6; }
36482 if test `eval echo '${'$as_ac_var'}'` = yes; then
36483 cat >>confdefs.h <<_ACEOF
36484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36486 cat >>confdefs.h <<\_ACEOF
36487 #define HAVE_NANOSLEEP 1
36492 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36493 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36494 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 ac_check_lib_save_LIBS=$LIBS
36498 LIBS="-lposix4 $LIBS"
36499 cat >conftest.$ac_ext <<_ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36506 /* Override any GCC internal prototype to avoid an error.
36507 Use char because int might match the return type of a GCC
36508 builtin and then its argument prototype would still apply. */
36516 return nanosleep ();
36521 rm -f conftest.$ac_objext conftest$ac_exeext
36522 if { (ac_try="$ac_link"
36523 case "(($ac_try" in
36524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36525 *) ac_try_echo
=$ac_try;;
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_link") 2>conftest.er1
36530 grep -v '^ *+' conftest.er1
>conftest.err
36532 cat conftest.err
>&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_c_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest
$ac_exeext &&
36538 $as_test_x conftest
$ac_exeext; then
36539 ac_cv_lib_posix4_nanosleep
=yes
36541 echo "$as_me: failed program was:" >&5
36542 sed 's/^/| /' conftest.
$ac_ext >&5
36544 ac_cv_lib_posix4_nanosleep
=no
36547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36548 conftest
$ac_exeext conftest.
$ac_ext
36549 LIBS
=$ac_check_lib_save_LIBS
36551 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36552 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36553 if test $ac_cv_lib_posix4_nanosleep = yes; then
36555 cat >>confdefs.h
<<\_ACEOF
36556 #define HAVE_NANOSLEEP 1
36559 POSIX4_LINK
=" -lposix4"
36564 for wx_func
in usleep
36566 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36567 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36568 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36572 cat >conftest.
$ac_ext <<_ACEOF
36576 cat confdefs.h
>>conftest.
$ac_ext
36577 cat >>conftest.
$ac_ext <<_ACEOF
36578 /* end confdefs.h. */
36581 $ac_includes_default
36597 rm -f conftest.
$ac_objext conftest
$ac_exeext
36598 if { (ac_try
="$ac_link"
36599 case "(($ac_try" in
36600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36601 *) ac_try_echo=$ac_try;;
36603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36604 (eval "$ac_link") 2>conftest.er1
36606 grep -v '^ *+' conftest.er1 >conftest.err
36608 cat conftest.err >&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } && {
36611 test -z "$ac_c_werror_flag" ||
36612 test ! -s conftest.err
36613 } && test -s conftest$ac_exeext &&
36614 $as_test_x conftest$ac_exeext; then
36615 eval wx_cv_func_$wx_func=yes
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36620 eval wx_cv_func_$wx_func=no
36623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36624 conftest$ac_exeext conftest.$ac_ext
36627 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36628 { echo "$as_me:$LINENO: result: $ac_res" >&5
36629 echo "${ECHO_T}$ac_res" >&6; }
36631 if eval test \$wx_cv_func_$wx_func = yes
36633 cat >>confdefs.h <<_ACEOF
36634 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36640 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36641 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36658 for wx_func in uname
36660 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36661 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36662 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 cat >conftest.$ac_ext <<_ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36674 #include <sys/utsname.h>
36675 $ac_includes_default
36691 rm -f conftest.$ac_objext conftest$ac_exeext
36692 if { (ac_try="$ac_link"
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_link") 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_exeext &&
36708 $as_test_x conftest
$ac_exeext; then
36709 eval wx_cv_func_
$wx_func=yes
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.
$ac_ext >&5
36714 eval wx_cv_func_
$wx_func=no
36717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36718 conftest
$ac_exeext conftest.
$ac_ext
36721 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36722 { echo "$as_me:$LINENO: result: $ac_res" >&5
36723 echo "${ECHO_T}$ac_res" >&6; }
36725 if eval test \
$wx_cv_func_$wx_func = yes
36727 cat >>confdefs.h
<<_ACEOF
36728 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36738 if test "$wx_cv_func_uname" != yes; then
36740 for wx_func
in gethostname
36742 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36743 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36744 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36745 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 cat >conftest.
$ac_ext <<_ACEOF
36752 cat confdefs.h
>>conftest.
$ac_ext
36753 cat >>conftest.
$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36757 $ac_includes_default
36773 rm -f conftest.
$ac_objext conftest
$ac_exeext
36774 if { (ac_try
="$ac_link"
36775 case "(($ac_try" in
36776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36777 *) ac_try_echo=$ac_try;;
36779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36780 (eval "$ac_link") 2>conftest.er1
36782 grep -v '^ *+' conftest.er1 >conftest.err
36784 cat conftest.err >&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } && {
36787 test -z "$ac_c_werror_flag" ||
36788 test ! -s conftest.err
36789 } && test -s conftest$ac_exeext &&
36790 $as_test_x conftest$ac_exeext; then
36791 eval wx_cv_func_$wx_func=yes
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.$ac_ext >&5
36796 eval wx_cv_func_$wx_func=no
36799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36800 conftest$ac_exeext conftest.$ac_ext
36803 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36804 { echo "$as_me:$LINENO: result: $ac_res" >&5
36805 echo "${ECHO_T}$ac_res" >&6; }
36807 if eval test \$wx_cv_func_$wx_func = yes
36809 cat >>confdefs.h <<_ACEOF
36810 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36823 for wx_func in strtok_r
36825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36827 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 cat >conftest.$ac_ext <<_ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36840 $ac_includes_default
36856 rm -f conftest.$ac_objext conftest$ac_exeext
36857 if { (ac_try="$ac_link"
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_link") 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_exeext &&
36873 $as_test_x conftest
$ac_exeext; then
36874 eval wx_cv_func_
$wx_func=yes
36876 echo "$as_me: failed program was:" >&5
36877 sed 's/^/| /' conftest.
$ac_ext >&5
36879 eval wx_cv_func_
$wx_func=no
36882 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36883 conftest
$ac_exeext conftest.
$ac_ext
36886 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36887 { echo "$as_me:$LINENO: result: $ac_res" >&5
36888 echo "${ECHO_T}$ac_res" >&6; }
36890 if eval test \
$wx_cv_func_$wx_func = yes
36892 cat >>confdefs.h
<<_ACEOF
36893 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36906 for ac_func
in inet_addr
36908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 cat >conftest.
$ac_ext <<_ACEOF
36917 cat confdefs.h
>>conftest.
$ac_ext
36918 cat >>conftest.
$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36930 # include <limits.h>
36932 # include <assert.h>
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36954 return $ac_func ();
36959 rm -f conftest.
$ac_objext conftest
$ac_exeext
36960 if { (ac_try
="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36968 grep -v '^ *+' conftest.er1 >conftest.err
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36982 eval "$as_ac_var=no"
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_INET_ADDR 1
37001 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37002 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37003 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 ac_check_lib_save_LIBS=$LIBS
37008 cat >conftest.$ac_ext <<_ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37015 /* Override any GCC internal prototype to avoid an error.
37016 Use char because int might match the return type of a GCC
37017 builtin and then its argument prototype would still apply. */
37025 return inet_addr ();
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (ac_try="$ac_link"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37034 *) ac_try_echo
=$ac_try;;
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_link") 2>conftest.er1
37039 grep -v '^ *+' conftest.er1
>conftest.err
37041 cat conftest.err
>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_c_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest
$ac_exeext &&
37047 $as_test_x conftest
$ac_exeext; then
37048 ac_cv_lib_nsl_inet_addr
=yes
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.
$ac_ext >&5
37053 ac_cv_lib_nsl_inet_addr
=no
37056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37057 conftest
$ac_exeext conftest.
$ac_ext
37058 LIBS
=$ac_check_lib_save_LIBS
37060 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37061 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37062 if test $ac_cv_lib_nsl_inet_addr = yes; then
37066 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37067 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37068 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37071 ac_check_lib_save_LIBS
=$LIBS
37072 LIBS
="-lresolv $LIBS"
37073 cat >conftest.
$ac_ext <<_ACEOF
37076 cat confdefs.h
>>conftest.
$ac_ext
37077 cat >>conftest.
$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37080 /* Override any GCC internal prototype to avoid an error.
37081 Use char because int might match the return type of a GCC
37082 builtin and then its argument prototype would still apply. */
37090 return inet_addr ();
37095 rm -f conftest.
$ac_objext conftest
$ac_exeext
37096 if { (ac_try
="$ac_link"
37097 case "(($ac_try" in
37098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_link") 2>conftest.er1
37104 grep -v '^ *+' conftest.er1 >conftest.err
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_c_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest$ac_exeext &&
37112 $as_test_x conftest$ac_exeext; then
37113 ac_cv_lib_resolv_inet_addr=yes
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 ac_cv_lib_resolv_inet_addr=no
37121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37122 conftest$ac_exeext conftest.$ac_ext
37123 LIBS=$ac_check_lib_save_LIBS
37125 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37126 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37127 if test $ac_cv_lib_resolv_inet_addr = yes; then
37131 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37132 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37133 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37136 ac_check_lib_save_LIBS=$LIBS
37137 LIBS="-lsocket $LIBS"
37138 cat >conftest.$ac_ext <<_ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37145 /* Override any GCC internal prototype to avoid an error.
37146 Use char because int might match the return type of a GCC
37147 builtin and then its argument prototype would still apply. */
37155 return inet_addr ();
37160 rm -f conftest.$ac_objext conftest$ac_exeext
37161 if { (ac_try="$ac_link"
37162 case "(($ac_try" in
37163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37164 *) ac_try_echo
=$ac_try;;
37166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37167 (eval "$ac_link") 2>conftest.er1
37169 grep -v '^ *+' conftest.er1
>conftest.err
37171 cat conftest.err
>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } && {
37174 test -z "$ac_c_werror_flag" ||
37175 test ! -s conftest.err
37176 } && test -s conftest
$ac_exeext &&
37177 $as_test_x conftest
$ac_exeext; then
37178 ac_cv_lib_socket_inet_addr
=yes
37180 echo "$as_me: failed program was:" >&5
37181 sed 's/^/| /' conftest.
$ac_ext >&5
37183 ac_cv_lib_socket_inet_addr
=no
37186 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37187 conftest
$ac_exeext conftest.
$ac_ext
37188 LIBS
=$ac_check_lib_save_LIBS
37190 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37191 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37192 if test $ac_cv_lib_socket_inet_addr = yes; then
37212 for ac_func
in inet_aton
37214 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37217 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 cat >conftest.
$ac_ext <<_ACEOF
37223 cat confdefs.h
>>conftest.
$ac_ext
37224 cat >>conftest.
$ac_ext <<_ACEOF
37225 /* end confdefs.h. */
37226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37228 #define $ac_func innocuous_$ac_func
37230 /* System header to define __stub macros and hopefully few prototypes,
37231 which can conflict with char $ac_func (); below.
37232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37233 <limits.h> exists even on freestanding compilers. */
37236 # include <limits.h>
37238 # include <assert.h>
37243 /* Override any GCC internal prototype to avoid an error.
37244 Use char because int might match the return type of a GCC
37245 builtin and then its argument prototype would still apply. */
37250 /* The GNU C library defines this for functions which it implements
37251 to always fail with ENOSYS. Some functions are actually named
37252 something starting with __ and the normal name is an alias. */
37253 #if defined __stub_$ac_func || defined __stub___$ac_func
37260 return $ac_func ();
37265 rm -f conftest.
$ac_objext conftest
$ac_exeext
37266 if { (ac_try
="$ac_link"
37267 case "(($ac_try" in
37268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37269 *) ac_try_echo=$ac_try;;
37271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37272 (eval "$ac_link") 2>conftest.er1
37274 grep -v '^ *+' conftest.er1 >conftest.err
37276 cat conftest.err >&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } && {
37279 test -z "$ac_c_werror_flag" ||
37280 test ! -s conftest.err
37281 } && test -s conftest$ac_exeext &&
37282 $as_test_x conftest$ac_exeext; then
37283 eval "$as_ac_var=yes"
37285 echo "$as_me: failed program was:" >&5
37286 sed 's/^/| /' conftest.$ac_ext >&5
37288 eval "$as_ac_var=no"
37291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37292 conftest$ac_exeext conftest.$ac_ext
37294 ac_res=`eval echo '${'$as_ac_var'}'`
37295 { echo "$as_me:$LINENO: result: $ac_res" >&5
37296 echo "${ECHO_T}$ac_res" >&6; }
37297 if test `eval echo '${'$as_ac_var'}'` = yes; then
37298 cat >>confdefs.h <<_ACEOF
37299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37301 cat >>confdefs.h <<\_ACEOF
37302 #define HAVE_INET_ATON 1
37307 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37308 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37309 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37310 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37313 ac_check_lib_save_LIBS=$LIBS
37314 LIBS="-l$INET_LINK $LIBS"
37315 cat >conftest.$ac_ext <<_ACEOF
37318 cat confdefs.h >>conftest.$ac_ext
37319 cat >>conftest.$ac_ext <<_ACEOF
37320 /* end confdefs.h. */
37322 /* Override any GCC internal prototype to avoid an error.
37323 Use char because int might match the return type of a GCC
37324 builtin and then its argument prototype would still apply. */
37332 return inet_aton ();
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (ac_try="$ac_link"
37339 case "(($ac_try" in
37340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37341 *) ac_try_echo
=$ac_try;;
37343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37344 (eval "$ac_link") 2>conftest.er1
37346 grep -v '^ *+' conftest.er1
>conftest.err
37348 cat conftest.err
>&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } && {
37351 test -z "$ac_c_werror_flag" ||
37352 test ! -s conftest.err
37353 } && test -s conftest
$ac_exeext &&
37354 $as_test_x conftest
$ac_exeext; then
37355 eval "$as_ac_Lib=yes"
37357 echo "$as_me: failed program was:" >&5
37358 sed 's/^/| /' conftest.
$ac_ext >&5
37360 eval "$as_ac_Lib=no"
37363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37364 conftest
$ac_exeext conftest.
$ac_ext
37365 LIBS
=$ac_check_lib_save_LIBS
37367 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37368 { echo "$as_me:$LINENO: result: $ac_res" >&5
37369 echo "${ECHO_T}$ac_res" >&6; }
37370 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37371 cat >>confdefs.h
<<\_ACEOF
37372 #define HAVE_INET_ATON 1
37382 if test "x$INET_LINK" != "x"; then
37383 cat >>confdefs.h
<<\_ACEOF
37384 #define HAVE_INET_ADDR 1
37387 INET_LINK
=" -l$INET_LINK"
37391 for wx_func
in fdopen
37393 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37394 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37395 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37396 echo $ECHO_N "(cached) $ECHO_C" >&6
37399 cat >conftest.
$ac_ext <<_ACEOF
37403 cat confdefs.h
>>conftest.
$ac_ext
37404 cat >>conftest.
$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37408 $ac_includes_default
37424 rm -f conftest.
$ac_objext conftest
$ac_exeext
37425 if { (ac_try
="$ac_link"
37426 case "(($ac_try" in
37427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37428 *) ac_try_echo=$ac_try;;
37430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37431 (eval "$ac_link") 2>conftest.er1
37433 grep -v '^ *+' conftest.er1 >conftest.err
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } && {
37438 test -z "$ac_c_werror_flag" ||
37439 test ! -s conftest.err
37440 } && test -s conftest$ac_exeext &&
37441 $as_test_x conftest$ac_exeext; then
37442 eval wx_cv_func_$wx_func=yes
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37447 eval wx_cv_func_$wx_func=no
37450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37451 conftest$ac_exeext conftest.$ac_ext
37454 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37455 { echo "$as_me:$LINENO: result: $ac_res" >&5
37456 echo "${ECHO_T}$ac_res" >&6; }
37458 if eval test \$wx_cv_func_$wx_func = yes
37460 cat >>confdefs.h <<_ACEOF
37461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37476 cat >confcache <<\_ACEOF
37477 # This file is a shell script that caches the results of configure
37478 # tests run on this system so they can be shared between configure
37479 # scripts and configure runs, see configure's option --config-cache.
37480 # It is not useful on other systems. If it contains results you don't
37481 # want to keep, you may remove or edit it.
37483 # config.status only pays attention to the cache file if you give it
37484 # the --recheck option to rerun configure.
37486 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37488 # following values.
37492 # The following way of writing the cache mishandles newlines in values,
37493 # but we know of no workaround that is simple, portable, and efficient.
37494 # So, we kill variables containing newlines.
37495 # Ultrix sh set writes to stderr and can't be redirected directly,
37496 # and sets the high bit in the cache file unless we assign to the vars.
37498 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37499 eval ac_val
=\$
$ac_var
37503 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37507 _
| IFS
| as_nl
) ;; #(
37508 *) $as_unset $ac_var ;;
37514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37515 *${as_nl}ac_space
=\
*)
37516 # `set' does not quote correctly, so add quotes (double-quote
37517 # substitution turns \\\\ into \\, and sed turns \\ into \).
37520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37523 # `set' quotes correctly as required by POSIX, so do not add quotes.
37524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37537 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37538 if test -w "$cache_file"; then
37539 test "x$cache_file" != "x/dev/null" &&
37540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37541 echo "$as_me: updating cache $cache_file" >&6;}
37542 cat confcache
>$cache_file
37544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37551 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37557 if test "$wxUSE_THREADS" = "yes" ; then
37558 if test "$USE_BEOS" = 1; then
37559 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37560 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37565 if test "$wxUSE_THREADS" = "yes" ; then
37568 THREAD_OPTS
="-pthread"
37570 *-*-solaris2* | *-*-sunos4* )
37571 if test "x$GCC" = "xyes"; then
37572 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37574 THREAD_OPTS
="-mt $THREAD_OPTS"
37578 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37580 *-*-darwin* | *-*-cygwin* )
37584 THREAD_OPTS
="pthreads"
37587 if test "x$GCC" = "xyes"; then
37588 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37596 if test "x$GCC" = "xyes"; then
37602 if test "x$GCC" != "xyes"; then
37603 THREAD_OPTS
="-Ethread"
37608 THREAD_OPTS
="$THREAD_OPTS pthread none"
37611 for flag
in $THREAD_OPTS; do
37614 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37615 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37619 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37620 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37621 THREADS_CFLAGS
="$flag"
37625 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37626 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37627 THREADS_LINK
="-l$flag"
37632 save_CFLAGS
="$CFLAGS"
37633 LIBS
="$THREADS_LINK $LIBS"
37634 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37636 cat >conftest.
$ac_ext <<_ACEOF
37639 cat confdefs.h
>>conftest.
$ac_ext
37640 cat >>conftest.
$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 #include <pthread.h>
37646 pthread_create(0,0,0,0);
37651 rm -f conftest.
$ac_objext conftest
$ac_exeext
37652 if { (ac_try
="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37660 grep -v '^ *+' conftest.er1 >conftest.err
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37681 CFLAGS="$save_CFLAGS"
37683 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37684 echo "${ECHO_T}$THREADS_OK" >&6; }
37685 if test "x$THREADS_OK" = "xyes"; then
37693 if test "x$THREADS_OK" != "xyes"; then
37695 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37696 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37698 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37699 LIBS="$THREADS_LINK $LIBS"
37701 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37702 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37706 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37707 flag="-D_THREAD_SAFE"
37710 flag="-D_THREAD_SAFE"
37713 flag="-D_REENTRANT"
37714 if test "x$GCC" != "xyes"; then
37715 flag="$flag -D_RWSTD_MULTI_THREAD"
37718 *solaris* | alpha*-osf*)
37719 flag="-D_REENTRANT"
37722 { echo "$as_me:$LINENO: result: ${flag}" >&5
37723 echo "${ECHO_T}${flag}" >&6; }
37724 if test "x$flag" != xno; then
37725 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37728 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37732 if test "$wxUSE_THREADS" = "yes" ; then
37734 for ac_func in thr_setconcurrency
37736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 cat >conftest.$ac_ext <<_ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37750 #define $ac_func innocuous_$ac_func
37752 /* System header to define __stub macros and hopefully few prototypes,
37753 which can conflict with char $ac_func (); below.
37754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37755 <limits.h> exists even on freestanding compilers. */
37758 # include <limits.h>
37760 # include <assert.h>
37765 /* Override any GCC internal prototype to avoid an error.
37766 Use char because int might match the return type of a GCC
37767 builtin and then its argument prototype would still apply. */
37772 /* The GNU C library defines this for functions which it implements
37773 to always fail with ENOSYS. Some functions are actually named
37774 something starting with __ and the normal name is an alias. */
37775 #if defined __stub_$ac_func || defined __stub___$ac_func
37782 return $ac_func ();
37787 rm -f conftest.$ac_objext conftest$ac_exeext
37788 if { (ac_try="$ac_link"
37789 case "(($ac_try" in
37790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37791 *) ac_try_echo
=$ac_try;;
37793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37794 (eval "$ac_link") 2>conftest.er1
37796 grep -v '^ *+' conftest.er1
>conftest.err
37798 cat conftest.err
>&5
37799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37800 (exit $ac_status); } && {
37801 test -z "$ac_c_werror_flag" ||
37802 test ! -s conftest.err
37803 } && test -s conftest
$ac_exeext &&
37804 $as_test_x conftest
$ac_exeext; then
37805 eval "$as_ac_var=yes"
37807 echo "$as_me: failed program was:" >&5
37808 sed 's/^/| /' conftest.
$ac_ext >&5
37810 eval "$as_ac_var=no"
37813 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37814 conftest
$ac_exeext conftest.
$ac_ext
37816 ac_res
=`eval echo '${'$as_ac_var'}'`
37817 { echo "$as_me:$LINENO: result: $ac_res" >&5
37818 echo "${ECHO_T}$ac_res" >&6; }
37819 if test `eval echo '${'$as_ac_var'}'` = yes; then
37820 cat >>confdefs.h
<<_ACEOF
37821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37828 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37829 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37830 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 cat >conftest.
$ac_ext <<_ACEOF
37837 cat confdefs.h
>>conftest.
$ac_ext
37838 cat >>conftest.
$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <pthread.h>
37841 void ThreadCleanupFunc(void *p);
37848 pthread_cleanup_push(ThreadCleanupFunc, p);
37849 pthread_cleanup_pop(0);
37855 rm -f conftest.
$ac_objext
37856 if { (ac_try
="$ac_compile"
37857 case "(($ac_try" in
37858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37859 *) ac_try_echo=$ac_try;;
37861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37862 (eval "$ac_compile") 2>conftest.er1
37864 grep -v '^ *+' conftest.er1 >conftest.err
37866 cat conftest.err >&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); } && {
37869 test -z "$ac_c_werror_flag" ||
37870 test ! -s conftest.err
37871 } && test -s conftest.$ac_objext; then
37873 wx_cv_func_pthread_cleanup=yes
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37880 wx_cv_func_pthread_cleanup=no
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37888 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37889 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37890 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define wxHAVE_PTHREAD_CLEANUP 1
37897 { echo "$as_me:$LINENO: checking for sched.h" >&5
37898 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37899 if test "${ac_cv_header_sched_h+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 cat >conftest.$ac_ext <<_ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 $ac_includes_default
37912 rm -f conftest.$ac_objext
37913 if { (ac_try="$ac_compile"
37914 case "(($ac_try" in
37915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37916 *) ac_try_echo
=$ac_try;;
37918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37919 (eval "$ac_compile") 2>conftest.er1
37921 grep -v '^ *+' conftest.er1
>conftest.err
37923 cat conftest.err
>&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } && {
37926 test -z "$ac_c_werror_flag" ||
37927 test ! -s conftest.err
37928 } && test -s conftest.
$ac_objext; then
37929 ac_cv_header_sched_h
=yes
37931 echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.
$ac_ext >&5
37934 ac_cv_header_sched_h
=no
37937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37939 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37940 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37943 if test "$ac_cv_header_sched_h" = "yes"; then
37944 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37945 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37946 if test "${ac_cv_func_sched_yield+set}" = set; then
37947 echo $ECHO_N "(cached) $ECHO_C" >&6
37949 cat >conftest.
$ac_ext <<_ACEOF
37952 cat confdefs.h
>>conftest.
$ac_ext
37953 cat >>conftest.
$ac_ext <<_ACEOF
37954 /* end confdefs.h. */
37955 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37957 #define sched_yield innocuous_sched_yield
37959 /* System header to define __stub macros and hopefully few prototypes,
37960 which can conflict with char sched_yield (); below.
37961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37962 <limits.h> exists even on freestanding compilers. */
37965 # include <limits.h>
37967 # include <assert.h>
37972 /* Override any GCC internal prototype to avoid an error.
37973 Use char because int might match the return type of a GCC
37974 builtin and then its argument prototype would still apply. */
37978 char sched_yield ();
37979 /* The GNU C library defines this for functions which it implements
37980 to always fail with ENOSYS. Some functions are actually named
37981 something starting with __ and the normal name is an alias. */
37982 #if defined __stub_sched_yield || defined __stub___sched_yield
37989 return sched_yield ();
37994 rm -f conftest.
$ac_objext conftest
$ac_exeext
37995 if { (ac_try
="$ac_link"
37996 case "(($ac_try" in
37997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37998 *) ac_try_echo=$ac_try;;
38000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38001 (eval "$ac_link") 2>conftest.er1
38003 grep -v '^ *+' conftest.er1 >conftest.err
38005 cat conftest.err >&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); } && {
38008 test -z "$ac_c_werror_flag" ||
38009 test ! -s conftest.err
38010 } && test -s conftest$ac_exeext &&
38011 $as_test_x conftest$ac_exeext; then
38012 ac_cv_func_sched_yield=yes
38014 echo "$as_me: failed program was:" >&5
38015 sed 's/^/| /' conftest.$ac_ext >&5
38017 ac_cv_func_sched_yield=no
38020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38021 conftest$ac_exeext conftest.$ac_ext
38023 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38024 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38025 if test $ac_cv_func_sched_yield = yes; then
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_SCHED_YIELD 1
38032 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38033 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38034 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 ac_check_lib_save_LIBS=$LIBS
38038 LIBS="-lposix4 $LIBS"
38039 cat >conftest.$ac_ext <<_ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38046 /* Override any GCC internal prototype to avoid an error.
38047 Use char because int might match the return type of a GCC
38048 builtin and then its argument prototype would still apply. */
38052 char sched_yield ();
38056 return sched_yield ();
38061 rm -f conftest.$ac_objext conftest$ac_exeext
38062 if { (ac_try="$ac_link"
38063 case "(($ac_try" in
38064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38065 *) ac_try_echo
=$ac_try;;
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_link") 2>conftest.er1
38070 grep -v '^ *+' conftest.er1
>conftest.err
38072 cat conftest.err
>&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest
$ac_exeext &&
38078 $as_test_x conftest
$ac_exeext; then
38079 ac_cv_lib_posix4_sched_yield
=yes
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.
$ac_ext >&5
38084 ac_cv_lib_posix4_sched_yield
=no
38087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38088 conftest
$ac_exeext conftest.
$ac_ext
38089 LIBS
=$ac_check_lib_save_LIBS
38091 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38092 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38093 if test $ac_cv_lib_posix4_sched_yield = yes; then
38094 cat >>confdefs.h
<<\_ACEOF
38095 #define HAVE_SCHED_YIELD 1
38097 POSIX4_LINK
=" -lposix4"
38099 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38100 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38111 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38112 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38113 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38116 cat >conftest.
$ac_ext <<_ACEOF
38119 cat confdefs.h
>>conftest.
$ac_ext
38120 cat >>conftest.
$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38124 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38126 /* System header to define __stub macros and hopefully few prototypes,
38127 which can conflict with char pthread_attr_getschedpolicy (); below.
38128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38129 <limits.h> exists even on freestanding compilers. */
38132 # include <limits.h>
38134 # include <assert.h>
38137 #undef pthread_attr_getschedpolicy
38139 /* Override any GCC internal prototype to avoid an error.
38140 Use char because int might match the return type of a GCC
38141 builtin and then its argument prototype would still apply. */
38145 char pthread_attr_getschedpolicy ();
38146 /* The GNU C library defines this for functions which it implements
38147 to always fail with ENOSYS. Some functions are actually named
38148 something starting with __ and the normal name is an alias. */
38149 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38156 return pthread_attr_getschedpolicy ();
38161 rm -f conftest.
$ac_objext conftest
$ac_exeext
38162 if { (ac_try
="$ac_link"
38163 case "(($ac_try" in
38164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38165 *) ac_try_echo=$ac_try;;
38167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38168 (eval "$ac_link") 2>conftest.er1
38170 grep -v '^ *+' conftest.er1 >conftest.err
38172 cat conftest.err >&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); } && {
38175 test -z "$ac_c_werror_flag" ||
38176 test ! -s conftest.err
38177 } && test -s conftest$ac_exeext &&
38178 $as_test_x conftest$ac_exeext; then
38179 ac_cv_func_pthread_attr_getschedpolicy=yes
38181 echo "$as_me: failed program was:" >&5
38182 sed 's/^/| /' conftest.$ac_ext >&5
38184 ac_cv_func_pthread_attr_getschedpolicy=no
38187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38188 conftest$ac_exeext conftest.$ac_ext
38190 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38191 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38192 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38193 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38194 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38195 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 cat >conftest.$ac_ext <<_ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38206 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38208 /* System header to define __stub macros and hopefully few prototypes,
38209 which can conflict with char pthread_attr_setschedparam (); below.
38210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38211 <limits.h> exists even on freestanding compilers. */
38214 # include <limits.h>
38216 # include <assert.h>
38219 #undef pthread_attr_setschedparam
38221 /* Override any GCC internal prototype to avoid an error.
38222 Use char because int might match the return type of a GCC
38223 builtin and then its argument prototype would still apply. */
38227 char pthread_attr_setschedparam ();
38228 /* The GNU C library defines this for functions which it implements
38229 to always fail with ENOSYS. Some functions are actually named
38230 something starting with __ and the normal name is an alias. */
38231 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38238 return pthread_attr_setschedparam ();
38243 rm -f conftest.$ac_objext conftest$ac_exeext
38244 if { (ac_try="$ac_link"
38245 case "(($ac_try" in
38246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38247 *) ac_try_echo
=$ac_try;;
38249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38250 (eval "$ac_link") 2>conftest.er1
38252 grep -v '^ *+' conftest.er1
>conftest.err
38254 cat conftest.err
>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } && {
38257 test -z "$ac_c_werror_flag" ||
38258 test ! -s conftest.err
38259 } && test -s conftest
$ac_exeext &&
38260 $as_test_x conftest
$ac_exeext; then
38261 ac_cv_func_pthread_attr_setschedparam
=yes
38263 echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.
$ac_ext >&5
38266 ac_cv_func_pthread_attr_setschedparam
=no
38269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38270 conftest
$ac_exeext conftest.
$ac_ext
38272 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38273 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38274 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38275 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38276 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38277 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38280 cat >conftest.
$ac_ext <<_ACEOF
38283 cat confdefs.h
>>conftest.
$ac_ext
38284 cat >>conftest.
$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38286 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38288 #define sched_get_priority_max innocuous_sched_get_priority_max
38290 /* System header to define __stub macros and hopefully few prototypes,
38291 which can conflict with char sched_get_priority_max (); below.
38292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38293 <limits.h> exists even on freestanding compilers. */
38296 # include <limits.h>
38298 # include <assert.h>
38301 #undef sched_get_priority_max
38303 /* Override any GCC internal prototype to avoid an error.
38304 Use char because int might match the return type of a GCC
38305 builtin and then its argument prototype would still apply. */
38309 char sched_get_priority_max ();
38310 /* The GNU C library defines this for functions which it implements
38311 to always fail with ENOSYS. Some functions are actually named
38312 something starting with __ and the normal name is an alias. */
38313 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38320 return sched_get_priority_max ();
38325 rm -f conftest.
$ac_objext conftest
$ac_exeext
38326 if { (ac_try
="$ac_link"
38327 case "(($ac_try" in
38328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38329 *) ac_try_echo=$ac_try;;
38331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38332 (eval "$ac_link") 2>conftest.er1
38334 grep -v '^ *+' conftest.er1 >conftest.err
38336 cat conftest.err >&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } && {
38339 test -z "$ac_c_werror_flag" ||
38340 test ! -s conftest.err
38341 } && test -s conftest$ac_exeext &&
38342 $as_test_x conftest$ac_exeext; then
38343 ac_cv_func_sched_get_priority_max=yes
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.$ac_ext >&5
38348 ac_cv_func_sched_get_priority_max=no
38351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38352 conftest$ac_exeext conftest.$ac_ext
38354 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38355 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38356 if test $ac_cv_func_sched_get_priority_max = yes; then
38359 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38360 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38361 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 ac_check_lib_save_LIBS=$LIBS
38365 LIBS="-lposix4 $LIBS"
38366 cat >conftest.$ac_ext <<_ACEOF
38369 cat confdefs.h >>conftest.$ac_ext
38370 cat >>conftest.$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38373 /* Override any GCC internal prototype to avoid an error.
38374 Use char because int might match the return type of a GCC
38375 builtin and then its argument prototype would still apply. */
38379 char sched_get_priority_max ();
38383 return sched_get_priority_max ();
38388 rm -f conftest.$ac_objext conftest$ac_exeext
38389 if { (ac_try="$ac_link"
38390 case "(($ac_try" in
38391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38392 *) ac_try_echo
=$ac_try;;
38394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38395 (eval "$ac_link") 2>conftest.er1
38397 grep -v '^ *+' conftest.er1
>conftest.err
38399 cat conftest.err
>&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } && {
38402 test -z "$ac_c_werror_flag" ||
38403 test ! -s conftest.err
38404 } && test -s conftest
$ac_exeext &&
38405 $as_test_x conftest
$ac_exeext; then
38406 ac_cv_lib_posix4_sched_get_priority_max
=yes
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.
$ac_ext >&5
38411 ac_cv_lib_posix4_sched_get_priority_max
=no
38414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38415 conftest
$ac_exeext conftest.
$ac_ext
38416 LIBS
=$ac_check_lib_save_LIBS
38418 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38419 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38420 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38423 POSIX4_LINK
=" -lposix4"
38437 if test "$HAVE_PRIOR_FUNCS" = 1; then
38438 cat >>confdefs.h
<<\_ACEOF
38439 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38443 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38444 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38447 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38448 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38449 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38450 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 cat >conftest.
$ac_ext <<_ACEOF
38455 cat confdefs.h
>>conftest.
$ac_ext
38456 cat >>conftest.
$ac_ext <<_ACEOF
38457 /* end confdefs.h. */
38458 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38460 #define pthread_cancel innocuous_pthread_cancel
38462 /* System header to define __stub macros and hopefully few prototypes,
38463 which can conflict with char pthread_cancel (); below.
38464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38465 <limits.h> exists even on freestanding compilers. */
38468 # include <limits.h>
38470 # include <assert.h>
38473 #undef pthread_cancel
38475 /* Override any GCC internal prototype to avoid an error.
38476 Use char because int might match the return type of a GCC
38477 builtin and then its argument prototype would still apply. */
38481 char pthread_cancel ();
38482 /* The GNU C library defines this for functions which it implements
38483 to always fail with ENOSYS. Some functions are actually named
38484 something starting with __ and the normal name is an alias. */
38485 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38492 return pthread_cancel ();
38497 rm -f conftest.
$ac_objext conftest
$ac_exeext
38498 if { (ac_try
="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38506 grep -v '^ *+' conftest.er1 >conftest.err
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest$ac_exeext &&
38514 $as_test_x conftest$ac_exeext; then
38515 ac_cv_func_pthread_cancel=yes
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38520 ac_cv_func_pthread_cancel=no
38523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38524 conftest$ac_exeext conftest.$ac_ext
38526 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38527 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38528 if test $ac_cv_func_pthread_cancel = yes; then
38529 cat >>confdefs.h <<\_ACEOF
38530 #define HAVE_PTHREAD_CANCEL 1
38534 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38535 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38539 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38540 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38541 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 cat >conftest.$ac_ext <<_ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38550 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38552 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38554 /* System header to define __stub macros and hopefully few prototypes,
38555 which can conflict with char pthread_mutex_timedlock (); below.
38556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38557 <limits.h> exists even on freestanding compilers. */
38560 # include <limits.h>
38562 # include <assert.h>
38565 #undef pthread_mutex_timedlock
38567 /* Override any GCC internal prototype to avoid an error.
38568 Use char because int might match the return type of a GCC
38569 builtin and then its argument prototype would still apply. */
38573 char pthread_mutex_timedlock ();
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38584 return pthread_mutex_timedlock ();
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (ac_try="$ac_link"
38591 case "(($ac_try" in
38592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38593 *) ac_try_echo
=$ac_try;;
38595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38596 (eval "$ac_link") 2>conftest.er1
38598 grep -v '^ *+' conftest.er1
>conftest.err
38600 cat conftest.err
>&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } && {
38603 test -z "$ac_c_werror_flag" ||
38604 test ! -s conftest.err
38605 } && test -s conftest
$ac_exeext &&
38606 $as_test_x conftest
$ac_exeext; then
38607 ac_cv_func_pthread_mutex_timedlock
=yes
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.
$ac_ext >&5
38612 ac_cv_func_pthread_mutex_timedlock
=no
38615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38616 conftest
$ac_exeext conftest.
$ac_ext
38618 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38619 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38620 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38621 cat >>confdefs.h
<<\_ACEOF
38622 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38626 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38627 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38631 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38632 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38633 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 cat >conftest.
$ac_ext <<_ACEOF
38639 cat confdefs.h
>>conftest.
$ac_ext
38640 cat >>conftest.
$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38644 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38646 /* System header to define __stub macros and hopefully few prototypes,
38647 which can conflict with char pthread_attr_setstacksize (); below.
38648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38649 <limits.h> exists even on freestanding compilers. */
38652 # include <limits.h>
38654 # include <assert.h>
38657 #undef pthread_attr_setstacksize
38659 /* Override any GCC internal prototype to avoid an error.
38660 Use char because int might match the return type of a GCC
38661 builtin and then its argument prototype would still apply. */
38665 char pthread_attr_setstacksize ();
38666 /* The GNU C library defines this for functions which it implements
38667 to always fail with ENOSYS. Some functions are actually named
38668 something starting with __ and the normal name is an alias. */
38669 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38676 return pthread_attr_setstacksize ();
38681 rm -f conftest.
$ac_objext conftest
$ac_exeext
38682 if { (ac_try
="$ac_link"
38683 case "(($ac_try" in
38684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_link") 2>conftest.er1
38690 grep -v '^ *+' conftest.er1 >conftest.err
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_c_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest$ac_exeext &&
38698 $as_test_x conftest$ac_exeext; then
38699 ac_cv_func_pthread_attr_setstacksize=yes
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38704 ac_cv_func_pthread_attr_setstacksize=no
38707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38708 conftest$ac_exeext conftest.$ac_ext
38710 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38711 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38712 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38713 cat >>confdefs.h <<\_ACEOF
38714 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38721 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38722 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38723 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 cat >conftest.$ac_ext <<_ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 #include <pthread.h>
38738 pthread_mutexattr_t attr;
38739 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38745 rm -f conftest.$ac_objext
38746 if { (ac_try="$ac_compile"
38747 case "(($ac_try" in
38748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38749 *) ac_try_echo
=$ac_try;;
38751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38752 (eval "$ac_compile") 2>conftest.er1
38754 grep -v '^ *+' conftest.er1
>conftest.err
38756 cat conftest.err
>&5
38757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38758 (exit $ac_status); } && {
38759 test -z "$ac_c_werror_flag" ||
38760 test ! -s conftest.err
38761 } && test -s conftest.
$ac_objext; then
38762 wx_cv_type_pthread_mutexattr_t
=yes
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.
$ac_ext >&5
38767 wx_cv_type_pthread_mutexattr_t
=no
38771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38774 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38775 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38777 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38778 cat >>confdefs.h
<<\_ACEOF
38779 #define HAVE_PTHREAD_MUTEXATTR_T 1
38783 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38784 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38785 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38786 echo $ECHO_N "(cached) $ECHO_C" >&6
38789 cat >conftest.
$ac_ext <<_ACEOF
38792 cat confdefs.h
>>conftest.
$ac_ext
38793 cat >>conftest.
$ac_ext <<_ACEOF
38794 /* end confdefs.h. */
38795 #include <pthread.h>
38800 pthread_mutexattr_t attr;
38801 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38807 rm -f conftest.
$ac_objext
38808 if { (ac_try
="$ac_compile"
38809 case "(($ac_try" in
38810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38811 *) ac_try_echo=$ac_try;;
38813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38814 (eval "$ac_compile") 2>conftest.er1
38816 grep -v '^ *+' conftest.er1 >conftest.err
38818 cat conftest.err >&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } && {
38821 test -z "$ac_c_werror_flag" ||
38822 test ! -s conftest.err
38823 } && test -s conftest.$ac_objext; then
38824 wx_cv_func_pthread_mutexattr_settype_decl=yes
38826 echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38829 wx_cv_func_pthread_mutexattr_settype_decl=no
38833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38836 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38837 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38838 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38839 cat >>confdefs.h <<\_ACEOF
38840 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38845 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38846 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38847 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 cat >conftest.$ac_ext <<_ACEOF
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 #include <pthread.h>
38862 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38868 rm -f conftest.$ac_objext
38869 if { (ac_try="$ac_compile"
38870 case "(($ac_try" in
38871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38872 *) ac_try_echo
=$ac_try;;
38874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38875 (eval "$ac_compile") 2>conftest.er1
38877 grep -v '^ *+' conftest.er1
>conftest.err
38879 cat conftest.err
>&5
38880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38881 (exit $ac_status); } && {
38882 test -z "$ac_c_werror_flag" ||
38883 test ! -s conftest.err
38884 } && test -s conftest.
$ac_objext; then
38886 wx_cv_type_pthread_rec_mutex_init
=yes
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.
$ac_ext >&5
38893 wx_cv_type_pthread_rec_mutex_init
=no
38898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38901 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38902 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38903 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38904 cat >>confdefs.h
<<\_ACEOF
38905 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38909 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38910 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38916 if test "$wxUSE_THREADS" = "yes" ; then
38919 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38920 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38921 if test "${wx_cv_cflags_mthread+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38925 CFLAGS_OLD
="$CFLAGS"
38926 CFLAGS
="-mthreads $CFLAGS"
38927 cat >conftest.
$ac_ext <<_ACEOF
38930 cat confdefs.h
>>conftest.
$ac_ext
38931 cat >>conftest.
$ac_ext <<_ACEOF
38932 /* end confdefs.h. */
38942 rm -f conftest.
$ac_objext
38943 if { (ac_try
="$ac_compile"
38944 case "(($ac_try" in
38945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_compile") 2>conftest.er1
38951 grep -v '^ *+' conftest.er1 >conftest.err
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest.$ac_objext; then
38959 wx_cv_cflags_mthread=yes
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38964 wx_cv_cflags_mthread=no
38968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38972 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38973 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38975 if test "$wx_cv_cflags_mthread" = "yes"; then
38976 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38977 LDFLAGS="$LDFLAGS -mthreads"
38979 CFLAGS="$CFLAGS_OLD"
38983 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38984 LDFLAGS="$LDFLAGS -Zmt"
38990 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38991 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38992 if test "${ac_cv_func_localtime_r+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 cat >conftest.$ac_ext <<_ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define localtime_r innocuous_localtime_r
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char localtime_r (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39011 # include <limits.h>
39013 # include <assert.h>
39018 /* Override any GCC internal prototype to avoid an error.
39019 Use char because int might match the return type of a GCC
39020 builtin and then its argument prototype would still apply. */
39024 char localtime_r ();
39025 /* The GNU C library defines this for functions which it implements
39026 to always fail with ENOSYS. Some functions are actually named
39027 something starting with __ and the normal name is an alias. */
39028 #if defined __stub_localtime_r || defined __stub___localtime_r
39035 return localtime_r ();
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39044 *) ac_try_echo
=$ac_try;;
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39049 grep -v '^ *+' conftest.er1
>conftest.err
39051 cat conftest.err
>&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest
$ac_exeext &&
39057 $as_test_x conftest
$ac_exeext; then
39058 ac_cv_func_localtime_r
=yes
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.
$ac_ext >&5
39063 ac_cv_func_localtime_r
=no
39066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39067 conftest
$ac_exeext conftest.
$ac_ext
39069 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39070 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39071 if test $ac_cv_func_localtime_r = yes; then
39072 cat >>confdefs.h
<<\_ACEOF
39073 #define HAVE_LOCALTIME_R 1
39078 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39079 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39080 if test "${ac_cv_func_gmtime_r+set}" = set; then
39081 echo $ECHO_N "(cached) $ECHO_C" >&6
39083 cat >conftest.
$ac_ext <<_ACEOF
39086 cat confdefs.h
>>conftest.
$ac_ext
39087 cat >>conftest.
$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39091 #define gmtime_r innocuous_gmtime_r
39093 /* System header to define __stub macros and hopefully few prototypes,
39094 which can conflict with char gmtime_r (); below.
39095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39096 <limits.h> exists even on freestanding compilers. */
39099 # include <limits.h>
39101 # include <assert.h>
39106 /* Override any GCC internal prototype to avoid an error.
39107 Use char because int might match the return type of a GCC
39108 builtin and then its argument prototype would still apply. */
39113 /* The GNU C library defines this for functions which it implements
39114 to always fail with ENOSYS. Some functions are actually named
39115 something starting with __ and the normal name is an alias. */
39116 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39123 return gmtime_r ();
39128 rm -f conftest.
$ac_objext conftest
$ac_exeext
39129 if { (ac_try
="$ac_link"
39130 case "(($ac_try" in
39131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39132 *) ac_try_echo=$ac_try;;
39134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39135 (eval "$ac_link") 2>conftest.er1
39137 grep -v '^ *+' conftest.er1 >conftest.err
39139 cat conftest.err >&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } && {
39142 test -z "$ac_c_werror_flag" ||
39143 test ! -s conftest.err
39144 } && test -s conftest$ac_exeext &&
39145 $as_test_x conftest$ac_exeext; then
39146 ac_cv_func_gmtime_r=yes
39148 echo "$as_me: failed program was:" >&5
39149 sed 's/^/| /' conftest.$ac_ext >&5
39151 ac_cv_func_gmtime_r=no
39154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39155 conftest$ac_exeext conftest.$ac_ext
39157 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39158 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39159 if test $ac_cv_func_gmtime_r = yes; then
39160 cat >>confdefs.h <<\_ACEOF
39161 #define HAVE_GMTIME_R 1
39166 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39167 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39168 if test "${ac_cv_func_readdir_r+set}" = set; then
39169 echo $ECHO_N "(cached) $ECHO_C" >&6
39171 cat >conftest.$ac_ext <<_ACEOF
39174 cat confdefs.h >>conftest.$ac_ext
39175 cat >>conftest.$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39177 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39179 #define readdir_r innocuous_readdir_r
39181 /* System header to define __stub macros and hopefully few prototypes,
39182 which can conflict with char readdir_r (); below.
39183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39184 <limits.h> exists even on freestanding compilers. */
39187 # include <limits.h>
39189 # include <assert.h>
39194 /* Override any GCC internal prototype to avoid an error.
39195 Use char because int might match the return type of a GCC
39196 builtin and then its argument prototype would still apply. */
39201 /* The GNU C library defines this for functions which it implements
39202 to always fail with ENOSYS. Some functions are actually named
39203 something starting with __ and the normal name is an alias. */
39204 #if defined __stub_readdir_r || defined __stub___readdir_r
39211 return readdir_r ();
39216 rm -f conftest.$ac_objext conftest$ac_exeext
39217 if { (ac_try="$ac_link"
39218 case "(($ac_try" in
39219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39220 *) ac_try_echo
=$ac_try;;
39222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39223 (eval "$ac_link") 2>conftest.er1
39225 grep -v '^ *+' conftest.er1
>conftest.err
39227 cat conftest.err
>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } && {
39230 test -z "$ac_c_werror_flag" ||
39231 test ! -s conftest.err
39232 } && test -s conftest
$ac_exeext &&
39233 $as_test_x conftest
$ac_exeext; then
39234 ac_cv_func_readdir_r
=yes
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.
$ac_ext >&5
39239 ac_cv_func_readdir_r
=no
39242 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39243 conftest
$ac_exeext conftest.
$ac_ext
39245 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39246 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39247 if test $ac_cv_func_readdir_r = yes; then
39248 cat >>confdefs.h
<<\_ACEOF
39249 #define HAVE_READDIR_R 1
39258 ac_cpp
='$CPP $CPPFLAGS'
39259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39263 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39264 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39266 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39267 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 ################################################################
39273 ac_cv_func_which_gethostbyname_r
=unknown
39276 # ONE ARGUMENT (sanity check)
39279 # This should fail, as there is no variant of gethostbyname_r() that takes
39280 # a single argument. If it actually compiles, then we can assume that
39281 # netdb.h is not declaring the function, and the compiler is thereby
39282 # assuming an implicit prototype. In which case, we're out of luck.
39284 cat >conftest.
$ac_ext <<_ACEOF
39287 cat confdefs.h
>>conftest.
$ac_ext
39288 cat >>conftest.
$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39295 char *name = "www.gnu.org";
39296 (void)gethostbyname_r(name) /* ; */
39302 rm -f conftest.
$ac_objext
39303 if { (ac_try
="$ac_compile"
39304 case "(($ac_try" in
39305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39306 *) ac_try_echo=$ac_try;;
39308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39309 (eval "$ac_compile") 2>conftest.er1
39311 grep -v '^ *+' conftest.er1 >conftest.err
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } && {
39316 test -z "$ac_c_werror_flag" ||
39317 test ! -s conftest.err
39318 } && test -s conftest.$ac_objext; then
39319 ac_cv_func_which_gethostbyname_r=no
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39334 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39336 cat >conftest.$ac_ext <<_ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39347 char *name = "www.gnu.org";
39348 struct hostent ret, *retp;
39352 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39358 rm -f conftest.$ac_objext
39359 if { (ac_try="$ac_compile"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39362 *) ac_try_echo
=$ac_try;;
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_compile") 2>conftest.er1
39367 grep -v '^ *+' conftest.er1
>conftest.err
39369 cat conftest.err
>&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest.
$ac_objext; then
39375 ac_cv_func_which_gethostbyname_r
=six
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.
$ac_ext >&5
39383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39392 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39394 cat >conftest.
$ac_ext <<_ACEOF
39397 cat confdefs.h
>>conftest.
$ac_ext
39398 cat >>conftest.
$ac_ext <<_ACEOF
39399 /* end confdefs.h. */
39405 char *name = "www.gnu.org";
39406 struct hostent ret;
39410 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39416 rm -f conftest.
$ac_objext
39417 if { (ac_try
="$ac_compile"
39418 case "(($ac_try" in
39419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_compile") 2>conftest.er1
39425 grep -v '^ *+' conftest.er1 >conftest.err
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest.$ac_objext; then
39433 ac_cv_func_which_gethostbyname_r=five
39435 echo "$as_me: failed program was:" >&5
39436 sed 's/^/| /' conftest.$ac_ext >&5
39441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39447 # (e.g. AIX, HP-UX, Tru64)
39450 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39452 cat >conftest.$ac_ext <<_ACEOF
39455 cat confdefs.h >>conftest.$ac_ext
39456 cat >>conftest.$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39463 char *name = "www.gnu.org";
39464 struct hostent ret;
39465 struct hostent_data data;
39466 (void)gethostbyname_r(name, &ret, &data) /* ; */
39472 rm -f conftest.$ac_objext
39473 if { (ac_try="$ac_compile"
39474 case "(($ac_try" in
39475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39476 *) ac_try_echo
=$ac_try;;
39478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39479 (eval "$ac_compile") 2>conftest.er1
39481 grep -v '^ *+' conftest.er1
>conftest.err
39483 cat conftest.err
>&5
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } && {
39486 test -z "$ac_c_werror_flag" ||
39487 test ! -s conftest.err
39488 } && test -s conftest.
$ac_objext; then
39489 ac_cv_func_which_gethostbyname_r
=three
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.
$ac_ext >&5
39497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39501 ################################################################
39506 case "$ac_cv_func_which_gethostbyname_r" in
39508 { echo "$as_me:$LINENO: result: three" >&5
39509 echo "${ECHO_T}three" >&6; }
39510 cat >>confdefs.h
<<\_ACEOF
39511 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39517 { echo "$as_me:$LINENO: result: five" >&5
39518 echo "${ECHO_T}five" >&6; }
39519 cat >>confdefs.h
<<\_ACEOF
39520 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39526 { echo "$as_me:$LINENO: result: six" >&5
39527 echo "${ECHO_T}six" >&6; }
39528 cat >>confdefs.h
<<\_ACEOF
39529 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39535 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39536 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39540 { echo "$as_me:$LINENO: result: can't tell" >&5
39541 echo "${ECHO_T}can't tell" >&6; }
39545 { { echo "$as_me:$LINENO: error: internal error" >&5
39546 echo "$as_me: error: internal error" >&2;}
39547 { (exit 1); exit 1; }; }
39552 ac_cpp
='$CPP $CPPFLAGS'
39553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39559 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39560 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39561 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39562 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39563 if test "${ac_cv_func_gethostbyname+set}" = set; then
39564 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 cat >conftest.
$ac_ext <<_ACEOF
39569 cat confdefs.h
>>conftest.
$ac_ext
39570 cat >>conftest.
$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39574 #define gethostbyname innocuous_gethostbyname
39576 /* System header to define __stub macros and hopefully few prototypes,
39577 which can conflict with char gethostbyname (); below.
39578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39579 <limits.h> exists even on freestanding compilers. */
39582 # include <limits.h>
39584 # include <assert.h>
39587 #undef gethostbyname
39589 /* Override any GCC internal prototype to avoid an error.
39590 Use char because int might match the return type of a GCC
39591 builtin and then its argument prototype would still apply. */
39595 char gethostbyname ();
39596 /* The GNU C library defines this for functions which it implements
39597 to always fail with ENOSYS. Some functions are actually named
39598 something starting with __ and the normal name is an alias. */
39599 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39606 return gethostbyname ();
39611 rm -f conftest.
$ac_objext conftest
$ac_exeext
39612 if { (ac_try
="$ac_link"
39613 case "(($ac_try" in
39614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39615 *) ac_try_echo=$ac_try;;
39617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39618 (eval "$ac_link") 2>conftest.er1
39620 grep -v '^ *+' conftest.er1 >conftest.err
39622 cat conftest.err >&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); } && {
39625 test -z "$ac_c_werror_flag" ||
39626 test ! -s conftest.err
39627 } && test -s conftest$ac_exeext &&
39628 $as_test_x conftest$ac_exeext; then
39629 ac_cv_func_gethostbyname=yes
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.$ac_ext >&5
39634 ac_cv_func_gethostbyname=no
39637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39638 conftest$ac_exeext conftest.$ac_ext
39640 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39641 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39642 if test $ac_cv_func_gethostbyname = yes; then
39643 cat >>confdefs.h <<\_ACEOF
39644 #define HAVE_GETHOSTBYNAME 1
39651 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39652 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39653 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39664 cat >conftest.$ac_ext <<_ACEOF
39667 cat confdefs.h >>conftest.$ac_ext
39668 cat >>conftest.$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39677 struct servent *se, *res;
39680 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39686 rm -f conftest.$ac_objext
39687 if { (ac_try="$ac_compile"
39688 case "(($ac_try" in
39689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39690 *) ac_try_echo
=$ac_try;;
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_compile") 2>conftest.er1
39695 grep -v '^ *+' conftest.er1
>conftest.err
39697 cat conftest.err
>&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_cxx_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest.
$ac_objext; then
39703 ac_cv_func_which_getservbyname_r
=six
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.
$ac_ext >&5
39709 cat >conftest.
$ac_ext <<_ACEOF
39712 cat confdefs.h
>>conftest.
$ac_ext
39713 cat >>conftest.
$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39722 struct servent *se;
39725 (void) getservbyname_r(name, proto, se, buffer, buflen)
39731 rm -f conftest.
$ac_objext
39732 if { (ac_try
="$ac_compile"
39733 case "(($ac_try" in
39734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39735 *) ac_try_echo=$ac_try;;
39737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39738 (eval "$ac_compile") 2>conftest.er1
39740 grep -v '^ *+' conftest.er1 >conftest.err
39742 cat conftest.err >&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } && {
39745 test -z "$ac_cxx_werror_flag" ||
39746 test ! -s conftest.err
39747 } && test -s conftest.$ac_objext; then
39748 ac_cv_func_which_getservbyname_r=five
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39754 cat >conftest.$ac_ext <<_ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39767 struct servent *se;
39768 struct servent_data data;
39769 (void) getservbyname_r(name, proto, se, &data);
39775 rm -f conftest.$ac_objext
39776 if { (ac_try="$ac_compile"
39777 case "(($ac_try" in
39778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39779 *) ac_try_echo
=$ac_try;;
39781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 (eval "$ac_compile") 2>conftest.er1
39784 grep -v '^ *+' conftest.er1
>conftest.err
39786 cat conftest.err
>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); } && {
39789 test -z "$ac_cxx_werror_flag" ||
39790 test ! -s conftest.err
39791 } && test -s conftest.
$ac_objext; then
39792 ac_cv_func_which_getservbyname_r
=four
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.
$ac_ext >&5
39797 ac_cv_func_which_getservbyname_r
=no
39801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39813 ac_cpp
='$CPP $CPPFLAGS'
39814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39821 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39822 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39824 if test $ac_cv_func_which_getservbyname_r = six
; then
39825 cat >>confdefs.h
<<\_ACEOF
39826 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39829 elif test $ac_cv_func_which_getservbyname_r = five
; then
39830 cat >>confdefs.h
<<\_ACEOF
39831 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39834 elif test $ac_cv_func_which_getservbyname_r = four
; then
39835 cat >>confdefs.h
<<\_ACEOF
39836 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39842 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39843 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39845 for ac_func
in getservbyname
39847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39850 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 cat >conftest.
$ac_ext <<_ACEOF
39856 cat confdefs.h
>>conftest.
$ac_ext
39857 cat >>conftest.
$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39861 #define $ac_func innocuous_$ac_func
39863 /* System header to define __stub macros and hopefully few prototypes,
39864 which can conflict with char $ac_func (); below.
39865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39866 <limits.h> exists even on freestanding compilers. */
39869 # include <limits.h>
39871 # include <assert.h>
39876 /* Override any GCC internal prototype to avoid an error.
39877 Use char because int might match the return type of a GCC
39878 builtin and then its argument prototype would still apply. */
39883 /* The GNU C library defines this for functions which it implements
39884 to always fail with ENOSYS. Some functions are actually named
39885 something starting with __ and the normal name is an alias. */
39886 #if defined __stub_$ac_func || defined __stub___$ac_func
39893 return $ac_func ();
39898 rm -f conftest.
$ac_objext conftest
$ac_exeext
39899 if { (ac_try
="$ac_link"
39900 case "(($ac_try" in
39901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39902 *) ac_try_echo=$ac_try;;
39904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39905 (eval "$ac_link") 2>conftest.er1
39907 grep -v '^ *+' conftest.er1 >conftest.err
39909 cat conftest.err >&5
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); } && {
39912 test -z "$ac_c_werror_flag" ||
39913 test ! -s conftest.err
39914 } && test -s conftest$ac_exeext &&
39915 $as_test_x conftest$ac_exeext; then
39916 eval "$as_ac_var=yes"
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39921 eval "$as_ac_var=no"
39924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39925 conftest$ac_exeext conftest.$ac_ext
39927 ac_res=`eval echo '${'$as_ac_var'}'`
39928 { echo "$as_me:$LINENO: result: $ac_res" >&5
39929 echo "${ECHO_T}$ac_res" >&6; }
39930 if test `eval echo '${'$as_ac_var'}'` = yes; then
39931 cat >>confdefs.h <<_ACEOF
39932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39934 cat >>confdefs.h <<\_ACEOF
39935 #define HAVE_GETSERVBYNAME 1
39943 if test "$wxUSE_THREADS" = "yes"; then
39944 cat >>confdefs.h <<\_ACEOF
39945 #define wxUSE_THREADS 1
39949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39951 if test "$wx_cv_func_strtok_r" = "yes"; then
39952 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39953 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
39954 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39955 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39956 { echo "$as_me:$LINENO: result: yes" >&5
39957 echo "${ECHO_T}yes" >&6; }
39959 { echo "$as_me:$LINENO: result: no" >&5
39960 echo "${ECHO_T}no" >&6; }
39965 if test "$WXGTK20" = 1 ; then
39966 cat >>confdefs.h <<_ACEOF
39967 #define __WXGTK20__ $WXGTK20
39973 if test "$WXGTK12" = 1 ; then
39974 cat >>confdefs.h <<_ACEOF
39975 #define __WXGTK12__ $WXGTK12
39980 if test "$WXGTK127" = 1 ; then
39981 cat >>confdefs.h <<_ACEOF
39982 #define __WXGTK127__ $WXGTK127
39987 if test "$WXGPE" = 1 ; then
39988 cat >>confdefs.h <<_ACEOF
39989 #define __WXGPE__ $WXGPE
39995 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40000 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40001 wxUSE_DEBUG_INFO=yes
40002 if test "$GCC" = yes; then
40003 DEBUG_CFLAGS="-ggdb"
40007 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40008 cat >>confdefs.h <<\_ACEOF
40012 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40014 if test "$wxUSE_GTK" = 1 ; then
40015 if test "x$wxGTK_VERSION" = "x1" ; then
40016 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40021 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define wxUSE_MEMORY_TRACING 1
40026 cat >>confdefs.h <<\_ACEOF
40027 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40030 cat >>confdefs.h <<\_ACEOF
40031 #define wxUSE_DEBUG_NEW_ALWAYS 1
40034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40037 if test "$wxUSE_DMALLOC" = "yes" ; then
40038 DMALLOC_LIBS="-ldmallocthcxx"
40042 if test "$wxUSE_PROFILE" = "yes" ; then
40043 PROFILE_FLAGS=" -pg"
40046 if test "$GCC" = "yes" ; then
40047 if test "$wxUSE_NO_RTTI" = "yes" ; then
40048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40050 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40051 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40053 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40059 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40062 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40068 if test "$wxUSE_OPTIMISE" = "no" ; then
40069 if test "$GCC" = yes ; then
40070 OPTIMISE_CFLAGS="-O0"
40073 if test "$GCC" = yes ; then
40075 *-pc-os2_emx | *-pc-os2-emx )
40076 OPTIMISE_CFLAGS="-O2"
40079 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40083 OPTIMISE_CFLAGS="-O"
40088 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40089 cat >>confdefs.h <<\_ACEOF
40090 #define WXWIN_COMPATIBILITY_2_6 1
40094 WXWIN_COMPATIBILITY_2_8="yes"
40097 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define WXWIN_COMPATIBILITY_2_8 1
40105 if test "$wxUSE_GUI" = "yes"; then
40106 cat >>confdefs.h <<\_ACEOF
40107 #define wxUSE_GUI 1
40114 if test "$wxUSE_UNIX" = "yes"; then
40115 cat >>confdefs.h <<\_ACEOF
40116 #define wxUSE_UNIX 1
40122 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40126 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40127 if test "$USE_DARWIN" = 1; then
40129 elif test "$USE_DOS" = 1; then
40133 for ac_func in dlopen
40135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40139 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 cat >conftest.$ac_ext <<_ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40149 #define $ac_func innocuous_$ac_func
40151 /* System header to define __stub macros and hopefully few prototypes,
40152 which can conflict with char $ac_func (); below.
40153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40154 <limits.h> exists even on freestanding compilers. */
40157 # include <limits.h>
40159 # include <assert.h>
40164 /* Override any GCC internal prototype to avoid an error.
40165 Use char because int might match the return type of a GCC
40166 builtin and then its argument prototype would still apply. */
40171 /* The GNU C library defines this for functions which it implements
40172 to always fail with ENOSYS. Some functions are actually named
40173 something starting with __ and the normal name is an alias. */
40174 #if defined __stub_$ac_func || defined __stub___$ac_func
40181 return $ac_func ();
40186 rm -f conftest.$ac_objext conftest$ac_exeext
40187 if { (ac_try="$ac_link"
40188 case "(($ac_try" in
40189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40190 *) ac_try_echo
=$ac_try;;
40192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40193 (eval "$ac_link") 2>conftest.er1
40195 grep -v '^ *+' conftest.er1
>conftest.err
40197 cat conftest.err
>&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } && {
40200 test -z "$ac_c_werror_flag" ||
40201 test ! -s conftest.err
40202 } && test -s conftest
$ac_exeext &&
40203 $as_test_x conftest
$ac_exeext; then
40204 eval "$as_ac_var=yes"
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.
$ac_ext >&5
40209 eval "$as_ac_var=no"
40212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40213 conftest
$ac_exeext conftest.
$ac_ext
40215 ac_res
=`eval echo '${'$as_ac_var'}'`
40216 { echo "$as_me:$LINENO: result: $ac_res" >&5
40217 echo "${ECHO_T}$ac_res" >&6; }
40218 if test `eval echo '${'$as_ac_var'}'` = yes; then
40219 cat >>confdefs.h
<<_ACEOF
40220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40223 cat >>confdefs.h
<<\_ACEOF
40224 #define HAVE_DLOPEN 1
40231 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40234 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 ac_check_lib_save_LIBS
=$LIBS
40238 cat >conftest.
$ac_ext <<_ACEOF
40241 cat confdefs.h
>>conftest.
$ac_ext
40242 cat >>conftest.
$ac_ext <<_ACEOF
40243 /* end confdefs.h. */
40245 /* Override any GCC internal prototype to avoid an error.
40246 Use char because int might match the return type of a GCC
40247 builtin and then its argument prototype would still apply. */
40260 rm -f conftest.
$ac_objext conftest
$ac_exeext
40261 if { (ac_try
="$ac_link"
40262 case "(($ac_try" in
40263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40264 *) ac_try_echo=$ac_try;;
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_link") 2>conftest.er1
40269 grep -v '^ *+' conftest.er1 >conftest.err
40271 cat conftest.err >&5
40272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40273 (exit $ac_status); } && {
40274 test -z "$ac_c_werror_flag" ||
40275 test ! -s conftest.err
40276 } && test -s conftest$ac_exeext &&
40277 $as_test_x conftest$ac_exeext; then
40278 ac_cv_lib_dl_dlopen=yes
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.$ac_ext >&5
40283 ac_cv_lib_dl_dlopen=no
40286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40287 conftest$ac_exeext conftest.$ac_ext
40288 LIBS=$ac_check_lib_save_LIBS
40290 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40292 if test $ac_cv_lib_dl_dlopen = yes; then
40294 cat >>confdefs.h <<\_ACEOF
40295 #define HAVE_DLOPEN 1
40299 DL_LINK=" -ldl$DL_LINK"
40304 for ac_func in shl_load
40306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40309 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 cat >conftest.$ac_ext <<_ACEOF
40315 cat confdefs.h >>conftest.$ac_ext
40316 cat >>conftest.$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40320 #define $ac_func innocuous_$ac_func
40322 /* System header to define __stub macros and hopefully few prototypes,
40323 which can conflict with char $ac_func (); below.
40324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40325 <limits.h> exists even on freestanding compilers. */
40328 # include <limits.h>
40330 # include <assert.h>
40335 /* Override any GCC internal prototype to avoid an error.
40336 Use char because int might match the return type of a GCC
40337 builtin and then its argument prototype would still apply. */
40342 /* The GNU C library defines this for functions which it implements
40343 to always fail with ENOSYS. Some functions are actually named
40344 something starting with __ and the normal name is an alias. */
40345 #if defined __stub_$ac_func || defined __stub___$ac_func
40352 return $ac_func ();
40357 rm -f conftest.$ac_objext conftest$ac_exeext
40358 if { (ac_try="$ac_link"
40359 case "(($ac_try" in
40360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40361 *) ac_try_echo
=$ac_try;;
40363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40364 (eval "$ac_link") 2>conftest.er1
40366 grep -v '^ *+' conftest.er1
>conftest.err
40368 cat conftest.err
>&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } && {
40371 test -z "$ac_c_werror_flag" ||
40372 test ! -s conftest.err
40373 } && test -s conftest
$ac_exeext &&
40374 $as_test_x conftest
$ac_exeext; then
40375 eval "$as_ac_var=yes"
40377 echo "$as_me: failed program was:" >&5
40378 sed 's/^/| /' conftest.
$ac_ext >&5
40380 eval "$as_ac_var=no"
40383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40384 conftest
$ac_exeext conftest.
$ac_ext
40386 ac_res
=`eval echo '${'$as_ac_var'}'`
40387 { echo "$as_me:$LINENO: result: $ac_res" >&5
40388 echo "${ECHO_T}$ac_res" >&6; }
40389 if test `eval echo '${'$as_ac_var'}'` = yes; then
40390 cat >>confdefs.h
<<_ACEOF
40391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40394 cat >>confdefs.h
<<\_ACEOF
40395 #define HAVE_SHL_LOAD 1
40402 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40403 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40404 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40407 ac_check_lib_save_LIBS
=$LIBS
40408 LIBS
="-lshl_load $LIBS"
40409 cat >conftest.
$ac_ext <<_ACEOF
40412 cat confdefs.h
>>conftest.
$ac_ext
40413 cat >>conftest.
$ac_ext <<_ACEOF
40414 /* end confdefs.h. */
40416 /* Override any GCC internal prototype to avoid an error.
40417 Use char because int might match the return type of a GCC
40418 builtin and then its argument prototype would still apply. */
40431 rm -f conftest.
$ac_objext conftest
$ac_exeext
40432 if { (ac_try
="$ac_link"
40433 case "(($ac_try" in
40434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40435 *) ac_try_echo=$ac_try;;
40437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40438 (eval "$ac_link") 2>conftest.er1
40440 grep -v '^ *+' conftest.er1 >conftest.err
40442 cat conftest.err >&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); } && {
40445 test -z "$ac_c_werror_flag" ||
40446 test ! -s conftest.err
40447 } && test -s conftest$ac_exeext &&
40448 $as_test_x conftest$ac_exeext; then
40449 ac_cv_lib_shl_load_dld=yes
40451 echo "$as_me: failed program was:" >&5
40452 sed 's/^/| /' conftest.$ac_ext >&5
40454 ac_cv_lib_shl_load_dld=no
40457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40458 conftest$ac_exeext conftest.$ac_ext
40459 LIBS=$ac_check_lib_save_LIBS
40461 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40462 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40463 if test $ac_cv_lib_shl_load_dld = yes; then
40466 DL_LINK=" -ldld$DL_LINK"
40482 if test "$HAVE_DL_FUNCS" = 1; then
40484 for ac_func in dlerror
40486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40490 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 cat >conftest.$ac_ext <<_ACEOF
40495 cat confdefs.h >>conftest.$ac_ext
40496 cat >>conftest.$ac_ext <<_ACEOF
40497 /* end confdefs.h. */
40498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40500 #define $ac_func innocuous_$ac_func
40502 /* System header to define __stub macros and hopefully few prototypes,
40503 which can conflict with char $ac_func (); below.
40504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40505 <limits.h> exists even on freestanding compilers. */
40508 # include <limits.h>
40510 # include <assert.h>
40515 /* Override any GCC internal prototype to avoid an error.
40516 Use char because int might match the return type of a GCC
40517 builtin and then its argument prototype would still apply. */
40522 /* The GNU C library defines this for functions which it implements
40523 to always fail with ENOSYS. Some functions are actually named
40524 something starting with __ and the normal name is an alias. */
40525 #if defined __stub_$ac_func || defined __stub___$ac_func
40532 return $ac_func ();
40537 rm -f conftest.$ac_objext conftest$ac_exeext
40538 if { (ac_try="$ac_link"
40539 case "(($ac_try" in
40540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40541 *) ac_try_echo
=$ac_try;;
40543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40544 (eval "$ac_link") 2>conftest.er1
40546 grep -v '^ *+' conftest.er1
>conftest.err
40548 cat conftest.err
>&5
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); } && {
40551 test -z "$ac_c_werror_flag" ||
40552 test ! -s conftest.err
40553 } && test -s conftest
$ac_exeext &&
40554 $as_test_x conftest
$ac_exeext; then
40555 eval "$as_ac_var=yes"
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.
$ac_ext >&5
40560 eval "$as_ac_var=no"
40563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40564 conftest
$ac_exeext conftest.
$ac_ext
40566 ac_res
=`eval echo '${'$as_ac_var'}'`
40567 { echo "$as_me:$LINENO: result: $ac_res" >&5
40568 echo "${ECHO_T}$ac_res" >&6; }
40569 if test `eval echo '${'$as_ac_var'}'` = yes; then
40570 cat >>confdefs.h
<<_ACEOF
40571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40573 cat >>confdefs.h
<<\_ACEOF
40574 #define HAVE_DLERROR 1
40579 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40580 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40581 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40582 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 ac_check_lib_save_LIBS
=$LIBS
40586 cat >conftest.
$ac_ext <<_ACEOF
40589 cat confdefs.h
>>conftest.
$ac_ext
40590 cat >>conftest.
$ac_ext <<_ACEOF
40591 /* end confdefs.h. */
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40608 rm -f conftest.
$ac_objext conftest
$ac_exeext
40609 if { (ac_try
="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40617 grep -v '^ *+' conftest.er1 >conftest.err
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest$ac_exeext &&
40625 $as_test_x conftest$ac_exeext; then
40626 ac_cv_lib_dl_dlerror=yes
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.$ac_ext >&5
40631 ac_cv_lib_dl_dlerror=no
40634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40635 conftest$ac_exeext conftest.$ac_ext
40636 LIBS=$ac_check_lib_save_LIBS
40638 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40639 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40640 if test $ac_cv_lib_dl_dlerror = yes; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_DLERROR 1
40655 if test "$HAVE_DL_FUNCS" = 0; then
40656 if test "$HAVE_SHL_FUNCS" = 0; then
40657 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40658 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40659 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40660 wxUSE_DYNAMIC_LOADER=no
40661 wxUSE_DYNLIB_CLASS=no
40663 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40664 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40671 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40672 cat >>confdefs.h <<\_ACEOF
40673 #define wxUSE_DYNAMIC_LOADER 1
40677 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40678 cat >>confdefs.h <<\_ACEOF
40679 #define wxUSE_DYNLIB_CLASS 1
40686 if test "$wxUSE_PLUGINS" = "yes" ; then
40687 if test "$wxUSE_SHARED" = "no" ; then
40688 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40689 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40692 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40693 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40694 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40697 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40698 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40699 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40702 if test "$wxUSE_PLUGINS" = "yes" ; then
40703 cat >>confdefs.h <<\_ACEOF
40704 #define wxUSE_PLUGINS 1
40711 if test "$wxUSE_STL" = "yes"; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define wxUSE_STL 1
40718 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40719 cat >>confdefs.h <<\_ACEOF
40720 #define wxUSE_APPLE_IEEE 1
40725 if test "$wxUSE_TIMER" = "yes"; then
40726 cat >>confdefs.h <<\_ACEOF
40727 #define wxUSE_TIMER 1
40732 if test "$USE_UNIX" = "1" ; then
40733 if test "$wxUSE_MGL" != 1; then
40734 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40735 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40736 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40740 cat >conftest.$ac_ext <<_ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40747 #include <sys/ioctl.h>
40748 #include <sys/soundcard.h>
40754 ioctl(0, SNDCTL_DSP_SPEED, 0);
40760 rm -f conftest.$ac_objext conftest$ac_exeext
40761 if { (ac_try="$ac_link"
40762 case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40764 *) ac_try_echo
=$ac_try;;
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_link") 2>conftest.er1
40769 grep -v '^ *+' conftest.er1
>conftest.err
40771 cat conftest.err
>&5
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); } && {
40774 test -z "$ac_c_werror_flag" ||
40775 test ! -s conftest.err
40776 } && test -s conftest
$ac_exeext &&
40777 $as_test_x conftest
$ac_exeext; then
40778 ac_cv_header_sys_soundcard
=yes
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.
$ac_ext >&5
40785 LIBS
="$saveLibs -lossaudio"
40786 cat >conftest.
$ac_ext <<_ACEOF
40789 cat confdefs.h
>>conftest.
$ac_ext
40790 cat >>conftest.
$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40793 #include <sys/ioctl.h>
40794 #include <sys/soundcard.h>
40800 ioctl(0, SNDCTL_DSP_SPEED, 0);
40806 rm -f conftest.
$ac_objext conftest
$ac_exeext
40807 if { (ac_try
="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40815 grep -v '^ *+' conftest.er1 >conftest.err
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_header_sys_soundcard=yes
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40831 ac_cv_header_sys_soundcard=no
40836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40837 conftest$ac_exeext conftest.$ac_ext
40842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40843 conftest$ac_exeext conftest.$ac_ext
40846 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40847 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40850 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40851 cat >>confdefs.h <<\_ACEOF
40852 #define HAVE_SYS_SOUNDCARD_H 1
40859 if test "$wxUSE_SOUND" = "yes"; then
40860 if test "$USE_UNIX" = "1" ; then
40861 if test "$wxUSE_LIBSDL" != "no"; then
40863 # Check whether --with-sdl-prefix was given.
40864 if test "${with_sdl_prefix+set}" = set; then
40865 withval=$with_sdl_prefix; sdl_prefix="$withval"
40871 # Check whether --with-sdl-exec-prefix was given.
40872 if test "${with_sdl_exec_prefix+set}" = set; then
40873 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40878 # Check whether --enable-sdltest was given.
40879 if test "${enable_sdltest+set}" = set; then
40880 enableval=$enable_sdltest;
40886 if test x$sdl_exec_prefix != x ; then
40887 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40888 if test x${SDL_CONFIG+set} != xset ; then
40889 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40892 if test x$sdl_prefix != x ; then
40893 sdl_args="$sdl_args --prefix=$sdl_prefix"
40894 if test x${SDL_CONFIG+set} != xset ; then
40895 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40899 if test "x$prefix" != xNONE; then
40900 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40902 # Extract the first word of "sdl-config", so it can be a program name with args.
40903 set dummy sdl-config; ac_word=$2
40904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40906 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40907 echo $ECHO_N "(cached) $ECHO_C" >&6
40909 case $SDL_CONFIG in
40911 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40915 for as_dir in $PATH
40918 test -z "$as_dir" && as_dir=.
40919 for ac_exec_ext in '' $ac_executable_extensions; do
40920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40921 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40929 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40933 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40934 if test -n "$SDL_CONFIG"; then
40935 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40936 echo "${ECHO_T}$SDL_CONFIG" >&6; }
40938 { echo "$as_me:$LINENO: result: no" >&5
40939 echo "${ECHO_T}no" >&6; }
40943 min_sdl_version=1.2.0
40944 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40945 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
40947 if test "$SDL_CONFIG" = "no" ; then
40950 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40951 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40953 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40955 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40957 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40959 if test "x$enable_sdltest" = "xyes" ; then
40960 ac_save_CFLAGS="$CFLAGS"
40961 ac_save_CXXFLAGS="$CXXFLAGS"
40962 ac_save_LIBS="$LIBS"
40963 CFLAGS="$CFLAGS $SDL_CFLAGS"
40964 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40965 LIBS="$LIBS $SDL_LIBS"
40967 if test "$cross_compiling" = yes; then
40968 echo $ac_n "cross compiling; assumed OK... $ac_c"
40970 cat >conftest.$ac_ext <<_ACEOF
40973 cat confdefs.h >>conftest.$ac_ext
40974 cat >>conftest.$ac_ext <<_ACEOF
40975 /* end confdefs.h. */
40978 #include <stdlib.h>
40979 #include <string.h>
40983 my_strdup (char *str)
40989 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40990 strcpy (new_str, str);
40998 int main (int argc, char *argv[])
41000 int major, minor, micro;
41003 /* This hangs on some systems (?)
41004 system ("touch conf.sdltest");
41006 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41008 /* HP/UX 9 (%@#!) writes to sscanf strings */
41009 tmp_version = my_strdup("$min_sdl_version");
41010 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41011 printf("%s, bad version string\n", "$min_sdl_version");
41015 if (($sdl_major_version > major) ||
41016 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41017 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41023 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41024 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41025 printf("*** best to upgrade to the required version.\n");
41026 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41027 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41028 printf("*** config.cache before re-running configure\n");
41035 rm -f conftest$ac_exeext
41036 if { (ac_try="$ac_link"
41037 case "(($ac_try" in
41038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41039 *) ac_try_echo
=$ac_try;;
41041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41042 (eval "$ac_link") 2>&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41046 { (case "(($ac_try" in
41047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41048 *) ac_try_echo=$ac_try;;
41050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41051 (eval "$ac_try") 2>&5
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41057 echo "$as_me: program exited with status $ac_status" >&5
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41061 ( exit $ac_status )
41064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41068 CFLAGS="$ac_save_CFLAGS"
41069 CXXFLAGS="$ac_save_CXXFLAGS"
41070 LIBS="$ac_save_LIBS"
41073 if test "x$no_sdl" = x ; then
41074 { echo "$as_me:$LINENO: result: yes" >&5
41075 echo "${ECHO_T}yes" >&6; }
41077 EXTRALIBS_SDL="$SDL_LIBS"
41078 CFLAGS="$SDL_CFLAGS $CFLAGS"
41079 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41080 cat >>confdefs.h <<\_ACEOF
41081 #define wxUSE_LIBSDL 1
41086 { echo "$as_me:$LINENO: result: no" >&5
41087 echo "${ECHO_T}no" >&6; }
41088 if test "$SDL_CONFIG" = "no" ; then
41089 echo "*** The sdl-config script installed by SDL could not be found"
41090 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41091 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41092 echo "*** full path to sdl-config."
41094 if test -f conf.sdltest ; then
41097 echo "*** Could not run SDL test program, checking why..."
41098 CFLAGS="$CFLAGS $SDL_CFLAGS"
41099 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41100 LIBS="$LIBS $SDL_LIBS"
41101 cat >conftest.$ac_ext <<_ACEOF
41104 cat confdefs.h >>conftest.$ac_ext
41105 cat >>conftest.$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41111 int main(int argc, char *argv[])
41114 #define main K_and_R_C_main
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (ac_try="$ac_link"
41126 case "(($ac_try" in
41127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41128 *) ac_try_echo
=$ac_try;;
41130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41131 (eval "$ac_link") 2>conftest.er1
41133 grep -v '^ *+' conftest.er1
>conftest.err
41135 cat conftest.err
>&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); } && {
41138 test -z "$ac_c_werror_flag" ||
41139 test ! -s conftest.err
41140 } && test -s conftest
$ac_exeext &&
41141 $as_test_x conftest
$ac_exeext; then
41142 echo "*** The test program compiled, but did not run. This usually means"
41143 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41144 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41145 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41146 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41147 echo "*** is required on your system"
41149 echo "*** If you have an old version installed, it is best to remove it, although"
41150 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.
$ac_ext >&5
41155 echo "*** The test program failed to compile or link. See the file config.log for the"
41156 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41157 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41158 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41162 conftest
$ac_exeext conftest.
$ac_ext
41163 CFLAGS
="$ac_save_CFLAGS"
41164 CXXFLAGS
="$ac_save_CXXFLAGS"
41165 LIBS
="$ac_save_LIBS"
41176 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41181 if test "$wxUSE_MGL" = 1; then
41182 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41183 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41189 if test "$wxUSE_SOUND" = "yes"; then
41190 cat >>confdefs.h
<<\_ACEOF
41191 #define wxUSE_SOUND 1
41194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41197 if test "$WXGTK20" = 1; then
41200 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41201 if test -n "$ac_tool_prefix"; then
41202 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41203 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41206 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 case $PKG_CONFIG in
41211 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41215 for as_dir
in $PATH
41218 test -z "$as_dir" && as_dir
=.
41219 for ac_exec_ext
in '' $ac_executable_extensions; do
41220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41221 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41232 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41233 if test -n "$PKG_CONFIG"; then
41234 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41235 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41237 { echo "$as_me:$LINENO: result: no" >&5
41238 echo "${ECHO_T}no" >&6; }
41243 if test -z "$ac_cv_path_PKG_CONFIG"; then
41244 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41245 # Extract the first word of "pkg-config", so it can be a program name with args.
41246 set dummy pkg
-config; ac_word
=$2
41247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41249 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41250 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 case $ac_pt_PKG_CONFIG in
41254 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41258 for as_dir
in $PATH
41261 test -z "$as_dir" && as_dir
=.
41262 for ac_exec_ext
in '' $ac_executable_extensions; do
41263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41264 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41275 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41276 if test -n "$ac_pt_PKG_CONFIG"; then
41277 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41278 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41280 { echo "$as_me:$LINENO: result: no" >&5
41281 echo "${ECHO_T}no" >&6; }
41284 if test "x$ac_pt_PKG_CONFIG" = x
; then
41287 case $cross_compiling:$ac_tool_warned in
41289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41290 whose name does not start with the host triplet. If you think this
41291 configuration is useful to you, please write to autoconf@gnu.org." >&5
41292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41293 whose name does not start with the host triplet. If you think this
41294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41295 ac_tool_warned
=yes ;;
41297 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41300 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41304 if test -n "$PKG_CONFIG"; then
41305 _pkg_min_version
=0.9.0
41306 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41309 { echo "$as_me:$LINENO: result: yes" >&5
41310 echo "${ECHO_T}yes" >&6; }
41312 { echo "$as_me:$LINENO: result: no" >&5
41313 echo "${ECHO_T}no" >&6; }
41319 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41320 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41324 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41325 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41327 if test -n "$PKG_CONFIG"; then
41328 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41329 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41331 if test -n "$PKG_CONFIG" && \
41332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41333 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; then
41337 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41345 if test -n "$PKG_CONFIG"; then
41346 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41347 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41349 if test -n "$PKG_CONFIG" && \
41350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41351 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); }; then
41355 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41366 if test $pkg_failed = yes; then
41368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41369 _pkg_short_errors_supported
=yes
41371 _pkg_short_errors_supported
=no
41373 if test $_pkg_short_errors_supported = yes; then
41374 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41376 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41378 # Put the nasty error message in config.log where it belongs
41379 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41382 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41383 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41384 wxUSE_LIBGNOMEPRINT
="no"
41387 elif test $pkg_failed = untried
; then
41389 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41390 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41391 wxUSE_LIBGNOMEPRINT
="no"
41395 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41396 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41397 { echo "$as_me:$LINENO: result: yes" >&5
41398 echo "${ECHO_T}yes" >&6; }
41400 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41401 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41402 cat >>confdefs.h
<<\_ACEOF
41403 #define wxUSE_LIBGNOMEPRINT 1
41411 if test "$wxUSE_MIMETYPE" = "yes" ; then
41412 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41416 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41417 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41419 if test -n "$PKG_CONFIG"; then
41420 if test -n "$GNOMEVFS_CFLAGS"; then
41421 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41423 if test -n "$PKG_CONFIG" && \
41424 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41425 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428 (exit $ac_status); }; then
41429 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41437 if test -n "$PKG_CONFIG"; then
41438 if test -n "$GNOMEVFS_LIBS"; then
41439 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41441 if test -n "$PKG_CONFIG" && \
41442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41443 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; then
41447 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41458 if test $pkg_failed = yes; then
41460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41461 _pkg_short_errors_supported
=yes
41463 _pkg_short_errors_supported
=no
41465 if test $_pkg_short_errors_supported = yes; then
41466 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41468 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41470 # Put the nasty error message in config.log where it belongs
41471 echo "$GNOMEVFS_PKG_ERRORS" >&5
41474 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41475 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41476 wxUSE_LIBGNOMEVFS
="no"
41479 elif test $pkg_failed = untried
; then
41481 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41482 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41483 wxUSE_LIBGNOMEVFS
="no"
41487 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41488 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41489 { echo "$as_me:$LINENO: result: yes" >&5
41490 echo "${ECHO_T}yes" >&6; }
41492 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41493 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41494 cat >>confdefs.h
<<\_ACEOF
41495 #define wxUSE_LIBGNOMEVFS 1
41503 if test "$wxUSE_LIBHILDON" = "yes" ; then
41506 { echo "$as_me:$LINENO: checking for HILDON" >&5
41507 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41509 if test -n "$PKG_CONFIG"; then
41510 if test -n "$HILDON_CFLAGS"; then
41511 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41513 if test -n "$PKG_CONFIG" && \
41514 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41515 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); }; then
41519 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41527 if test -n "$PKG_CONFIG"; then
41528 if test -n "$HILDON_LIBS"; then
41529 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41531 if test -n "$PKG_CONFIG" && \
41532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41533 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; then
41537 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41548 if test $pkg_failed = yes; then
41550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41551 _pkg_short_errors_supported
=yes
41553 _pkg_short_errors_supported
=no
41555 if test $_pkg_short_errors_supported = yes; then
41556 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41558 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41560 # Put the nasty error message in config.log where it belongs
41561 echo "$HILDON_PKG_ERRORS" >&5
41564 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41565 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41566 wxUSE_LIBHILDON
="no"
41569 elif test $pkg_failed = untried
; then
41571 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41572 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41573 wxUSE_LIBHILDON
="no"
41577 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41578 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41579 { echo "$as_me:$LINENO: result: yes" >&5
41580 echo "${ECHO_T}yes" >&6; }
41582 EXTRALIBS_HILDON
="$HILDON_LIBS"
41583 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41584 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41585 cat >>confdefs.h
<<\_ACEOF
41586 #define wxUSE_LIBHILDON 1
41594 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41595 cat >>confdefs.h
<<\_ACEOF
41596 #define wxUSE_CMDLINE_PARSER 1
41601 if test "$wxUSE_STOPWATCH" = "yes"; then
41602 cat >>confdefs.h
<<\_ACEOF
41603 #define wxUSE_STOPWATCH 1
41608 if test "$wxUSE_DATETIME" = "yes"; then
41609 cat >>confdefs.h
<<\_ACEOF
41610 #define wxUSE_DATETIME 1
41615 if test "$wxUSE_FILE" = "yes"; then
41616 cat >>confdefs.h
<<\_ACEOF
41617 #define wxUSE_FILE 1
41622 if test "$wxUSE_FFILE" = "yes"; then
41623 cat >>confdefs.h
<<\_ACEOF
41624 #define wxUSE_FFILE 1
41629 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41630 if test "$wxUSE_STREAMS" != yes; then
41631 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41632 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41633 wxUSE_ARCHIVE_STREAMS
=no
41635 cat >>confdefs.h
<<\_ACEOF
41636 #define wxUSE_ARCHIVE_STREAMS 1
41642 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41643 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41645 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41646 elif test "$wxUSE_ZLIB" = "no"; then
41647 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41648 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41650 cat >>confdefs.h
<<\_ACEOF
41651 #define wxUSE_ZIPSTREAM 1
41657 if test "$wxUSE_TARSTREAM" = "yes"; then
41658 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41659 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41660 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41662 cat >>confdefs.h
<<\_ACEOF
41663 #define wxUSE_TARSTREAM 1
41669 if test "$wxUSE_FILESYSTEM" = "yes"; then
41670 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41671 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41672 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41673 wxUSE_FILESYSTEM
=no
41675 cat >>confdefs.h
<<\_ACEOF
41676 #define wxUSE_FILESYSTEM 1
41682 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41683 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41684 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41685 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41687 cat >>confdefs.h
<<\_ACEOF
41688 #define wxUSE_FS_ARCHIVE 1
41694 if test "$wxUSE_FS_ZIP" = "yes"; then
41695 if test "$wxUSE_FS_ARCHIVE" != yes; then
41696 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41697 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41699 cat >>confdefs.h
<<\_ACEOF
41700 #define wxUSE_FS_ZIP 1
41706 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41707 if test "$USE_UNIX" != 1; then
41708 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41709 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41710 wxUSE_ON_FATAL_EXCEPTION
=no
41712 cat >>confdefs.h
<<\_ACEOF
41713 #define wxUSE_ON_FATAL_EXCEPTION 1
41719 if test "$wxUSE_STACKWALKER" = "yes"; then
41720 cat >>confdefs.h
<<\_ACEOF
41721 #define wxUSE_STACKWALKER 1
41726 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41727 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41728 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41729 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41730 wxUSE_DEBUGREPORT
=no
41732 cat >>confdefs.h
<<\_ACEOF
41733 #define wxUSE_DEBUGREPORT 1
41736 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41742 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41743 cat >>confdefs.h
<<\_ACEOF
41744 #define wxUSE_SNGLINST_CHECKER 1
41749 if test "$wxUSE_BUSYINFO" = "yes"; then
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define wxUSE_BUSYINFO 1
41756 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41757 cat >>confdefs.h
<<\_ACEOF
41758 #define wxUSE_STD_IOSTREAM 1
41763 if test "$wxUSE_STD_STRING" = "yes"; then
41764 cat >>confdefs.h
<<\_ACEOF
41765 #define wxUSE_STD_STRING 1
41770 if test "$wxUSE_STDPATHS" = "yes"; then
41771 cat >>confdefs.h
<<\_ACEOF
41772 #define wxUSE_STDPATHS 1
41777 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41778 cat >>confdefs.h
<<\_ACEOF
41779 #define wxUSE_TEXTBUFFER 1
41784 if test "$wxUSE_TEXTFILE" = "yes"; then
41785 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41786 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41787 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41789 cat >>confdefs.h
<<\_ACEOF
41790 #define wxUSE_TEXTFILE 1
41796 if test "$wxUSE_CONFIG" = "yes" ; then
41797 if test "$wxUSE_TEXTFILE" != "yes"; then
41798 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41799 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41801 cat >>confdefs.h
<<\_ACEOF
41802 #define wxUSE_CONFIG 1
41805 cat >>confdefs.h
<<\_ACEOF
41806 #define wxUSE_CONFIG_NATIVE 1
41809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41813 if test "$wxUSE_INTL" = "yes" ; then
41814 if test "$wxUSE_FILE" != "yes"; then
41815 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41816 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41818 cat >>confdefs.h
<<\_ACEOF
41819 #define wxUSE_INTL 1
41822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41823 GUIDIST
="$GUIDIST INTL_DIST"
41827 if test "$wxUSE_LOG" = "yes"; then
41828 cat >>confdefs.h
<<\_ACEOF
41829 #define wxUSE_LOG 1
41833 if test "$wxUSE_LOGGUI" = "yes"; then
41834 cat >>confdefs.h
<<\_ACEOF
41835 #define wxUSE_LOGGUI 1
41840 if test "$wxUSE_LOGWINDOW" = "yes"; then
41841 cat >>confdefs.h
<<\_ACEOF
41842 #define wxUSE_LOGWINDOW 1
41847 if test "$wxUSE_LOGDIALOG" = "yes"; then
41848 cat >>confdefs.h
<<\_ACEOF
41849 #define wxUSE_LOG_DIALOG 1
41854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41857 if test "$wxUSE_LONGLONG" = "yes"; then
41858 cat >>confdefs.h
<<\_ACEOF
41859 #define wxUSE_LONGLONG 1
41864 if test "$wxUSE_GEOMETRY" = "yes"; then
41865 cat >>confdefs.h
<<\_ACEOF
41866 #define wxUSE_GEOMETRY 1
41871 if test "$wxUSE_STREAMS" = "yes" ; then
41872 cat >>confdefs.h
<<\_ACEOF
41873 #define wxUSE_STREAMS 1
41878 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41879 cat >>confdefs.h
<<\_ACEOF
41880 #define wxUSE_PRINTF_POS_PARAMS 1
41887 if test "$wxUSE_DATETIME" = "yes"; then
41889 for ac_func
in strptime
41891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41894 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41895 echo $ECHO_N "(cached) $ECHO_C" >&6
41897 cat >conftest.
$ac_ext <<_ACEOF
41900 cat confdefs.h
>>conftest.
$ac_ext
41901 cat >>conftest.
$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41905 #define $ac_func innocuous_$ac_func
41907 /* System header to define __stub macros and hopefully few prototypes,
41908 which can conflict with char $ac_func (); below.
41909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41910 <limits.h> exists even on freestanding compilers. */
41913 # include <limits.h>
41915 # include <assert.h>
41920 /* Override any GCC internal prototype to avoid an error.
41921 Use char because int might match the return type of a GCC
41922 builtin and then its argument prototype would still apply. */
41927 /* The GNU C library defines this for functions which it implements
41928 to always fail with ENOSYS. Some functions are actually named
41929 something starting with __ and the normal name is an alias. */
41930 #if defined __stub_$ac_func || defined __stub___$ac_func
41937 return $ac_func ();
41942 rm -f conftest.
$ac_objext conftest
$ac_exeext
41943 if { (ac_try
="$ac_link"
41944 case "(($ac_try" in
41945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41946 *) ac_try_echo=$ac_try;;
41948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41949 (eval "$ac_link") 2>conftest.er1
41951 grep -v '^ *+' conftest.er1 >conftest.err
41953 cat conftest.err >&5
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); } && {
41956 test -z "$ac_c_werror_flag" ||
41957 test ! -s conftest.err
41958 } && test -s conftest$ac_exeext &&
41959 $as_test_x conftest$ac_exeext; then
41960 eval "$as_ac_var=yes"
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41965 eval "$as_ac_var=no"
41968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41969 conftest$ac_exeext conftest.$ac_ext
41971 ac_res=`eval echo '${'$as_ac_var'}'`
41972 { echo "$as_me:$LINENO: result: $ac_res" >&5
41973 echo "${ECHO_T}$ac_res" >&6; }
41974 if test `eval echo '${'$as_ac_var'}'` = yes; then
41975 cat >>confdefs.h <<_ACEOF
41976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41982 if test "$ac_cv_func_strptime" = "yes"; then
41983 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
41984 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
41985 if test "${wx_cv_func_strptime_decl+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995 cat >conftest.$ac_ext <<_ACEOF
41998 cat confdefs.h >>conftest.$ac_ext
41999 cat >>conftest.$ac_ext <<_ACEOF
42000 /* end confdefs.h. */
42009 strptime("foo", "bar", &t);
42015 rm -f conftest.$ac_objext
42016 if { (ac_try="$ac_compile"
42017 case "(($ac_try" in
42018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42019 *) ac_try_echo
=$ac_try;;
42021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42022 (eval "$ac_compile") 2>conftest.er1
42024 grep -v '^ *+' conftest.er1
>conftest.err
42026 cat conftest.err
>&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } && {
42029 test -z "$ac_cxx_werror_flag" ||
42030 test ! -s conftest.err
42031 } && test -s conftest.
$ac_objext; then
42032 wx_cv_func_strptime_decl
=yes
42034 echo "$as_me: failed program was:" >&5
42035 sed 's/^/| /' conftest.
$ac_ext >&5
42037 wx_cv_func_strptime_decl
=no
42041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42043 ac_cpp
='$CPP $CPPFLAGS'
42044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42051 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42052 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42054 if test "$wx_cv_func_strptime_decl" = "yes"; then
42055 cat >>confdefs.h
<<\_ACEOF
42056 #define HAVE_STRPTIME_DECL 1
42061 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42062 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42063 if test "${wx_cv_var_timezone+set}" = set; then
42064 echo $ECHO_N "(cached) $ECHO_C" >&6
42068 ac_cpp
='$CXXCPP $CPPFLAGS'
42069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42073 cat >conftest.
$ac_ext <<_ACEOF
42076 cat confdefs.h
>>conftest.
$ac_ext
42077 cat >>conftest.
$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42093 rm -f conftest.
$ac_objext
42094 if { (ac_try
="$ac_compile"
42095 case "(($ac_try" in
42096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42097 *) ac_try_echo=$ac_try;;
42099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42100 (eval "$ac_compile") 2>conftest.er1
42102 grep -v '^ *+' conftest.er1 >conftest.err
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } && {
42107 test -z "$ac_cxx_werror_flag" ||
42108 test ! -s conftest.err
42109 } && test -s conftest.$ac_objext; then
42111 wx_cv_var_timezone=timezone
42114 echo "$as_me: failed program was:" >&5
42115 sed 's/^/| /' conftest.$ac_ext >&5
42118 cat >conftest.$ac_ext <<_ACEOF
42121 cat confdefs.h >>conftest.$ac_ext
42122 cat >>conftest.$ac_ext <<_ACEOF
42123 /* end confdefs.h. */
42138 rm -f conftest.$ac_objext
42139 if { (ac_try="$ac_compile"
42140 case "(($ac_try" in
42141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42142 *) ac_try_echo
=$ac_try;;
42144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42145 (eval "$ac_compile") 2>conftest.er1
42147 grep -v '^ *+' conftest.er1
>conftest.err
42149 cat conftest.err
>&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } && {
42152 test -z "$ac_cxx_werror_flag" ||
42153 test ! -s conftest.err
42154 } && test -s conftest.
$ac_objext; then
42156 wx_cv_var_timezone
=_timezone
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.
$ac_ext >&5
42163 cat >conftest.
$ac_ext <<_ACEOF
42166 cat confdefs.h
>>conftest.
$ac_ext
42167 cat >>conftest.
$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42183 rm -f conftest.
$ac_objext
42184 if { (ac_try
="$ac_compile"
42185 case "(($ac_try" in
42186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42187 *) ac_try_echo=$ac_try;;
42189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42190 (eval "$ac_compile") 2>conftest.er1
42192 grep -v '^ *+' conftest.er1 >conftest.err
42194 cat conftest.err >&5
42195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42196 (exit $ac_status); } && {
42197 test -z "$ac_cxx_werror_flag" ||
42198 test ! -s conftest.err
42199 } && test -s conftest.$ac_objext; then
42201 wx_cv_var_timezone=__timezone
42204 echo "$as_me: failed program was:" >&5
42205 sed 's/^/| /' conftest.$ac_ext >&5
42208 if test "$USE_DOS" = 0 ; then
42209 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42210 echo "$as_me: WARNING: no timezone variable" >&2;}
42216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42236 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42237 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42239 if test "x$wx_cv_var_timezone" != x ; then
42240 cat >>confdefs.h <<_ACEOF
42241 #define WX_TIMEZONE $wx_cv_var_timezone
42247 for ac_func in localtime
42249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42253 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 cat >conftest.$ac_ext <<_ACEOF
42258 cat confdefs.h >>conftest.$ac_ext
42259 cat >>conftest.$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42263 #define $ac_func innocuous_$ac_func
42265 /* System header to define __stub macros and hopefully few prototypes,
42266 which can conflict with char $ac_func (); below.
42267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42268 <limits.h> exists even on freestanding compilers. */
42271 # include <limits.h>
42273 # include <assert.h>
42278 /* Override any GCC internal prototype to avoid an error.
42279 Use char because int might match the return type of a GCC
42280 builtin and then its argument prototype would still apply. */
42285 /* The GNU C library defines this for functions which it implements
42286 to always fail with ENOSYS. Some functions are actually named
42287 something starting with __ and the normal name is an alias. */
42288 #if defined __stub_$ac_func || defined __stub___$ac_func
42295 return $ac_func ();
42300 rm -f conftest.$ac_objext conftest$ac_exeext
42301 if { (ac_try="$ac_link"
42302 case "(($ac_try" in
42303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42304 *) ac_try_echo
=$ac_try;;
42306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42307 (eval "$ac_link") 2>conftest.er1
42309 grep -v '^ *+' conftest.er1
>conftest.err
42311 cat conftest.err
>&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } && {
42314 test -z "$ac_c_werror_flag" ||
42315 test ! -s conftest.err
42316 } && test -s conftest
$ac_exeext &&
42317 $as_test_x conftest
$ac_exeext; then
42318 eval "$as_ac_var=yes"
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.
$ac_ext >&5
42323 eval "$as_ac_var=no"
42326 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42327 conftest
$ac_exeext conftest.
$ac_ext
42329 ac_res
=`eval echo '${'$as_ac_var'}'`
42330 { echo "$as_me:$LINENO: result: $ac_res" >&5
42331 echo "${ECHO_T}$ac_res" >&6; }
42332 if test `eval echo '${'$as_ac_var'}'` = yes; then
42333 cat >>confdefs.h
<<_ACEOF
42334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42341 if test "$ac_cv_func_localtime" = "yes"; then
42342 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42343 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42344 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42345 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 cat >conftest.
$ac_ext <<_ACEOF
42351 cat confdefs.h
>>conftest.
$ac_ext
42352 cat >>conftest.
$ac_ext <<_ACEOF
42353 /* end confdefs.h. */
42368 rm -f conftest.
$ac_objext
42369 if { (ac_try
="$ac_compile"
42370 case "(($ac_try" in
42371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_compile") 2>conftest.er1
42377 grep -v '^ *+' conftest.er1 >conftest.err
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest.$ac_objext; then
42386 wx_cv_struct_tm_has_gmtoff=yes
42389 echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42392 wx_cv_struct_tm_has_gmtoff=no
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42400 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42403 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42404 cat >>confdefs.h <<\_ACEOF
42405 #define WX_GMTOFF_IN_TM 1
42412 for ac_func in gettimeofday ftime
42414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42417 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42418 echo $ECHO_N "(cached) $ECHO_C" >&6
42420 cat >conftest.$ac_ext <<_ACEOF
42423 cat confdefs.h >>conftest.$ac_ext
42424 cat >>conftest.$ac_ext <<_ACEOF
42425 /* end confdefs.h. */
42426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42428 #define $ac_func innocuous_$ac_func
42430 /* System header to define __stub macros and hopefully few prototypes,
42431 which can conflict with char $ac_func (); below.
42432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42433 <limits.h> exists even on freestanding compilers. */
42436 # include <limits.h>
42438 # include <assert.h>
42443 /* Override any GCC internal prototype to avoid an error.
42444 Use char because int might match the return type of a GCC
42445 builtin and then its argument prototype would still apply. */
42450 /* The GNU C library defines this for functions which it implements
42451 to always fail with ENOSYS. Some functions are actually named
42452 something starting with __ and the normal name is an alias. */
42453 #if defined __stub_$ac_func || defined __stub___$ac_func
42460 return $ac_func ();
42465 rm -f conftest.$ac_objext conftest$ac_exeext
42466 if { (ac_try="$ac_link"
42467 case "(($ac_try" in
42468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42469 *) ac_try_echo
=$ac_try;;
42471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42472 (eval "$ac_link") 2>conftest.er1
42474 grep -v '^ *+' conftest.er1
>conftest.err
42476 cat conftest.err
>&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } && {
42479 test -z "$ac_c_werror_flag" ||
42480 test ! -s conftest.err
42481 } && test -s conftest
$ac_exeext &&
42482 $as_test_x conftest
$ac_exeext; then
42483 eval "$as_ac_var=yes"
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.
$ac_ext >&5
42488 eval "$as_ac_var=no"
42491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42492 conftest
$ac_exeext conftest.
$ac_ext
42494 ac_res
=`eval echo '${'$as_ac_var'}'`
42495 { echo "$as_me:$LINENO: result: $ac_res" >&5
42496 echo "${ECHO_T}$ac_res" >&6; }
42497 if test `eval echo '${'$as_ac_var'}'` = yes; then
42498 cat >>confdefs.h
<<_ACEOF
42499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42506 if test "$ac_cv_func_gettimeofday" = "yes"; then
42507 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42508 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42509 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42510 echo $ECHO_N "(cached) $ECHO_C" >&6
42513 cat >conftest.
$ac_ext <<_ACEOF
42516 cat confdefs.h
>>conftest.
$ac_ext
42517 cat >>conftest.
$ac_ext <<_ACEOF
42518 /* end confdefs.h. */
42520 #include <sys/time.h>
42521 #include <unistd.h>
42528 gettimeofday(&tv, NULL);
42534 rm -f conftest.
$ac_objext
42535 if { (ac_try
="$ac_compile"
42536 case "(($ac_try" in
42537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_compile") 2>conftest.er1
42543 grep -v '^ *+' conftest.er1 >conftest.err
42545 cat conftest.err >&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); } && {
42548 test -z "$ac_c_werror_flag" ||
42549 test ! -s conftest.err
42550 } && test -s conftest.$ac_objext; then
42551 wx_cv_func_gettimeofday_has_2_args=yes
42553 echo "$as_me: failed program was:" >&5
42554 sed 's/^/| /' conftest.$ac_ext >&5
42556 cat >conftest.$ac_ext <<_ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42563 #include <sys/time.h>
42564 #include <unistd.h>
42577 rm -f conftest.$ac_objext
42578 if { (ac_try="$ac_compile"
42579 case "(($ac_try" in
42580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42581 *) ac_try_echo
=$ac_try;;
42583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42584 (eval "$ac_compile") 2>conftest.er1
42586 grep -v '^ *+' conftest.er1
>conftest.err
42588 cat conftest.err
>&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } && {
42591 test -z "$ac_c_werror_flag" ||
42592 test ! -s conftest.err
42593 } && test -s conftest.
$ac_objext; then
42594 wx_cv_func_gettimeofday_has_2_args
=no
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.
$ac_ext >&5
42600 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42601 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42602 wx_cv_func_gettimeofday_has_2_args
=unknown
42607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42614 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42615 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42617 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42618 cat >>confdefs.h
<<\_ACEOF
42619 #define WX_GETTIMEOFDAY_NO_TZ 1
42625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42629 if test "$wxUSE_SOCKETS" = "yes"; then
42630 if test "$wxUSE_MGL" = "1"; then
42631 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42632 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42637 if test "$wxUSE_SOCKETS" = "yes"; then
42638 if test "$TOOLKIT" != "MSW"; then
42639 { echo "$as_me:$LINENO: checking for socket" >&5
42640 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42641 if test "${ac_cv_func_socket+set}" = set; then
42642 echo $ECHO_N "(cached) $ECHO_C" >&6
42644 cat >conftest.
$ac_ext <<_ACEOF
42647 cat confdefs.h
>>conftest.
$ac_ext
42648 cat >>conftest.
$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42650 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42652 #define socket innocuous_socket
42654 /* System header to define __stub macros and hopefully few prototypes,
42655 which can conflict with char socket (); below.
42656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42657 <limits.h> exists even on freestanding compilers. */
42660 # include <limits.h>
42662 # include <assert.h>
42667 /* Override any GCC internal prototype to avoid an error.
42668 Use char because int might match the return type of a GCC
42669 builtin and then its argument prototype would still apply. */
42674 /* The GNU C library defines this for functions which it implements
42675 to always fail with ENOSYS. Some functions are actually named
42676 something starting with __ and the normal name is an alias. */
42677 #if defined __stub_socket || defined __stub___socket
42689 rm -f conftest.
$ac_objext conftest
$ac_exeext
42690 if { (ac_try
="$ac_link"
42691 case "(($ac_try" in
42692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42693 *) ac_try_echo=$ac_try;;
42695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42696 (eval "$ac_link") 2>conftest.er1
42698 grep -v '^ *+' conftest.er1 >conftest.err
42700 cat conftest.err >&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } && {
42703 test -z "$ac_c_werror_flag" ||
42704 test ! -s conftest.err
42705 } && test -s conftest$ac_exeext &&
42706 $as_test_x conftest$ac_exeext; then
42707 ac_cv_func_socket=yes
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42712 ac_cv_func_socket=no
42715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42716 conftest$ac_exeext conftest.$ac_ext
42718 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42719 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42720 if test $ac_cv_func_socket = yes; then
42724 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42725 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42726 if test "${ac_cv_lib_socket_socket+set}" = set; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 ac_check_lib_save_LIBS=$LIBS
42730 LIBS="-lsocket $LIBS"
42731 cat >conftest.$ac_ext <<_ACEOF
42734 cat confdefs.h >>conftest.$ac_ext
42735 cat >>conftest.$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42738 /* Override any GCC internal prototype to avoid an error.
42739 Use char because int might match the return type of a GCC
42740 builtin and then its argument prototype would still apply. */
42753 rm -f conftest.$ac_objext conftest$ac_exeext
42754 if { (ac_try="$ac_link"
42755 case "(($ac_try" in
42756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42757 *) ac_try_echo
=$ac_try;;
42759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42760 (eval "$ac_link") 2>conftest.er1
42762 grep -v '^ *+' conftest.er1
>conftest.err
42764 cat conftest.err
>&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } && {
42767 test -z "$ac_c_werror_flag" ||
42768 test ! -s conftest.err
42769 } && test -s conftest
$ac_exeext &&
42770 $as_test_x conftest
$ac_exeext; then
42771 ac_cv_lib_socket_socket
=yes
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.
$ac_ext >&5
42776 ac_cv_lib_socket_socket
=no
42779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42780 conftest
$ac_exeext conftest.
$ac_ext
42781 LIBS
=$ac_check_lib_save_LIBS
42783 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42784 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42785 if test $ac_cv_lib_socket_socket = yes; then
42786 if test "$INET_LINK" != " -lsocket"; then
42787 INET_LINK
="$INET_LINK -lsocket"
42791 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42792 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42805 if test "$wxUSE_SOCKETS" = "yes" ; then
42806 if test "$TOOLKIT" != "MSW"; then
42807 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42808 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42809 if test "${wx_cv_type_getsockname3+set}" = set; then
42810 echo $ECHO_N "(cached) $ECHO_C" >&6
42814 ac_cpp
='$CXXCPP $CPPFLAGS'
42815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42819 cat >conftest.
$ac_ext <<_ACEOF
42822 cat confdefs.h
>>conftest.
$ac_ext
42823 cat >>conftest.
$ac_ext <<_ACEOF
42824 /* end confdefs.h. */
42826 #include <sys/types.h>
42827 #include <sys/socket.h>
42834 getsockname(0, 0, &len);
42840 rm -f conftest.
$ac_objext
42841 if { (ac_try
="$ac_compile"
42842 case "(($ac_try" in
42843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42844 *) ac_try_echo=$ac_try;;
42846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42847 (eval "$ac_compile") 2>conftest.er1
42849 grep -v '^ *+' conftest.er1 >conftest.err
42851 cat conftest.err >&5
42852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853 (exit $ac_status); } && {
42854 test -z "$ac_cxx_werror_flag" ||
42855 test ! -s conftest.err
42856 } && test -s conftest.$ac_objext; then
42857 wx_cv_type_getsockname3=socklen_t
42859 echo "$as_me: failed program was:" >&5
42860 sed 's/^/| /' conftest.$ac_ext >&5
42863 CFLAGS_OLD="$CFLAGS"
42864 if test "$GCC" = yes ; then
42865 CFLAGS="-Werror $CFLAGS"
42868 cat >conftest.$ac_ext <<_ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42875 #include <sys/types.h>
42876 #include <sys/socket.h>
42883 getsockname(0, 0, &len);
42889 rm -f conftest.$ac_objext
42890 if { (ac_try="$ac_compile"
42891 case "(($ac_try" in
42892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42893 *) ac_try_echo
=$ac_try;;
42895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42896 (eval "$ac_compile") 2>conftest.er1
42898 grep -v '^ *+' conftest.er1
>conftest.err
42900 cat conftest.err
>&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } && {
42903 test -z "$ac_cxx_werror_flag" ||
42904 test ! -s conftest.err
42905 } && test -s conftest.
$ac_objext; then
42906 wx_cv_type_getsockname3
=size_t
42908 echo "$as_me: failed program was:" >&5
42909 sed 's/^/| /' conftest.
$ac_ext >&5
42911 cat >conftest.
$ac_ext <<_ACEOF
42914 cat confdefs.h
>>conftest.
$ac_ext
42915 cat >>conftest.
$ac_ext <<_ACEOF
42916 /* end confdefs.h. */
42918 #include <sys/types.h>
42919 #include <sys/socket.h>
42926 getsockname(0, 0, &len);
42932 rm -f conftest.
$ac_objext
42933 if { (ac_try
="$ac_compile"
42934 case "(($ac_try" in
42935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42936 *) ac_try_echo=$ac_try;;
42938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42939 (eval "$ac_compile") 2>conftest.er1
42941 grep -v '^ *+' conftest.er1 >conftest.err
42943 cat conftest.err >&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); } && {
42946 test -z "$ac_cxx_werror_flag" ||
42947 test ! -s conftest.err
42948 } && test -s conftest.$ac_objext; then
42949 wx_cv_type_getsockname3=int
42951 echo "$as_me: failed program was:" >&5
42952 sed 's/^/| /' conftest.$ac_ext >&5
42954 wx_cv_type_getsockname3=unknown
42958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42964 CFLAGS="$CFLAGS_OLD"
42969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971 ac_cpp='$CPP $CPPFLAGS'
42972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42978 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42979 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
42981 if test "$wx_cv_type_getsockname3" = "unknown"; then
42983 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42984 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42986 cat >>confdefs.h <<_ACEOF
42987 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42991 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42992 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
42993 if test "${wx_cv_type_getsockopt5+set}" = set; then
42994 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 ac_cpp='$CXXCPP $CPPFLAGS'
42999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43003 cat >conftest.$ac_ext <<_ACEOF
43006 cat confdefs.h >>conftest.$ac_ext
43007 cat >>conftest.$ac_ext <<_ACEOF
43008 /* end confdefs.h. */
43010 #include <sys/types.h>
43011 #include <sys/socket.h>
43018 getsockopt(0, 0, 0, 0, &len);
43024 rm -f conftest.$ac_objext
43025 if { (ac_try="$ac_compile"
43026 case "(($ac_try" in
43027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43028 *) ac_try_echo
=$ac_try;;
43030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43031 (eval "$ac_compile") 2>conftest.er1
43033 grep -v '^ *+' conftest.er1
>conftest.err
43035 cat conftest.err
>&5
43036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037 (exit $ac_status); } && {
43038 test -z "$ac_cxx_werror_flag" ||
43039 test ! -s conftest.err
43040 } && test -s conftest.
$ac_objext; then
43041 wx_cv_type_getsockopt5
=socklen_t
43043 echo "$as_me: failed program was:" >&5
43044 sed 's/^/| /' conftest.
$ac_ext >&5
43047 cat >conftest.
$ac_ext <<_ACEOF
43050 cat confdefs.h
>>conftest.
$ac_ext
43051 cat >>conftest.
$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43054 #include <sys/types.h>
43055 #include <sys/socket.h>
43062 getsockopt(0, 0, 0, 0, &len);
43068 rm -f conftest.
$ac_objext
43069 if { (ac_try
="$ac_compile"
43070 case "(($ac_try" in
43071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43072 *) ac_try_echo=$ac_try;;
43074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43075 (eval "$ac_compile") 2>conftest.er1
43077 grep -v '^ *+' conftest.er1 >conftest.err
43079 cat conftest.err >&5
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); } && {
43082 test -z "$ac_cxx_werror_flag" ||
43083 test ! -s conftest.err
43084 } && test -s conftest.$ac_objext; then
43085 wx_cv_type_getsockopt5=size_t
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43090 cat >conftest.$ac_ext <<_ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43097 #include <sys/types.h>
43098 #include <sys/socket.h>
43105 getsockopt(0, 0, 0, 0, &len);
43111 rm -f conftest.$ac_objext
43112 if { (ac_try="$ac_compile"
43113 case "(($ac_try" in
43114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43115 *) ac_try_echo
=$ac_try;;
43117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43118 (eval "$ac_compile") 2>conftest.er1
43120 grep -v '^ *+' conftest.er1
>conftest.err
43122 cat conftest.err
>&5
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); } && {
43125 test -z "$ac_cxx_werror_flag" ||
43126 test ! -s conftest.err
43127 } && test -s conftest.
$ac_objext; then
43128 wx_cv_type_getsockopt5
=int
43130 echo "$as_me: failed program was:" >&5
43131 sed 's/^/| /' conftest.
$ac_ext >&5
43133 wx_cv_type_getsockopt5
=unknown
43137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43148 ac_cpp
='$CPP $CPPFLAGS'
43149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43155 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43156 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43158 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43160 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43161 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43163 cat >>confdefs.h
<<_ACEOF
43164 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43171 if test "$wxUSE_SOCKETS" = "yes" ; then
43172 cat >>confdefs.h
<<\_ACEOF
43173 #define wxUSE_SOCKETS 1
43176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43179 if test "$wxUSE_PROTOCOL" = "yes"; then
43180 if test "$wxUSE_SOCKETS" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43182 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43187 if test "$wxUSE_PROTOCOL" = "yes"; then
43188 cat >>confdefs.h
<<\_ACEOF
43189 #define wxUSE_PROTOCOL 1
43193 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43194 cat >>confdefs.h
<<\_ACEOF
43195 #define wxUSE_PROTOCOL_HTTP 1
43199 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43200 cat >>confdefs.h
<<\_ACEOF
43201 #define wxUSE_PROTOCOL_FTP 1
43205 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define wxUSE_PROTOCOL_FILE 1
43212 if test "$wxUSE_FS_INET" = "yes"; then
43213 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43214 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43219 if test "$wxUSE_URL" = "yes"; then
43220 if test "$wxUSE_PROTOCOL" != "yes"; then
43221 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43222 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43225 if test "$wxUSE_URL" = "yes"; then
43226 cat >>confdefs.h
<<\_ACEOF
43227 #define wxUSE_URL 1
43233 if test "$wxUSE_VARIANT" = "yes"; then
43234 cat >>confdefs.h
<<\_ACEOF
43235 #define wxUSE_VARIANT 1
43240 if test "$wxUSE_FS_INET" = "yes"; then
43241 cat >>confdefs.h
<<\_ACEOF
43242 #define wxUSE_FS_INET 1
43248 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43251 if test "$TOOLKIT" = "MSW"; then
43254 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43255 if test "$USE_DARWIN" = 1; then
43256 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43257 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43259 ac_cpp
='$CXXCPP $CPPFLAGS'
43260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43264 cat >conftest.
$ac_ext <<_ACEOF
43267 cat confdefs.h
>>conftest.
$ac_ext
43268 cat >>conftest.
$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43270 #include <IOKit/hid/IOHIDLib.h>
43274 IOHIDQueueInterface *qi = NULL;
43275 IOHIDCallbackFunction cb = NULL;
43276 qi->setEventCallout(NULL, cb, NULL, NULL);
43281 rm -f conftest.
$ac_objext
43282 if { (ac_try
="$ac_compile"
43283 case "(($ac_try" in
43284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43285 *) ac_try_echo=$ac_try;;
43287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43288 (eval "$ac_compile") 2>conftest.er1
43290 grep -v '^ *+' conftest.er1 >conftest.err
43292 cat conftest.err >&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } && {
43295 test -z "$ac_cxx_werror_flag" ||
43296 test ! -s conftest.err
43297 } && test -s conftest.$ac_objext; then
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43309 ac_cpp='$CPP $CPPFLAGS'
43310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43315 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43319 if test "$wxUSE_MGL" != "1"; then
43320 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43321 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43322 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43323 echo $ECHO_N "(cached) $ECHO_C" >&6
43325 cat >conftest.$ac_ext <<_ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 $ac_includes_default
43333 #include <linux/joystick.h>
43335 rm -f conftest.$ac_objext
43336 if { (ac_try="$ac_compile"
43337 case "(($ac_try" in
43338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43339 *) ac_try_echo
=$ac_try;;
43341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43342 (eval "$ac_compile") 2>conftest.er1
43344 grep -v '^ *+' conftest.er1
>conftest.err
43346 cat conftest.err
>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); } && {
43349 test -z "$ac_c_werror_flag" ||
43350 test ! -s conftest.err
43351 } && test -s conftest.
$ac_objext; then
43352 ac_cv_header_linux_joystick_h
=yes
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.
$ac_ext >&5
43357 ac_cv_header_linux_joystick_h
=no
43360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43362 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43363 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43364 if test $ac_cv_header_linux_joystick_h = yes; then
43372 if test "$wxUSE_JOYSTICK" = "yes"; then
43373 cat >>confdefs.h
<<\_ACEOF
43374 #define wxUSE_JOYSTICK 1
43377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43379 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43380 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43386 if test "$wxUSE_FONTMAP" = "yes" ; then
43387 cat >>confdefs.h
<<\_ACEOF
43388 #define wxUSE_FONTMAP 1
43393 if test "$wxUSE_UNICODE" = "yes" ; then
43394 cat >>confdefs.h
<<\_ACEOF
43395 #define wxUSE_UNICODE 1
43399 if test "$USE_WIN32" != 1; then
43400 wxUSE_UNICODE_MSLU
=no
43403 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43404 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43405 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43406 if test "${ac_cv_lib_unicows_main+set}" = set; then
43407 echo $ECHO_N "(cached) $ECHO_C" >&6
43409 ac_check_lib_save_LIBS
=$LIBS
43410 LIBS
="-lunicows $LIBS"
43411 cat >conftest.
$ac_ext <<_ACEOF
43414 cat confdefs.h
>>conftest.
$ac_ext
43415 cat >>conftest.
$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43427 rm -f conftest.
$ac_objext conftest
$ac_exeext
43428 if { (ac_try
="$ac_link"
43429 case "(($ac_try" in
43430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43431 *) ac_try_echo=$ac_try;;
43433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43434 (eval "$ac_link") 2>conftest.er1
43436 grep -v '^ *+' conftest.er1 >conftest.err
43438 cat conftest.err >&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); } && {
43441 test -z "$ac_c_werror_flag" ||
43442 test ! -s conftest.err
43443 } && test -s conftest$ac_exeext &&
43444 $as_test_x conftest$ac_exeext; then
43445 ac_cv_lib_unicows_main=yes
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43450 ac_cv_lib_unicows_main=no
43453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43454 conftest$ac_exeext conftest.$ac_ext
43455 LIBS=$ac_check_lib_save_LIBS
43457 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43458 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43459 if test $ac_cv_lib_unicows_main = yes; then
43461 cat >>confdefs.h <<\_ACEOF
43462 #define wxUSE_UNICODE_MSLU 1
43468 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43469 Applications will only run on Windows NT/2000/XP!" >&5
43470 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43471 Applications will only run on Windows NT/2000/XP!" >&2;}
43472 wxUSE_UNICODE_MSLU=no
43479 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_EXPERIMENTAL_PRINTF 1
43487 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_POSTSCRIPT 1
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_NORMALIZED_PS_FONTS 1
43505 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43506 cat >>confdefs.h <<\_ACEOF
43507 #define wxUSE_CONSTRAINTS 1
43510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43513 if test "$wxUSE_MDI" = "yes"; then
43514 cat >>confdefs.h <<\_ACEOF
43515 #define wxUSE_MDI 1
43519 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_MDI_ARCHITECTURE 1
43524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43528 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43529 cat >>confdefs.h <<\_ACEOF
43530 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43534 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43539 if test "$wxUSE_HELP" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_HELP 1
43544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43546 if test "$wxUSE_MSW" = 1; then
43547 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43548 cat >>confdefs.h <<\_ACEOF
43549 #define wxUSE_MS_HTML_HELP 1
43555 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43556 if test "$wxUSE_HTML" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_WXHTML_HELP 1
43562 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43563 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43564 wxUSE_WXHTML_HELP=no
43569 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43570 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43571 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43572 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_PRINTING_ARCHITECTURE 1
43579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43584 if test "$wxUSE_METAFILE" = "yes"; then
43585 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43586 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43587 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43593 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43594 -o "$wxUSE_CLIPBOARD" = "yes" \
43595 -o "$wxUSE_OLE" = "yes" \
43596 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43597 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43598 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43599 if test "${ac_cv_header_ole2_h+set}" = set; then
43600 echo $ECHO_N "(cached) $ECHO_C" >&6
43602 cat >conftest.$ac_ext <<_ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43612 rm -f conftest.$ac_objext
43613 if { (ac_try="$ac_compile"
43614 case "(($ac_try" in
43615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43616 *) ac_try_echo
=$ac_try;;
43618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43619 (eval "$ac_compile") 2>conftest.er1
43621 grep -v '^ *+' conftest.er1
>conftest.err
43623 cat conftest.err
>&5
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); } && {
43626 test -z "$ac_c_werror_flag" ||
43627 test ! -s conftest.err
43628 } && test -s conftest.
$ac_objext; then
43629 ac_cv_header_ole2_h
=yes
43631 echo "$as_me: failed program was:" >&5
43632 sed 's/^/| /' conftest.
$ac_ext >&5
43634 ac_cv_header_ole2_h
=no
43637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43639 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43640 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43644 if test "$ac_cv_header_ole2_h" = "yes" ; then
43645 if test "$GCC" = yes ; then
43646 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43647 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43648 cat >conftest.
$ac_ext <<_ACEOF
43651 cat confdefs.h
>>conftest.
$ac_ext
43652 cat >>conftest.
$ac_ext <<_ACEOF
43653 /* end confdefs.h. */
43654 #include <windows.h>
43664 rm -f conftest.
$ac_objext
43665 if { (ac_try
="$ac_compile"
43666 case "(($ac_try" in
43667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43668 *) ac_try_echo=$ac_try;;
43670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43671 (eval "$ac_compile") 2>conftest.er1
43673 grep -v '^ *+' conftest.er1 >conftest.err
43675 cat conftest.err >&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && {
43678 test -z "$ac_c_werror_flag" ||
43679 test ! -s conftest.err
43680 } && test -s conftest.$ac_objext; then
43681 { echo "$as_me:$LINENO: result: no" >&5
43682 echo "${ECHO_T}no" >&6; }
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43687 { echo "$as_me:$LINENO: result: yes" >&5
43688 echo "${ECHO_T}yes" >&6; }
43689 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43693 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43694 if test "$wxUSE_OLE" = "yes" ; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_OLE 1
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_OLE_AUTOMATION 1
43703 cat >>confdefs.h <<\_ACEOF
43704 #define wxUSE_ACTIVEX 1
43707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43711 if test "$wxUSE_DATAOBJ" = "yes" ; then
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_DATAOBJ 1
43718 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43719 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43722 wxUSE_DRAG_AND_DROP=no
43727 if test "$wxUSE_METAFILE" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_METAFILE 1
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_ENH_METAFILE 1
43740 if test "$wxUSE_IPC" = "yes"; then
43741 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43742 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43743 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43747 if test "$wxUSE_IPC" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_IPC 1
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43756 if test "$wxUSE_DATAOBJ" = "yes"; then
43757 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43758 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43759 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_DATAOBJ 1
43768 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43769 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43771 wxUSE_DRAG_AND_DROP=no
43774 if test "$wxUSE_CLIPBOARD" = "yes"; then
43775 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43776 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43777 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43781 if test "$wxUSE_CLIPBOARD" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_CLIPBOARD 1
43789 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43790 if test "$wxUSE_GTK" = 1; then
43791 if test "$WXGTK12" != 1; then
43792 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43793 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43794 wxUSE_DRAG_AND_DROP=no
43798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43799 "$wxUSE_DFB" = 1; then
43800 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43801 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43802 wxUSE_DRAG_AND_DROP=no
43805 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define wxUSE_DRAG_AND_DROP 1
43814 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43818 if test "$wxUSE_SPLINES" = "yes" ; then
43819 cat >>confdefs.h <<\_ACEOF
43820 #define wxUSE_SPLINES 1
43825 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_MOUSEWHEEL 1
43834 if test "$wxUSE_CONTROLS" = "yes"; then
43838 if test "$wxUSE_ACCEL" = "yes"; then
43839 cat >>confdefs.h <<\_ACEOF
43840 #define wxUSE_ACCEL 1
43846 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43847 cat >>confdefs.h <<\_ACEOF
43848 #define wxUSE_ANIMATIONCTRL 1
43852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43855 if test "$wxUSE_BUTTON" = "yes"; then
43856 cat >>confdefs.h <<\_ACEOF
43857 #define wxUSE_BUTTON 1
43863 if test "$wxUSE_BMPBUTTON" = "yes"; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_BMPBUTTON 1
43871 if test "$wxUSE_CALCTRL" = "yes"; then
43872 cat >>confdefs.h <<\_ACEOF
43873 #define wxUSE_CALENDARCTRL 1
43877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43880 if test "$wxUSE_CARET" = "yes"; then
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_CARET 1
43886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43889 if test "$wxUSE_COLLPANE" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_COLLPANE 1
43895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43898 if test "$wxUSE_COMBOBOX" = "yes"; then
43899 cat >>confdefs.h <<\_ACEOF
43900 #define wxUSE_COMBOBOX 1
43906 if test "$wxUSE_COMBOCTRL" = "yes"; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_COMBOCTRL 1
43914 if test "$wxUSE_CHOICE" = "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_CHOICE 1
43922 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_CHOICEBOOK 1
43930 if test "$wxUSE_CHECKBOX" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_CHECKBOX 1
43938 if test "$wxUSE_CHECKLST" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_CHECKLISTBOX 1
43944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43947 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43948 cat >>confdefs.h <<\_ACEOF
43949 #define wxUSE_COLOURPICKERCTRL 1
43955 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43956 cat >>confdefs.h <<\_ACEOF
43957 #define wxUSE_DATEPICKCTRL 1
43963 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_DIRPICKERCTRL 1
43971 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_FILEPICKERCTRL 1
43979 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_FONTPICKERCTRL 1
43987 if test "$wxUSE_DISPLAY" = "yes"; then
43988 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43989 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43990 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_DISPLAY 1
43997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44001 if test "$wxUSE_DETECT_SM" = "yes"; then
44002 cat >>confdefs.h <<\_ACEOF
44003 #define wxUSE_DETECT_SM 1
44008 if test "$wxUSE_GAUGE" = "yes"; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_GAUGE 1
44016 if test "$wxUSE_GRID" = "yes"; then
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_GRID 1
44022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44025 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44026 cat >>confdefs.h <<\_ACEOF
44027 #define wxUSE_HYPERLINKCTRL 1
44033 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_BITMAPCOMBOBOX 1
44041 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_DATAVIEWCTRL 1
44047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44050 if test "$wxUSE_IMAGLIST" = "yes"; then
44051 cat >>confdefs.h <<\_ACEOF
44052 #define wxUSE_IMAGLIST 1
44057 if test "$wxUSE_LISTBOOK" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define wxUSE_LISTBOOK 1
44065 if test "$wxUSE_LISTBOX" = "yes"; then
44066 cat >>confdefs.h <<\_ACEOF
44067 #define wxUSE_LISTBOX 1
44071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44074 if test "$wxUSE_LISTCTRL" = "yes"; then
44075 if test "$wxUSE_IMAGLIST" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_LISTCTRL 1
44081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44083 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44084 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44088 if test "$wxUSE_NOTEBOOK" = "yes"; then
44089 cat >>confdefs.h <<\_ACEOF
44090 #define wxUSE_NOTEBOOK 1
44094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44097 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44098 cat >>confdefs.h <<\_ACEOF
44099 #define wxUSE_ODCOMBOBOX 1
44103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44107 if test "$wxUSE_RADIOBOX" = "yes"; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_RADIOBOX 1
44115 if test "$wxUSE_RADIOBTN" = "yes"; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define wxUSE_RADIOBTN 1
44123 if test "$wxUSE_SASH" = "yes"; then
44124 cat >>confdefs.h <<\_ACEOF
44125 #define wxUSE_SASH 1
44128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44131 if test "$wxUSE_SCROLLBAR" = "yes"; then
44132 cat >>confdefs.h <<\_ACEOF
44133 #define wxUSE_SCROLLBAR 1
44137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44140 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44141 cat >>confdefs.h <<\_ACEOF
44142 #define wxUSE_SEARCHCTRL 1
44148 if test "$wxUSE_SLIDER" = "yes"; then
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_SLIDER 1
44156 if test "$wxUSE_SPINBTN" = "yes"; then
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_SPINBTN 1
44164 if test "$wxUSE_SPINCTRL" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_SPINCTRL 1
44172 if test "$wxUSE_SPLITTER" = "yes"; then
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_SPLITTER 1
44177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44180 if test "$wxUSE_STATBMP" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_STATBMP 1
44188 if test "$wxUSE_STATBOX" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_STATBOX 1
44196 if test "$wxUSE_STATTEXT" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_STATTEXT 1
44204 if test "$wxUSE_STATLINE" = "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define wxUSE_STATLINE 1
44212 if test "$wxUSE_STATUSBAR" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_NATIVE_STATUSBAR 1
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_STATUSBAR 1
44223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44226 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_TAB_DIALOG 1
44233 if test "$wxUSE_TEXTCTRL" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_TEXTCTRL 1
44239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44242 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44243 if test "$wxUSE_COCOA" = 1 ; then
44244 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44245 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44249 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_TOGGLEBTN 1
44258 if test "$wxUSE_TOOLBAR" = "yes"; then
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_TOOLBAR 1
44265 if test "$wxUSE_UNIVERSAL" = "yes"; then
44266 wxUSE_TOOLBAR_NATIVE="no"
44268 wxUSE_TOOLBAR_NATIVE="yes"
44269 cat >>confdefs.h <<\_ACEOF
44270 #define wxUSE_TOOLBAR_NATIVE 1
44275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44278 if test "$wxUSE_TOOLTIPS" = "yes"; then
44279 if test "$wxUSE_MOTIF" = 1; then
44280 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44281 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44283 if test "$wxUSE_UNIVERSAL" = "yes"; then
44284 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44285 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_TOOLTIPS 1
44295 if test "$wxUSE_TREEBOOK" = "yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_TREEBOOK 1
44303 if test "$wxUSE_TOOLBOOK" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_TOOLBOOK 1
44311 if test "$wxUSE_TREECTRL" = "yes"; then
44312 if test "$wxUSE_IMAGLIST" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_TREECTRL 1
44318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44320 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44321 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44325 if test "$wxUSE_POPUPWIN" = "yes"; then
44326 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44327 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44328 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44330 if test "$wxUSE_PM" = 1; then
44331 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44332 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_POPUPWIN 1
44338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44345 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44346 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44347 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44348 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44350 cat >>confdefs.h <<\_ACEOF
44351 #define wxUSE_DIALUP_MANAGER 1
44354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44358 if test "$wxUSE_TIPWINDOW" = "yes"; then
44359 if test "$wxUSE_PM" = 1; then
44360 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44361 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_TIPWINDOW 1
44370 if test "$USES_CONTROLS" = 1; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_CONTROLS 1
44378 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_ACCESSIBILITY 1
44383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44386 if test "$wxUSE_DC_CACHEING" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_DC_CACHEING 1
44393 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_DRAGIMAGE 1
44398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44401 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44402 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44403 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44404 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44406 cat >>confdefs.h <<\_ACEOF
44407 #define wxUSE_EXCEPTIONS 1
44410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44415 if test "$wxUSE_HTML" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_HTML 1
44421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44422 if test "$wxUSE_MAC" = 1; then
44423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44426 if test "$wxUSE_WEBKIT" = "yes"; then
44427 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44428 old_CPPFLAGS="$CPPFLAGS"
44429 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44430 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44431 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44432 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44433 echo $ECHO_N "(cached) $ECHO_C" >&6
44435 cat >conftest.$ac_ext <<_ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44442 #include <Carbon/Carbon.h>
44443 #include <WebKit/WebKit.h>
44446 #include <WebKit/HIWebView.h>
44448 rm -f conftest.$ac_objext
44449 if { (ac_try="$ac_compile"
44450 case "(($ac_try" in
44451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44452 *) ac_try_echo
=$ac_try;;
44454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44455 (eval "$ac_compile") 2>conftest.er1
44457 grep -v '^ *+' conftest.er1
>conftest.err
44459 cat conftest.err
>&5
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); } && {
44462 test -z "$ac_c_werror_flag" ||
44463 test ! -s conftest.err
44464 } && test -s conftest.
$ac_objext; then
44465 ac_cv_header_WebKit_HIWebView_h
=yes
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.
$ac_ext >&5
44470 ac_cv_header_WebKit_HIWebView_h
=no
44473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44475 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44476 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44477 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_WEBKIT 1
44483 WEBKIT_LINK
="-framework WebKit"
44487 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44488 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44494 CPPFLAGS
="$old_CPPFLAGS"
44495 elif test "$wxUSE_COCOA" = 1; then
44496 cat >>confdefs.h
<<\_ACEOF
44497 #define wxUSE_WEBKIT 1
44506 if test "$wxUSE_XRC" = "yes"; then
44507 if test "$wxUSE_XML" != "yes"; then
44508 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44509 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44512 cat >>confdefs.h
<<\_ACEOF
44513 #define wxUSE_XRC 1
44517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44522 if test "$wxUSE_AUI" = "yes"; then
44523 cat >>confdefs.h
<<\_ACEOF
44524 #define wxUSE_AUI 1
44528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44532 if test "$wxUSE_STC" = "yes"; then
44533 cat >>confdefs.h
<<\_ACEOF
44534 #define wxUSE_STC 1
44538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44541 if test "$wxUSE_MENUS" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_MENUS 1
44546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44549 if test "$wxUSE_METAFILE" = "yes"; then
44550 cat >>confdefs.h
<<\_ACEOF
44551 #define wxUSE_METAFILE 1
44556 if test "$wxUSE_MIMETYPE" = "yes"; then
44557 cat >>confdefs.h
<<\_ACEOF
44558 #define wxUSE_MIMETYPE 1
44563 if test "$wxUSE_MINIFRAME" = "yes"; then
44564 cat >>confdefs.h
<<\_ACEOF
44565 #define wxUSE_MINIFRAME 1
44568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44571 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44572 cat >>confdefs.h
<<\_ACEOF
44573 #define wxUSE_SYSTEM_OPTIONS 1
44576 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44577 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44583 if test "$wxUSE_VALIDATORS" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_VALIDATORS 1
44588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44591 if test "$wxUSE_PALETTE" = "yes" ; then
44592 if test "$wxUSE_DFB" = 1; then
44593 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44594 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44597 cat >>confdefs.h
<<\_ACEOF
44598 #define wxUSE_PALETTE 1
44604 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44605 LIBS
=" -lunicows $LIBS"
44609 if test "$wxUSE_RICHTEXT" = "yes"; then
44610 cat >>confdefs.h
<<\_ACEOF
44611 #define wxUSE_RICHTEXT 1
44615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44619 if test "$wxUSE_IMAGE" = "yes" ; then
44620 cat >>confdefs.h
<<\_ACEOF
44621 #define wxUSE_IMAGE 1
44625 if test "$wxUSE_GIF" = "yes" ; then
44626 cat >>confdefs.h
<<\_ACEOF
44627 #define wxUSE_GIF 1
44632 if test "$wxUSE_PCX" = "yes" ; then
44633 cat >>confdefs.h
<<\_ACEOF
44634 #define wxUSE_PCX 1
44639 if test "$wxUSE_TGA" = "yes" ; then
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_TGA 1
44646 if test "$wxUSE_IFF" = "yes" ; then
44647 cat >>confdefs.h
<<\_ACEOF
44648 #define wxUSE_IFF 1
44653 if test "$wxUSE_PNM" = "yes" ; then
44654 cat >>confdefs.h
<<\_ACEOF
44655 #define wxUSE_PNM 1
44660 if test "$wxUSE_XPM" = "yes" ; then
44661 cat >>confdefs.h
<<\_ACEOF
44662 #define wxUSE_XPM 1
44667 if test "$wxUSE_ICO_CUR" = "yes" ; then
44668 cat >>confdefs.h
<<\_ACEOF
44669 #define wxUSE_ICO_CUR 1
44676 if test "$wxUSE_ABOUTDLG" = "yes"; then
44677 cat >>confdefs.h
<<\_ACEOF
44678 #define wxUSE_ABOUTDLG 1
44683 if test "$wxUSE_CHOICEDLG" = "yes"; then
44684 cat >>confdefs.h
<<\_ACEOF
44685 #define wxUSE_CHOICEDLG 1
44690 if test "$wxUSE_COLOURDLG" = "yes"; then
44691 cat >>confdefs.h
<<\_ACEOF
44692 #define wxUSE_COLOURDLG 1
44697 if test "$wxUSE_FILEDLG" = "yes"; then
44698 cat >>confdefs.h
<<\_ACEOF
44699 #define wxUSE_FILEDLG 1
44704 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44705 cat >>confdefs.h
<<\_ACEOF
44706 #define wxUSE_FINDREPLDLG 1
44711 if test "$wxUSE_FONTDLG" = "yes"; then
44712 cat >>confdefs.h
<<\_ACEOF
44713 #define wxUSE_FONTDLG 1
44718 if test "$wxUSE_DIRDLG" = "yes"; then
44719 if test "$wxUSE_TREECTRL" != "yes"; then
44720 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44721 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define wxUSE_DIRDLG 1
44730 if test "$wxUSE_MSGDLG" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_MSGDLG 1
44737 if test "$wxUSE_NUMBERDLG" = "yes"; then
44738 cat >>confdefs.h
<<\_ACEOF
44739 #define wxUSE_NUMBERDLG 1
44744 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44745 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44746 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44747 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44749 cat >>confdefs.h
<<\_ACEOF
44750 #define wxUSE_PROGRESSDLG 1
44756 if test "$wxUSE_SPLASH" = "yes"; then
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_SPLASH 1
44761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44764 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44765 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44766 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44767 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_STARTUP_TIPS 1
44776 if test "$wxUSE_TEXTDLG" = "yes"; then
44777 cat >>confdefs.h
<<\_ACEOF
44778 #define wxUSE_TEXTDLG 1
44783 if test "$wxUSE_WIZARDDLG" = "yes"; then
44784 cat >>confdefs.h
<<\_ACEOF
44785 #define wxUSE_WIZARDDLG 1
44788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44792 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44793 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_GRAPHICS_CONTEXT 1
44798 elif test "$wxUSE_GTK" != 1; then
44799 cat >>confdefs.h
<<\_ACEOF
44800 #define wxUSE_GRAPHICS_CONTEXT 1
44806 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44807 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44809 if test -n "$PKG_CONFIG"; then
44810 if test -n "$CAIRO_CFLAGS"; then
44811 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
44813 if test -n "$PKG_CONFIG" && \
44814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44815 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); }; then
44819 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44827 if test -n "$PKG_CONFIG"; then
44828 if test -n "$CAIRO_LIBS"; then
44829 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
44831 if test -n "$PKG_CONFIG" && \
44832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44833 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; then
44837 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44848 if test $pkg_failed = yes; then
44850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44851 _pkg_short_errors_supported
=yes
44853 _pkg_short_errors_supported
=no
44855 if test $_pkg_short_errors_supported = yes; then
44856 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44858 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44860 # Put the nasty error message in config.log where it belongs
44861 echo "$CAIRO_PKG_ERRORS" >&5
44863 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44864 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44866 elif test $pkg_failed = untried
; then
44867 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44868 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44871 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
44872 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
44873 { echo "$as_me:$LINENO: result: yes" >&5
44874 echo "${ECHO_T}yes" >&6; }
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_GRAPHICS_CONTEXT 1
44886 if test "$wxUSE_MEDIACTRL" = "yes"; then
44889 if test "$wxUSE_GTK" = 1; then
44890 wxUSE_GSTREAMER
="no"
44892 GST_VERSION_MAJOR
=0
44893 GST_VERSION_MINOR
=10
44894 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44896 if test "$wxUSE_GSTREAMER8" = "no"; then
44899 { echo "$as_me:$LINENO: checking for GST" >&5
44900 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44902 if test -n "$PKG_CONFIG"; then
44903 if test -n "$GST_CFLAGS"; then
44904 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
44906 if test -n "$PKG_CONFIG" && \
44907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44908 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; then
44912 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44920 if test -n "$PKG_CONFIG"; then
44921 if test -n "$GST_LIBS"; then
44922 pkg_cv_GST_LIBS
="$GST_LIBS"
44924 if test -n "$PKG_CONFIG" && \
44925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44926 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; then
44930 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44941 if test $pkg_failed = yes; then
44943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44944 _pkg_short_errors_supported
=yes
44946 _pkg_short_errors_supported
=no
44948 if test $_pkg_short_errors_supported = yes; then
44949 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44951 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44953 # Put the nasty error message in config.log where it belongs
44954 echo "$GST_PKG_ERRORS" >&5
44957 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44958 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44959 GST_VERSION_MINOR
=8
44962 elif test $pkg_failed = untried
; then
44964 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44965 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44966 GST_VERSION_MINOR
=8
44970 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
44971 GST_LIBS
=$pkg_cv_GST_LIBS
44972 { echo "$as_me:$LINENO: result: yes" >&5
44973 echo "${ECHO_T}yes" >&6; }
44975 wxUSE_GSTREAMER
="yes"
44976 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44980 GST_VERSION_MINOR
=8
44983 if test $GST_VERSION_MINOR = "8"; then
44984 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44987 { echo "$as_me:$LINENO: checking for GST" >&5
44988 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44990 if test -n "$PKG_CONFIG"; then
44991 if test -n "$GST_CFLAGS"; then
44992 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
44994 if test -n "$PKG_CONFIG" && \
44995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
44996 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); }; then
45000 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45008 if test -n "$PKG_CONFIG"; then
45009 if test -n "$GST_LIBS"; then
45010 pkg_cv_GST_LIBS
="$GST_LIBS"
45012 if test -n "$PKG_CONFIG" && \
45013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45014 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); }; then
45018 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45029 if test $pkg_failed = yes; then
45031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45032 _pkg_short_errors_supported
=yes
45034 _pkg_short_errors_supported
=no
45036 if test $_pkg_short_errors_supported = yes; then
45037 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45039 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45041 # Put the nasty error message in config.log where it belongs
45042 echo "$GST_PKG_ERRORS" >&5
45045 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45046 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45048 elif test $pkg_failed = untried
; then
45050 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45051 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45054 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45055 GST_LIBS
=$pkg_cv_GST_LIBS
45056 { echo "$as_me:$LINENO: result: yes" >&5
45057 echo "${ECHO_T}yes" >&6; }
45058 wxUSE_GSTREAMER
="yes"
45063 if test "$wxUSE_GSTREAMER" = "yes"; then
45066 if "$GCC" = yes; then
45067 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45068 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45072 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45073 LIBS
="$GST_LIBS $LIBS"
45075 cat >>confdefs.h
<<\_ACEOF
45076 #define wxUSE_GSTREAMER 1
45084 if test $USE_MEDIA = 1; then
45085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45086 cat >>confdefs.h
<<\_ACEOF
45087 #define wxUSE_MEDIACTRL 1
45094 if test "$cross_compiling" = "yes"; then
45097 OSINFO
=`uname -s -r -m`
45098 OSINFO
="\"$OSINFO\""
45101 cat >>confdefs.h
<<_ACEOF
45102 #define WXWIN_OS_DESCRIPTION $OSINFO
45107 if test "x$prefix" != "xNONE"; then
45110 wxPREFIX
=$ac_default_prefix
45113 cat >>confdefs.h
<<_ACEOF
45114 #define wxINSTALL_PREFIX "$wxPREFIX"
45120 CORE_BASE_LIBS
="net base"
45121 CORE_GUI_LIBS
="adv core"
45123 if test "$wxUSE_XML" = "yes" ; then
45124 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45126 if test "$wxUSE_ODBC" != "no" ; then
45127 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45128 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45130 if test "$wxUSE_HTML" = "yes" ; then
45131 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45133 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45134 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45136 if test "$wxUSE_XRC" = "yes" ; then
45137 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45139 if test "$wxUSE_AUI" = "yes" ; then
45140 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45142 if test "$wxUSE_STC" = "yes" ; then
45143 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45146 if test "$wxUSE_GUI" != "yes"; then
45155 if test "$wxUSE_MAC" = 1 ; then
45156 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45157 if test "$USE_DARWIN" = 1; then
45158 LDFLAGS
="$LDFLAGS -framework QuickTime"
45160 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45163 if test "$USE_DARWIN" = 1; then
45164 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45166 LDFLAGS
="$LDFLAGS -lCarbonLib"
45169 if test "$wxUSE_COCOA" = 1 ; then
45170 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45171 if test "$wxUSE_MEDIACTRL" = "yes"; then
45172 LDFLAGS
="$LDFLAGS -framework QuickTime"
45175 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45176 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45179 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45181 if test "$wxUSE_GUI" = "yes"; then
45184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45185 dynamic erase event exec font image minimal mobile \
45186 mobile/wxedit mobile/styles propsize render \
45187 rotate shaped svg taborder vscroll widgets"
45189 if test "$wxUSE_MONOLITHIC" != "yes"; then
45190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45192 if test "$TOOLKIT" = "MSW"; then
45193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45194 if test "$wxUSE_UNIVERSAL" != "yes"; then
45195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45198 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45202 SAMPLES_SUBDIRS
="console"
45206 if test "x$INTELCC" = "xyes" ; then
45207 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45208 elif test "$GCC" = yes ; then
45209 CWARNINGS
="-Wall -Wundef"
45212 if test "x$INTELCXX" = "xyes" ; then
45213 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45214 elif test "$GXX" = yes ; then
45215 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45219 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45220 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45223 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45224 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45225 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45228 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45229 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45230 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45232 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45235 if test "x$MWCC" = "xyes"; then
45237 CC
="$CC -cwd source -I-"
45238 CXX
="$CXX -cwd source -I-"
45243 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45244 EXTRALIBS_XML
="$EXPAT_LINK"
45245 EXTRALIBS_HTML
="$MSPACK_LINK"
45246 EXTRALIBS_ODBC
="$ODBC_LINK"
45247 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45248 if test "$wxUSE_GUI" = "yes"; then
45249 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45251 if test "$wxUSE_OPENGL" = "yes"; then
45252 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45255 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45257 WXCONFIG_LIBS
="$LIBS"
45259 if test "$wxUSE_REGEX" = "builtin" ; then
45260 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45262 if test "$wxUSE_EXPAT" = "builtin" ; then
45263 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45265 if test "$wxUSE_ODBC" = "builtin" ; then
45266 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45269 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45271 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45272 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45274 if test "$wxUSE_LIBPNG" = "builtin" ; then
45275 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45277 if test "$wxUSE_ZLIB" = "builtin" ; then
45278 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45281 for i
in $wxconfig_3rdparty ; do
45282 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45286 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45289 case "$wxUNIV_THEMES" in
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_ALL_THEMES 1
45298 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45299 cat >>confdefs.h
<<_ACEOF
45300 #define wxUSE_THEME_$t 1
45317 if test $wxUSE_MONOLITHIC = "yes" ; then
45323 if test $wxUSE_PLUGINS = "yes" ; then
45329 if test $wxUSE_ODBC != "no" ; then
45335 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45341 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45371 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45382 TOOLKIT_DESC
="GTK+"
45383 if test "$WXGTK20" = 1; then
45384 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45385 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45386 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45388 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45389 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45391 if test "$wxUSE_LIBHILDON" = "yes"; then
45392 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45395 if test "$TOOLKIT_EXTRA" != ""; then
45396 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45402 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45406 TOOLKIT_DESC
="base only"
45410 if test "$wxUSE_WINE" = "yes"; then
45411 BAKEFILE_FORCE_PLATFORM
=win32
45414 if test "$wxUSE_MAC" = 1 ; then
45415 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45416 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45417 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45419 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45421 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45422 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45423 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45424 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45427 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45428 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45431 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45433 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45434 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45435 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45436 echo $ECHO_N "(cached) $ECHO_C" >&6
45439 echo '#include <stdio.h>
45440 const wchar_t test_var[] = L"awidetest";' > conftest.h
45442 echo '#include "conftest.h"
45445 printf("%ls", test_var);
45449 wx_cv_gcc_pch_bug
="pch not supported"
45451 if $CXX conftest.h
>/dev
/null
2>&1
45455 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45457 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45458 grep awidetest
>/dev
/null
45460 wx_cv_gcc_pch_bug
=no
45462 wx_cv_gcc_pch_bug
=yes
45467 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45470 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45471 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45473 if test "$wx_cv_gcc_pch_bug" = yes; then
45481 if test "x$BAKEFILE_HOST" = "x"; then
45482 if test "x${host}" = "x" ; then
45483 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45484 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45485 { (exit 1); exit 1; }; }
45488 BAKEFILE_HOST
="${host}"
45491 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45493 if test -n "$ac_tool_prefix"; then
45494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45495 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45498 if test "${ac_cv_prog_RANLIB+set}" = set; then
45499 echo $ECHO_N "(cached) $ECHO_C" >&6
45501 if test -n "$RANLIB"; then
45502 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45505 for as_dir
in $PATH
45508 test -z "$as_dir" && as_dir
=.
45509 for ac_exec_ext
in '' $ac_executable_extensions; do
45510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45511 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45521 RANLIB
=$ac_cv_prog_RANLIB
45522 if test -n "$RANLIB"; then
45523 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45524 echo "${ECHO_T}$RANLIB" >&6; }
45526 { echo "$as_me:$LINENO: result: no" >&5
45527 echo "${ECHO_T}no" >&6; }
45532 if test -z "$ac_cv_prog_RANLIB"; then
45533 ac_ct_RANLIB
=$RANLIB
45534 # Extract the first word of "ranlib", so it can be a program name with args.
45535 set dummy ranlib
; ac_word
=$2
45536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45538 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45539 echo $ECHO_N "(cached) $ECHO_C" >&6
45541 if test -n "$ac_ct_RANLIB"; then
45542 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45545 for as_dir
in $PATH
45548 test -z "$as_dir" && as_dir
=.
45549 for ac_exec_ext
in '' $ac_executable_extensions; do
45550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45551 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45561 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45562 if test -n "$ac_ct_RANLIB"; then
45563 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45564 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45566 { echo "$as_me:$LINENO: result: no" >&5
45567 echo "${ECHO_T}no" >&6; }
45570 if test "x$ac_ct_RANLIB" = x
; then
45573 case $cross_compiling:$ac_tool_warned in
45575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45576 whose name does not start with the host triplet. If you think this
45577 configuration is useful to you, please write to autoconf@gnu.org." >&5
45578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45579 whose name does not start with the host triplet. If you think this
45580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45581 ac_tool_warned
=yes ;;
45583 RANLIB
=$ac_ct_RANLIB
45586 RANLIB
="$ac_cv_prog_RANLIB"
45589 # Find a good install program. We prefer a C program (faster),
45590 # so one script is as good as another. But avoid the broken or
45591 # incompatible versions:
45592 # SysV /etc/install, /usr/sbin/install
45593 # SunOS /usr/etc/install
45594 # IRIX /sbin/install
45596 # AmigaOS /C/install, which installs bootblocks on floppy discs
45597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45600 # OS/2's system install, which has a completely different semantic
45601 # ./install, which can be erroneously created by make from ./install.sh.
45602 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45603 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45604 if test -z "$INSTALL"; then
45605 if test "${ac_cv_path_install+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45609 for as_dir
in $PATH
45612 test -z "$as_dir" && as_dir
=.
45613 # Account for people who put trailing slashes in PATH elements.
45615 .
/ | .
// | /cC
/* | \
45616 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45617 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45620 # OSF1 and SCO ODT 3.0 have their own names for install.
45621 # Don't use installbsd from OSF since it installs stuff as root
45623 for ac_prog
in ginstall scoinst
install; do
45624 for ac_exec_ext
in '' $ac_executable_extensions; do
45625 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45626 if test $ac_prog = install &&
45627 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45628 # AIX install. It has an incompatible calling convention.
45630 elif test $ac_prog = install &&
45631 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45632 # program-specific install script used by HP pwplus--don't use.
45635 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45648 if test "${ac_cv_path_install+set}" = set; then
45649 INSTALL
=$ac_cv_path_install
45651 # As a last resort, use the slow shell script. Don't cache a
45652 # value for INSTALL within a source directory, because that will
45653 # break other packages using the cache if that directory is
45654 # removed, or if the value is a relative name.
45655 INSTALL
=$ac_install_sh
45658 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45659 echo "${ECHO_T}$INSTALL" >&6; }
45661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45662 # It thinks the first close brace ends the variable substitution.
45663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45667 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45669 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45670 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45672 if test "$LN_S" = "ln -s"; then
45673 { echo "$as_me:$LINENO: result: yes" >&5
45674 echo "${ECHO_T}yes" >&6; }
45676 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45677 echo "${ECHO_T}no, using $LN_S" >&6; }
45681 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45682 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45683 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45684 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
45685 echo $ECHO_N "(cached) $ECHO_C" >&6
45687 cat >conftest.
make <<\_ACEOF
45690 @
echo '@@@%%%=$(MAKE)=@@@%%%'
45692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45694 *@@@
%%%=?
*=@@@
%%%*)
45695 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
45697 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
45699 rm -f conftest.
make
45701 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
45702 { echo "$as_me:$LINENO: result: yes" >&5
45703 echo "${ECHO_T}yes" >&6; }
45706 { echo "$as_me:$LINENO: result: no" >&5
45707 echo "${ECHO_T}no" >&6; }
45708 SET_MAKE
="MAKE=${MAKE-make}"
45713 if test "x$SUNCXX" = "xyes"; then
45715 AROPTIONS
="-xar -o"
45717 elif test "x$SGICC" = "xyes"; then
45722 if test -n "$ac_tool_prefix"; then
45723 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45724 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45727 if test "${ac_cv_prog_AR+set}" = set; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 if test -n "$AR"; then
45731 ac_cv_prog_AR
="$AR" # Let the user override the test.
45733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45734 for as_dir
in $PATH
45737 test -z "$as_dir" && as_dir
=.
45738 for ac_exec_ext
in '' $ac_executable_extensions; do
45739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45740 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45751 if test -n "$AR"; then
45752 { echo "$as_me:$LINENO: result: $AR" >&5
45753 echo "${ECHO_T}$AR" >&6; }
45755 { echo "$as_me:$LINENO: result: no" >&5
45756 echo "${ECHO_T}no" >&6; }
45761 if test -z "$ac_cv_prog_AR"; then
45763 # Extract the first word of "ar", so it can be a program name with args.
45764 set dummy
ar; ac_word
=$2
45765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 if test -n "$ac_ct_AR"; then
45771 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45774 for as_dir
in $PATH
45777 test -z "$as_dir" && as_dir
=.
45778 for ac_exec_ext
in '' $ac_executable_extensions; do
45779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45780 ac_cv_prog_ac_ct_AR
="ar"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45790 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45791 if test -n "$ac_ct_AR"; then
45792 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45793 echo "${ECHO_T}$ac_ct_AR" >&6; }
45795 { echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6; }
45799 if test "x$ac_ct_AR" = x
; then
45802 case $cross_compiling:$ac_tool_warned in
45804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&5
45807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45808 whose name does not start with the host triplet. If you think this
45809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45810 ac_tool_warned
=yes ;;
45815 AR
="$ac_cv_prog_AR"
45822 if test -n "$ac_tool_prefix"; then
45823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45824 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45827 if test "${ac_cv_prog_STRIP+set}" = set; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 if test -n "$STRIP"; then
45831 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45834 for as_dir
in $PATH
45837 test -z "$as_dir" && as_dir
=.
45838 for ac_exec_ext
in '' $ac_executable_extensions; do
45839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45840 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45850 STRIP
=$ac_cv_prog_STRIP
45851 if test -n "$STRIP"; then
45852 { echo "$as_me:$LINENO: result: $STRIP" >&5
45853 echo "${ECHO_T}$STRIP" >&6; }
45855 { echo "$as_me:$LINENO: result: no" >&5
45856 echo "${ECHO_T}no" >&6; }
45861 if test -z "$ac_cv_prog_STRIP"; then
45863 # Extract the first word of "strip", so it can be a program name with args.
45864 set dummy strip
; ac_word
=$2
45865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 if test -n "$ac_ct_STRIP"; then
45871 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45874 for as_dir
in $PATH
45877 test -z "$as_dir" && as_dir
=.
45878 for ac_exec_ext
in '' $ac_executable_extensions; do
45879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45880 ac_cv_prog_ac_ct_STRIP
="strip"
45881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45890 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45891 if test -n "$ac_ct_STRIP"; then
45892 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45893 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45895 { echo "$as_me:$LINENO: result: no" >&5
45896 echo "${ECHO_T}no" >&6; }
45899 if test "x$ac_ct_STRIP" = x
; then
45902 case $cross_compiling:$ac_tool_warned in
45904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45905 whose name does not start with the host triplet. If you think this
45906 configuration is useful to you, please write to autoconf@gnu.org." >&5
45907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45908 whose name does not start with the host triplet. If you think this
45909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45910 ac_tool_warned
=yes ;;
45915 STRIP
="$ac_cv_prog_STRIP"
45918 if test -n "$ac_tool_prefix"; then
45919 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45920 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45923 if test "${ac_cv_prog_NM+set}" = set; then
45924 echo $ECHO_N "(cached) $ECHO_C" >&6
45926 if test -n "$NM"; then
45927 ac_cv_prog_NM
="$NM" # Let the user override the test.
45929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45930 for as_dir
in $PATH
45933 test -z "$as_dir" && as_dir
=.
45934 for ac_exec_ext
in '' $ac_executable_extensions; do
45935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45936 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45947 if test -n "$NM"; then
45948 { echo "$as_me:$LINENO: result: $NM" >&5
45949 echo "${ECHO_T}$NM" >&6; }
45951 { echo "$as_me:$LINENO: result: no" >&5
45952 echo "${ECHO_T}no" >&6; }
45957 if test -z "$ac_cv_prog_NM"; then
45959 # Extract the first word of "nm", so it can be a program name with args.
45960 set dummy nm
; ac_word
=$2
45961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45963 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45964 echo $ECHO_N "(cached) $ECHO_C" >&6
45966 if test -n "$ac_ct_NM"; then
45967 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45970 for as_dir
in $PATH
45973 test -z "$as_dir" && as_dir
=.
45974 for ac_exec_ext
in '' $ac_executable_extensions; do
45975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45976 ac_cv_prog_ac_ct_NM
="nm"
45977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45986 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45987 if test -n "$ac_ct_NM"; then
45988 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45989 echo "${ECHO_T}$ac_ct_NM" >&6; }
45991 { echo "$as_me:$LINENO: result: no" >&5
45992 echo "${ECHO_T}no" >&6; }
45995 if test "x$ac_ct_NM" = x
; then
45998 case $cross_compiling:$ac_tool_warned in
46000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46001 whose name does not start with the host triplet. If you think this
46002 configuration is useful to you, please write to autoconf@gnu.org." >&5
46003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46004 whose name does not start with the host triplet. If you think this
46005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46006 ac_tool_warned
=yes ;;
46011 NM
="$ac_cv_prog_NM"
46015 case ${BAKEFILE_HOST} in
46017 INSTALL_DIR
="mkdir -p"
46020 INSTALL_DIR
='$(INSTALL) -d'
46026 case ${BAKEFILE_HOST} in
46027 *-*-cygwin* | *-*-mingw32* )
46028 LDFLAGS_GUI
="-mwindows"
46034 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46035 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46036 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46041 egrep -s GNU
> /dev
/null
); then
46042 bakefile_cv_prog_makeisgnu
="yes"
46044 bakefile_cv_prog_makeisgnu
="no"
46048 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46049 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46051 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46068 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46069 case "${BAKEFILE_HOST}" in
46076 *-pc-os2_emx | *-pc-os2-emx )
46086 powerpc
-apple-macos* )
46095 case "$BAKEFILE_FORCE_PLATFORM" in
46130 # Check whether --enable-omf was given.
46131 if test "${enable_omf+set}" = set; then
46132 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
46136 case "${BAKEFILE_HOST}" in
46138 if test "x$GCC" = "xyes"; then
46139 CFLAGS
="$CFLAGS -fno-common"
46140 CXXFLAGS
="$CXXFLAGS -fno-common"
46142 if test "x$XLCC" = "xyes"; then
46143 CFLAGS
="$CFLAGS -qnocommon"
46144 CXXFLAGS
="$CXXFLAGS -qnocommon"
46148 *-pc-os2_emx | *-pc-os2-emx )
46149 if test "x$bk_os2_use_omf" = "xyes" ; then
46152 LDFLAGS
="-Zomf $LDFLAGS"
46153 CFLAGS
="-Zomf $CFLAGS"
46154 CXXFLAGS
="-Zomf $CXXFLAGS"
46162 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46168 SO_SUFFIX_MODULE
="so"
46173 DLLPREFIX_MODULE
=""
46177 case "${BAKEFILE_HOST}" in
46180 SO_SUFFIX_MODULE
="sl"
46184 SO_SUFFIX_MODULE
="a"
46188 SO_SUFFIX_MODULE
="dll"
46189 DLLIMP_SUFFIX
="dll.a"
46196 SO_SUFFIX_MODULE
="dll"
46197 DLLIMP_SUFFIX
="dll.a"
46207 *-pc-os2_emx | *-pc-os2-emx )
46209 SO_SUFFIX_MODULE
="dll"
46210 DLLIMP_SUFFIX
=$OS2_LIBEXT
46214 LIBEXT
=".$OS2_LIBEXT"
46219 SO_SUFFIX_MODULE
="bundle"
46223 if test "x$DLLIMP_SUFFIX" = "x" ; then
46224 DLLIMP_SUFFIX
="$SO_SUFFIX"
46239 if test "x$GCC" = "xyes"; then
46243 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46244 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46247 case "${BAKEFILE_HOST}" in
46249 if test "x$GCC" != "xyes"; then
46250 LDFLAGS
="$LDFLAGS -L/usr/lib"
46252 SHARED_LD_CC
="${CC} -b -o"
46253 SHARED_LD_CXX
="${CXX} -b -o"
46259 if test "x$GCC" != "xyes"; then
46260 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46261 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46262 if test "${bakefile_cv_prog_icc+set}" = set; then
46263 echo $ECHO_N "(cached) $ECHO_C" >&6
46266 cat >conftest.
$ac_ext <<_ACEOF
46269 cat confdefs.h
>>conftest.
$ac_ext
46270 cat >>conftest.
$ac_ext <<_ACEOF
46271 /* end confdefs.h. */
46277 #ifndef __INTEL_COMPILER
46285 rm -f conftest.
$ac_objext
46286 if { (ac_try
="$ac_compile"
46287 case "(($ac_try" in
46288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46289 *) ac_try_echo=$ac_try;;
46291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46292 (eval "$ac_compile") 2>conftest.er1
46294 grep -v '^ *+' conftest.er1 >conftest.err
46296 cat conftest.err >&5
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); } && {
46299 test -z "$ac_c_werror_flag" ||
46300 test ! -s conftest.err
46301 } && test -s conftest.$ac_objext; then
46302 bakefile_cv_prog_icc=yes
46304 echo "$as_me: failed program was:" >&5
46305 sed 's/^/| /' conftest.$ac_ext >&5
46307 bakefile_cv_prog_icc=no
46311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46314 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46315 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46316 if test "$bakefile_cv_prog_icc" = "yes"; then
46323 if test "x$GCC" != xyes ; then
46324 SHARED_LD_CC="${CC} -G -o"
46325 SHARED_LD_CXX="${CXX} -G -o"
46333 cat <<EOF >shared-ld-sh
46335 #-----------------------------------------------------------------------------
46336 #-- Name: distrib/mac/shared-ld-sh
46337 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46338 #-- Author: Gilles Depeyrot
46339 #-- Copyright: (c) 2002 Gilles Depeyrot
46340 #-- Licence: any use permitted
46341 #-----------------------------------------------------------------------------
46346 linking_flag="-dynamiclib"
46347 ldargs="-r -keep_private_externs -nostdlib"
46349 while test ${D}# -gt 0; do
46356 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46357 # collect these options and values
46358 args="${D}{args} ${D}1 ${D}2"
46363 # collect these load args
46364 ldargs="${D}{ldargs} ${D}1"
46367 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46368 # collect these options
46369 args="${D}{args} ${D}1"
46372 -dynamiclib|-bundle)
46373 linking_flag="${D}1"
46377 echo "shared-ld: unhandled option '${D}1'"
46381 *.o | *.a | *.dylib)
46382 # collect object files
46383 objects="${D}{objects} ${D}1"
46387 echo "shared-ld: unhandled argument '${D}1'"
46398 # Link one module containing all the others
46400 if test ${D}{verbose} = 1; then
46401 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46403 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46407 # Link the shared library from the single module created, but only if the
46408 # previous command didn't fail:
46410 if test ${D}{status} = 0; then
46411 if test ${D}{verbose} = 1; then
46412 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46414 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46419 # Remove intermediate module
46421 rm -f master.${D}${D}.o
46426 chmod +x shared-ld-sh
46428 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46429 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46432 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46433 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46434 if test "${bakefile_cv_gcc31+set}" = set; then
46435 echo $ECHO_N "(cached) $ECHO_C" >&6
46438 cat >conftest.$ac_ext <<_ACEOF
46441 cat confdefs.h >>conftest.$ac_ext
46442 cat >>conftest.$ac_ext <<_ACEOF
46443 /* end confdefs.h. */
46449 #if (__GNUC__ < 3) || \
46450 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46458 rm -f conftest.$ac_objext
46459 if { (ac_try="$ac_compile"
46460 case "(($ac_try" in
46461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46462 *) ac_try_echo
=$ac_try;;
46464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46465 (eval "$ac_compile") 2>conftest.er1
46467 grep -v '^ *+' conftest.er1
>conftest.err
46469 cat conftest.err
>&5
46470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46471 (exit $ac_status); } && {
46472 test -z "$ac_c_werror_flag" ||
46473 test ! -s conftest.err
46474 } && test -s conftest.
$ac_objext; then
46476 bakefile_cv_gcc31
=yes
46479 echo "$as_me: failed program was:" >&5
46480 sed 's/^/| /' conftest.
$ac_ext >&5
46483 bakefile_cv_gcc31
=no
46488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46491 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46492 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46493 if test "$bakefile_cv_gcc31" = "no"; then
46494 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46495 SHARED_LD_CXX
="$SHARED_LD_CC"
46497 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46498 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46501 if test "x$GCC" == "xyes"; then
46502 PIC_FLAG
="-dynamic -fPIC"
46504 if test "x$XLCC" = "xyes"; then
46505 PIC_FLAG
="-dynamic -DPIC"
46510 if test "x$GCC" = "xyes"; then
46513 case "${BAKEFILE_HOST}" in
46515 LD_EXPFULL
="-Wl,-bexpfull"
46519 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46520 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46522 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46523 set dummy makeC
++SharedLib
; ac_word
=$2
46524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46526 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46527 echo $ECHO_N "(cached) $ECHO_C" >&6
46529 if test -n "$AIX_CXX_LD"; then
46530 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46533 for as_dir
in $PATH
46536 test -z "$as_dir" && as_dir
=.
46537 for ac_exec_ext
in '' $ac_executable_extensions; do
46538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46539 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46547 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46550 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46551 if test -n "$AIX_CXX_LD"; then
46552 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46553 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46555 { echo "$as_me:$LINENO: result: no" >&5
46556 echo "${ECHO_T}no" >&6; }
46560 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46561 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46566 SHARED_LD_CC
="${LD} -nostart -o"
46567 SHARED_LD_CXX
="${LD} -nostart -o"
46571 if test "x$GCC" != "xyes"; then
46576 *-*-cygwin* | *-*-mingw32* )
46578 SHARED_LD_CC
="\$(CC) -shared -o"
46579 SHARED_LD_CXX
="\$(CXX) -shared -o"
46583 *-pc-os2_emx | *-pc-os2-emx )
46584 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46585 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46589 cat <<EOF >dllar.sh
46592 # dllar - a tool to build both a .dll and an .a file
46593 # from a set of object (.o) files for EMX/OS2.
46595 # Written by Andrew Zabolotny, bit@freya.etu.ru
46596 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46598 # This script will accept a set of files on the command line.
46599 # All the public symbols from the .o files will be exported into
46600 # a .DEF file, then linker will be run (through gcc) against them to
46601 # build a shared library consisting of all given .o files. All libraries
46602 # (.a) will be first decompressed into component .o files then act as
46603 # described above. You can optionally give a description (-d "description")
46604 # which will be put into .DLL. To see the list of accepted options (as well
46605 # as command-line format) simply run this program without options. The .DLL
46606 # is built to be imported by name (there is no guarantee that new versions
46607 # of the library you build will have same ordinals for same symbols).
46609 # dllar is free software; you can redistribute it and/or modify
46610 # it under the terms of the GNU General Public License as published by
46611 # the Free Software Foundation; either version 2, or (at your option)
46612 # any later version.
46614 # dllar is distributed in the hope that it will be useful,
46615 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46616 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46617 # GNU General Public License for more details.
46619 # You should have received a copy of the GNU General Public License
46620 # along with dllar; see the file COPYING. If not, write to the Free
46621 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46624 # To successfuly run this program you will need:
46625 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46626 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46628 # (used to build the .dll)
46630 # (used to create .def file from .o files)
46632 # (used to create .a file from .def file)
46633 # - GNU text utilites (cat, sort, uniq)
46634 # used to process emxexp output
46635 # - GNU file utilities (mv, rm)
46637 # - lxlite (optional, see flag below)
46638 # (used for general .dll cleanup)
46645 # basnam, variant of basename, which does _not_ remove the path, _iff_
46646 # second argument (suffix to remove) is given
46650 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46653 echo ${D}1 | sed 's/'${D}2'${D}//'
46656 echo "error in basnam ${D}*"
46662 # Cleanup temporary files and output
46665 for i in ${D}inputFiles ; do
46668 rm -rf \`basnam ${D}i !\`
46675 # Kill result in case of failure as there is just to many stupid make/nmake
46676 # things out there which doesn't do this.
46677 if [ ${D}# -eq 0 ]; then
46678 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46682 # Print usage and exit script with rc=1.
46684 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46685 echo ' [-name-mangler-script script.sh]'
46686 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46687 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46688 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46689 echo ' [*.o] [*.a]'
46690 echo '*> "output_file" should have no extension.'
46691 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46692 echo ' The import library name is derived from this and is set to "name".a,'
46693 echo ' unless overridden by -import'
46694 echo '*> "importlib_name" should have no extension.'
46695 echo ' If it has the .o, or .a extension, it is automatically removed.'
46696 echo ' This name is used as the import library name and may be longer and'
46697 echo ' more descriptive than the DLL name which has to follow the old '
46698 echo ' 8.3 convention of FAT.'
46699 echo '*> "script.sh may be given to override the output_file name by a'
46700 echo ' different name. It is mainly useful if the regular make process'
46701 echo ' of some package does not take into account OS/2 restriction of'
46702 echo ' DLL name lengths. It takes the importlib name as input and is'
46703 echo ' supposed to procude a shorter name as output. The script should'
46704 echo ' expect to get importlib_name without extension and should produce'
46705 echo ' a (max.) 8 letter name without extension.'
46706 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46707 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46708 echo ' These flags will be put at the start of GCC command line.'
46709 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46710 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46711 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46712 echo ' If the last character of a symbol is "*", all symbols beginning'
46713 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46714 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46715 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46716 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46717 echo ' C runtime DLLs.'
46718 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46719 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46720 echo ' unchanged to GCC at the end of command line.'
46721 echo '*> If you create a DLL from a library and you do not specify -o,'
46722 echo ' the basename for DLL and import library will be set to library name,'
46723 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46724 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46725 echo ' library will be renamed into gcc_s.a.'
46728 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46729 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46734 # Execute a command.
46735 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46736 # @Uses Whatever CleanUp() uses.
46742 if [ ${D}rcCmd -ne 0 ]; then
46743 echo "command failed, exit code="${D}rcCmd
46758 CFLAGS="-s -Zcrtdll"
46760 EXPORT_BY_ORDINALS=0
46765 case ${D}curDirS in
46769 curDirS=${D}{curDirS}"/"
46772 # Parse commandline
46775 while [ ${D}1 ]; do
46778 EXPORT_BY_ORDINALS=1;
46788 -name-mangler-script)
46809 exclude_symbols=${D}{exclude_symbols}${D}1" "
46813 library_flags=${D}{library_flags}${D}1" "
46832 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46835 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46836 if [ ${D}omfLinking -eq 1 ]; then
46837 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46839 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46844 if [ ${D}libsToLink -ne 0 ]; then
46845 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46847 for file in ${D}1 ; do
46848 if [ -f ${D}file ]; then
46849 inputFiles="${D}{inputFiles} ${D}file"
46853 if [ ${D}found -eq 0 ]; then
46854 echo "ERROR: No file(s) found: "${D}1
46861 done # iterate cmdline words
46864 if [ -z "${D}inputFiles" ]; then
46865 echo "dllar: no input files"
46869 # Now extract all .o files from .a files
46871 for file in ${D}inputFiles ; do
46882 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46887 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46889 if [ ${D}? -ne 0 ]; then
46890 echo "Failed to create subdirectory ./${D}dirname"
46894 # Append '!' to indicate archive
46895 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46896 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46899 for subfile in ${D}dirname/*.o* ; do
46900 if [ -f ${D}subfile ]; then
46902 if [ -s ${D}subfile ]; then
46903 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46904 newInputFiles="${D}newInputFiles ${D}subfile"
46908 if [ ${D}found -eq 0 ]; then
46909 echo "WARNING: there are no files in archive \\'${D}file\\'"
46913 newInputFiles="${D}{newInputFiles} ${D}file"
46917 inputFiles="${D}newInputFiles"
46919 # Output filename(s).
46921 if [ -z ${D}outFile ]; then
46923 set outFile ${D}inputFiles; outFile=${D}2
46926 # If it is an archive, remove the '!' and the '_%' suffixes
46927 case ${D}outFile in
46929 outFile=\`basnam ${D}outFile _%!\`
46934 case ${D}outFile in
46936 outFile=\`basnam ${D}outFile .dll\`
46939 outFile=\`basnam ${D}outFile .DLL\`
46942 outFile=\`basnam ${D}outFile .o\`
46945 outFile=\`basnam ${D}outFile .obj\`
46948 outFile=\`basnam ${D}outFile .a\`
46951 outFile=\`basnam ${D}outFile .lib\`
46956 case ${D}outimpFile in
46958 outimpFile=\`basnam ${D}outimpFile .a\`
46961 outimpFile=\`basnam ${D}outimpFile .lib\`
46966 if [ -z ${D}outimpFile ]; then
46967 outimpFile=${D}outFile
46969 defFile="${D}{outFile}.def"
46970 arcFile="${D}{outimpFile}.a"
46971 arcFile2="${D}{outimpFile}.lib"
46973 #create ${D}dllFile as something matching 8.3 restrictions,
46974 if [ -z ${D}renameScript ] ; then
46975 dllFile="${D}outFile"
46977 dllFile=\`${D}renameScript ${D}outimpFile\`
46980 if [ ${D}do_backup -ne 0 ] ; then
46981 if [ -f ${D}arcFile ] ; then
46982 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46984 if [ -f ${D}arcFile2 ] ; then
46985 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46989 # Extract public symbols from all the object files.
46990 tmpdefFile=${D}{defFile}_%
46991 rm -f ${D}tmpdefFile
46992 for file in ${D}inputFiles ; do
46997 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47002 # Create the def file.
47004 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47005 dllFile="${D}{dllFile}.dll"
47006 if [ ! -z ${D}description ]; then
47007 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47009 echo "EXPORTS" >> ${D}defFile
47011 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47012 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47014 # Checks if the export is ok or not.
47015 for word in ${D}exclude_symbols; do
47016 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47017 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47021 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47022 sed "=" < ${D}tmpdefFile | \\
47026 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47028 ' > ${D}{tmpdefFile}%
47029 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47031 rm -f ${D}{tmpdefFile}%
47033 cat ${D}tmpdefFile >> ${D}defFile
47034 rm -f ${D}tmpdefFile
47036 # Do linking, create implib, and apply lxlite.
47038 for file in ${D}inputFiles ; do
47043 gccCmdl="${D}gccCmdl ${D}file"
47047 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47048 touch "${D}{outFile}.dll"
47050 doCommand "emximp -o ${D}arcFile ${D}defFile"
47051 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47053 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47056 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47058 doCommand "emxomf -s -l ${D}arcFile"
47068 powerpc
-apple-macos* | \
47069 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47079 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47080 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47081 { (exit 1); exit 1; }; }
47084 if test "x$PIC_FLAG" != "x" ; then
47085 PIC_FLAG
="$PIC_FLAG -DPIC"
47088 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47089 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47091 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47092 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47111 case "${BAKEFILE_HOST}" in
47112 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47113 SONAME_FLAG
="-Wl,-soname,"
47147 # Check whether --enable-dependency-tracking was given.
47148 if test "${enable_dependency_tracking+set}" = set; then
47149 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
47153 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47154 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47157 if test "x$bk_use_trackdeps" = "xno" ; then
47159 { echo "$as_me:$LINENO: result: disabled" >&5
47160 echo "${ECHO_T}disabled" >&6; }
47164 if test "x$GCC" = "xyes"; then
47166 case "${BAKEFILE_HOST}" in
47168 DEPSFLAG
="-no-cpp-precomp -MMD"
47174 { echo "$as_me:$LINENO: result: gcc" >&5
47175 echo "${ECHO_T}gcc" >&6; }
47176 elif test "x$MWCC" = "xyes"; then
47179 { echo "$as_me:$LINENO: result: mwcc" >&5
47180 echo "${ECHO_T}mwcc" >&6; }
47181 elif test "x$SUNCC" = "xyes"; then
47184 { echo "$as_me:$LINENO: result: Sun cc" >&5
47185 echo "${ECHO_T}Sun cc" >&6; }
47186 elif test "x$SGICC" = "xyes"; then
47189 { echo "$as_me:$LINENO: result: SGI cc" >&5
47190 echo "${ECHO_T}SGI cc" >&6; }
47191 elif test "x$HPCC" = "xyes"; then
47194 { echo "$as_me:$LINENO: result: HP cc" >&5
47195 echo "${ECHO_T}HP cc" >&6; }
47196 elif test "x$COMPAQCC" = "xyes"; then
47199 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47200 echo "${ECHO_T}Compaq cc" >&6; }
47203 { echo "$as_me:$LINENO: result: none" >&5
47204 echo "${ECHO_T}none" >&6; }
47207 if test $DEPS_TRACKING = 1 ; then
47213 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47214 # script. It is used to track C/C++ files dependencies in portable way.
47216 # Permission is given to use this file in any way.
47218 DEPSMODE=${DEPSMODE}
47220 DEPSFLAG="${DEPSFLAG}"
47222 mkdir -p ${D}DEPSDIR
47224 if test ${D}DEPSMODE = gcc ; then
47225 ${D}* ${D}{DEPSFLAG}
47227 if test ${D}{status} != 0 ; then
47230 # move created file to the location we want it in:
47231 while test ${D}# -gt 0; do
47245 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47246 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47247 if test -f ${D}depfile ; then
47248 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47251 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47252 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47253 if test ! -f ${D}depfile ; then
47254 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47255 depfile="${D}objfile.d"
47257 if test -f ${D}depfile ; then
47258 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47263 elif test ${D}DEPSMODE = mwcc ; then
47264 ${D}* || exit ${D}?
47265 # Run mwcc again with -MM and redirect into the dep file we want
47266 # NOTE: We can't use shift here because we need ${D}* to be valid
47268 for arg in ${D}* ; do
47269 if test "${D}prevarg" = "-o"; then
47282 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47284 elif test ${D}DEPSMODE = unixcc; then
47285 ${D}* || exit ${D}?
47286 # Run compiler again with deps flag and redirect into the dep file.
47287 # It doesn't work if the '-o FILE' option is used, but without it the
47288 # dependency file will contain the wrong name for the object. So it is
47289 # removed from the command line, and the dep file is fixed with sed.
47291 while test ${D}# -gt 0; do
47298 eval arg${D}#=\\${D}1
47299 cmd="${D}cmd \\${D}arg${D}#"
47304 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47313 BK_DEPS
="`pwd`/bk-deps"
47321 case ${BAKEFILE_HOST} in
47322 *-*-cygwin* | *-*-mingw32* )
47323 if test -n "$ac_tool_prefix"; then
47324 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47325 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47328 if test "${ac_cv_prog_WINDRES+set}" = set; then
47329 echo $ECHO_N "(cached) $ECHO_C" >&6
47331 if test -n "$WINDRES"; then
47332 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47335 for as_dir
in $PATH
47338 test -z "$as_dir" && as_dir
=.
47339 for ac_exec_ext
in '' $ac_executable_extensions; do
47340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47341 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47351 WINDRES
=$ac_cv_prog_WINDRES
47352 if test -n "$WINDRES"; then
47353 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47354 echo "${ECHO_T}$WINDRES" >&6; }
47356 { echo "$as_me:$LINENO: result: no" >&5
47357 echo "${ECHO_T}no" >&6; }
47362 if test -z "$ac_cv_prog_WINDRES"; then
47363 ac_ct_WINDRES
=$WINDRES
47364 # Extract the first word of "windres", so it can be a program name with args.
47365 set dummy windres
; ac_word
=$2
47366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47368 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47371 if test -n "$ac_ct_WINDRES"; then
47372 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47375 for as_dir
in $PATH
47378 test -z "$as_dir" && as_dir
=.
47379 for ac_exec_ext
in '' $ac_executable_extensions; do
47380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47381 ac_cv_prog_ac_ct_WINDRES
="windres"
47382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47391 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47392 if test -n "$ac_ct_WINDRES"; then
47393 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47394 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47396 { echo "$as_me:$LINENO: result: no" >&5
47397 echo "${ECHO_T}no" >&6; }
47400 if test "x$ac_ct_WINDRES" = x
; then
47403 case $cross_compiling:$ac_tool_warned in
47405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47406 whose name does not start with the host triplet. If you think this
47407 configuration is useful to you, please write to autoconf@gnu.org." >&5
47408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47409 whose name does not start with the host triplet. If you think this
47410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47411 ac_tool_warned
=yes ;;
47413 WINDRES
=$ac_ct_WINDRES
47416 WINDRES
="$ac_cv_prog_WINDRES"
47421 *-*-darwin* | powerpc
-apple-macos* )
47422 # Extract the first word of "Rez", so it can be a program name with args.
47423 set dummy Rez
; ac_word
=$2
47424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47426 if test "${ac_cv_prog_REZ+set}" = set; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 if test -n "$REZ"; then
47430 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47433 for as_dir
in $PATH
47436 test -z "$as_dir" && as_dir
=.
47437 for ac_exec_ext
in '' $ac_executable_extensions; do
47438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47439 ac_cv_prog_REZ
="Rez"
47440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47447 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47450 REZ
=$ac_cv_prog_REZ
47451 if test -n "$REZ"; then
47452 { echo "$as_me:$LINENO: result: $REZ" >&5
47453 echo "${ECHO_T}$REZ" >&6; }
47455 { echo "$as_me:$LINENO: result: no" >&5
47456 echo "${ECHO_T}no" >&6; }
47460 # Extract the first word of "SetFile", so it can be a program name with args.
47461 set dummy SetFile
; ac_word
=$2
47462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47464 if test "${ac_cv_prog_SETFILE+set}" = set; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 if test -n "$SETFILE"; then
47468 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47471 for as_dir
in $PATH
47474 test -z "$as_dir" && as_dir
=.
47475 for ac_exec_ext
in '' $ac_executable_extensions; do
47476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47477 ac_cv_prog_SETFILE
="SetFile"
47478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47485 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47488 SETFILE
=$ac_cv_prog_SETFILE
47489 if test -n "$SETFILE"; then
47490 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47491 echo "${ECHO_T}$SETFILE" >&6; }
47493 { echo "$as_me:$LINENO: result: no" >&5
47494 echo "${ECHO_T}no" >&6; }
47506 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47509 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47513 # Check whether --enable-precomp-headers was given.
47514 if test "${enable_precomp_headers+set}" = set; then
47515 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
47524 case ${BAKEFILE_HOST} in
47530 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47531 if test "x$GCC" = "xyes"; then
47532 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47533 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47534 cat >conftest.
$ac_ext <<_ACEOF
47537 cat confdefs.h
>>conftest.
$ac_ext
47538 cat >>conftest.
$ac_ext <<_ACEOF
47539 /* end confdefs.h. */
47545 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47546 There is no PCH support
47549 There is no PCH support
47551 #if (__GNUC__ == 3) && \
47552 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47553 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47554 ( defined(__INTEL_COMPILER) )
47555 There is no PCH support
47562 rm -f conftest.
$ac_objext
47563 if { (ac_try
="$ac_compile"
47564 case "(($ac_try" in
47565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47566 *) ac_try_echo=$ac_try;;
47568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47569 (eval "$ac_compile") 2>conftest.er1
47571 grep -v '^ *+' conftest.er1 >conftest.err
47573 cat conftest.err >&5
47574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47575 (exit $ac_status); } && {
47576 test -z "$ac_c_werror_flag" ||
47577 test ! -s conftest.err
47578 } && test -s conftest.$ac_objext; then
47580 { echo "$as_me:$LINENO: result: yes" >&5
47581 echo "${ECHO_T}yes" >&6; }
47585 echo "$as_me: failed program was:" >&5
47586 sed 's/^/| /' conftest.$ac_ext >&5
47589 cat >conftest.$ac_ext <<_ACEOF
47592 cat confdefs.h >>conftest.$ac_ext
47593 cat >>conftest.$ac_ext <<_ACEOF
47594 /* end confdefs.h. */
47600 #if !defined(__INTEL_COMPILER) || \
47601 (__INTEL_COMPILER < 800)
47602 There is no PCH support
47609 rm -f conftest.$ac_objext
47610 if { (ac_try="$ac_compile"
47611 case "(($ac_try" in
47612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47613 *) ac_try_echo
=$ac_try;;
47615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47616 (eval "$ac_compile") 2>conftest.er1
47618 grep -v '^ *+' conftest.er1
>conftest.err
47620 cat conftest.err
>&5
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); } && {
47623 test -z "$ac_c_werror_flag" ||
47624 test ! -s conftest.err
47625 } && test -s conftest.
$ac_objext; then
47627 { echo "$as_me:$LINENO: result: yes" >&5
47628 echo "${ECHO_T}yes" >&6; }
47632 echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.
$ac_ext >&5
47636 { echo "$as_me:$LINENO: result: no" >&5
47637 echo "${ECHO_T}no" >&6; }
47641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47646 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47650 cat <<EOF >bk-make-pch
47653 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47654 # script. It is used to generated precompiled headers.
47656 # Permission is given to use this file in any way.
47666 while test ${D}{#} -gt 0; do
47670 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47671 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47672 headerfile="${D}{incdir}/${D}{header}"
47675 -use-pch|-use_pch )
47680 if test ${D}add_to_cmdline = 1 ; then
47681 compiler="${D}{compiler} ${D}{1}"
47686 if test "x${D}{headerfile}" = "x" ; then
47687 echo "error: can't find header ${D}{header} in include paths" >&2
47689 if test -f ${D}{outfile} ; then
47690 rm -f ${D}{outfile}
47692 mkdir -p \`dirname ${D}{outfile}\`
47694 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47696 if test "x${GCC_PCH}" = "x1" ; then
47697 # can do this because gcc is >= 3.4:
47698 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47699 elif test "x${ICC_PCH}" = "x1" ; then
47700 filename=pch_gen-${D}${D}
47701 file=${D}{filename}.c
47702 dfile=${D}{filename}.d
47703 cat > ${D}file <<EOT
47704 #include "${D}header"
47706 # using -MF icc complains about differing command lines in creation/use
47707 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47708 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47709 rm -f ${D}file ${D}dfile ${D}{filename}.o
47715 chmod +x bk
-make-pch
47716 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47725 COND_BUILD_DEBUG
="#"
47726 if test "x$BUILD" = "xdebug" ; then
47727 COND_BUILD_DEBUG
=""
47730 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47731 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47732 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47735 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47736 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47737 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47740 COND_BUILD_DEBUG_UNICODE_0
="#"
47741 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47742 COND_BUILD_DEBUG_UNICODE_0
=""
47745 COND_BUILD_DEBUG_UNICODE_1
="#"
47746 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47747 COND_BUILD_DEBUG_UNICODE_1
=""
47750 COND_BUILD_RELEASE
="#"
47751 if test "x$BUILD" = "xrelease" ; then
47752 COND_BUILD_RELEASE
=""
47755 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47756 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47757 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47760 COND_BUILD_RELEASE_UNICODE_0
="#"
47761 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47762 COND_BUILD_RELEASE_UNICODE_0
=""
47765 COND_BUILD_RELEASE_UNICODE_1
="#"
47766 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47767 COND_BUILD_RELEASE_UNICODE_1
=""
47770 COND_DEBUG_FLAG_1
="#"
47771 if test "x$DEBUG_FLAG" = "x1" ; then
47772 COND_DEBUG_FLAG_1
=""
47775 COND_DEBUG_INFO_0
="#"
47776 if test "x$DEBUG_INFO" = "x0" ; then
47777 COND_DEBUG_INFO_0
=""
47780 COND_DEBUG_INFO_1
="#"
47781 if test "x$DEBUG_INFO" = "x1" ; then
47782 COND_DEBUG_INFO_1
=""
47785 COND_DEPS_TRACKING_0
="#"
47786 if test "x$DEPS_TRACKING" = "x0" ; then
47787 COND_DEPS_TRACKING_0
=""
47790 COND_DEPS_TRACKING_1
="#"
47791 if test "x$DEPS_TRACKING" = "x1" ; then
47792 COND_DEPS_TRACKING_1
=""
47796 if test "x$GCC_PCH" = "x1" ; then
47801 if test "x$ICC_PCH" = "x1" ; then
47805 COND_MONOLITHIC_0
="#"
47806 if test "x$MONOLITHIC" = "x0" ; then
47807 COND_MONOLITHIC_0
=""
47810 COND_MONOLITHIC_0_SHARED_0
="#"
47811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47812 COND_MONOLITHIC_0_SHARED_0
=""
47815 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
47816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47817 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
47820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47845 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47847 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
47851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
47855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
47856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47857 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
47860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47865 COND_MONOLITHIC_0_SHARED_1
="#"
47866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47867 COND_MONOLITHIC_0_SHARED_1
=""
47870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
47871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
47875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47900 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47902 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47905 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
47906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
47910 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
47911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47912 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
47915 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47917 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47920 COND_MONOLITHIC_0_USE_AUI_1
="#"
47921 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47922 COND_MONOLITHIC_0_USE_AUI_1
=""
47925 COND_MONOLITHIC_0_USE_GUI_1
="#"
47926 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47927 COND_MONOLITHIC_0_USE_GUI_1
=""
47930 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
47931 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47932 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
47935 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
47936 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47937 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
47940 COND_MONOLITHIC_0_USE_HTML_1
="#"
47941 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47942 COND_MONOLITHIC_0_USE_HTML_1
=""
47945 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47946 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47947 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47950 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47951 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47952 COND_MONOLITHIC_0_USE_ODBC_1
=""
47955 COND_MONOLITHIC_0_USE_QA_1
="#"
47956 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47957 COND_MONOLITHIC_0_USE_QA_1
=""
47960 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
47961 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47962 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
47965 COND_MONOLITHIC_0_USE_STC_1
="#"
47966 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47967 COND_MONOLITHIC_0_USE_STC_1
=""
47970 COND_MONOLITHIC_0_USE_XRC_1
="#"
47971 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47972 COND_MONOLITHIC_0_USE_XRC_1
=""
47975 COND_MONOLITHIC_1
="#"
47976 if test "x$MONOLITHIC" = "x1" ; then
47977 COND_MONOLITHIC_1
=""
47980 COND_MONOLITHIC_1_SHARED_0
="#"
47981 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47982 COND_MONOLITHIC_1_SHARED_0
=""
47985 COND_MONOLITHIC_1_SHARED_1
="#"
47986 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47987 COND_MONOLITHIC_1_SHARED_1
=""
47990 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47991 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47992 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47995 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47996 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47997 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48000 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48001 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48002 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48005 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48006 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48007 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48010 COND_PLATFORM_MACOSX_1
="#"
48011 if test "x$PLATFORM_MACOSX" = "x1" ; then
48012 COND_PLATFORM_MACOSX_1
=""
48015 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48017 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48020 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48022 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48025 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48027 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48040 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48042 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48045 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48047 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48050 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48052 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48055 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48057 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48060 COND_PLATFORM_MACOS_1
="#"
48061 if test "x$PLATFORM_MACOS" = "x1" ; then
48062 COND_PLATFORM_MACOS_1
=""
48065 COND_PLATFORM_MAC_1
="#"
48066 if test "x$PLATFORM_MAC" = "x1" ; then
48067 COND_PLATFORM_MAC_1
=""
48070 COND_PLATFORM_MSDOS_0
="#"
48071 if test "x$PLATFORM_MSDOS" = "x0" ; then
48072 COND_PLATFORM_MSDOS_0
=""
48075 COND_PLATFORM_MSDOS_1
="#"
48076 if test "x$PLATFORM_MSDOS" = "x1" ; then
48077 COND_PLATFORM_MSDOS_1
=""
48080 COND_PLATFORM_OS2_1
="#"
48081 if test "x$PLATFORM_OS2" = "x1" ; then
48082 COND_PLATFORM_OS2_1
=""
48085 COND_PLATFORM_UNIX_0
="#"
48086 if test "x$PLATFORM_UNIX" = "x0" ; then
48087 COND_PLATFORM_UNIX_0
=""
48090 COND_PLATFORM_UNIX_1
="#"
48091 if test "x$PLATFORM_UNIX" = "x1" ; then
48092 COND_PLATFORM_UNIX_1
=""
48095 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48096 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48100 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48101 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48102 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48105 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48106 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48107 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48110 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48111 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48112 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48115 COND_PLATFORM_WIN32_0
="#"
48116 if test "x$PLATFORM_WIN32" = "x0" ; then
48117 COND_PLATFORM_WIN32_0
=""
48120 COND_PLATFORM_WIN32_1
="#"
48121 if test "x$PLATFORM_WIN32" = "x1" ; then
48122 COND_PLATFORM_WIN32_1
=""
48126 if test "x$SHARED" = "x0" ; then
48130 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48131 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48132 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48135 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48136 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48137 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48140 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48141 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48142 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48145 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48146 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48147 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48150 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48151 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48156 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48161 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48165 COND_SHARED_0_USE_STC_1
="#"
48166 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48167 COND_SHARED_0_USE_STC_1
=""
48170 COND_SHARED_0_USE_XRC_1
="#"
48171 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48172 COND_SHARED_0_USE_XRC_1
=""
48175 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48176 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48177 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48180 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48181 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48182 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48185 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48186 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48187 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48190 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48191 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48192 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48196 if test "x$SHARED" = "x1" ; then
48200 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48201 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48202 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48205 COND_SHARED_1_USE_XRC_1
="#"
48206 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48207 COND_SHARED_1_USE_XRC_1
=""
48211 if test "x$TOOLKIT" = "x" ; then
48215 COND_TOOLKIT_COCOA
="#"
48216 if test "x$TOOLKIT" = "xCOCOA" ; then
48217 COND_TOOLKIT_COCOA
=""
48220 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48221 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48222 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48225 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48226 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48227 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48230 COND_TOOLKIT_DFB
="#"
48231 if test "x$TOOLKIT" = "xDFB" ; then
48232 COND_TOOLKIT_DFB
=""
48235 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48236 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48237 COND_TOOLKIT_DFB_USE_GUI_1
=""
48240 COND_TOOLKIT_GTK
="#"
48241 if test "x$TOOLKIT" = "xGTK" ; then
48242 COND_TOOLKIT_GTK
=""
48245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48246 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48250 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48251 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48255 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48256 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48265 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48267 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48270 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48275 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48276 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48277 COND_TOOLKIT_GTK_USE_GUI_1
=""
48280 COND_TOOLKIT_MAC
="#"
48281 if test "x$TOOLKIT" = "xMAC" ; then
48282 COND_TOOLKIT_MAC
=""
48285 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48286 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48287 COND_TOOLKIT_MAC_USE_GUI_1
=""
48290 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48291 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48292 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48295 COND_TOOLKIT_MGL
="#"
48296 if test "x$TOOLKIT" = "xMGL" ; then
48297 COND_TOOLKIT_MGL
=""
48300 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48301 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48302 COND_TOOLKIT_MGL_USE_GUI_1
=""
48305 COND_TOOLKIT_MOTIF
="#"
48306 if test "x$TOOLKIT" = "xMOTIF" ; then
48307 COND_TOOLKIT_MOTIF
=""
48310 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48311 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48312 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48315 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48316 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48317 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48320 COND_TOOLKIT_MSW
="#"
48321 if test "x$TOOLKIT" = "xMSW" ; then
48322 COND_TOOLKIT_MSW
=""
48325 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48326 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48327 COND_TOOLKIT_MSW_USE_GUI_1
=""
48330 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48331 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48332 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48335 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48336 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48337 COND_TOOLKIT_MSW_WXUNIV_0
=""
48340 COND_TOOLKIT_PM
="#"
48341 if test "x$TOOLKIT" = "xPM" ; then
48345 COND_TOOLKIT_PM_USE_GUI_1
="#"
48346 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48347 COND_TOOLKIT_PM_USE_GUI_1
=""
48350 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48351 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48352 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48355 COND_TOOLKIT_WINCE
="#"
48356 if test "x$TOOLKIT" = "xWINCE" ; then
48357 COND_TOOLKIT_WINCE
=""
48360 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48361 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48362 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48365 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48366 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48367 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48370 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48371 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48372 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48375 COND_TOOLKIT_X11
="#"
48376 if test "x$TOOLKIT" = "xX11" ; then
48377 COND_TOOLKIT_X11
=""
48380 COND_TOOLKIT_X11_USE_GUI_1
="#"
48381 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48382 COND_TOOLKIT_X11_USE_GUI_1
=""
48386 if test "x$UNICODE" = "x1" ; then
48390 COND_USE_EXCEPTIONS_0
="#"
48391 if test "x$USE_EXCEPTIONS" = "x0" ; then
48392 COND_USE_EXCEPTIONS_0
=""
48395 COND_USE_EXCEPTIONS_1
="#"
48396 if test "x$USE_EXCEPTIONS" = "x1" ; then
48397 COND_USE_EXCEPTIONS_1
=""
48401 if test "x$USE_GUI" = "x0" ; then
48406 if test "x$USE_GUI" = "x1" ; then
48410 COND_USE_GUI_1_USE_OPENGL_1
="#"
48411 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48412 COND_USE_GUI_1_USE_OPENGL_1
=""
48415 COND_USE_GUI_1_WXUNIV_0
="#"
48416 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48417 COND_USE_GUI_1_WXUNIV_0
=""
48420 COND_USE_GUI_1_WXUNIV_1
="#"
48421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48422 COND_USE_GUI_1_WXUNIV_1
=""
48425 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48426 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48427 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48430 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48431 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48432 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48435 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48436 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48437 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48440 COND_USE_ODBC_1
="#"
48441 if test "x$USE_ODBC" = "x1" ; then
48445 COND_USE_OPENGL_1
="#"
48446 if test "x$USE_OPENGL" = "x1" ; then
48447 COND_USE_OPENGL_1
=""
48451 if test "x$USE_PCH" = "x1" ; then
48455 COND_USE_PLUGINS_0
="#"
48456 if test "x$USE_PLUGINS" = "x0" ; then
48457 COND_USE_PLUGINS_0
=""
48460 COND_USE_RTTI_0
="#"
48461 if test "x$USE_RTTI" = "x0" ; then
48465 COND_USE_RTTI_1
="#"
48466 if test "x$USE_RTTI" = "x1" ; then
48470 COND_USE_SOSYMLINKS_1
="#"
48471 if test "x$USE_SOSYMLINKS" = "x1" ; then
48472 COND_USE_SOSYMLINKS_1
=""
48475 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48476 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48477 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48480 COND_USE_SOVERLINUX_1
="#"
48481 if test "x$USE_SOVERLINUX" = "x1" ; then
48482 COND_USE_SOVERLINUX_1
=""
48485 COND_USE_SOVERSION_0
="#"
48486 if test "x$USE_SOVERSION" = "x0" ; then
48487 COND_USE_SOVERSION_0
=""
48490 COND_USE_SOVERSOLARIS_1
="#"
48491 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48492 COND_USE_SOVERSOLARIS_1
=""
48496 if test "x$USE_STC" = "x1" ; then
48500 COND_USE_THREADS_0
="#"
48501 if test "x$USE_THREADS" = "x0" ; then
48502 COND_USE_THREADS_0
=""
48505 COND_USE_THREADS_1
="#"
48506 if test "x$USE_THREADS" = "x1" ; then
48507 COND_USE_THREADS_1
=""
48511 if test "x$USE_XRC" = "x1" ; then
48515 COND_WINDOWS_IMPLIB_1
="#"
48516 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48517 COND_WINDOWS_IMPLIB_1
=""
48520 COND_WITH_PLUGIN_SDL_1
="#"
48521 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48522 COND_WITH_PLUGIN_SDL_1
=""
48526 if test "x$WXUNIV" = "x0" ; then
48531 if test "x$WXUNIV" = "x1" ; then
48535 COND_WXUSE_EXPAT_BUILTIN
="#"
48536 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48537 COND_WXUSE_EXPAT_BUILTIN
=""
48540 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48541 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48542 COND_WXUSE_LIBJPEG_BUILTIN
=""
48545 COND_WXUSE_LIBPNG_BUILTIN
="#"
48546 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48547 COND_WXUSE_LIBPNG_BUILTIN
=""
48550 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48551 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48552 COND_WXUSE_LIBTIFF_BUILTIN
=""
48555 COND_WXUSE_ODBC_BUILTIN
="#"
48556 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48557 COND_WXUSE_ODBC_BUILTIN
=""
48560 COND_WXUSE_REGEX_BUILTIN
="#"
48561 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48562 COND_WXUSE_REGEX_BUILTIN
=""
48565 COND_WXUSE_ZLIB_BUILTIN
="#"
48566 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48567 COND_WXUSE_ZLIB_BUILTIN
=""
48572 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48573 { { 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
48574 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;}
48575 { (exit 1); exit 1; }; }
48578 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48579 { { 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
48580 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;}
48581 { (exit 1); exit 1; }; }
48585 if test $GCC_PCH = 1
48587 if test "$wx_cv_gcc_pch_bug" = yes; then
48588 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48589 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48590 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48591 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48592 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48593 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48596 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48600 if test "$wxUSE_MAC" = 1 ; then
48601 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48602 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48608 if test "$wxUSE_SHARED" = "yes"; then
48610 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48611 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48614 *-pc-os2_emx | *-pc-os2-emx )
48615 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48616 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48617 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48618 cp -p ${srcdir}/src
/os
2/dllar.sh .
48623 EXE_LINKER
="$CXX -o"
48626 if test "$wxUSE_OMF" = "yes"; then
48628 *-pc-os2_emx | *-pc-os2-emx )
48629 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48630 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48631 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48636 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48638 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48700 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48701 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48702 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48703 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
48704 echo $ECHO_N "(cached) $ECHO_C" >&6
48706 cat >conftest.
make <<\_ACEOF
48709 @
echo '@@@%%%=$(MAKE)=@@@%%%'
48711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48713 *@@@
%%%=?
*=@@@
%%%*)
48714 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
48716 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
48718 rm -f conftest.
make
48720 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
48721 { echo "$as_me:$LINENO: result: yes" >&5
48722 echo "${ECHO_T}yes" >&6; }
48725 { echo "$as_me:$LINENO: result: no" >&5
48726 echo "${ECHO_T}no" >&6; }
48727 SET_MAKE
="MAKE=${MAKE-make}"
48732 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48735 if test "$USE_WIN32" = 1; then
48736 ac_config_commands
="$ac_config_commands
48742 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48745 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48748 if test "$wx_cv_version_script" = "yes"; then
48749 ac_config_files
="$ac_config_files version-script"
48752 ac_config_files
="$ac_config_files Makefile"
48755 ac_config_commands
="$ac_config_commands wx-config"
48759 if test "$wxWITH_SUBDIRS" != "no"; then
48760 if test "$wxUSE_GUI" = "yes"; then
48761 SUBDIRS
="samples demos utils"
48762 else SUBDIRS
="samples utils"
48767 # Check whether --with-cppunit-prefix was given.
48768 if test "${with_cppunit_prefix+set}" = set; then
48769 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
48771 cppunit_config_prefix
=""
48775 # Check whether --with-cppunit-exec-prefix was given.
48776 if test "${with_cppunit_exec_prefix+set}" = set; then
48777 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
48779 cppunit_config_exec_prefix
=""
48783 if test x
$cppunit_config_exec_prefix != x
; then
48784 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48785 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48786 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48789 if test x
$cppunit_config_prefix != x
; then
48790 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48791 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48792 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48796 # Extract the first word of "cppunit-config", so it can be a program name with args.
48797 set dummy cppunit
-config; ac_word
=$2
48798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48800 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48801 echo $ECHO_N "(cached) $ECHO_C" >&6
48803 case $CPPUNIT_CONFIG in
48805 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48809 for as_dir
in $PATH
48812 test -z "$as_dir" && as_dir
=.
48813 for ac_exec_ext
in '' $ac_executable_extensions; do
48814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48815 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48823 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48827 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48828 if test -n "$CPPUNIT_CONFIG"; then
48829 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48830 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48832 { echo "$as_me:$LINENO: result: no" >&5
48833 echo "${ECHO_T}no" >&6; }
48837 cppunit_version_min
=1.8.0
48839 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48840 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48842 if test "$CPPUNIT_CONFIG" = "no" ; then
48843 { echo "$as_me:$LINENO: result: no" >&5
48844 echo "${ECHO_T}no" >&6; }
48847 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48848 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48849 cppunit_version
=`$CPPUNIT_CONFIG --version`
48851 cppunit_major_version
=`echo $cppunit_version | \
48852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48853 cppunit_minor_version
=`echo $cppunit_version | \
48854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48855 cppunit_micro_version
=`echo $cppunit_version | \
48856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48858 cppunit_major_min
=`echo $cppunit_version_min | \
48859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48860 cppunit_minor_min
=`echo $cppunit_version_min | \
48861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48862 cppunit_micro_min
=`echo $cppunit_version_min | \
48863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48865 cppunit_version_proper
=`expr \
48866 $cppunit_major_version \> $cppunit_major_min \| \
48867 $cppunit_major_version \= $cppunit_major_min \& \
48868 $cppunit_minor_version \> $cppunit_minor_min \| \
48869 $cppunit_major_version \= $cppunit_major_min \& \
48870 $cppunit_minor_version \= $cppunit_minor_min \& \
48871 $cppunit_micro_version \>= $cppunit_micro_min `
48873 if test "$cppunit_version_proper" = "1" ; then
48874 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48875 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48877 { echo "$as_me:$LINENO: result: no" >&5
48878 echo "${ECHO_T}no" >&6; }
48883 if test "x$no_cppunit" = x
; then
48884 SUBDIRS
="$SUBDIRS tests"
48895 for subdir
in `echo $SUBDIRS`; do
48896 if test -d ${srcdir}/${subdir} ; then
48897 if test "$wxUSE_GUI" = "yes"; then
48898 if test ${subdir} = "samples"; then
48899 makefiles
="samples/Makefile.in $makefiles"
48900 for sample
in `echo $SAMPLES_SUBDIRS`; do
48901 if test -d $srcdir/samples
/$sample; then
48902 makefiles
="samples/$sample/Makefile.in $makefiles"
48906 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48907 eval "disabled=\$$disabled_var"
48908 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48909 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48911 else if test ${subdir} = "samples"; then
48912 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48913 elif test ${subdir} = "utils"; then
48915 for util
in HelpGen tex2rtf
; do
48916 if test -d $srcdir/utils
/$util ; then
48917 makefiles
="utils/$util/Makefile.in \
48918 utils/$util/src/Makefile.in \
48922 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48926 for mkin
in $makefiles ; do
48927 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48928 ac_config_files
="$ac_config_files $mk"
48934 cat >confcache
<<\_ACEOF
48935 # This file is a shell script that caches the results of configure
48936 # tests run on this system so they can be shared between configure
48937 # scripts and configure runs, see configure's option --config-cache.
48938 # It is not useful on other systems. If it contains results you don't
48939 # want to keep, you may remove or edit it.
48941 # config.status only pays attention to the cache file if you give it
48942 # the --recheck option to rerun configure.
48944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48946 # following values.
48950 # The following way of writing the cache mishandles newlines in values,
48951 # but we know of no workaround that is simple, portable, and efficient.
48952 # So, we kill variables containing newlines.
48953 # Ultrix sh set writes to stderr and can't be redirected directly,
48954 # and sets the high bit in the cache file unless we assign to the vars.
48956 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48957 eval ac_val
=\$
$ac_var
48961 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48962 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48965 _
| IFS
| as_nl
) ;; #(
48966 *) $as_unset $ac_var ;;
48972 case $as_nl`(ac_space=' '; set) 2>&1` in #(
48973 *${as_nl}ac_space
=\
*)
48974 # `set' does not quote correctly, so add quotes (double-quote
48975 # substitution turns \\\\ into \\, and sed turns \\ into \).
48978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48981 # `set' quotes correctly as required by POSIX, so do not add quotes.
48982 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48993 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48995 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
48996 if test -w "$cache_file"; then
48997 test "x$cache_file" != "x/dev/null" &&
48998 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48999 echo "$as_me: updating cache $cache_file" >&6;}
49000 cat confcache
>$cache_file
49002 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49003 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49008 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49009 # Let make expand exec_prefix.
49010 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49012 DEFS
=-DHAVE_CONFIG_H
49016 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49017 # 1. Remove the extension, and $U if already installed.
49018 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49019 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49020 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49021 # will be set to the directory where LIBOBJS objects are built.
49022 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49023 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49025 LIBOBJS
=$ac_libobjs
49027 LTLIBOBJS
=$ac_ltlibobjs
49031 : ${CONFIG_STATUS=./config.status}
49032 ac_clean_files_save
=$ac_clean_files
49033 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49034 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49035 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49036 cat >$CONFIG_STATUS <<_ACEOF
49038 # Generated by $as_me.
49039 # Run this file to recreate the current configuration.
49040 # Compiler output produced by configure, useful for debugging
49041 # configure, is in config.log if it exists.
49044 ac_cs_recheck=false
49046 SHELL=\${CONFIG_SHELL-$SHELL}
49049 cat >>$CONFIG_STATUS <<\_ACEOF
49050 ## --------------------- ##
49051 ## M4sh Initialization. ##
49052 ## --------------------- ##
49054 # Be more Bourne compatible
49055 DUALCASE
=1; export DUALCASE
# for MKS sh
49056 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49059 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49060 # is contrary to our usage. Disable this feature.
49061 alias -g '${1+"$@"}'='"$@"'
49062 setopt NO_GLOB_SUBST
49064 case `(set -o) 2>/dev/null` in
49065 *posix
*) set -o posix
;;
49074 # Avoid depending upon Character Ranges.
49075 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49076 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49077 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49078 as_cr_digits
='0123456789'
49079 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49081 # The user is always right.
49082 if test "${PATH_SEPARATOR+set}" != set; then
49083 echo "#! /bin/sh" >conf$$.sh
49084 echo "exit 0" >>conf$$.sh
49086 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49094 # Support unset when possible.
49095 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49103 # We need space, tab and new line, in precisely that order. Quoting is
49104 # there to prevent editors from complaining about space-tab.
49105 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49106 # splitting by setting IFS to empty value.)
49111 # Find who we are. Look in the path if we contain no directory separator.
49113 *[\\/]* ) as_myself
=$0 ;;
49114 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49115 for as_dir
in $PATH
49118 test -z "$as_dir" && as_dir
=.
49119 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49125 # We did not find ourselves, most probably we were run as `sh COMMAND'
49126 # in which case we are not to be found in the path.
49127 if test "x$as_myself" = x
; then
49130 if test ! -f "$as_myself"; then
49131 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49132 { (exit 1); exit 1; }
49135 # Work around bugs in pre-3.0 UWIN ksh.
49136 for as_var
in ENV MAIL MAILPATH
49137 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49145 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49146 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49147 LC_TELEPHONE LC_TIME
49149 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49150 eval $as_var=C
; export $as_var
49152 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49156 # Required to use basename.
49157 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49158 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49164 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49165 as_basename
=basename
49171 # Name of the executable.
49172 as_me
=`$as_basename -- "$0" ||
49173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49174 X"$0" : 'X\(//\)$' \| \
49175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49177 sed '/^.*\/\([^/][^/]*\)\/*$/{
49196 as_lineno_1
=$LINENO
49197 as_lineno_2
=$LINENO
49198 test "x$as_lineno_1" != "x$as_lineno_2" &&
49199 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49201 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49202 # uniformly replaced by the line number. The first 'sed' inserts a
49203 # line-number line after each line using $LINENO; the second 'sed'
49204 # does the real work. The second script uses 'N' to pair each
49205 # line-number line with the line containing $LINENO, and appends
49206 # trailing '-' during substitution so that $LINENO is not a special
49207 # case at line end.
49208 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49209 # scripts with optimization help from Paolo Bonzini. Blame Lee
49210 # E. McMahon (1931-1989) for sed's syntax. :-)
49222 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49225 ' >$as_me.lineno
&&
49226 chmod +x
"$as_me.lineno" ||
49227 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49228 { (exit 1); exit 1; }; }
49230 # Don't try to exec as it changes $[0], causing all sort of problems
49231 # (the dirname of $[0] is not the place where we might find the
49232 # original and so on. Autoconf is especially sensitive to this).
49233 .
"./$as_me.lineno"
49234 # Exit status is that of the last command.
49239 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49245 ECHO_C
= ECHO_N
= ECHO_T
=
49246 case `echo -n x` in
49248 case `echo 'x\c'` in
49249 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49256 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49257 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49263 rm -f conf$$ conf$$.exe conf$$.
file
49264 if test -d conf$$.dir
; then
49265 rm -f conf$$.dir
/conf$$.
file
49271 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49273 # ... but there are two gotchas:
49274 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49275 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49276 # In both cases, we have to default to `cp -p'.
49277 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49279 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49284 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49285 rmdir conf$$.dir
2>/dev
/null
49287 if mkdir -p .
2>/dev
/null
; then
49290 test -d .
/-p && rmdir .
/-p
49294 if test -x / >/dev
/null
2>&1; then
49295 as_test_x
='test -x'
49297 if ls -dL / >/dev
/null
2>&1; then
49304 if test -d "$1"; then
49310 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49311 ???[sx]*):;;*)false;;esac;fi
49315 as_executable_p
=$as_test_x
49317 # Sed expression to map a string onto a valid CPP name.
49318 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49320 # Sed expression to map a string onto a valid variable name.
49321 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49326 # Save the log message, to keep $[0] and so on meaningful, and to
49327 # report actual input values of CONFIG_FILES etc. instead of their
49328 # values after options handling.
49330 This file was extended by wxWidgets $as_me 2.9.0, which was
49331 generated by GNU Autoconf 2.61. Invocation command line was
49333 CONFIG_FILES = $CONFIG_FILES
49334 CONFIG_HEADERS = $CONFIG_HEADERS
49335 CONFIG_LINKS = $CONFIG_LINKS
49336 CONFIG_COMMANDS = $CONFIG_COMMANDS
49339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49344 cat >>$CONFIG_STATUS <<_ACEOF
49345 # Files that config.status was made for.
49346 config_files="$ac_config_files"
49347 config_headers="$ac_config_headers"
49348 config_commands="$ac_config_commands"
49352 cat >>$CONFIG_STATUS <<\_ACEOF
49354 \`$as_me' instantiates files from templates according to the
49355 current configuration.
49357 Usage: $0 [OPTIONS] [FILE]...
49359 -h, --help print this help, then exit
49360 -V, --version print version number and configuration settings, then exit
49361 -q, --quiet do not print progress messages
49362 -d, --debug don't remove temporary files
49363 --recheck update $as_me by reconfiguring in the same conditions
49364 --file=FILE[:TEMPLATE]
49365 instantiate the configuration file FILE
49366 --header=FILE[:TEMPLATE]
49367 instantiate the configuration header FILE
49369 Configuration files:
49372 Configuration headers:
49375 Configuration commands:
49378 Report bugs to <bug-autoconf@gnu.org>."
49381 cat >>$CONFIG_STATUS <<_ACEOF
49383 wxWidgets config.status 2.9.0
49384 configured by $0, generated by GNU Autoconf 2.61,
49385 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49387 Copyright (C) 2006 Free Software Foundation, Inc.
49388 This config.status script is free software; the Free Software Foundation
49389 gives unlimited permission to copy, distribute and modify it."
49396 cat >>$CONFIG_STATUS <<\_ACEOF
49397 # If no file are specified by the user, then we need to provide default
49398 # value. By we need to know if files were specified by the user.
49404 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49405 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49416 # Handling of the options.
49417 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49419 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49420 echo "$ac_cs_version"; exit ;;
49421 --debug | --debu | --deb | --de | --d | -d )
49423 --file | --fil | --fi | --f )
49425 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49426 ac_need_defaults
=false
;;
49427 --header | --heade | --head | --hea )
49429 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49430 ac_need_defaults
=false
;;
49432 # Conflict between --help and --header
49433 { echo "$as_me: error: ambiguous option: $1
49434 Try \`$0 --help' for more information." >&2
49435 { (exit 1); exit 1; }; };;
49436 --help | --hel | -h )
49437 echo "$ac_cs_usage"; exit ;;
49438 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49439 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49442 # This is an error.
49443 -*) { echo "$as_me: error: unrecognized option: $1
49444 Try \`$0 --help' for more information." >&2
49445 { (exit 1); exit 1; }; } ;;
49447 *) ac_config_targets
="$ac_config_targets $1"
49448 ac_need_defaults
=false
;;
49454 ac_configure_extra_args
=
49456 if $ac_cs_silent; then
49458 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49462 cat >>$CONFIG_STATUS <<_ACEOF
49463 if \$ac_cs_recheck; then
49464 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49465 CONFIG_SHELL=$SHELL
49466 export CONFIG_SHELL
49467 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49471 cat >>$CONFIG_STATUS <<\_ACEOF
49475 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49476 ## Running $as_me. ##
49482 cat >>$CONFIG_STATUS <<_ACEOF
49488 infile="$srcdir/include/wx/msw/genrcdefs.h"
49489 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49492 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49493 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49494 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49500 cat >>$CONFIG_STATUS <<\_ACEOF
49502 # Handling of arguments.
49503 for ac_config_target
in $ac_config_targets
49505 case $ac_config_target in
49506 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49507 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49508 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49509 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49510 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49511 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49512 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49513 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49515 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49516 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49517 { (exit 1); exit 1; }; };;
49522 # If the user did not use the arguments to specify the items to instantiate,
49523 # then the envvar interface is used. Set only those that are not.
49524 # We use the long form for the default assignment because of an extremely
49525 # bizarre bug on SunOS 4.1.3.
49526 if $ac_need_defaults; then
49527 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49528 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49529 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49532 # Have a temporary directory for convenience. Make it in the build tree
49533 # simply because there is no reason against having it here, and in addition,
49534 # creating and moving files from /tmp can sometimes cause problems.
49535 # Hook for its removal unless debugging.
49536 # Note that there is a small window in which the directory will not be cleaned:
49537 # after its creation but before its name has been assigned to `$tmp'.
49541 trap 'exit_status=$?
49542 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49544 trap '{ (exit 1); exit 1; }' 1 2 13 15
49546 # Create a (secure) tmp directory for tmp files.
49549 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49550 test -n "$tmp" && test -d "$tmp"
49553 tmp
=.
/conf$$
-$RANDOM
49554 (umask 077 && mkdir "$tmp")
49557 echo "$me: cannot create a temporary directory in ." >&2
49558 { (exit 1); exit 1; }
49562 # Set up the sed scripts for CONFIG_FILES section.
49565 # No need to generate the scripts if there are no CONFIG_FILES.
49566 # This happens for instance when ./config.status config.h
49567 if test -n "$CONFIG_FILES"; then
49574 for ac_last_try
in false false false false false
:; do
49575 cat >conf$
$subs.
sed <<_ACEOF
49576 SHELL!$SHELL$ac_delim
49577 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49578 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49579 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49580 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49581 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49582 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49583 exec_prefix!$exec_prefix$ac_delim
49584 prefix!$prefix$ac_delim
49585 program_transform_name!$program_transform_name$ac_delim
49586 bindir!$bindir$ac_delim
49587 sbindir!$sbindir$ac_delim
49588 libexecdir!$libexecdir$ac_delim
49589 datarootdir!$datarootdir$ac_delim
49590 datadir!$datadir$ac_delim
49591 sysconfdir!$sysconfdir$ac_delim
49592 sharedstatedir!$sharedstatedir$ac_delim
49593 localstatedir!$localstatedir$ac_delim
49594 includedir!$includedir$ac_delim
49595 oldincludedir!$oldincludedir$ac_delim
49596 docdir!$docdir$ac_delim
49597 infodir!$infodir$ac_delim
49598 htmldir!$htmldir$ac_delim
49599 dvidir!$dvidir$ac_delim
49600 pdfdir!$pdfdir$ac_delim
49601 psdir!$psdir$ac_delim
49602 libdir!$libdir$ac_delim
49603 localedir!$localedir$ac_delim
49604 mandir!$mandir$ac_delim
49605 DEFS!$DEFS$ac_delim
49606 ECHO_C!$ECHO_C$ac_delim
49607 ECHO_N!$ECHO_N$ac_delim
49608 ECHO_T!$ECHO_T$ac_delim
49609 LIBS!$LIBS$ac_delim
49610 build_alias!$build_alias$ac_delim
49611 host_alias!$host_alias$ac_delim
49612 target_alias!$target_alias$ac_delim
49613 build!$build$ac_delim
49614 build_cpu!$build_cpu$ac_delim
49615 build_vendor!$build_vendor$ac_delim
49616 build_os!$build_os$ac_delim
49617 host!$host$ac_delim
49618 host_cpu!$host_cpu$ac_delim
49619 host_vendor!$host_vendor$ac_delim
49620 host_os!$host_os$ac_delim
49621 target!$target$ac_delim
49622 target_cpu!$target_cpu$ac_delim
49623 target_vendor!$target_vendor$ac_delim
49624 target_os!$target_os$ac_delim
49625 wx_top_builddir!$wx_top_builddir$ac_delim
49627 CFLAGS!$CFLAGS$ac_delim
49628 LDFLAGS!$LDFLAGS$ac_delim
49629 CPPFLAGS!$CPPFLAGS$ac_delim
49630 ac_ct_CC!$ac_ct_CC$ac_delim
49631 EXEEXT!$EXEEXT$ac_delim
49632 OBJEXT!$OBJEXT$ac_delim
49634 GREP!$GREP$ac_delim
49635 EGREP!$EGREP$ac_delim
49637 CXXFLAGS!$CXXFLAGS$ac_delim
49638 ac_ct_CXX!$ac_ct_CXX$ac_delim
49639 RANLIB!$RANLIB$ac_delim
49641 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49642 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49643 INSTALL_DATA!$INSTALL_DATA$ac_delim
49644 STRIP!$STRIP$ac_delim
49645 WINDRES!$WINDRES$ac_delim
49646 DLLTOOL!$DLLTOOL$ac_delim
49647 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49648 LN_S!$LN_S$ac_delim
49649 subdirs!$subdirs$ac_delim
49650 PKG_CONFIG!$PKG_CONFIG$ac_delim
49651 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49652 GTK_LIBS!$GTK_LIBS$ac_delim
49653 GTK_CONFIG!$GTK_CONFIG$ac_delim
49654 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49655 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49656 XMKMF!$XMKMF$ac_delim
49657 X_CFLAGS!$X_CFLAGS$ac_delim
49658 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49659 X_LIBS!$X_LIBS$ac_delim
49660 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49661 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49662 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49663 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49664 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49665 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49666 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49668 DEREZ!$DEREZ$ac_delim
49669 SETFILE!$SETFILE$ac_delim
49670 LIBICONV!$LIBICONV$ac_delim
49671 SDL_CONFIG!$SDL_CONFIG$ac_delim
49672 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49675 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49677 elif $ac_last_try; then
49678 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49679 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49680 { (exit 1); exit 1; }; }
49682 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49686 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49687 if test -n "$ac_eof"; then
49688 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49689 ac_eof
=`expr $ac_eof + 1`
49692 cat >>$CONFIG_STATUS <<_ACEOF
49693 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49697 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49698 s/^/s,@/; s/!/@,|#_!!_#|/
49701 s/'"$ac_delim"'$/,g/; t
49703 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49704 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49705 rm -f conf$
$subs.
sed
49706 cat >>$CONFIG_STATUS <<_ACEOF
49712 for ac_last_try
in false false false false false
:; do
49713 cat >conf$
$subs.
sed <<_ACEOF
49714 SDL_LIBS!$SDL_LIBS$ac_delim
49715 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49716 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49717 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49718 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49719 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49720 HILDON_LIBS!$HILDON_LIBS$ac_delim
49721 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49722 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49723 GST_CFLAGS!$GST_CFLAGS$ac_delim
49724 GST_LIBS!$GST_LIBS$ac_delim
49725 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49726 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49727 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49728 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49729 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49730 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49731 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49732 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49733 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49734 VENDOR!$VENDOR$ac_delim
49735 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49736 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49737 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49738 WXUNIV!$WXUNIV$ac_delim
49739 MONOLITHIC!$MONOLITHIC$ac_delim
49740 USE_PLUGINS!$USE_PLUGINS$ac_delim
49741 EXTRALIBS!$EXTRALIBS$ac_delim
49742 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49743 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49744 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49745 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49746 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49747 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49748 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49749 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49750 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49751 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49752 UNICODE!$UNICODE$ac_delim
49753 BUILD!$BUILD$ac_delim
49754 DEBUG_INFO!$DEBUG_INFO$ac_delim
49755 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49756 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49757 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49758 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49759 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49760 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49761 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49762 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49763 SET_MAKE!$SET_MAKE$ac_delim
49764 MAKE_SET!$MAKE_SET$ac_delim
49765 AROPTIONS!$AROPTIONS$ac_delim
49767 INSTALL_DIR!$INSTALL_DIR$ac_delim
49768 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49769 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49770 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49771 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49772 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49773 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49774 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49775 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49776 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49777 SO_SUFFIX!$SO_SUFFIX$ac_delim
49778 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49779 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49780 LIBPREFIX!$LIBPREFIX$ac_delim
49781 LIBEXT!$LIBEXT$ac_delim
49782 DLLPREFIX!$DLLPREFIX$ac_delim
49783 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49784 dlldir!$dlldir$ac_delim
49785 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49786 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49787 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49788 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49789 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49790 PIC_FLAG!$PIC_FLAG$ac_delim
49791 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49792 USE_SOVERSION!$USE_SOVERSION$ac_delim
49793 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49794 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49795 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49796 USE_MACVERSION!$USE_MACVERSION$ac_delim
49797 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49798 SONAME_FLAG!$SONAME_FLAG$ac_delim
49799 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49800 BK_DEPS!$BK_DEPS$ac_delim
49801 GCC_PCH!$GCC_PCH$ac_delim
49802 ICC_PCH!$ICC_PCH$ac_delim
49803 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49804 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49805 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49806 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49807 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49808 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49809 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49810 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49813 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49815 elif $ac_last_try; then
49816 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49817 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49818 { (exit 1); exit 1; }; }
49820 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49824 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49825 if test -n "$ac_eof"; then
49826 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49827 ac_eof
=`expr $ac_eof + 1`
49830 cat >>$CONFIG_STATUS <<_ACEOF
49831 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49835 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49836 s/^/s,@/; s/!/@,|#_!!_#|/
49839 s/'"$ac_delim"'$/,g/; t
49841 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49842 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49843 rm -f conf$
$subs.
sed
49844 cat >>$CONFIG_STATUS <<_ACEOF
49850 for ac_last_try
in false false false false false
:; do
49851 cat >conf$
$subs.
sed <<_ACEOF
49852 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49853 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49854 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49855 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49856 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49857 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49858 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49859 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49860 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49861 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49862 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49863 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49869 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49870 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49871 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49872 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49873 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49874 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49880 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49881 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49882 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49883 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49884 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49885 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49886 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49887 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49888 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49889 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49890 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49891 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49892 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49893 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49894 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49895 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49896 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49897 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49898 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49899 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49900 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49902 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49903 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49904 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49905 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49906 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49907 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49908 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49909 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49910 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49911 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49912 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49913 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49914 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49915 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
49916 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
49917 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
49918 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
49919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
49920 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
49921 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
49922 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
49923 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
49924 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
49925 COND_SHARED_0!$COND_SHARED_0$ac_delim
49926 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
49927 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
49928 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
49929 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
49930 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
49931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
49932 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
49933 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
49934 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
49935 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
49936 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
49937 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
49938 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
49939 COND_SHARED_1!$COND_SHARED_1$ac_delim
49940 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
49941 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
49942 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
49943 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
49944 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
49945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
49946 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
49947 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
49948 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
49951 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49953 elif $ac_last_try; then
49954 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49956 { (exit 1); exit 1; }; }
49958 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49962 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49963 if test -n "$ac_eof"; then
49964 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49965 ac_eof
=`expr $ac_eof + 1`
49968 cat >>$CONFIG_STATUS <<_ACEOF
49969 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
49970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49973 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49974 s/^/s,@/; s/!/@,|#_!!_#|/
49977 s/'"$ac_delim"'$/,g/; t
49979 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49980 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49981 rm -f conf$
$subs.
sed
49982 cat >>$CONFIG_STATUS <<_ACEOF
49988 for ac_last_try
in false false false false false
:; do
49989 cat >conf$
$subs.
sed <<_ACEOF
49990 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
49991 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
49992 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
49993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
49994 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
49995 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
49996 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
49997 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
49998 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
49999 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50000 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50001 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50002 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50003 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50005 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50006 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50008 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50009 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50010 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50011 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50012 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50013 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50014 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50015 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50016 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50017 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50018 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50019 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50020 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50021 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50022 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50023 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50024 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50025 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50026 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50027 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50028 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50029 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50030 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50031 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50032 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50033 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50034 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50035 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50036 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50037 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50038 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50039 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50040 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50041 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50042 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50043 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50044 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50045 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50046 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50047 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50048 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50049 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50050 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50051 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50052 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50053 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50054 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50055 SHARED!$SHARED$ac_delim
50056 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50057 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50058 USE_GUI!$USE_GUI$ac_delim
50059 AFMINSTALL!$AFMINSTALL$ac_delim
50060 WIN32INSTALL!$WIN32INSTALL$ac_delim
50061 TOOLKIT!$TOOLKIT$ac_delim
50062 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50063 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50064 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50065 cross_compiling!$cross_compiling$ac_delim
50066 WIDGET_SET!$WIDGET_SET$ac_delim
50067 WX_RELEASE!$WX_RELEASE$ac_delim
50068 WX_VERSION!$WX_VERSION$ac_delim
50069 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50070 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50071 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50072 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50073 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50074 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50075 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50076 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50077 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50078 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50079 EXE_LINKER!$EXE_LINKER$ac_delim
50080 GUIDIST!$GUIDIST$ac_delim
50081 DISTDIR!$DISTDIR$ac_delim
50082 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50083 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50084 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50085 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50086 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50089 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50091 elif $ac_last_try; then
50092 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50093 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50094 { (exit 1); exit 1; }; }
50096 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50100 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50101 if test -n "$ac_eof"; then
50102 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50103 ac_eof
=`expr $ac_eof + 1`
50106 cat >>$CONFIG_STATUS <<_ACEOF
50107 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50108 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50111 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50112 s/^/s,@/; s/!/@,|#_!!_#|/
50115 s/'"$ac_delim"'$/,g/; t
50117 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50118 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50119 rm -f conf$
$subs.
sed
50120 cat >>$CONFIG_STATUS <<_ACEOF
50126 for ac_last_try
in false false false false false
:; do
50127 cat >conf$
$subs.
sed <<_ACEOF
50128 RESCOMP!$RESCOMP$ac_delim
50129 RESFLAGS!$RESFLAGS$ac_delim
50130 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50131 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50132 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50133 LIBWXMACRES!$LIBWXMACRES$ac_delim
50134 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50135 MACSETFILE!$MACSETFILE$ac_delim
50137 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50138 LIBOBJS!$LIBOBJS$ac_delim
50139 LTLIBOBJS!$LTLIBOBJS$ac_delim
50142 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
50144 elif $ac_last_try; then
50145 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50146 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50147 { (exit 1); exit 1; }; }
50149 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50153 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50154 if test -n "$ac_eof"; then
50155 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50156 ac_eof
=`expr $ac_eof + 1`
50159 cat >>$CONFIG_STATUS <<_ACEOF
50160 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50164 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50165 s/^/s,@/; s/!/@,|#_!!_#|/
50168 s/'"$ac_delim"'$/,g/; t
50170 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50171 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50172 rm -f conf$
$subs.
sed
50173 cat >>$CONFIG_STATUS <<_ACEOF
50180 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50181 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50182 # trailing colons and then remove the whole line if VPATH becomes empty
50183 # (actually we leave an empty line to preserve line numbers).
50184 if test "x$srcdir" = x.
; then
50185 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50186 s/:*\$(srcdir):*/:/
50187 s/:*\${srcdir}:*/:/
50189 s/^\([^=]*=[ ]*\):*/\1/
50195 cat >>$CONFIG_STATUS <<\_ACEOF
50196 fi # test -n "$CONFIG_FILES"
50199 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50202 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50204 case $ac_mode$ac_tag in
50206 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50207 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50208 { (exit 1); exit 1; }; };;
50209 :[FH
]-) ac_tag
=-:-;;
50210 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50227 -) ac_f
="$tmp/stdin";;
50228 *) # Look for the file first in the build tree, then in the source tree
50229 # (if the path is not absolute). The absolute path cannot be DOS-style,
50230 # because $ac_f cannot contain `:'.
50234 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50236 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50237 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50238 { (exit 1); exit 1; }; };;
50240 ac_file_inputs
="$ac_file_inputs $ac_f"
50243 # Let's still pretend it is `configure' which instantiates (i.e., don't
50244 # use $as_me), people would be surprised to read:
50245 # /* config.h. Generated by config.status. */
50246 configure_input
="Generated from "`IFS=:
50247 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50248 if test x
"$ac_file" != x
-; then
50249 configure_input
="$ac_file. $configure_input"
50250 { echo "$as_me:$LINENO: creating $ac_file" >&5
50251 echo "$as_me: creating $ac_file" >&6;}
50255 *:-:* | *:-) cat >"$tmp/stdin";;
50260 ac_dir
=`$as_dirname -- "$ac_file" ||
50261 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50262 X"$ac_file" : 'X\(//\)[^/]' \| \
50263 X"$ac_file" : 'X\(//\)$' \| \
50264 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50270 /^X\(\/\/\)[^/].*/{
50285 -*) as_dir
=.
/$as_dir;;
50287 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50291 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50292 *) as_qdir
=$as_dir;;
50294 as_dirs
="'$as_qdir' $as_dirs"
50295 as_dir
=`$as_dirname -- "$as_dir" ||
50296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50297 X"$as_dir" : 'X\(//\)[^/]' \| \
50298 X"$as_dir" : 'X\(//\)$' \| \
50299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50305 /^X\(\/\/\)[^/].*/{
50318 test -d "$as_dir" && break
50320 test -z "$as_dirs" || eval "mkdir $as_dirs"
50321 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50322 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50323 { (exit 1); exit 1; }; }; }
50327 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50329 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50330 # A ".." for each directory in $ac_dir_suffix.
50331 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50332 case $ac_top_builddir_sub in
50333 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50334 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50337 ac_abs_top_builddir
=$ac_pwd
50338 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50339 # for backward compatibility:
50340 ac_top_builddir
=$ac_top_build_prefix
50343 .
) # We are building in place.
50345 ac_top_srcdir
=$ac_top_builddir_sub
50346 ac_abs_top_srcdir
=$ac_pwd ;;
50347 [\\/]* | ?
:[\\/]* ) # Absolute name.
50348 ac_srcdir
=$srcdir$ac_dir_suffix;
50349 ac_top_srcdir
=$srcdir
50350 ac_abs_top_srcdir
=$srcdir ;;
50351 *) # Relative name.
50352 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50353 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50354 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50356 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50366 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50367 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50371 cat >>$CONFIG_STATUS <<\_ACEOF
50372 # If the template does not know about datarootdir, expand it.
50373 # FIXME: This hack should be removed a few years after 2.60.
50374 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50376 case `sed -n '/datarootdir/ {
50385 ' $ac_file_inputs` in
50386 *datarootdir
*) ac_datarootdir_seen
=yes;;
50387 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50388 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50389 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50391 cat >>$CONFIG_STATUS <<_ACEOF
50392 ac_datarootdir_hack='
50393 s&@datadir@&$datadir&g
50394 s&@docdir@&$docdir&g
50395 s&@infodir@&$infodir&g
50396 s&@localedir@&$localedir&g
50397 s&@mandir@&$mandir&g
50398 s&\\\${datarootdir}&$datarootdir&g' ;;
50402 # Neutralize VPATH when `$srcdir' = `.'.
50403 # Shell code in configure.ac might set extrasub.
50404 # FIXME: do we really want to maintain this feature?
50405 cat >>$CONFIG_STATUS <<_ACEOF
50409 cat >>$CONFIG_STATUS <<\_ACEOF
50411 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50412 s
&@configure_input@
&$configure_input&;t t
50413 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50414 s
&@srcdir@
&$ac_srcdir&;t t
50415 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50416 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50417 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50418 s
&@builddir@
&$ac_builddir&;t t
50419 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50420 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50421 s
&@INSTALL@
&$ac_INSTALL&;t t
50422 $ac_datarootdir_hack
50423 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed -f "$tmp/subs
-5.
sed" >$tmp/out
50425 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50426 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50427 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50428 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50429 which seems to be undefined. Please make sure it is defined." >&5
50430 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50431 which seems to be undefined. Please make sure it is defined." >&2;}
50435 -) cat "$tmp/out"; rm -f "$tmp/out";;
50436 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50445 # Transform confdefs.h into a sed script `conftest.defines', that
50446 # substitutes the proper values into config.h.in to produce config.h.
50447 rm -f conftest.defines conftest.
tail
50448 # First, append a space to every undef/define line, to ease matching.
50449 echo 's/$/ /' >conftest.defines
50450 # Then, protect against being on the right side of a sed subst, or in
50451 # an unquoted here document, in config.status. If some macros were
50452 # called several times there might be several #defines for the same
50453 # symbol, which is useless. But do not sort them, since the last
50454 # AC_DEFINE must be honored.
50455 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50456 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50457 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50458 # PARAMS is the parameter list in the macro definition--in most cases, it's
50459 # just an empty string.
50460 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50461 ac_dB
='\\)[ (].*,\\1define\\2'
50469 s/^[ ]*#[ ]*define[ ][ ]*//
50474 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50475 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50476 ' >>conftest.defines
50478 # Remove the space that was appended to ease matching.
50479 # Then replace #undef with comments. This is necessary, for
50480 # example, in the case of _POSIX_SOURCE, which is predefined and required
50481 # on some systems where configure will not decide to define it.
50482 # (The regexp can be short, since the line contains either #define or #undef.)
50484 s,^[ #]*u.*,/* & */,' >>conftest.defines
50486 # Break up conftest.defines:
50487 ac_max_sed_lines
=50
50489 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50490 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50491 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50493 ac_in
='$ac_file_inputs'
50494 ac_out
='"$tmp/out1"'
50495 ac_nxt
='"$tmp/out2"'
50499 # Write a here document:
50500 cat >>$CONFIG_STATUS <<_ACEOF
50501 # First, check the format of the line:
50502 cat >"\$tmp/defines.sed" <<\\CEOF
50503 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50504 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50508 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50510 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50511 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50512 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50513 grep . conftest.
tail >/dev
/null
|| break
50514 rm -f conftest.defines
50515 mv conftest.
tail conftest.defines
50517 rm -f conftest.defines conftest.
tail
50519 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50520 cat >>$CONFIG_STATUS <<\_ACEOF
50521 if test x
"$ac_file" != x
-; then
50522 echo "/* $configure_input */" >"$tmp/config.h"
50523 cat "$ac_result" >>"$tmp/config.h"
50524 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50525 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50526 echo "$as_me: $ac_file is unchanged" >&6;}
50529 mv "$tmp/config.h" $ac_file
50532 echo "/* $configure_input */"
50538 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50539 echo "$as_me: executing $ac_file commands" >&6;}
50544 case $ac_file$ac_mode in
50546 mkdir -p $outdir &&
50547 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50549 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50550 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50551 "wx-config":C
) rm -f wx
-config
50552 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50559 { (exit 0); exit 0; }
50561 chmod +x
$CONFIG_STATUS
50562 ac_clean_files
=$ac_clean_files_save
50565 # configure is writing to config.log, and then calls config.status.
50566 # config.status does its own redirection, appending to config.log.
50567 # Unfortunately, on DOS this fails, as config.log is still kept open
50568 # by configure, so config.status won't be able to write to it; its
50569 # output is simply discarded. So we exec the FD to /dev/null,
50570 # effectively closing config.log, so it can be properly (re)opened and
50571 # appended to by config.status. When coming back to configure, we
50572 # need to make the FD available again.
50573 if test "$no_create" != yes; then
50575 ac_config_status_args
=
50576 test "$silent" = yes &&
50577 ac_config_status_args
="$ac_config_status_args --quiet"
50579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50582 # would make configure fail if this is the last instruction.
50583 $ac_cs_success || { (exit 1); exit 1; }
50587 # CONFIG_SUBDIRS section.
50589 if test "$no_recursion" != yes; then
50591 # Remove --cache-file and --srcdir arguments so they do not pile up.
50592 ac_sub_configure_args
=
50594 eval "set x $ac_configure_args"
50598 if test -n "$ac_prev"; then
50603 -cache-file | --cache-file | --cache-fil | --cache-fi \
50604 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50605 ac_prev
=cache_file
;;
50606 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50607 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50610 --config-cache | -C)
50612 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50614 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50616 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50618 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50622 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50624 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50628 # Always prepend --prefix to ensure using the same prefix
50629 # in subdir configurations.
50630 ac_arg
="--prefix=$prefix"
50632 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50634 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50637 if test "$silent" = yes; then
50638 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50642 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50644 # Do not complain, so a configure script can configure whichever
50645 # parts of a large source tree are present.
50646 test -d "$srcdir/$ac_dir" || continue
50648 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50649 echo "$as_me:$LINENO: $ac_msg" >&5
50653 -*) as_dir
=.
/$as_dir;;
50655 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50659 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50660 *) as_qdir
=$as_dir;;
50662 as_dirs
="'$as_qdir' $as_dirs"
50663 as_dir
=`$as_dirname -- "$as_dir" ||
50664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50665 X"$as_dir" : 'X\(//\)[^/]' \| \
50666 X"$as_dir" : 'X\(//\)$' \| \
50667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50673 /^X\(\/\/\)[^/].*/{
50686 test -d "$as_dir" && break
50688 test -z "$as_dirs" || eval "mkdir $as_dirs"
50689 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50690 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50691 { (exit 1); exit 1; }; }; }
50695 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50697 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50698 # A ".." for each directory in $ac_dir_suffix.
50699 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50700 case $ac_top_builddir_sub in
50701 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50702 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50705 ac_abs_top_builddir
=$ac_pwd
50706 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50707 # for backward compatibility:
50708 ac_top_builddir
=$ac_top_build_prefix
50711 .
) # We are building in place.
50713 ac_top_srcdir
=$ac_top_builddir_sub
50714 ac_abs_top_srcdir
=$ac_pwd ;;
50715 [\\/]* | ?
:[\\/]* ) # Absolute name.
50716 ac_srcdir
=$srcdir$ac_dir_suffix;
50717 ac_top_srcdir
=$srcdir
50718 ac_abs_top_srcdir
=$srcdir ;;
50719 *) # Relative name.
50720 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50721 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50722 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50724 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50729 # Check for guested configure; otherwise get Cygnus style configure.
50730 if test -f "$ac_srcdir/configure.gnu"; then
50731 ac_sub_configure
=$ac_srcdir/configure.gnu
50732 elif test -f "$ac_srcdir/configure"; then
50733 ac_sub_configure
=$ac_srcdir/configure
50734 elif test -f "$ac_srcdir/configure.in"; then
50735 # This should be Cygnus configure.
50736 ac_sub_configure
=$ac_aux_dir/configure
50738 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50739 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50743 # The recursion is here.
50744 if test -n "$ac_sub_configure"; then
50745 # Make the cache file name correct relative to the subdirectory.
50746 case $cache_file in
50747 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50748 *) # Relative name.
50749 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50752 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50753 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50754 # The eval makes quoting arguments work.
50755 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50756 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50757 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50758 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50759 { (exit 1); exit 1; }; }
50768 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50770 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50771 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50773 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50774 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50775 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50777 echo " What level of wxWidgets compatibility should be enabled?"
50778 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50779 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50781 echo " Which libraries should wxWidgets use?"
50782 echo " jpeg ${wxUSE_LIBJPEG-none}"
50783 echo " png ${wxUSE_LIBPNG-none}"
50784 echo " regex ${wxUSE_REGEX}"
50785 echo " tiff ${wxUSE_LIBTIFF-none}"
50786 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50787 echo " xpm ${wxUSE_LIBXPM-none}"
50789 echo " zlib ${wxUSE_ZLIB}"
50790 echo " odbc ${wxUSE_ODBC}"
50791 echo " expat ${wxUSE_EXPAT}"
50792 echo " libmspack ${wxUSE_LIBMSPACK}"
50793 echo " sdl ${wxUSE_LIBSDL}"