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. */
22387 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22392 rm -f conftest.$ac_objext conftest$ac_exeext
22393 if { (ac_try="$ac_link"
22394 case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;;
22398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_link") 2>conftest.er1
22401 grep -v '^
*+' conftest.er1 >conftest.err
22403 cat conftest.err >&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && {
22406 test -z "$ac_c_werror_flag" ||
22407 test ! -s conftest.err
22408 } && test -s conftest$ac_exeext &&
22409 $as_test_x conftest$ac_exeext; then
22410 ac_cv_sys_largefile_source=no; break
22412 echo "$as_me: failed program was:" >&5
22413 sed 's
/^
/| /' conftest.$ac_ext >&5
22418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22419 conftest$ac_exeext conftest.$ac_ext
22420 cat >conftest.$ac_ext <<_ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 #define _LARGEFILE_SOURCE 1
22431 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22436 rm -f conftest.$ac_objext conftest$ac_exeext
22437 if { (ac_try="$ac_link"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22440 *) ac_try_echo=$ac_try;;
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_link") 2>conftest.er1
22445 grep -v '^
*+' conftest.er1 >conftest.err
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest$ac_exeext &&
22453 $as_test_x conftest$ac_exeext; then
22454 ac_cv_sys_largefile_source=1; break
22456 echo "$as_me: failed program was:" >&5
22457 sed 's
/^
/| /' conftest.$ac_ext >&5
22462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22463 conftest$ac_exeext conftest.$ac_ext
22464 ac_cv_sys_largefile_source=unknown
22468 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22469 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22470 case $ac_cv_sys_largefile_source in #(
22473 cat >>confdefs.h <<_ACEOF
22474 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22480 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22481 # in glibc 2.1.3, but that breaks too many other things.
22482 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22483 if test $ac_cv_sys_largefile_source != unknown; then
22485 cat >>confdefs.h <<\_ACEOF
22486 #define HAVE_FSEEKO 1
22491 if test "$ac_cv_sys_largefile_source" != no; then
22492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22496 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22497 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22498 if test "${ac_cv_c_bigendian+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 ac_cv_c_bigendian=unknown
22502 # See if sys/param.h defines the BYTE_ORDER macro.
22503 cat >conftest.$ac_ext <<_ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 #include <sys/types.h>
22510 #include <sys/param.h>
22515 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22516 bogus endian macros
22522 rm -f conftest.$ac_objext
22523 if { (ac_try="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22531 grep -v '^
*+' conftest.er1 >conftest.err
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22539 # It does; now see whether it defined to BIG_ENDIAN or not.
22540 cat >conftest.$ac_ext <<_ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 #include <sys/types.h>
22547 #include <sys/param.h>
22552 #if BYTE_ORDER != BIG_ENDIAN
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563 *) ac_try_echo=$ac_try;;
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22568 grep -v '^
*+' conftest.er1 >conftest.err
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest.$ac_objext; then
22576 ac_cv_c_bigendian=yes
22578 echo "$as_me: failed program was:" >&5
22579 sed 's
/^
/| /' conftest.$ac_ext >&5
22581 ac_cv_c_bigendian=no
22584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 echo "$as_me: failed program was:" >&5
22587 sed 's
/^
/| /' conftest.$ac_ext >&5
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 if test $ac_cv_c_bigendian = unknown; then
22594 if test "$cross_compiling" = yes; then
22595 ac_cv_c_bigendian=unknown
22597 cat >conftest.$ac_ext <<_ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22604 /* Are we little or big endian? From Harbison&Steele. */
22608 char c[sizeof (long)];
22611 exit (u.c[sizeof (long) - 1] == 1);
22614 rm -f conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_link") 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22625 { (case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_try") 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_cv_c_bigendian=no
22636 echo "$as_me: program exited with status $ac_status" >&5
22637 echo "$as_me: failed program was:" >&5
22638 sed 's
/^
/| /' conftest.$ac_ext >&5
22640 ( exit $ac_status )
22641 ac_cv_c_bigendian=yes
22643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22649 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22651 if test $ac_cv_c_bigendian = unknown; then
22652 { 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
22653 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;}
22655 if test $ac_cv_c_bigendian = yes; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define WORDS_BIGENDIAN 1
22666 ac_cpp='$CXXCPP $CPPFLAGS'
22667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22668 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22672 { echo "$as_me:$LINENO: checking for iostream" >&5
22673 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22674 if test "${ac_cv_header_iostream+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22677 cat >conftest.$ac_ext <<_ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22685 #include <iostream>
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22696 grep -v '^
*+' conftest.er1 >conftest.err
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } && {
22701 test -z "$ac_cxx_werror_flag" ||
22702 test ! -s conftest.err
22703 } && test -s conftest.$ac_objext; then
22704 ac_cv_header_iostream=yes
22706 echo "$as_me: failed program was:" >&5
22707 sed 's
/^
/| /' conftest.$ac_ext >&5
22709 ac_cv_header_iostream=no
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22714 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22715 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22719 if test "$ac_cv_header_iostream" = "yes" ; then
22722 cat >>confdefs.h <<\_ACEOF
22723 #define wxUSE_IOSTREAMH 1
22729 ac_cpp='$CPP $CPPFLAGS'
22730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22731 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22737 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22738 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22739 if test "${wx_cv_cpp_bool+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 ac_cpp='$CXXCPP $CPPFLAGS'
22746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22747 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22751 cat >conftest.$ac_ext <<_ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22771 rm -f conftest.$ac_objext
22772 if { (ac_try="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22780 grep -v '^
*+' conftest.er1 >conftest.err
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } && {
22785 test -z "$ac_cxx_werror_flag" ||
22786 test ! -s conftest.err
22787 } && test -s conftest.$ac_objext; then
22792 echo "$as_me: failed program was:" >&5
22793 sed 's
/^
/| /' conftest.$ac_ext >&5
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_cpp='$CPP $CPPFLAGS'
22805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22806 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22812 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22814 if test "$wx_cv_cpp_bool" = "yes"; then
22815 cat >>confdefs.h <<\_ACEOF
22816 #define HAVE_BOOL 1
22823 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22824 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22825 if test "${wx_cv_explicit+set}" = set; then
22826 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 ac_cpp='$CXXCPP $CPPFLAGS'
22832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22833 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837 cat >conftest.$ac_ext <<_ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 class Foo { public: explicit Foo(int) {} };
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22865 grep -v '^
*+' conftest.er1 >conftest.err
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_cxx_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22874 cat >conftest.$ac_ext <<_ACEOF
22877 cat confdefs.h >>conftest.$ac_ext
22878 cat >>conftest.$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22881 class Foo { public: explicit Foo(int) {} };
22882 static void TakeFoo(const Foo& foo) { }
22895 rm -f conftest.$ac_objext
22896 if { (ac_try="$ac_compile"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_compile") 2>conftest.er1
22904 grep -v '^
*+' conftest.er1 >conftest.err
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } && {
22909 test -z "$ac_cxx_werror_flag" ||
22910 test ! -s conftest.err
22911 } && test -s conftest.$ac_objext; then
22914 echo "$as_me: failed program was:" >&5
22915 sed 's
/^
/| /' conftest.$ac_ext >&5
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924 echo "$as_me: failed program was:" >&5
22925 sed 's
/^
/| /' conftest.$ac_ext >&5
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22934 ac_cpp='$CPP $CPPFLAGS'
22935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22936 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22942 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22944 if test "$wx_cv_explicit" = "yes"; then
22945 cat >>confdefs.h <<\_ACEOF
22946 #define HAVE_EXPLICIT 1
22952 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22953 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22954 if test "${ac_cv_cxx_const_cast+set}" = set; then
22955 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 ac_cpp='$CXXCPP $CPPFLAGS'
22960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22961 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964 cat >conftest.$ac_ext <<_ACEOF
22967 cat confdefs.h >>conftest.$ac_ext
22968 cat >>conftest.$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22974 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22988 grep -v '^
*+' conftest.er1 >conftest.err
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_cxx_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22996 ac_cv_cxx_const_cast=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's
/^
/| /' conftest.$ac_ext >&5
23001 ac_cv_cxx_const_cast=no
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23013 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23014 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23015 if test "$ac_cv_cxx_const_cast" = yes; then
23017 cat >>confdefs.h <<\_ACEOF
23018 #define HAVE_CONST_CAST
23023 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23024 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23025 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23032 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <typeinfo>
23042 class Base { public : Base () {} virtual void f () = 0;};
23043 class Derived : public Base { public : Derived () {} virtual void f () {} };
23044 class Unrelated { public : Unrelated () {} };
23045 int g (Unrelated&) { return 0; }
23050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23055 rm -f conftest.$ac_objext
23056 if { (ac_try="$ac_compile"
23057 case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;;
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_compile") 2>conftest.er1
23064 grep -v '^
*+' conftest.er1 >conftest.err
23066 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && {
23069 test -z "$ac_cxx_werror_flag" ||
23070 test ! -s conftest.err
23071 } && test -s conftest.$ac_objext; then
23072 ac_cv_cxx_reinterpret_cast=yes
23074 echo "$as_me: failed program was:" >&5
23075 sed 's
/^
/| /' conftest.$ac_ext >&5
23077 ac_cv_cxx_reinterpret_cast=no
23080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_cpp='$CPP $CPPFLAGS'
23083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23084 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23089 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23090 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23091 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23093 cat >>confdefs.h <<\_ACEOF
23094 #define HAVE_REINTERPRET_CAST
23099 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23100 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23101 if test "${ac_cv_cxx_static_cast+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23106 ac_cpp='$CXXCPP $CPPFLAGS'
23107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23108 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111 cat >conftest.$ac_ext <<_ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 #include <typeinfo>
23118 class Base { public : Base () {} virtual void f () = 0; };
23119 class Derived : public Base { public : Derived () {} virtual void f () {} };
23120 int g (Derived&) { return 0; }
23125 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^
*+' conftest.er1 >conftest.err
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_cxx_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23147 ac_cv_cxx_static_cast=yes
23149 echo "$as_me: failed program was:" >&5
23150 sed 's
/^
/| /' conftest.$ac_ext >&5
23152 ac_cv_cxx_static_cast=no
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 ac_cpp='$CPP $CPPFLAGS'
23158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23159 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23165 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23166 if test "$ac_cv_cxx_static_cast" = yes; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_STATIC_CAST
23175 if test "x$SUNCXX" = xyes; then
23176 CXXFLAGS="-features=tmplife $CXXFLAGS"
23179 if test "x$SUNCC" = xyes; then
23180 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23183 if test "x$SGICC" = "xyes"; then
23184 CFLAGS="-woff 3970 $CFLAGS"
23186 if test "x$SGICXX" = "xyes"; then
23187 CXXFLAGS="-woff 3970 $CXXFLAGS"
23190 if test "x$HPCC" = "xyes"; then
23191 CFLAGS="+W 2011,2450 $CFLAGS"
23193 if test "x$HPCXX" = "xyes"; then
23194 CXXFLAGS="+W 2340 $CXXFLAGS"
23197 if test "x$COMPAQCXX" = "xyes"; then
23198 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23204 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23209 if test "$wxUSE_UNICODE" = "yes"; then
23210 std_string="std::wstring"
23211 char_type="wchar_t"
23213 std_string="std::string"
23217 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23218 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23219 if test "${wx_cv_class_stdstring+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23223 cat >conftest.$ac_ext <<_ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23238 rm -f conftest.$ac_objext
23239 if { (ac_try="$ac_compile"
23240 case "(($ac_try" in
23241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23242 *) ac_try_echo=$ac_try;;
23244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23245 (eval "$ac_compile") 2>conftest.er1
23247 grep -v '^
*+' conftest.er1 >conftest.err
23249 cat conftest.err >&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); } && {
23252 test -z "$ac_cxx_werror_flag" ||
23253 test ! -s conftest.err
23254 } && test -s conftest.$ac_objext; then
23255 wx_cv_class_stdstring=yes
23257 echo "$as_me: failed program was:" >&5
23258 sed 's
/^
/| /' conftest.$ac_ext >&5
23260 wx_cv_class_stdstring=no
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23269 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23271 if test "$wx_cv_class_stdstring" = yes; then
23272 if test "$wxUSE_UNICODE" = "yes"; then
23273 cat >>confdefs.h <<\_ACEOF
23274 #define HAVE_STD_WSTRING 1
23279 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23280 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23281 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 cat >conftest.$ac_ext <<_ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23292 #ifdef HAVE_WCHAR_H
23294 # include <stddef.h>
23296 # include <wchar.h>
23298 #ifdef HAVE_STDLIB_H
23299 # include <stdlib.h>
23307 std::basic_string<$char_type> foo;
23308 const $char_type* dummy = foo.c_str();
23313 rm -f conftest.$ac_objext
23314 if { (ac_try="$ac_compile"
23315 case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_compile") 2>conftest.er1
23322 grep -v '^
*+' conftest.er1 >conftest.err
23324 cat conftest.err >&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } && {
23327 test -z "$ac_cxx_werror_flag" ||
23328 test ! -s conftest.err
23329 } && test -s conftest.$ac_objext; then
23330 wx_cv_class_stdbasicstring=yes
23332 echo "$as_me: failed program was:" >&5
23333 sed 's
/^
/| /' conftest.$ac_ext >&5
23335 wx_cv_class_stdbasicstring=no
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23343 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23344 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23346 if test "$wx_cv_class_stdbasicstring" != yes; then
23347 if test "$wxUSE_STL" = "yes"; then
23348 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23349 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23350 { (exit 1); exit 1; }; }
23351 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23352 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23353 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23354 { (exit 1); exit 1; }; }
23356 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23357 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23358 wxUSE_STD_STRING=no
23364 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23365 { echo "$as_me:$LINENO: checking for std::istream" >&5
23366 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23367 if test "${ac_cv_type_std__istream+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 cat >conftest.$ac_ext <<_ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376 #include <iostream>
23378 typedef std::istream ac__type_new_;
23382 if ((ac__type_new_ *) 0)
23384 if (sizeof (ac__type_new_))
23390 rm -f conftest.$ac_objext
23391 if { (ac_try="$ac_compile"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_compile") 2>conftest.er1
23399 grep -v '^
*+' conftest.er1 >conftest.err
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_cxx_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest.$ac_objext; then
23407 ac_cv_type_std__istream=yes
23409 echo "$as_me: failed program was:" >&5
23410 sed 's
/^
/| /' conftest.$ac_ext >&5
23412 ac_cv_type_std__istream=no
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23418 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23419 if test $ac_cv_type_std__istream = yes; then
23421 cat >>confdefs.h <<_ACEOF
23422 #define HAVE_STD__ISTREAM 1
23427 wxUSE_STD_IOSTREAM=no
23429 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23430 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23431 if test "${ac_cv_type_std__ostream+set}" = set; then
23432 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 cat >conftest.$ac_ext <<_ACEOF
23437 cat confdefs.h >>conftest.$ac_ext
23438 cat >>conftest.$ac_ext <<_ACEOF
23439 /* end confdefs.h. */
23440 #include <iostream>
23442 typedef std::ostream ac__type_new_;
23446 if ((ac__type_new_ *) 0)
23448 if (sizeof (ac__type_new_))
23454 rm -f conftest.$ac_objext
23455 if { (ac_try="$ac_compile"
23456 case "(($ac_try" in
23457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23458 *) ac_try_echo=$ac_try;;
23460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23461 (eval "$ac_compile") 2>conftest.er1
23463 grep -v '^
*+' conftest.er1 >conftest.err
23465 cat conftest.err >&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } && {
23468 test -z "$ac_cxx_werror_flag" ||
23469 test ! -s conftest.err
23470 } && test -s conftest.$ac_objext; then
23471 ac_cv_type_std__ostream=yes
23473 echo "$as_me: failed program was:" >&5
23474 sed 's
/^
/| /' conftest.$ac_ext >&5
23476 ac_cv_type_std__ostream=no
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23481 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23482 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23483 if test $ac_cv_type_std__ostream = yes; then
23485 cat >>confdefs.h <<_ACEOF
23486 #define HAVE_STD__OSTREAM 1
23491 wxUSE_STD_IOSTREAM=no
23495 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23496 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23497 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23498 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23499 { (exit 1); exit 1; }; }
23501 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23502 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23507 if test "$wxUSE_STL" = "yes"; then
23508 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23509 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23510 if test "${wx_cv_lib_stl+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 cat >conftest.$ac_ext <<_ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23520 #include <functional>
23521 #include <algorithm>
23527 std::vector<int> moo;
23528 std::list<int> foo;
23529 std::vector<int>::iterator it =
23530 std::find_if(moo.begin(), moo.end(),
23531 std::bind2nd(std::less<int>(), 3));
23536 rm -f conftest.$ac_objext
23537 if { (ac_try="$ac_compile"
23538 case "(($ac_try" in
23539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23540 *) ac_try_echo=$ac_try;;
23542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23543 (eval "$ac_compile") 2>conftest.er1
23545 grep -v '^
*+' conftest.er1 >conftest.err
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } && {
23550 test -z "$ac_cxx_werror_flag" ||
23551 test ! -s conftest.err
23552 } && test -s conftest.$ac_objext; then
23555 echo "$as_me: failed program was:" >&5
23556 sed 's
/^
/| /' conftest.$ac_ext >&5
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23566 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23568 if test "$wx_cv_lib_stl" != yes; then
23569 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23570 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23571 { (exit 1); exit 1; }; }
23574 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23575 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23576 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 cat >conftest.$ac_ext <<_ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23589 std::string foo, bar;
23591 foo.compare(1, 1, bar);
23592 foo.compare(1, 1, bar, 1, 1);
23594 foo.compare(1, 1, "");
23595 foo.compare(1, 1, "", 2);
23600 rm -f conftest.$ac_objext
23601 if { (ac_try="$ac_compile"
23602 case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_compile") 2>conftest.er1
23609 grep -v '^
*+' conftest.er1 >conftest.err
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } && {
23614 test -z "$ac_cxx_werror_flag" ||
23615 test ! -s conftest.err
23616 } && test -s conftest.$ac_objext; then
23617 wx_cv_func_stdstring_compare=yes
23619 echo "$as_me: failed program was:" >&5
23620 sed 's
/^
/| /' conftest.$ac_ext >&5
23622 wx_cv_func_stdstring_compare=no
23626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23630 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23632 if test "$wx_cv_func_stdstring_compare" = yes; then
23633 cat >>confdefs.h <<\_ACEOF
23634 #define HAVE_STD_STRING_COMPARE 1
23639 { echo "$as_me:$LINENO: checking for hash_map" >&5
23640 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23641 if test "${ac_cv_header_hash_map+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 cat >conftest.$ac_ext <<_ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23653 #include <hash_map>
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23664 grep -v '^
*+' conftest.er1 >conftest.err
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_cxx_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.$ac_objext; then
23672 ac_cv_header_hash_map=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's
/^
/| /' conftest.$ac_ext >&5
23677 ac_cv_header_hash_map=no
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23683 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23684 if test $ac_cv_header_hash_map = yes; then
23685 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23686 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23687 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 cat >conftest.$ac_ext <<_ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 #include <hash_map>
23697 #include <hash_set>
23701 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23702 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23707 rm -f conftest.$ac_objext
23708 if { (ac_try="$ac_compile"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_compile") 2>conftest.er1
23716 grep -v '^
*+' conftest.er1 >conftest.err
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } && {
23721 test -z "$ac_cxx_werror_flag" ||
23722 test ! -s conftest.err
23723 } && test -s conftest.$ac_objext; then
23724 wx_cv_class_stdhashmapset=yes
23726 echo "$as_me: failed program was:" >&5
23727 sed 's
/^
/| /' conftest.$ac_ext >&5
23729 wx_cv_class_stdhashmapset=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23737 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23742 if test "$wx_cv_class_stdhashmapset" = yes; then
23743 cat >>confdefs.h <<\_ACEOF
23744 #define HAVE_HASH_MAP 1
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_STD_HASH_MAP 1
23753 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23754 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23755 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 cat >conftest.$ac_ext <<_ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23767 #include <ext/hash_map>
23769 rm -f conftest.$ac_objext
23770 if { (ac_try="$ac_compile"
23771 case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_compile") 2>conftest.er1
23778 grep -v '^
*+' conftest.er1 >conftest.err
23780 cat conftest.err >&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } && {
23783 test -z "$ac_cxx_werror_flag" ||
23784 test ! -s conftest.err
23785 } && test -s conftest.$ac_objext; then
23786 ac_cv_header_ext_hash_map=yes
23788 echo "$as_me: failed program was:" >&5
23789 sed 's
/^
/| /' conftest.$ac_ext >&5
23791 ac_cv_header_ext_hash_map=no
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23797 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23798 if test $ac_cv_header_ext_hash_map = yes; then
23799 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23800 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23801 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <ext/hash_map>
23811 #include <ext/hash_set>
23815 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23816 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23821 rm -f conftest.$ac_objext
23822 if { (ac_try="$ac_compile"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_compile") 2>conftest.er1
23830 grep -v '^
*+' conftest.er1 >conftest.err
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_cxx_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest.$ac_objext; then
23838 wx_cv_class_gnuhashmapset=yes
23840 echo "$as_me: failed program was:" >&5
23841 sed 's
/^
/| /' conftest.$ac_ext >&5
23843 wx_cv_class_gnuhashmapset=no
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23851 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23856 if test "$wx_cv_class_gnuhashmapset" = yes; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_EXT_HASH_MAP 1
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_GNU_CXX_HASH_MAP 1
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23871 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 /usr/local/include \
23879 /usr/Motif-2.1/include \
23880 /usr/Motif-1.2/include \
23881 /usr/include/Motif1.2 \
23884 /usr/openwin/include \
23888 /usr/X11R6/include \
23889 /usr/X11R6.4/include \
23890 /usr/X11R5/include \
23891 /usr/X11R4/include \
23893 /usr/include/X11R6 \
23894 /usr/include/X11R5 \
23895 /usr/include/X11R4 \
23897 /usr/local/X11R6/include \
23898 /usr/local/X11R5/include \
23899 /usr/local/X11R4/include \
23901 /usr/local/include/X11R6 \
23902 /usr/local/include/X11R5 \
23903 /usr/local/include/X11R4 \
23907 /usr/local/X11/include \
23908 /usr/local/include/X11 \
23910 /usr/XFree86/include/X11 \
23913 /usr/openwin/share/include"
23915 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23916 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23920 if test "${wx_cv_std_libpath+set}" = set; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23924 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23925 for e in a so sl dylib dll.a; do
23927 if test -f $libc; then
23930 cat >conftest.$ac_ext <<_ACEOF
23931 int main() { return 0; }
23933 rm -f conftest.$ac_objext conftest$ac_exeext
23934 if { (ac_try="$ac_link"
23935 case "(($ac_try" in
23936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23937 *) ac_try_echo=$ac_try;;
23939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23940 (eval "$ac_link") 2>conftest.er1
23942 grep -v '^
*+' conftest.er1 >conftest.err
23944 cat conftest.err >&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } && {
23947 test -z "$ac_c_werror_flag" ||
23948 test ! -s conftest.err
23949 } && test -s conftest$ac_exeext &&
23950 $as_test_x conftest$ac_exeext; then
23951 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23953 echo "$as_me: failed program was:" >&5
23954 sed 's
/^
/| /' conftest.$ac_ext >&5
23959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23960 conftest$ac_exeext conftest.$ac_ext
23962 if test "x$wx_cv_std_libpath" != "x"; then
23968 if test "x$wx_cv_std_libpath" = "x"; then
23969 wx_cv_std_libpath="lib"
23978 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23979 wx_cv_std_libpath="lib/64"
23981 wx_cv_std_libpath="lib"
23986 if test "$ac_cv_sizeof_void_p" = 8 -a \
23987 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23988 wx_cv_std_libpath="lib64"
23990 wx_cv_std_libpath="lib"
23995 wx_cv_std_libpath="lib";
23999 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24000 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24002 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24004 if test "$build" != "$host" -a "$GCC" = yes; then
24005 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24006 cross_root=`dirname $cross_root`
24007 cross_root=`dirname $cross_root`
24009 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24010 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24011 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24013 if test -z "$PKG_CONFIG_PATH"; then
24014 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24015 export PKG_CONFIG_PATH
24018 if test -z "$x_includes" -o "$x_includes" = NONE; then
24021 for ac_dir in $SEARCH_INCLUDE /usr/include;
24023 if test -f "$ac_dir/X11/Intrinsic.h"; then
24024 ac_find_includes=$ac_dir
24029 x_includes=$ac_find_includes
24031 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24034 for ac_dir in $SEARCH_LIB;
24036 for ac_extension in a so sl dylib dll.a; do
24037 if test -f "$ac_dir/libXt.$ac_extension"; then
24038 ac_find_libraries=$ac_dir
24044 x_libraries=$ac_find_libraries
24050 cat >confcache <<\_ACEOF
24051 # This file is a shell script that caches the results of configure
24052 # tests run on this system so they can be shared between configure
24053 # scripts and configure runs, see configure's option
--config-cache.
24054 # It is not useful on other systems. If it contains results you don't
24055 # want to keep, you may remove or edit it.
24057 # config.status only pays attention to the cache file if you give it
24058 # the --recheck option to rerun configure.
24060 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24061 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24062 # following values.
24066 # The following way of writing the cache mishandles newlines in values,
24067 # but we know of no workaround that is simple, portable, and efficient.
24068 # So, we kill variables containing newlines.
24069 # Ultrix sh set writes to stderr and can't be redirected directly,
24070 # and sets the high bit in the cache file unless we assign to the vars.
24072 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24073 eval ac_val
=\$
$ac_var
24077 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24078 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24081 _
| IFS
| as_nl
) ;; #(
24082 *) $as_unset $ac_var ;;
24088 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24089 *${as_nl}ac_space
=\
*)
24090 # `set' does not quote correctly, so add quotes (double-quote
24091 # substitution turns \\\\ into \\, and sed turns \\ into \).
24094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24097 # `set' quotes correctly as required by POSIX, so do not add quotes.
24098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24111 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24112 if test -w "$cache_file"; then
24113 test "x$cache_file" != "x/dev/null" &&
24114 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24115 echo "$as_me: updating cache $cache_file" >&6;}
24116 cat confcache
>$cache_file
24118 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24119 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24124 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24125 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24126 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24127 if test "${wx_cv_lib_glibc21+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 cat >conftest.
$ac_ext <<_ACEOF
24134 cat confdefs.h
>>conftest.
$ac_ext
24135 cat >>conftest.
$ac_ext <<_ACEOF
24136 /* end confdefs.h. */
24137 #include <features.h>
24142 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24150 rm -f conftest.
$ac_objext
24151 if { (ac_try
="$ac_compile"
24152 case "(($ac_try" in
24153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24154 *) ac_try_echo=$ac_try;;
24156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157 (eval "$ac_compile") 2>conftest.er1
24159 grep -v '^ *+' conftest.er1 >conftest.err
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } && {
24164 test -z "$ac_c_werror_flag" ||
24165 test ! -s conftest.err
24166 } && test -s conftest.$ac_objext; then
24168 wx_cv_lib_glibc21=yes
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24175 wx_cv_lib_glibc21=no
24180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24184 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24185 if test "$wx_cv_lib_glibc21" = "yes"; then
24186 cat >>confdefs.h <<\_ACEOF
24187 #define wxHAVE_GLIBC2 1
24193 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24194 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24195 cat >>confdefs.h <<\_ACEOF
24196 #define _GNU_SOURCE 1
24207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 cat >conftest.$ac_ext <<_ACEOF
24216 cat confdefs.h >>conftest.$ac_ext
24217 cat >>conftest.$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24221 #define $ac_func innocuous_$ac_func
24223 /* System header to define __stub macros and hopefully few prototypes,
24224 which can conflict with char $ac_func (); below.
24225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24226 <limits.h> exists even on freestanding compilers. */
24229 # include <limits.h>
24231 # include <assert.h>
24236 /* Override any GCC internal prototype to avoid an error.
24237 Use char because int might match the return type of a GCC
24238 builtin and then its argument prototype would still apply. */
24243 /* The GNU C library defines this for functions which it implements
24244 to always fail with ENOSYS. Some functions are actually named
24245 something starting with __ and the normal name is an alias. */
24246 #if defined __stub_$ac_func || defined __stub___$ac_func
24253 return $ac_func ();
24258 rm -f conftest.$ac_objext conftest$ac_exeext
24259 if { (ac_try="$ac_link"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24262 *) ac_try_echo
=$ac_try;;
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_link") 2>conftest.er1
24267 grep -v '^ *+' conftest.er1
>conftest.err
24269 cat conftest.err
>&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_c_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest
$ac_exeext &&
24275 $as_test_x conftest
$ac_exeext; then
24276 eval "$as_ac_var=yes"
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.
$ac_ext >&5
24281 eval "$as_ac_var=no"
24284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24285 conftest
$ac_exeext conftest.
$ac_ext
24287 ac_res
=`eval echo '${'$as_ac_var'}'`
24288 { echo "$as_me:$LINENO: result: $ac_res" >&5
24289 echo "${ECHO_T}$ac_res" >&6; }
24290 if test `eval echo '${'$as_ac_var'}'` = yes; then
24291 cat >>confdefs.h
<<_ACEOF
24292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24299 for ac_func
in floor
24301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24304 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24305 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 cat >conftest.
$ac_ext <<_ACEOF
24310 cat confdefs.h
>>conftest.
$ac_ext
24311 cat >>conftest.
$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24315 #define $ac_func innocuous_$ac_func
24317 /* System header to define __stub macros and hopefully few prototypes,
24318 which can conflict with char $ac_func (); below.
24319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24320 <limits.h> exists even on freestanding compilers. */
24323 # include <limits.h>
24325 # include <assert.h>
24330 /* Override any GCC internal prototype to avoid an error.
24331 Use char because int might match the return type of a GCC
24332 builtin and then its argument prototype would still apply. */
24337 /* The GNU C library defines this for functions which it implements
24338 to always fail with ENOSYS. Some functions are actually named
24339 something starting with __ and the normal name is an alias. */
24340 #if defined __stub_$ac_func || defined __stub___$ac_func
24347 return $ac_func ();
24352 rm -f conftest.
$ac_objext conftest
$ac_exeext
24353 if { (ac_try
="$ac_link"
24354 case "(($ac_try" in
24355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24356 *) ac_try_echo=$ac_try;;
24358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24359 (eval "$ac_link") 2>conftest.er1
24361 grep -v '^ *+' conftest.er1 >conftest.err
24363 cat conftest.err >&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } && {
24366 test -z "$ac_c_werror_flag" ||
24367 test ! -s conftest.err
24368 } && test -s conftest$ac_exeext &&
24369 $as_test_x conftest$ac_exeext; then
24370 eval "$as_ac_var=yes"
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24375 eval "$as_ac_var=no"
24378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24379 conftest$ac_exeext conftest.$ac_ext
24381 ac_res=`eval echo '${'$as_ac_var'}'`
24382 { echo "$as_me:$LINENO: result: $ac_res" >&5
24383 echo "${ECHO_T}$ac_res" >&6; }
24384 if test `eval echo '${'$as_ac_var'}'` = yes; then
24385 cat >>confdefs.h <<_ACEOF
24386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24392 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24393 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24394 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24395 { echo "$as_me:$LINENO: result: yes" >&5
24396 echo "${ECHO_T}yes" >&6; }
24398 { echo "$as_me:$LINENO: result: no" >&5
24399 echo "${ECHO_T}no" >&6; }
24401 # use different functions to avoid configure caching
24407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 cat >conftest.$ac_ext <<_ACEOF
24416 cat confdefs.h >>conftest.$ac_ext
24417 cat >>conftest.$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24421 #define $ac_func innocuous_$ac_func
24423 /* System header to define __stub macros and hopefully few prototypes,
24424 which can conflict with char $ac_func (); below.
24425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24426 <limits.h> exists even on freestanding compilers. */
24429 # include <limits.h>
24431 # include <assert.h>
24436 /* Override any GCC internal prototype to avoid an error.
24437 Use char because int might match the return type of a GCC
24438 builtin and then its argument prototype would still apply. */
24443 /* The GNU C library defines this for functions which it implements
24444 to always fail with ENOSYS. Some functions are actually named
24445 something starting with __ and the normal name is an alias. */
24446 #if defined __stub_$ac_func || defined __stub___$ac_func
24453 return $ac_func ();
24458 rm -f conftest.$ac_objext conftest$ac_exeext
24459 if { (ac_try="$ac_link"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24462 *) ac_try_echo
=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_link") 2>conftest.er1
24467 grep -v '^ *+' conftest.er1
>conftest.err
24469 cat conftest.err
>&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_c_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest
$ac_exeext &&
24475 $as_test_x conftest
$ac_exeext; then
24476 eval "$as_ac_var=yes"
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.
$ac_ext >&5
24481 eval "$as_ac_var=no"
24484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24485 conftest
$ac_exeext conftest.
$ac_ext
24487 ac_res
=`eval echo '${'$as_ac_var'}'`
24488 { echo "$as_me:$LINENO: result: $ac_res" >&5
24489 echo "${ECHO_T}$ac_res" >&6; }
24490 if test `eval echo '${'$as_ac_var'}'` = yes; then
24491 cat >>confdefs.h
<<_ACEOF
24492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24499 for ac_func
in ceil
24501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24504 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 cat >conftest.
$ac_ext <<_ACEOF
24510 cat confdefs.h
>>conftest.
$ac_ext
24511 cat >>conftest.
$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24515 #define $ac_func innocuous_$ac_func
24517 /* System header to define __stub macros and hopefully few prototypes,
24518 which can conflict with char $ac_func (); below.
24519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24520 <limits.h> exists even on freestanding compilers. */
24523 # include <limits.h>
24525 # include <assert.h>
24530 /* Override any GCC internal prototype to avoid an error.
24531 Use char because int might match the return type of a GCC
24532 builtin and then its argument prototype would still apply. */
24537 /* The GNU C library defines this for functions which it implements
24538 to always fail with ENOSYS. Some functions are actually named
24539 something starting with __ and the normal name is an alias. */
24540 #if defined __stub_$ac_func || defined __stub___$ac_func
24547 return $ac_func ();
24552 rm -f conftest.
$ac_objext conftest
$ac_exeext
24553 if { (ac_try
="$ac_link"
24554 case "(($ac_try" in
24555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_link") 2>conftest.er1
24561 grep -v '^ *+' conftest.er1 >conftest.err
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } && {
24566 test -z "$ac_c_werror_flag" ||
24567 test ! -s conftest.err
24568 } && test -s conftest$ac_exeext &&
24569 $as_test_x conftest$ac_exeext; then
24570 eval "$as_ac_var=yes"
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24575 eval "$as_ac_var=no"
24578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24579 conftest$ac_exeext conftest.$ac_ext
24581 ac_res=`eval echo '${'$as_ac_var'}'`
24582 { echo "$as_me:$LINENO: result: $ac_res" >&5
24583 echo "${ECHO_T}$ac_res" >&6; }
24584 if test `eval echo '${'$as_ac_var'}'` = yes; then
24585 cat >>confdefs.h <<_ACEOF
24586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24592 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24593 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24594 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24595 { echo "$as_me:$LINENO: result: yes" >&5
24596 echo "${ECHO_T}yes" >&6; }
24598 { echo "$as_me:$LINENO: result: no" >&5
24599 echo "${ECHO_T}no" >&6; }
24600 # not sure we should warn the user, crash, etc.
24605 ac_cpp='$CXXCPP $CPPFLAGS'
24606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24610 if test "wxUSE_UNICODE" = "yes"; then
24612 for wx_func in wcstoull
24614 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24615 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24616 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24620 cat >conftest.$ac_ext <<_ACEOF
24624 cat confdefs.h >>conftest.$ac_ext
24625 cat >>conftest.$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24629 $ac_includes_default
24645 rm -f conftest.$ac_objext conftest$ac_exeext
24646 if { (ac_try="$ac_link"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24649 *) ac_try_echo
=$ac_try;;
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_link") 2>conftest.er1
24654 grep -v '^ *+' conftest.er1
>conftest.err
24656 cat conftest.err
>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_cxx_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest
$ac_exeext &&
24662 $as_test_x conftest
$ac_exeext; then
24663 eval wx_cv_func_
$wx_func=yes
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.
$ac_ext >&5
24668 eval wx_cv_func_
$wx_func=no
24671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24672 conftest
$ac_exeext conftest.
$ac_ext
24675 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24676 { echo "$as_me:$LINENO: result: $ac_res" >&5
24677 echo "${ECHO_T}$ac_res" >&6; }
24679 if eval test \
$wx_cv_func_$wx_func = yes
24681 cat >>confdefs.h
<<_ACEOF
24682 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24694 for wx_func
in strtoull
24696 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24697 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24698 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 cat >conftest.
$ac_ext <<_ACEOF
24706 cat confdefs.h
>>conftest.
$ac_ext
24707 cat >>conftest.
$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24711 $ac_includes_default
24727 rm -f conftest.
$ac_objext conftest
$ac_exeext
24728 if { (ac_try
="$ac_link"
24729 case "(($ac_try" in
24730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_link") 2>conftest.er1
24736 grep -v '^ *+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest$ac_exeext &&
24744 $as_test_x conftest$ac_exeext; then
24745 eval wx_cv_func_$wx_func=yes
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 eval wx_cv_func_$wx_func=no
24753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24754 conftest$ac_exeext conftest.$ac_ext
24757 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24758 { echo "$as_me:$LINENO: result: $ac_res" >&5
24759 echo "${ECHO_T}$ac_res" >&6; }
24761 if eval test \$wx_cv_func_$wx_func = yes
24763 cat >>confdefs.h <<_ACEOF
24764 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24784 if test "$wxUSE_REGEX" != "no"; then
24785 cat >>confdefs.h <<\_ACEOF
24786 #define wxUSE_REGEX 1
24790 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24791 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24792 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24793 wxUSE_REGEX=builtin
24796 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24797 { echo "$as_me:$LINENO: checking for regex.h" >&5
24798 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24799 if test "${ac_cv_header_regex_h+set}" = set; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 cat >conftest.$ac_ext <<_ACEOF
24805 cat confdefs.h >>conftest.$ac_ext
24806 cat >>conftest.$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24812 rm -f conftest.$ac_objext
24813 if { (ac_try="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24816 *) ac_try_echo
=$ac_try;;
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24821 grep -v '^ *+' conftest.er1
>conftest.err
24823 cat conftest.err
>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_c_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.
$ac_objext; then
24829 ac_cv_header_regex_h
=yes
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.
$ac_ext >&5
24834 ac_cv_header_regex_h
=no
24837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24839 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24840 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24841 if test $ac_cv_header_regex_h = yes; then
24844 for ac_func
in regcomp re_search
24846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24849 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24850 echo $ECHO_N "(cached) $ECHO_C" >&6
24852 cat >conftest.
$ac_ext <<_ACEOF
24855 cat confdefs.h
>>conftest.
$ac_ext
24856 cat >>conftest.
$ac_ext <<_ACEOF
24857 /* end confdefs.h. */
24858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24860 #define $ac_func innocuous_$ac_func
24862 /* System header to define __stub macros and hopefully few prototypes,
24863 which can conflict with char $ac_func (); below.
24864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24865 <limits.h> exists even on freestanding compilers. */
24868 # include <limits.h>
24870 # include <assert.h>
24875 /* Override any GCC internal prototype to avoid an error.
24876 Use char because int might match the return type of a GCC
24877 builtin and then its argument prototype would still apply. */
24882 /* The GNU C library defines this for functions which it implements
24883 to always fail with ENOSYS. Some functions are actually named
24884 something starting with __ and the normal name is an alias. */
24885 #if defined __stub_$ac_func || defined __stub___$ac_func
24892 return $ac_func ();
24897 rm -f conftest.
$ac_objext conftest
$ac_exeext
24898 if { (ac_try
="$ac_link"
24899 case "(($ac_try" in
24900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24901 *) ac_try_echo=$ac_try;;
24903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24904 (eval "$ac_link") 2>conftest.er1
24906 grep -v '^ *+' conftest.er1 >conftest.err
24908 cat conftest.err >&5
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); } && {
24911 test -z "$ac_c_werror_flag" ||
24912 test ! -s conftest.err
24913 } && test -s conftest$ac_exeext &&
24914 $as_test_x conftest$ac_exeext; then
24915 eval "$as_ac_var=yes"
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24920 eval "$as_ac_var=no"
24923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24924 conftest$ac_exeext conftest.$ac_ext
24926 ac_res=`eval echo '${'$as_ac_var'}'`
24927 { echo "$as_me:$LINENO: result: $ac_res" >&5
24928 echo "${ECHO_T}$ac_res" >&6; }
24929 if test `eval echo '${'$as_ac_var'}'` = yes; then
24930 cat >>confdefs.h <<_ACEOF
24931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24941 if test "x$ac_cv_func_regcomp" != "xyes"; then
24942 if test "$wxUSE_REGEX" = "sys" ; then
24943 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24944 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24945 { (exit 1); exit 1; }; }
24947 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24948 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24949 wxUSE_REGEX=builtin
24953 cat >>confdefs.h <<\_ACEOF
24954 #define WX_NO_REGEX_ADVANCED 1
24963 if test "$wxUSE_ZLIB" != "no" ; then
24964 cat >>confdefs.h <<\_ACEOF
24965 #define wxUSE_ZLIB 1
24969 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24970 if test "$USE_DARWIN" = 1; then
24971 system_zlib_h_ok="yes"
24973 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24974 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24975 if test "${ac_cv_header_zlib_h+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 if test "$cross_compiling" = yes; then
24979 unset ac_cv_header_zlib_h
24982 cat >conftest.$ac_ext <<_ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24994 FILE *f=fopen("conftestval", "w");
24997 ZLIB_VERSION[0] == '1' &&
24998 (ZLIB_VERSION[2] > '1' ||
24999 (ZLIB_VERSION[2] == '1' &&
25000 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25005 rm -f conftest$ac_exeext
25006 if { (ac_try="$ac_link"
25007 case "(($ac_try" in
25008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25009 *) ac_try_echo
=$ac_try;;
25011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25012 (eval "$ac_link") 2>&5
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25016 { (case "(($ac_try" in
25017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_try") 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_header_zlib_h=`cat conftestval
`
25027 echo "$as_me: program exited with status $ac_status" >&5
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25031 ( exit $ac_status )
25032 ac_cv_header_zlib_h=no
25034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25040 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25041 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25042 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25043 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25044 if test "${ac_cv_header_zlib_h+set}" = set; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25047 cat >conftest.$ac_ext <<_ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25057 rm -f conftest.$ac_objext
25058 if { (ac_try="$ac_compile"
25059 case "(($ac_try" in
25060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25061 *) ac_try_echo
=$ac_try;;
25063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25064 (eval "$ac_compile") 2>conftest.er1
25066 grep -v '^ *+' conftest.er1
>conftest.err
25068 cat conftest.err
>&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); } && {
25071 test -z "$ac_c_werror_flag" ||
25072 test ! -s conftest.err
25073 } && test -s conftest.
$ac_objext; then
25074 ac_cv_header_zlib_h
=yes
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.
$ac_ext >&5
25079 ac_cv_header_zlib_h
=no
25082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25084 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25085 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25089 system_zlib_h_ok
=$ac_cv_header_zlib_h
25092 if test "$system_zlib_h_ok" = "yes"; then
25093 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25094 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25095 if test "${ac_cv_lib_z_deflate+set}" = set; then
25096 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 ac_check_lib_save_LIBS
=$LIBS
25100 cat >conftest.
$ac_ext <<_ACEOF
25103 cat confdefs.h
>>conftest.
$ac_ext
25104 cat >>conftest.
$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25107 /* Override any GCC internal prototype to avoid an error.
25108 Use char because int might match the return type of a GCC
25109 builtin and then its argument prototype would still apply. */
25122 rm -f conftest.
$ac_objext conftest
$ac_exeext
25123 if { (ac_try
="$ac_link"
25124 case "(($ac_try" in
25125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_link") 2>conftest.er1
25131 grep -v '^ *+' conftest.er1 >conftest.err
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest$ac_exeext &&
25139 $as_test_x conftest$ac_exeext; then
25140 ac_cv_lib_z_deflate=yes
25142 echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25145 ac_cv_lib_z_deflate=no
25148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25149 conftest$ac_exeext conftest.$ac_ext
25150 LIBS=$ac_check_lib_save_LIBS
25152 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25153 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25154 if test $ac_cv_lib_z_deflate = yes; then
25160 if test "x$ZLIB_LINK" = "x" ; then
25161 if test "$wxUSE_ZLIB" = "sys" ; then
25162 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25163 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25164 { (exit 1); exit 1; }; }
25166 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25167 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25178 if test "$wxUSE_LIBPNG" != "no" ; then
25179 cat >>confdefs.h <<\_ACEOF
25180 #define wxUSE_LIBPNG 1
25184 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25185 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25186 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25190 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25191 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25192 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25193 wxUSE_LIBPNG=builtin
25196 if test "$wxUSE_MGL" != 1 ; then
25197 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25198 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25199 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25200 if test "${ac_cv_header_png_h+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 if test "$cross_compiling" = yes; then
25204 unset ac_cv_header_png_h
25207 cat >conftest.$ac_ext <<_ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25219 FILE *f=fopen("conftestval", "w");
25222 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25227 rm -f conftest$ac_exeext
25228 if { (ac_try="$ac_link"
25229 case "(($ac_try" in
25230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25231 *) ac_try_echo
=$ac_try;;
25233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25234 (eval "$ac_link") 2>&5
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25238 { (case "(($ac_try" in
25239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25240 *) ac_try_echo=$ac_try;;
25242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25243 (eval "$ac_try") 2>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); }; }; then
25247 ac_cv_header_png_h=`cat conftestval
`
25249 echo "$as_me: program exited with status $ac_status" >&5
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25253 ( exit $ac_status )
25254 ac_cv_header_png_h=no
25256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25262 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25263 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25264 { echo "$as_me:$LINENO: checking for png.h" >&5
25265 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25266 if test "${ac_cv_header_png_h+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 cat >conftest.$ac_ext <<_ACEOF
25272 cat confdefs.h >>conftest.$ac_ext
25273 cat >>conftest.$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25279 rm -f conftest.$ac_objext
25280 if { (ac_try="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25283 *) ac_try_echo
=$ac_try;;
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25288 grep -v '^ *+' conftest.er1
>conftest.err
25290 cat conftest.err
>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_c_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.
$ac_objext; then
25296 ac_cv_header_png_h
=yes
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.
$ac_ext >&5
25301 ac_cv_header_png_h
=no
25304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25306 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25307 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25311 if test "$ac_cv_header_png_h" = "yes"; then
25312 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25313 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25314 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 ac_check_lib_save_LIBS
=$LIBS
25318 LIBS
="-lpng -lz -lm $LIBS"
25319 cat >conftest.
$ac_ext <<_ACEOF
25322 cat confdefs.h
>>conftest.
$ac_ext
25323 cat >>conftest.
$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25326 /* Override any GCC internal prototype to avoid an error.
25327 Use char because int might match the return type of a GCC
25328 builtin and then its argument prototype would still apply. */
25332 char png_check_sig ();
25336 return png_check_sig ();
25341 rm -f conftest.
$ac_objext conftest
$ac_exeext
25342 if { (ac_try
="$ac_link"
25343 case "(($ac_try" in
25344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_link") 2>conftest.er1
25350 grep -v '^ *+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_c_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest$ac_exeext &&
25358 $as_test_x conftest$ac_exeext; then
25359 ac_cv_lib_png_png_check_sig=yes
25361 echo "$as_me: failed program was:" >&5
25362 sed 's/^/| /' conftest.$ac_ext >&5
25364 ac_cv_lib_png_png_check_sig=no
25367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25368 conftest$ac_exeext conftest.$ac_ext
25369 LIBS=$ac_check_lib_save_LIBS
25371 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25372 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25373 if test $ac_cv_lib_png_png_check_sig = yes; then
25374 PNG_LINK=" -lpng -lz"
25379 if test "x$PNG_LINK" = "x" ; then
25380 if test "$wxUSE_LIBPNG" = "sys" ; then
25381 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25382 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25383 { (exit 1); exit 1; }; }
25385 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25386 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25387 wxUSE_LIBPNG=builtin
25395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25400 if test "$wxUSE_LIBJPEG" != "no" ; then
25401 cat >>confdefs.h <<\_ACEOF
25402 #define wxUSE_LIBJPEG 1
25406 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25407 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25408 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25412 if test "$wxUSE_MGL" != 1 ; then
25413 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25414 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25415 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25416 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 cat >conftest.$ac_ext <<_ACEOF
25422 cat confdefs.h >>conftest.$ac_ext
25423 cat >>conftest.$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25426 #undef HAVE_STDLIB_H
25428 #include <jpeglib.h>
25439 rm -f conftest.$ac_objext
25440 if { (ac_try="$ac_compile"
25441 case "(($ac_try" in
25442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25443 *) ac_try_echo
=$ac_try;;
25445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25446 (eval "$ac_compile") 2>conftest.er1
25448 grep -v '^ *+' conftest.er1
>conftest.err
25450 cat conftest.err
>&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); } && {
25453 test -z "$ac_c_werror_flag" ||
25454 test ! -s conftest.err
25455 } && test -s conftest.
$ac_objext; then
25456 ac_cv_header_jpeglib_h
=yes
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.
$ac_ext >&5
25461 ac_cv_header_jpeglib_h
=no
25465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25469 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25470 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25472 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25473 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25474 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25475 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 ac_check_lib_save_LIBS
=$LIBS
25479 LIBS
="-ljpeg $LIBS"
25480 cat >conftest.
$ac_ext <<_ACEOF
25483 cat confdefs.h
>>conftest.
$ac_ext
25484 cat >>conftest.
$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25487 /* Override any GCC internal prototype to avoid an error.
25488 Use char because int might match the return type of a GCC
25489 builtin and then its argument prototype would still apply. */
25493 char jpeg_read_header ();
25497 return jpeg_read_header ();
25502 rm -f conftest.
$ac_objext conftest
$ac_exeext
25503 if { (ac_try
="$ac_link"
25504 case "(($ac_try" in
25505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25506 *) ac_try_echo=$ac_try;;
25508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25509 (eval "$ac_link") 2>conftest.er1
25511 grep -v '^ *+' conftest.er1 >conftest.err
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } && {
25516 test -z "$ac_c_werror_flag" ||
25517 test ! -s conftest.err
25518 } && test -s conftest$ac_exeext &&
25519 $as_test_x conftest$ac_exeext; then
25520 ac_cv_lib_jpeg_jpeg_read_header=yes
25522 echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25525 ac_cv_lib_jpeg_jpeg_read_header=no
25528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25529 conftest$ac_exeext conftest.$ac_ext
25530 LIBS=$ac_check_lib_save_LIBS
25532 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25533 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25534 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25535 JPEG_LINK=" -ljpeg"
25540 if test "x$JPEG_LINK" = "x" ; then
25541 if test "$wxUSE_LIBJPEG" = "sys" ; then
25542 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25543 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25544 { (exit 1); exit 1; }; }
25546 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25547 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25548 wxUSE_LIBJPEG=builtin
25553 if test "$wxUSE_MSW" = 1; then
25554 { echo "$as_me:$LINENO: checking for boolean" >&5
25555 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25556 if test "${ac_cv_type_boolean+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 cat >conftest.$ac_ext <<_ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25565 #include <windows.h>
25567 typedef boolean ac__type_new_;
25571 if ((ac__type_new_ *) 0)
25573 if (sizeof (ac__type_new_))
25579 rm -f conftest.$ac_objext
25580 if { (ac_try="$ac_compile"
25581 case "(($ac_try" in
25582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25583 *) ac_try_echo
=$ac_try;;
25585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25586 (eval "$ac_compile") 2>conftest.er1
25588 grep -v '^ *+' conftest.er1
>conftest.err
25590 cat conftest.err
>&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); } && {
25593 test -z "$ac_c_werror_flag" ||
25594 test ! -s conftest.err
25595 } && test -s conftest.
$ac_objext; then
25596 ac_cv_type_boolean
=yes
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.
$ac_ext >&5
25601 ac_cv_type_boolean
=no
25604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25606 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25607 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25608 if test $ac_cv_type_boolean = yes; then
25610 cat >>confdefs.h
<<_ACEOF
25611 #define HAVE_BOOLEAN 1
25615 { echo "$as_me:$LINENO: checking for boolean" >&5
25616 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25617 if test "${ac_cv_type_boolean+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25620 cat >conftest.
$ac_ext <<_ACEOF
25623 cat confdefs.h
>>conftest.
$ac_ext
25624 cat >>conftest.
$ac_ext <<_ACEOF
25625 /* end confdefs.h. */
25627 #undef HAVE_BOOLEAN
25629 #include <jpeglib.h>
25632 typedef boolean ac__type_new_;
25636 if ((ac__type_new_ *) 0)
25638 if (sizeof (ac__type_new_))
25644 rm -f conftest.
$ac_objext
25645 if { (ac_try
="$ac_compile"
25646 case "(($ac_try" in
25647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25648 *) ac_try_echo=$ac_try;;
25650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25651 (eval "$ac_compile") 2>conftest.er1
25653 grep -v '^ *+' conftest.er1 >conftest.err
25655 cat conftest.err >&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } && {
25658 test -z "$ac_c_werror_flag" ||
25659 test ! -s conftest.err
25660 } && test -s conftest.$ac_objext; then
25661 ac_cv_type_boolean=yes
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.$ac_ext >&5
25666 ac_cv_type_boolean=no
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25672 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25674 # The cast to long int works around a bug in the HP C Compiler
25675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25676 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25677 # This bug is HP SR number 8606223364.
25678 { echo "$as_me:$LINENO: checking size of boolean" >&5
25679 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25680 if test "${ac_cv_sizeof_boolean+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 if test "$cross_compiling" = yes; then
25684 # Depending upon the size, compute the lo and hi bounds.
25685 cat >conftest.$ac_ext <<_ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25692 #undef HAVE_BOOLEAN
25694 #include <jpeglib.h>
25697 typedef boolean ac__type_sizeof_;
25701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25708 rm -f conftest.$ac_objext
25709 if { (ac_try="$ac_compile"
25710 case "(($ac_try" in
25711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25712 *) ac_try_echo=$ac_try;;
25714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25715 (eval "$ac_compile") 2>conftest.er1
25717 grep -v '^
*+' conftest.er1 >conftest.err
25719 cat conftest.err >&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && {
25722 test -z "$ac_c_werror_flag" ||
25723 test ! -s conftest.err
25724 } && test -s conftest.$ac_objext; then
25727 cat >conftest.$ac_ext <<_ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25734 #undef HAVE_BOOLEAN
25736 #include <jpeglib.h>
25739 typedef boolean ac__type_sizeof_;
25743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25750 rm -f conftest.$ac_objext
25751 if { (ac_try="$ac_compile"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25754 *) ac_try_echo=$ac_try;;
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_compile") 2>conftest.er1
25759 grep -v '^
*+' conftest.er1 >conftest.err
25761 cat conftest.err >&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_c_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest.$ac_objext; then
25767 ac_hi=$ac_mid; break
25769 echo "$as_me: failed program was:" >&5
25770 sed 's
/^
/| /' conftest.$ac_ext >&5
25772 ac_lo=`expr $ac_mid + 1`
25773 if test $ac_lo -le $ac_mid; then
25777 ac_mid=`expr 2 '*' $ac_mid + 1`
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 echo "$as_me: failed program was:" >&5
25784 sed 's
/^
/| /' conftest.$ac_ext >&5
25786 cat >conftest.$ac_ext <<_ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25793 #undef HAVE_BOOLEAN
25795 #include <jpeglib.h>
25798 typedef boolean ac__type_sizeof_;
25802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25809 rm -f conftest.$ac_objext
25810 if { (ac_try="$ac_compile"
25811 case "(($ac_try" in
25812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816 (eval "$ac_compile") 2>conftest.er1
25818 grep -v '^
*+' conftest.er1 >conftest.err
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } && {
25823 test -z "$ac_c_werror_flag" ||
25824 test ! -s conftest.err
25825 } && test -s conftest.$ac_objext; then
25828 cat >conftest.$ac_ext <<_ACEOF
25831 cat confdefs.h >>conftest.$ac_ext
25832 cat >>conftest.$ac_ext <<_ACEOF
25833 /* end confdefs.h. */
25835 #undef HAVE_BOOLEAN
25837 #include <jpeglib.h>
25840 typedef boolean ac__type_sizeof_;
25844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25851 rm -f conftest.$ac_objext
25852 if { (ac_try="$ac_compile"
25853 case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_compile") 2>conftest.er1
25860 grep -v '^
*+' conftest.er1 >conftest.err
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } && {
25865 test -z "$ac_c_werror_flag" ||
25866 test ! -s conftest.err
25867 } && test -s conftest.$ac_objext; then
25868 ac_lo=$ac_mid; break
25870 echo "$as_me: failed program was:" >&5
25871 sed 's
/^
/| /' conftest.$ac_ext >&5
25873 ac_hi=`expr '(' $ac_mid ')' - 1`
25874 if test $ac_mid -le $ac_hi; then
25878 ac_mid=`expr 2 '*' $ac_mid`
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884 echo "$as_me: failed program was:" >&5
25885 sed 's
/^
/| /' conftest.$ac_ext >&5
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894 # Binary search between lo and hi bounds.
25895 while test "x$ac_lo" != "x$ac_hi"; do
25896 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25897 cat >conftest.$ac_ext <<_ACEOF
25900 cat confdefs.h >>conftest.$ac_ext
25901 cat >>conftest.$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25904 #undef HAVE_BOOLEAN
25906 #include <jpeglib.h>
25909 typedef boolean ac__type_sizeof_;
25913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25920 rm -f conftest.$ac_objext
25921 if { (ac_try="$ac_compile"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_compile") 2>conftest.er1
25929 grep -v '^
*+' conftest.er1 >conftest.err
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } && {
25934 test -z "$ac_c_werror_flag" ||
25935 test ! -s conftest.err
25936 } && test -s conftest.$ac_objext; then
25939 echo "$as_me: failed program was:" >&5
25940 sed 's
/^
/| /' conftest.$ac_ext >&5
25942 ac_lo=`expr '(' $ac_mid ')' + 1`
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25948 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25949 '') if test "$ac_cv_type_boolean" = yes; then
25950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25951 See \`config.log' for more details.
" >&5
25952 echo "$as_me: error
: cannot compute sizeof
(boolean
)
25953 See \
`config.log' for more details." >&2;}
25954 { (exit 77); exit 77; }; }
25956 ac_cv_sizeof_boolean=0
25960 cat >conftest.$ac_ext <<_ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25967 #undef HAVE_BOOLEAN
25969 #include <jpeglib.h>
25972 typedef boolean ac__type_sizeof_;
25973 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25974 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25976 #include <stdlib.h>
25981 FILE *f = fopen ("conftest.val", "w");
25984 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25986 long int i = longval ();
25987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25989 fprintf (f, "%ld\n", i);
25993 unsigned long int i = ulongval ();
25994 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25996 fprintf (f, "%lu\n", i);
25998 return ferror (f) || fclose (f) != 0;
26004 rm -f conftest$ac_exeext
26005 if { (ac_try="$ac_link"
26006 case "(($ac_try" in
26007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26008 *) ac_try_echo
=$ac_try;;
26010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26011 (eval "$ac_link") 2>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26015 { (case "(($ac_try" in
26016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26017 *) ac_try_echo=$ac_try;;
26019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26020 (eval "$ac_try") 2>&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_cv_sizeof_boolean=`cat conftest.val
`
26026 echo "$as_me: program exited with status $ac_status" >&5
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26030 ( exit $ac_status )
26031 if test "$ac_cv_type_boolean" = yes; then
26032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26033 See \`config.log
' for more details." >&5
26034 echo "$as_me: error: cannot compute sizeof (boolean)
26035 See \`config.log' for more details.
" >&2;}
26036 { (exit 77); exit 77; }; }
26038 ac_cv_sizeof_boolean=0
26041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26045 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26046 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26050 cat >>confdefs.h <<_ACEOF
26051 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26055 cat >>confdefs.h <<_ACEOF
26056 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26070 TIFF_PREREQ_LINKS=-lm
26071 if test "$wxUSE_LIBTIFF" != "no
" ; then
26072 cat >>confdefs.h <<\_ACEOF
26073 #define wxUSE_LIBTIFF 1
26077 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26078 if test "$wxUSE_LIBJPEG" = "sys
"; then
26079 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26081 if test "$wxUSE_ZLIB" = "sys
"; then
26082 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26084 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26085 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26086 if test "${ac_cv_header_tiffio_h+set}" = set; then
26087 echo $ECHO_N "(cached
) $ECHO_C" >&6
26089 cat >conftest.$ac_ext <<_ACEOF
26092 cat confdefs.h >>conftest.$ac_ext
26093 cat >>conftest.$ac_ext <<_ACEOF
26094 /* end confdefs.h. */
26098 #include <tiffio.h>
26100 rm -f conftest.$ac_objext
26101 if { (ac_try="$ac_compile"
26102 case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_compile") 2>conftest.er1
26109 grep -v '^ *+' conftest.er1 >conftest.err
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_c_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest.$ac_objext; then
26117 ac_cv_header_tiffio_h=yes
26119 echo "$as_me: failed program was
:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26122 ac_cv_header_tiffio_h=no
26125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26128 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26129 if test $ac_cv_header_tiffio_h = yes; then
26131 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26132 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26133 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26134 echo $ECHO_N "(cached
) $ECHO_C" >&6
26136 ac_check_lib_save_LIBS=$LIBS
26137 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26138 cat >conftest.$ac_ext <<_ACEOF
26141 cat confdefs.h >>conftest.$ac_ext
26142 cat >>conftest.$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26145 /* Override any GCC internal prototype to avoid an error.
26146 Use char because int might match the return type of a GCC
26147 builtin and then its argument prototype would still apply. */
26155 return TIFFError ();
26160 rm -f conftest.$ac_objext conftest$ac_exeext
26161 if { (ac_try="$ac_link"
26162 case "(($ac_try" in
26163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26164 *) ac_try_echo=$ac_try;;
26166 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26167 (eval "$ac_link") 2>conftest.er1
26169 grep -v '^ *+' conftest.er1 >conftest.err
26171 cat conftest.err >&5
26172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26173 (exit $ac_status); } && {
26174 test -z "$ac_c_werror_flag" ||
26175 test ! -s conftest.err
26176 } && test -s conftest$ac_exeext &&
26177 $as_test_x conftest$ac_exeext; then
26178 ac_cv_lib_tiff_TIFFError=yes
26180 echo "$as_me: failed program was
:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26183 ac_cv_lib_tiff_TIFFError=no
26186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26187 conftest$ac_exeext conftest.$ac_ext
26188 LIBS=$ac_check_lib_save_LIBS
26190 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26191 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26192 if test $ac_cv_lib_tiff_TIFFError = yes; then
26193 TIFF_LINK=" -ltiff"
26201 if test "x
$TIFF_LINK" = "x
" ; then
26202 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26203 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26204 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26205 { (exit 1); exit 1; }; }
26207 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26208 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26209 wxUSE_LIBTIFF=builtin
26218 if test "$wxUSE_WCHAR_T" != "yes"; then
26219 if test "$wxUSE_EXPAT" != "no
"; then
26220 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26221 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26224 if test "$wxUSE_XML" != "no
"; then
26225 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26226 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26231 if test "$wxUSE_EXPAT" != "no
"; then
26233 cat >>confdefs.h <<\_ACEOF
26234 #define wxUSE_EXPAT 1
26237 cat >>confdefs.h <<\_ACEOF
26238 #define wxUSE_XML 1
26242 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26244 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26245 if test "${ac_cv_header_expat_h+set}" = set; then
26246 echo $ECHO_N "(cached
) $ECHO_C" >&6
26248 cat >conftest.$ac_ext <<_ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26267 grep -v '^ *+' conftest.er1 >conftest.err
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.$ac_objext; then
26275 ac_cv_header_expat_h=yes
26277 echo "$as_me: failed program was
:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26280 ac_cv_header_expat_h=no
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26287 if test $ac_cv_header_expat_h = yes; then
26292 if test "x
$found_expat_h" = "x1
"; then
26293 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26294 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26295 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26296 echo $ECHO_N "(cached
) $ECHO_C" >&6
26300 ac_cpp='$CXXCPP $CPPFLAGS'
26301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26305 cat >conftest.$ac_ext <<_ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26320 rm -f conftest.$ac_objext
26321 if { (ac_try="$ac_compile"
26322 case "(($ac_try" in
26323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26324 *) ac_try_echo=$ac_try;;
26326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26327 (eval "$ac_compile") 2>conftest.er1
26329 grep -v '^ *+' conftest.er1 >conftest.err
26331 cat conftest.err >&5
26332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26333 (exit $ac_status); } && {
26334 test -z "$ac_cxx_werror_flag" ||
26335 test ! -s conftest.err
26336 } && test -s conftest.$ac_objext; then
26337 wx_cv_expat_is_not_broken=yes
26339 echo "$as_me: failed program was
:" >&5
26340 sed 's/^/| /' conftest.$ac_ext >&5
26342 wx_cv_expat_is_not_broken=no
26346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26348 ac_cpp='$CPP $CPPFLAGS'
26349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26356 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26357 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26358 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26359 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26360 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26361 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26362 echo $ECHO_N "(cached
) $ECHO_C" >&6
26364 ac_check_lib_save_LIBS=$LIBS
26365 LIBS="-lexpat $LIBS"
26366 cat >conftest.$ac_ext <<_ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26373 /* Override any GCC internal prototype to avoid an error.
26374 Use char because int might match the return type of a GCC
26375 builtin and then its argument prototype would still apply. */
26379 char XML_ParserCreate ();
26383 return XML_ParserCreate ();
26388 rm -f conftest.$ac_objext conftest$ac_exeext
26389 if { (ac_try="$ac_link"
26390 case "(($ac_try" in
26391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26392 *) ac_try_echo=$ac_try;;
26394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26395 (eval "$ac_link") 2>conftest.er1
26397 grep -v '^ *+' conftest.er1 >conftest.err
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26401 (exit $ac_status); } && {
26402 test -z "$ac_c_werror_flag" ||
26403 test ! -s conftest.err
26404 } && test -s conftest$ac_exeext &&
26405 $as_test_x conftest$ac_exeext; then
26406 ac_cv_lib_expat_XML_ParserCreate=yes
26408 echo "$as_me: failed program was
:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26411 ac_cv_lib_expat_XML_ParserCreate=no
26414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26415 conftest$ac_exeext conftest.$ac_ext
26416 LIBS=$ac_check_lib_save_LIBS
26418 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26419 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26420 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26421 EXPAT_LINK=" -lexpat"
26426 if test "x
$EXPAT_LINK" = "x
" ; then
26427 if test "$wxUSE_EXPAT" = "sys
" ; then
26428 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26429 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26430 { (exit 1); exit 1; }; }
26432 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26433 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26434 wxUSE_EXPAT=builtin
26440 if test "$wxUSE_EXPAT" = "builtin" ; then
26441 subdirs="$subdirs src
/expat
"
26448 if test "$wxUSE_LIBMSPACK" != "no
"; then
26449 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26450 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26451 if test "${ac_cv_header_mspack_h+set}" = set; then
26452 echo $ECHO_N "(cached
) $ECHO_C" >&6
26454 cat >conftest.$ac_ext <<_ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26462 #include <mspack.h>
26464 rm -f conftest.$ac_objext
26465 if { (ac_try="$ac_compile"
26466 case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26468 *) ac_try_echo=$ac_try;;
26470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_compile") 2>conftest.er1
26473 grep -v '^ *+' conftest.er1 >conftest.err
26475 cat conftest.err >&5
26476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26477 (exit $ac_status); } && {
26478 test -z "$ac_c_werror_flag" ||
26479 test ! -s conftest.err
26480 } && test -s conftest.$ac_objext; then
26481 ac_cv_header_mspack_h=yes
26483 echo "$as_me: failed program was
:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26486 ac_cv_header_mspack_h=no
26489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26491 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26492 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26493 if test $ac_cv_header_mspack_h = yes; then
26498 if test "x
$found_mspack_h" = "x1
"; then
26499 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26500 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26501 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26502 echo $ECHO_N "(cached
) $ECHO_C" >&6
26504 ac_check_lib_save_LIBS=$LIBS
26505 LIBS="-lmspack $LIBS"
26506 cat >conftest.$ac_ext <<_ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26513 /* Override any GCC internal prototype to avoid an error.
26514 Use char because int might match the return type of a GCC
26515 builtin and then its argument prototype would still apply. */
26519 char mspack_create_chm_decompressor ();
26523 return mspack_create_chm_decompressor ();
26528 rm -f conftest.$ac_objext conftest$ac_exeext
26529 if { (ac_try="$ac_link"
26530 case "(($ac_try" in
26531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26532 *) ac_try_echo=$ac_try;;
26534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26535 (eval "$ac_link") 2>conftest.er1
26537 grep -v '^ *+' conftest.er1 >conftest.err
26539 cat conftest.err >&5
26540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26541 (exit $ac_status); } && {
26542 test -z "$ac_c_werror_flag" ||
26543 test ! -s conftest.err
26544 } && test -s conftest$ac_exeext &&
26545 $as_test_x conftest$ac_exeext; then
26546 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26548 echo "$as_me: failed program was
:" >&5
26549 sed 's/^/| /' conftest.$ac_ext >&5
26551 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26555 conftest$ac_exeext conftest.$ac_ext
26556 LIBS=$ac_check_lib_save_LIBS
26558 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26559 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26560 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26561 MSPACK_LINK=" -lmspack"
26565 if test "x
$MSPACK_LINK" = "x
" ; then
26570 if test "$wxUSE_LIBMSPACK" != "no
"; then
26571 cat >>confdefs.h <<\_ACEOF
26572 #define wxUSE_LIBMSPACK 1
26586 if test "$USE_WIN32" = 1 ; then
26587 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26588 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26589 if test "${ac_cv_header_w32api_h+set}" = set; then
26590 echo $ECHO_N "(cached
) $ECHO_C" >&6
26592 cat >conftest.$ac_ext <<_ACEOF
26595 cat confdefs.h >>conftest.$ac_ext
26596 cat >>conftest.$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26600 #include <w32api.h>
26602 rm -f conftest.$ac_objext
26603 if { (ac_try="$ac_compile"
26604 case "(($ac_try" in
26605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26606 *) ac_try_echo=$ac_try;;
26608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26609 (eval "$ac_compile") 2>conftest.er1
26611 grep -v '^ *+' conftest.er1 >conftest.err
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26615 (exit $ac_status); } && {
26616 test -z "$ac_c_werror_flag" ||
26617 test ! -s conftest.err
26618 } && test -s conftest.$ac_objext; then
26619 ac_cv_header_w32api_h=yes
26621 echo "$as_me: failed program was
:" >&5
26622 sed 's/^/| /' conftest.$ac_ext >&5
26624 ac_cv_header_w32api_h=no
26627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26629 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26630 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26633 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26634 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26635 if test "${ac_cv_header_windows_h+set}" = set; then
26636 echo $ECHO_N "(cached
) $ECHO_C" >&6
26638 cat >conftest.$ac_ext <<_ACEOF
26641 cat confdefs.h >>conftest.$ac_ext
26642 cat >>conftest.$ac_ext <<_ACEOF
26643 /* end confdefs.h. */
26646 #include <windows.h>
26648 rm -f conftest.$ac_objext
26649 if { (ac_try="$ac_compile"
26650 case "(($ac_try" in
26651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26652 *) ac_try_echo=$ac_try;;
26654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26655 (eval "$ac_compile") 2>conftest.er1
26657 grep -v '^ *+' conftest.er1 >conftest.err
26659 cat conftest.err >&5
26660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26661 (exit $ac_status); } && {
26662 test -z "$ac_c_werror_flag" ||
26663 test ! -s conftest.err
26664 } && test -s conftest.$ac_objext; then
26665 ac_cv_header_windows_h=yes
26667 echo "$as_me: failed program was
:" >&5
26668 sed 's/^/| /' conftest.$ac_ext >&5
26670 ac_cv_header_windows_h=no
26673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26675 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26677 if test $ac_cv_header_windows_h = yes; then
26681 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26682 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26683 { (exit 1); exit 1; }; }
26689 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26691 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26692 LIBS="$LIBS -loleacc"
26697 LIBS="$LIBS -lkernel32 -luser32"
26700 if test "$wxUSE_ODBC" = "sys
" ; then
26703 if test "$wxUSE_ODBC" = "yes" ; then
26704 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26705 cat >>confdefs.h <<\_ACEOF
26706 #define wxUSE_ODBC 1
26711 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26712 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26714 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26716 WIN32INSTALL=win32install
26718 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26719 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26720 if test "${ac_cv_header_pbt_h+set}" = set; then
26721 echo $ECHO_N "(cached
) $ECHO_C" >&6
26723 cat >conftest.$ac_ext <<_ACEOF
26726 cat confdefs.h >>conftest.$ac_ext
26727 cat >>conftest.$ac_ext <<_ACEOF
26728 /* end confdefs.h. */
26733 rm -f conftest.$ac_objext
26734 if { (ac_try="$ac_compile"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_compile") 2>conftest.er1
26742 grep -v '^ *+' conftest.er1 >conftest.err
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26746 (exit $ac_status); } && {
26747 test -z "$ac_c_werror_flag" ||
26748 test ! -s conftest.err
26749 } && test -s conftest.$ac_objext; then
26750 ac_cv_header_pbt_h=yes
26752 echo "$as_me: failed program was
:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26755 ac_cv_header_pbt_h=no
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26760 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26761 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26762 if test $ac_cv_header_pbt_h = yes; then
26765 cat >>confdefs.h <<\_ACEOF
26766 #define NEED_PBT_H 1
26774 if test "$wxUSE_GUI" = "yes"; then
26784 if test "$wxUSE_COCOA" = 1 ; then
26785 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26786 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26787 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26788 wxUSE_PRINTING_ARCHITECTURE=no
26790 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26791 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26792 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26793 wxUSE_DRAG_AND_DROP=no
26795 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26796 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26797 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26802 if test "$wxUSE_MSW" = 1 ; then
26808 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26812 if test "$wxUSE_GTK" = 1; then
26813 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26814 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26816 gtk_version_cached=1
26817 if test "${wx_cv_lib_gtk+set}" = set; then
26818 echo $ECHO_N "(cached
) $ECHO_C" >&6
26821 gtk_version_cached=0
26822 { echo "$as_me:$LINENO: result
: " >&5
26823 echo "${ECHO_T}" >&6; }
26826 if test "$wxUSE_THREADS" = "yes"; then
26827 GTK_MODULES=gthread
26831 if test "x
$wxGTK_VERSION" != "x1
"
26835 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26840 # Check whether --enable-gtktest was given.
26841 if test "${enable_gtktest+set}" = set; then
26842 enableval=$enable_gtktest;
26848 pkg_config_args=gtk+-2.0
26849 for module in . $GTK_MODULES
26853 pkg_config_args="$pkg_config_args gthread
-2.0
"
26860 # Extract the first word of "pkg
-config", so it can be a program name with args.
26861 set dummy pkg-config; ac_word=$2
26862 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
26863 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
26864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26865 echo $ECHO_N "(cached
) $ECHO_C" >&6
26867 case $PKG_CONFIG in
26869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26873 for as_dir in $PATH
26876 test -z "$as_dir" && as_dir=.
26877 for ac_exec_ext in '' $ac_executable_extensions; do
26878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26880 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
26887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
26891 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26892 if test -n "$PKG_CONFIG"; then
26893 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
26894 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26896 { echo "$as_me:$LINENO: result
: no
" >&5
26897 echo "${ECHO_T}no
" >&6; }
26902 if test x$PKG_CONFIG != xno ; then
26903 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26906 echo "*** pkg
-config too old
; version
0.7 or better required.
"
26914 min_gtk_version=2.0.0
26915 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
26916 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
26918 if test x$PKG_CONFIG != xno ; then
26919 ## don't try to run the test against uninstalled libtool libs
26920 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26921 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
26925 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26932 if test x"$no_gtk" = x ; then
26933 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26934 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26935 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26937 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26939 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26941 if test "x
$enable_gtktest" = "xyes
" ; then
26942 ac_save_CFLAGS="$CFLAGS"
26943 ac_save_LIBS="$LIBS"
26944 CFLAGS="$CFLAGS $GTK_CFLAGS"
26945 LIBS="$GTK_LIBS $LIBS"
26947 if test "$cross_compiling" = yes; then
26948 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
26950 cat >conftest.$ac_ext <<_ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26957 #include <gtk/gtk.h>
26959 #include <stdlib.h>
26964 int major, minor, micro;
26967 system ("touch conf.gtktest
");
26969 /* HP/UX 9 (%@#!) writes to sscanf strings */
26970 tmp_version = g_strdup("$min_gtk_version");
26971 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
26972 printf("%s
, bad version string
\n", "$min_gtk_version");
26976 if ((gtk_major_version != $gtk_config_major_version) ||
26977 (gtk_minor_version != $gtk_config_minor_version) ||
26978 (gtk_micro_version != $gtk_config_micro_version))
26980 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
26981 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
26984 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
26985 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
26986 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
26987 printf("*** required on your system.
\n");
26988 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
26989 printf("*** to point to the correct configuration files
\n");
26991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26992 (gtk_minor_version != GTK_MINOR_VERSION) ||
26993 (gtk_micro_version != GTK_MICRO_VERSION))
26995 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
26996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26997 printf("*** library
(version
%d.
%d.
%d
)\n",
26998 gtk_major_version, gtk_minor_version, gtk_micro_version);
27002 if ((gtk_major_version > major) ||
27003 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27004 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27010 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27011 gtk_major_version, gtk_minor_version, gtk_micro_version);
27012 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27013 major, minor, micro);
27014 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27016 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27017 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27018 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27019 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27020 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27021 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27022 printf("*** so that the correct libraries are found
at run
-time))\n");
27029 rm -f conftest$ac_exeext
27030 if { (ac_try="$ac_link"
27031 case "(($ac_try" in
27032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27033 *) ac_try_echo=$ac_try;;
27035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27036 (eval "$ac_link") 2>&5
27038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27040 { (case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_try") 2>&5
27047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27048 (exit $ac_status); }; }; then
27051 echo "$as_me: program exited with status
$ac_status" >&5
27052 echo "$as_me: failed program was
:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27055 ( exit $ac_status )
27058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27062 CFLAGS="$ac_save_CFLAGS"
27063 LIBS="$ac_save_LIBS"
27066 if test "x
$no_gtk" = x ; then
27067 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27068 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27071 { echo "$as_me:$LINENO: result
: no
" >&5
27072 echo "${ECHO_T}no
" >&6; }
27073 if test "$PKG_CONFIG" = "no
" ; then
27074 echo "*** A new enough version of pkg
-config was not found.
"
27075 echo "*** See http
://pkgconfig.sourceforge.net
"
27077 if test -f conf.gtktest ; then
27080 echo "*** Could not run GTK
+ test program
, checking why...
"
27081 ac_save_CFLAGS="$CFLAGS"
27082 ac_save_LIBS="$LIBS"
27083 CFLAGS="$CFLAGS $GTK_CFLAGS"
27084 LIBS="$LIBS $GTK_LIBS"
27085 cat >conftest.$ac_ext <<_ACEOF
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27092 #include <gtk/gtk.h>
27098 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27103 rm -f conftest.$ac_objext conftest$ac_exeext
27104 if { (ac_try="$ac_link"
27105 case "(($ac_try" in
27106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27107 *) ac_try_echo=$ac_try;;
27109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27110 (eval "$ac_link") 2>conftest.er1
27112 grep -v '^ *+' conftest.er1 >conftest.err
27114 cat conftest.err >&5
27115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27116 (exit $ac_status); } && {
27117 test -z "$ac_c_werror_flag" ||
27118 test ! -s conftest.err
27119 } && test -s conftest$ac_exeext &&
27120 $as_test_x conftest$ac_exeext; then
27121 echo "*** The
test program compiled
, but did not run. This usually means
"
27122 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27123 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27124 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27125 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27126 echo "*** is required on your system"
27128 echo "*** If you have an old version installed, it is best to remove it, although"
27129 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27131 echo "$as_me: failed program was:" >&5
27132 sed 's
/^
/| /' conftest.$ac_ext >&5
27134 echo "*** The test program failed to compile or link. See the file config.log for the"
27135 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27139 conftest$ac_exeext conftest.$ac_ext
27140 CFLAGS="$ac_save_CFLAGS"
27141 LIBS="$ac_save_LIBS"
27155 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27156 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27157 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27159 if test "$wxUSE_SHARED" != "yes"; then
27160 GTK_LIBS="$GTK_LIBS -lX11"
27165 if test -z "$wx_cv_lib_gtk"; then
27166 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27168 # Check whether --with-gtk-prefix was given.
27169 if test "${with_gtk_prefix+set}" = set; then
27170 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27172 gtk_config_prefix=""
27176 # Check whether --with-gtk-exec-prefix was given.
27177 if test "${with_gtk_exec_prefix+set}" = set; then
27178 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27180 gtk_config_exec_prefix=""
27183 # Check whether --enable-gtktest was given.
27184 if test "${enable_gtktest+set}" = set; then
27185 enableval=$enable_gtktest;
27191 for module in . $GTK_MODULES
27195 gtk_config_args="$gtk_config_args gthread"
27200 if test x$gtk_config_exec_prefix != x ; then
27201 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27202 if test x${GTK_CONFIG+set} != xset ; then
27203 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27206 if test x$gtk_config_prefix != x ; then
27207 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27208 if test x${GTK_CONFIG+set} != xset ; then
27209 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27213 # Extract the first word of "gtk-config", so it can be a program name with args.
27214 set dummy gtk-config; ac_word=$2
27215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27217 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 case $GTK_CONFIG in
27222 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27226 for as_dir in $PATH
27229 test -z "$as_dir" && as_dir=.
27230 for ac_exec_ext in '' $ac_executable_extensions; do
27231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27232 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27240 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27244 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27245 if test -n "$GTK_CONFIG"; then
27246 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27247 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27249 { echo "$as_me:$LINENO: result: no" >&5
27250 echo "${ECHO_T}no" >&6; }
27254 min_gtk_version=1.2.7
27255 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27256 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27258 if test "$GTK_CONFIG" = "no" ; then
27261 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27262 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27263 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27264 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27265 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27266 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27267 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27268 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27269 if test "x$enable_gtktest" = "xyes" ; then
27270 ac_save_CFLAGS="$CFLAGS"
27271 ac_save_LIBS="$LIBS"
27272 CFLAGS="$CFLAGS $GTK_CFLAGS"
27273 LIBS="$GTK_LIBS $LIBS"
27275 if test "$cross_compiling" = yes; then
27276 echo $ac_n "cross compiling; assumed OK... $ac_c"
27278 cat >conftest.$ac_ext <<_ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27285 #include <gtk/gtk.h>
27287 #include <stdlib.h>
27292 int major, minor, micro;
27295 system ("touch conf.gtktest");
27297 /* HP/UX 9 (%@#!) writes to sscanf strings */
27298 tmp_version = g_strdup("$min_gtk_version");
27299 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27300 printf("%s, bad version string\n", "$min_gtk_version");
27304 if ((gtk_major_version != $gtk_config_major_version) ||
27305 (gtk_minor_version != $gtk_config_minor_version) ||
27306 (gtk_micro_version != $gtk_config_micro_version))
27308 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27309 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27310 gtk_major_version, gtk_minor_version, gtk_micro_version);
27311 printf ("*** was found! If gtk-config was correct, then it is best\n");
27312 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27313 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27314 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27315 printf("*** required on your system.\n");
27316 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27317 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27318 printf("*** before re-running configure\n");
27320 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27321 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27322 (gtk_minor_version != GTK_MINOR_VERSION) ||
27323 (gtk_micro_version != GTK_MICRO_VERSION))
27325 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27326 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27327 printf("*** library (version %d.%d.%d)\n",
27328 gtk_major_version, gtk_minor_version, gtk_micro_version);
27330 #endif /* defined (GTK_MAJOR_VERSION) ... */
27333 if ((gtk_major_version > major) ||
27334 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27335 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27341 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27342 gtk_major_version, gtk_minor_version, gtk_micro_version);
27343 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27344 major, minor, micro);
27345 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27347 printf("*** If you have already installed a sufficiently new version, this error\n");
27348 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27349 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27350 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27351 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27352 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27353 printf("*** so that the correct libraries are found at run-time))\n");
27360 rm -f conftest$ac_exeext
27361 if { (ac_try="$ac_link"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_link") 2>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27371 { (case "(($ac_try" in
27372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27373 *) ac_try_echo=$ac_try;;
27375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27376 (eval "$ac_try") 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27382 echo "$as_me: program exited with status $ac_status" >&5
27383 echo "$as_me: failed program was:" >&5
27384 sed 's
/^
/| /' conftest.$ac_ext >&5
27386 ( exit $ac_status )
27389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27393 CFLAGS="$ac_save_CFLAGS"
27394 LIBS="$ac_save_LIBS"
27397 if test "x$no_gtk" = x ; then
27398 { echo "$as_me:$LINENO: result: yes" >&5
27399 echo "${ECHO_T}yes" >&6; }
27400 wx_cv_lib_gtk=1.2.7
27402 { echo "$as_me:$LINENO: result: no" >&5
27403 echo "${ECHO_T}no" >&6; }
27404 if test "$GTK_CONFIG" = "no" ; then
27405 echo "*** The gtk-config script installed by GTK could not be found"
27406 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27407 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27408 echo "*** full path to gtk-config."
27410 if test -f conf.gtktest ; then
27413 echo "*** Could not run GTK test program, checking why..."
27414 CFLAGS="$CFLAGS $GTK_CFLAGS"
27415 LIBS="$LIBS $GTK_LIBS"
27416 cat >conftest.$ac_ext <<_ACEOF
27419 cat confdefs.h >>conftest.$ac_ext
27420 cat >>conftest.$ac_ext <<_ACEOF
27421 /* end confdefs.h. */
27423 #include <gtk/gtk.h>
27429 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27434 rm -f conftest.$ac_objext conftest$ac_exeext
27435 if { (ac_try="$ac_link"
27436 case "(($ac_try" in
27437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27438 *) ac_try_echo=$ac_try;;
27440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27441 (eval "$ac_link") 2>conftest.er1
27443 grep -v '^
*+' conftest.er1 >conftest.err
27445 cat conftest.err >&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); } && {
27448 test -z "$ac_c_werror_flag" ||
27449 test ! -s conftest.err
27450 } && test -s conftest$ac_exeext &&
27451 $as_test_x conftest$ac_exeext; then
27452 echo "*** The test program compiled, but did not run. This usually means"
27453 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27454 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27455 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27456 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27457 echo "*** is required on your system
"
27459 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27460 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27462 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27463 echo "*** came with the system with the
command"
27465 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27467 echo "$as_me: failed program was
:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27470 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27471 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27472 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27473 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27477 conftest$ac_exeext conftest.$ac_ext
27478 CFLAGS="$ac_save_CFLAGS"
27479 LIBS="$ac_save_LIBS"
27491 if test -z "$wx_cv_lib_gtk"; then
27493 # Check whether --with-gtk-prefix was given.
27494 if test "${with_gtk_prefix+set}" = set; then
27495 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27497 gtk_config_prefix=""
27501 # Check whether --with-gtk-exec-prefix was given.
27502 if test "${with_gtk_exec_prefix+set}" = set; then
27503 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27505 gtk_config_exec_prefix=""
27508 # Check whether --enable-gtktest was given.
27509 if test "${enable_gtktest+set}" = set; then
27510 enableval=$enable_gtktest;
27516 for module in . $GTK_MODULES
27520 gtk_config_args="$gtk_config_args gthread
"
27525 if test x$gtk_config_exec_prefix != x ; then
27526 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27527 if test x${GTK_CONFIG+set} != xset ; then
27528 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27531 if test x$gtk_config_prefix != x ; then
27532 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27533 if test x${GTK_CONFIG+set} != xset ; then
27534 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27538 # Extract the first word of "gtk
-config", so it can be a program name with args.
27539 set dummy gtk-config; ac_word=$2
27540 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27541 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27542 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27543 echo $ECHO_N "(cached
) $ECHO_C" >&6
27545 case $GTK_CONFIG in
27547 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27551 for as_dir in $PATH
27554 test -z "$as_dir" && as_dir=.
27555 for ac_exec_ext in '' $ac_executable_extensions; do
27556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27557 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27558 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27565 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27569 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27570 if test -n "$GTK_CONFIG"; then
27571 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27572 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27574 { echo "$as_me:$LINENO: result
: no
" >&5
27575 echo "${ECHO_T}no
" >&6; }
27579 min_gtk_version=1.2.3
27580 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27581 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27583 if test "$GTK_CONFIG" = "no
" ; then
27586 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27587 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27588 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27590 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27592 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27594 if test "x
$enable_gtktest" = "xyes
" ; then
27595 ac_save_CFLAGS="$CFLAGS"
27596 ac_save_LIBS="$LIBS"
27597 CFLAGS="$CFLAGS $GTK_CFLAGS"
27598 LIBS="$GTK_LIBS $LIBS"
27600 if test "$cross_compiling" = yes; then
27601 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27603 cat >conftest.$ac_ext <<_ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27610 #include <gtk/gtk.h>
27612 #include <stdlib.h>
27617 int major, minor, micro;
27620 system ("touch conf.gtktest
");
27622 /* HP/UX 9 (%@#!) writes to sscanf strings */
27623 tmp_version = g_strdup("$min_gtk_version");
27624 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27625 printf("%s
, bad version string
\n", "$min_gtk_version");
27629 if ((gtk_major_version != $gtk_config_major_version) ||
27630 (gtk_minor_version != $gtk_config_minor_version) ||
27631 (gtk_micro_version != $gtk_config_micro_version))
27633 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27634 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27635 gtk_major_version, gtk_minor_version, gtk_micro_version);
27636 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27637 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27638 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27639 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27640 printf("*** required on your system.
\n");
27641 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27642 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27643 printf("*** before re
-running configure
\n");
27645 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27646 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27647 (gtk_minor_version != GTK_MINOR_VERSION) ||
27648 (gtk_micro_version != GTK_MICRO_VERSION))
27650 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27651 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27652 printf("*** library
(version
%d.
%d.
%d
)\n",
27653 gtk_major_version, gtk_minor_version, gtk_micro_version);
27655 #endif /* defined (GTK_MAJOR_VERSION) ... */
27658 if ((gtk_major_version > major) ||
27659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27666 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27667 gtk_major_version, gtk_minor_version, gtk_micro_version);
27668 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27669 major, minor, micro);
27670 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27672 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27673 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27674 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27675 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27676 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27677 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27678 printf("*** so that the correct libraries are found
at run
-time))\n");
27685 rm -f conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>&5
27694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27696 { (case "(($ac_try" in
27697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27698 *) ac_try_echo=$ac_try;;
27700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27701 (eval "$ac_try") 2>&5
27703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27704 (exit $ac_status); }; }; then
27707 echo "$as_me: program exited with status
$ac_status" >&5
27708 echo "$as_me: failed program was
:" >&5
27709 sed 's/^/| /' conftest.$ac_ext >&5
27711 ( exit $ac_status )
27714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27718 CFLAGS="$ac_save_CFLAGS"
27719 LIBS="$ac_save_LIBS"
27722 if test "x
$no_gtk" = x ; then
27723 { echo "$as_me:$LINENO: result
: yes" >&5
27724 echo "${ECHO_T}yes" >&6; }
27725 wx_cv_lib_gtk=1.2.3
27727 { echo "$as_me:$LINENO: result
: no
" >&5
27728 echo "${ECHO_T}no
" >&6; }
27729 if test "$GTK_CONFIG" = "no
" ; then
27730 echo "*** The gtk
-config script installed by GTK could not be found
"
27731 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27732 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27733 echo "*** full path to gtk
-config.
"
27735 if test -f conf.gtktest ; then
27738 echo "*** Could not run GTK
test program
, checking why...
"
27739 CFLAGS="$CFLAGS $GTK_CFLAGS"
27740 LIBS="$LIBS $GTK_LIBS"
27741 cat >conftest.$ac_ext <<_ACEOF
27744 cat confdefs.h >>conftest.$ac_ext
27745 cat >>conftest.$ac_ext <<_ACEOF
27746 /* end confdefs.h. */
27748 #include <gtk/gtk.h>
27754 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27759 rm -f conftest.$ac_objext conftest$ac_exeext
27760 if { (ac_try="$ac_link"
27761 case "(($ac_try" in
27762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27763 *) ac_try_echo=$ac_try;;
27765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_link") 2>conftest.er1
27768 grep -v '^ *+' conftest.er1 >conftest.err
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27772 (exit $ac_status); } && {
27773 test -z "$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27775 } && test -s conftest$ac_exeext &&
27776 $as_test_x conftest$ac_exeext; then
27777 echo "*** The
test program compiled
, but did not run. This usually means
"
27778 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27779 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27781 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27782 echo "*** is required on your system"
27784 echo "*** If you have an old version installed, it is best to remove it, although"
27785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27787 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27788 echo "*** came with the system with the command"
27790 echo "*** rpm --erase --nodeps gtk gtk-devel"
27792 echo "$as_me: failed program was:" >&5
27793 sed 's
/^
/| /' conftest.$ac_ext >&5
27795 echo "*** The test program failed to compile or link. See the file config.log for the"
27796 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27797 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27798 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27802 conftest$ac_exeext conftest.$ac_ext
27803 CFLAGS="$ac_save_CFLAGS"
27804 LIBS="$ac_save_LIBS"
27819 if test -z "$wx_cv_lib_gtk"; then
27822 wx_cv_cflags_gtk=$GTK_CFLAGS
27823 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
27830 if test "$gtk_version_cached" = 1; then
27831 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27832 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27835 case "$wx_cv_lib_gtk" in
27844 *) { { echo "$as_me:$LINENO: error:
27845 The development files for GTK+ were not found. For GTK+ 2, please
27846 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27847 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27848 and that the version is 1.2.3 or above. Also check that the
27849 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27850 --libs' are in the LD_LIBRARY_PATH or equivalent.
27852 echo "$as_me: error:
27853 The development files for GTK+ were not found. For GTK+ 2, please
27854 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27855 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27856 and that the version is 1.2.3 or above. Also check that the
27857 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27858 --libs' are in the LD_LIBRARY_PATH or equivalent.
27860 { (exit 1); exit 1; }; }
27864 if test "$WXGTK20" = 1; then
27865 save_CFLAGS="$CFLAGS"
27867 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27868 LIBS="$LIBS $wx_cv_libs_gtk"
27870 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27871 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27872 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27873 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 cat >conftest.$ac_ext <<_ACEOF
27878 cat confdefs.h >>conftest.$ac_ext
27879 cat >>conftest.$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27881 #include <gtk/gtk.h>
27886 #ifndef gtk_icon_size_lookup
27887 (void) gtk_icon_size_lookup;
27894 rm -f conftest.$ac_objext
27895 if { (ac_try="$ac_compile"
27896 case "(($ac_try" in
27897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27898 *) ac_try_echo=$ac_try;;
27900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27901 (eval "$ac_compile") 2>conftest.er1
27903 grep -v '^
*+' conftest.er1 >conftest.err
27905 cat conftest.err >&5
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); } && {
27908 test -z "$ac_c_werror_flag" ||
27909 test ! -s conftest.err
27910 } && test -s conftest.$ac_objext; then
27911 ac_cv_have_decl_gtk_icon_size_lookup=yes
27913 echo "$as_me: failed program was:" >&5
27914 sed 's
/^
/| /' conftest.$ac_ext >&5
27916 ac_cv_have_decl_gtk_icon_size_lookup=no
27919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27921 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27922 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27923 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27925 cat >>confdefs.h <<_ACEOF
27926 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27931 cat >>confdefs.h <<_ACEOF
27932 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27935 cat >>confdefs.h <<\_ACEOF
27936 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27944 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27945 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27946 cat >conftest.$ac_ext <<_ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27953 #include <gtk/gtk.h>
27959 #if !GTK_CHECK_VERSION(2,10,0)
27967 rm -f conftest.$ac_objext
27968 if { (ac_try="$ac_compile"
27969 case "(($ac_try" in
27970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27971 *) ac_try_echo=$ac_try;;
27973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27974 (eval "$ac_compile") 2>conftest.er1
27976 grep -v '^
*+' conftest.er1 >conftest.err
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && {
27981 test -z "$ac_c_werror_flag" ||
27982 test ! -s conftest.err
27983 } && test -s conftest.$ac_objext; then
27985 cat >>confdefs.h <<\_ACEOF
27986 #define __WXGTK210__ 1
27989 cat >>confdefs.h <<\_ACEOF
27990 #define __WXGTK26__ 1
27993 cat >>confdefs.h <<\_ACEOF
27994 #define __WXGTK24__ 1
27997 { echo "$as_me:$LINENO: result: yes" >&5
27998 echo "${ECHO_T}yes" >&6; }
28002 echo "$as_me: failed program was:" >&5
28003 sed 's
/^
/| /' conftest.$ac_ext >&5
28006 { echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6; }
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28014 if test "$ac_wxgtk210" = 0; then
28015 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28016 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28017 cat >conftest.$ac_ext <<_ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28024 #include <gtk/gtk.h>
28030 #if !GTK_CHECK_VERSION(2,6,0)
28038 rm -f conftest.$ac_objext
28039 if { (ac_try="$ac_compile"
28040 case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_compile") 2>conftest.er1
28047 grep -v '^
*+' conftest.er1 >conftest.err
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } && {
28052 test -z "$ac_c_werror_flag" ||
28053 test ! -s conftest.err
28054 } && test -s conftest.$ac_objext; then
28056 cat >>confdefs.h <<\_ACEOF
28057 #define __WXGTK26__ 1
28060 cat >>confdefs.h <<\_ACEOF
28061 #define __WXGTK24__ 1
28064 { echo "$as_me:$LINENO: result: yes" >&5
28065 echo "${ECHO_T}yes" >&6; }
28069 echo "$as_me: failed program was:" >&5
28070 sed 's
/^
/| /' conftest.$ac_ext >&5
28073 { echo "$as_me:$LINENO: result: no" >&5
28074 echo "${ECHO_T}no" >&6; }
28079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28082 if test "$ac_wxgtk26" = 0; then
28083 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28084 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28085 cat >conftest.$ac_ext <<_ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28092 #include <gtk/gtk.h>
28098 #if !GTK_CHECK_VERSION(2,4,0)
28106 rm -f conftest.$ac_objext
28107 if { (ac_try="$ac_compile"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110 *) ac_try_echo=$ac_try;;
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_compile") 2>conftest.er1
28115 grep -v '^
*+' conftest.er1 >conftest.err
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest.$ac_objext; then
28124 cat >>confdefs.h <<\_ACEOF
28125 #define __WXGTK24__ 1
28128 { echo "$as_me:$LINENO: result: yes" >&5
28129 echo "${ECHO_T}yes" >&6; }
28132 echo "$as_me: failed program was:" >&5
28133 sed 's
/^
/| /' conftest.$ac_ext >&5
28136 { echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6; }
28141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28144 CFLAGS="$save_CFLAGS"
28147 if test "$wxUSE_UNICODE" = "yes"; then
28148 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28149 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28153 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28154 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28155 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 ac_check_lib_save_LIBS=$LIBS
28160 cat >conftest.$ac_ext <<_ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28167 /* Override any GCC internal prototype to avoid an error.
28168 Use char because int might match the return type of a GCC
28169 builtin and then its argument prototype would still apply. */
28173 char gdk_im_open ();
28177 return gdk_im_open ();
28182 rm -f conftest.$ac_objext conftest$ac_exeext
28183 if { (ac_try="$ac_link"
28184 case "(($ac_try" in
28185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28186 *) ac_try_echo=$ac_try;;
28188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28189 (eval "$ac_link") 2>conftest.er1
28191 grep -v '^
*+' conftest.er1 >conftest.err
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } && {
28196 test -z "$ac_c_werror_flag" ||
28197 test ! -s conftest.err
28198 } && test -s conftest$ac_exeext &&
28199 $as_test_x conftest$ac_exeext; then
28200 ac_cv_lib_gdk_gdk_im_open=yes
28202 echo "$as_me: failed program was:" >&5
28203 sed 's
/^
/| /' conftest.$ac_ext >&5
28205 ac_cv_lib_gdk_gdk_im_open=no
28208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28209 conftest$ac_exeext conftest.$ac_ext
28210 LIBS=$ac_check_lib_save_LIBS
28212 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28213 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28214 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28215 cat >>confdefs.h <<\_ACEOF
28222 if test "$USE_DARWIN" != 1; then
28224 for ac_func in poll
28226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28230 echo $ECHO_N "(cached) $ECHO_C" >&6
28232 cat >conftest.$ac_ext <<_ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28240 #define $ac_func innocuous_$ac_func
28242 /* System header to define __stub macros and hopefully few prototypes,
28243 which can conflict with char $ac_func (); below.
28244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28245 <limits.h> exists even on freestanding compilers. */
28248 # include <limits.h>
28250 # include <assert.h>
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28262 /* The GNU C library defines this for functions which it implements
28263 to always fail with ENOSYS. Some functions are actually named
28264 something starting with __ and the normal name is an alias. */
28265 #if defined __stub_$ac_func || defined __stub___$ac_func
28272 return $ac_func ();
28277 rm -f conftest.$ac_objext conftest$ac_exeext
28278 if { (ac_try="$ac_link"
28279 case "(($ac_try" in
28280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28281 *) ac_try_echo=$ac_try;;
28283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28284 (eval "$ac_link") 2>conftest.er1
28286 grep -v '^
*+' conftest.er1 >conftest.err
28288 cat conftest.err >&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); } && {
28291 test -z "$ac_c_werror_flag" ||
28292 test ! -s conftest.err
28293 } && test -s conftest$ac_exeext &&
28294 $as_test_x conftest$ac_exeext; then
28295 eval "$as_ac_var=yes"
28297 echo "$as_me: failed program was:" >&5
28298 sed 's
/^
/| /' conftest.$ac_ext >&5
28300 eval "$as_ac_var=no"
28303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28304 conftest$ac_exeext conftest.$ac_ext
28306 ac_res=`eval echo '${'$as_ac_var'}'`
28307 { echo "$as_me:$LINENO: result: $ac_res" >&5
28308 echo "${ECHO_T}$ac_res" >&6; }
28309 if test `eval echo '${'$as_ac_var'}'` = yes; then
28310 cat >>confdefs.h <<_ACEOF
28311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28321 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28323 AFMINSTALL=afminstall
28327 if test "$wxUSE_GPE" = "yes"; then
28328 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28329 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28332 for ac_dir in $SEARCH_LIB;
28334 for ac_extension in a so sl dylib dll.a; do
28335 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28336 ac_find_libraries=$ac_dir
28342 if test "$ac_find_libraries" != "" ; then
28344 if test "$ac_find_libraries" = "default location"; then
28347 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28349 if test $result = 0; then
28352 ac_path_to_link=" -L$ac_find_libraries"
28356 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28358 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28359 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28361 { echo "$as_me:$LINENO: result: not found" >&5
28362 echo "${ECHO_T}not found" >&6; }
28368 if test "$wxUSE_MGL" = 1; then
28369 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28370 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28371 if test "x$MGL_ROOT" = x ; then
28372 { echo "$as_me:$LINENO: result: not found" >&5
28373 echo "${ECHO_T}not found" >&6; }
28374 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28375 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28376 { (exit 1); exit 1; }; }
28378 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28379 echo "${ECHO_T}$MGL_ROOT" >&6; }
28382 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28383 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28386 if test "x$wxUSE_SHARED" = xyes ; then
28387 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28389 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28393 mgl_os_candidates="dos32/dj2"
28396 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28397 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28398 { (exit 1); exit 1; }; }
28404 for mgl_os_i in $mgl_os_candidates ; do
28405 if test "x$mgl_os" = x ; then
28406 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28407 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28408 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28413 if test "x$mgl_lib_type" = x ; then
28414 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28415 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28416 mgl_lib_type=release
28423 if test "x$mgl_os" = x ; then
28424 { echo "$as_me:$LINENO: result: not found" >&5
28425 echo "${ECHO_T}not found" >&6; }
28426 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28427 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28428 { (exit 1); exit 1; }; }
28430 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28431 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28433 wxUSE_UNIVERSAL="yes"
28435 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28436 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28438 AFMINSTALL=afminstall
28443 if test "$wxUSE_DFB" = 1; then
28446 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28447 if test -n "$ac_tool_prefix"; then
28448 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28449 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28452 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28455 case $PKG_CONFIG in
28457 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28461 for as_dir in $PATH
28464 test -z "$as_dir" && as_dir=.
28465 for ac_exec_ext in '' $ac_executable_extensions; do
28466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28467 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28478 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28479 if test -n "$PKG_CONFIG"; then
28480 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28481 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28483 { echo "$as_me:$LINENO: result: no" >&5
28484 echo "${ECHO_T}no" >&6; }
28489 if test -z "$ac_cv_path_PKG_CONFIG"; then
28490 ac_pt_PKG_CONFIG=$PKG_CONFIG
28491 # Extract the first word of "pkg-config", so it can be a program name with args.
28492 set dummy pkg-config; ac_word=$2
28493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28495 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28498 case $ac_pt_PKG_CONFIG in
28500 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28504 for as_dir in $PATH
28507 test -z "$as_dir" && as_dir=.
28508 for ac_exec_ext in '' $ac_executable_extensions; do
28509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28510 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28521 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28522 if test -n "$ac_pt_PKG_CONFIG"; then
28523 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28524 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28526 { echo "$as_me:$LINENO: result: no" >&5
28527 echo "${ECHO_T}no" >&6; }
28530 if test "x$ac_pt_PKG_CONFIG" = x; then
28533 case $cross_compiling:$ac_tool_warned in
28535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28536 whose name does not start with the host triplet. If you think this
28537 configuration is useful to you, please write to autoconf@gnu.org." >&5
28538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28539 whose name does not start with the host triplet. If you think this
28540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28541 ac_tool_warned=yes ;;
28543 PKG_CONFIG=$ac_pt_PKG_CONFIG
28546 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28550 if test -n "$PKG_CONFIG"; then
28551 _pkg_min_version=0.9.0
28552 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28553 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28554 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28555 { echo "$as_me:$LINENO: result: yes" >&5
28556 echo "${ECHO_T}yes" >&6; }
28558 { echo "$as_me:$LINENO: result: no" >&5
28559 echo "${ECHO_T}no" >&6; }
28567 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28568 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28570 if test -n "$PKG_CONFIG"; then
28571 if test -n "$DIRECTFB_CFLAGS"; then
28572 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28574 if test -n "$PKG_CONFIG" && \
28575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28576 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; then
28580 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28588 if test -n "$PKG_CONFIG"; then
28589 if test -n "$DIRECTFB_LIBS"; then
28590 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28592 if test -n "$PKG_CONFIG" && \
28593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28594 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; then
28598 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28609 if test $pkg_failed = yes; then
28611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28612 _pkg_short_errors_supported=yes
28614 _pkg_short_errors_supported=no
28616 if test $_pkg_short_errors_supported = yes; then
28617 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28619 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28621 # Put the nasty error message in config.log where it belongs
28622 echo "$DIRECTFB_PKG_ERRORS" >&5
28625 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28626 echo "$as_me: error: DirectFB not found." >&2;}
28627 { (exit 1); exit 1; }; }
28630 elif test $pkg_failed = untried; then
28632 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28633 echo "$as_me: error: DirectFB not found." >&2;}
28634 { (exit 1); exit 1; }; }
28638 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28639 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28640 { echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6; }
28643 wxUSE_UNIVERSAL="yes"
28644 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28645 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28652 if test "$wxUSE_MICROWIN" = 1; then
28653 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28654 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28655 if test "x$MICROWINDOWS" = x ; then
28656 { echo "$as_me:$LINENO: result: not found" >&5
28657 echo "${ECHO_T}not found" >&6; }
28658 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28659 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28660 { (exit 1); exit 1; }; }
28662 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28663 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28666 if test -f $MICROWINDOWS/lib/libmwin.a; then
28667 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28668 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28670 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28671 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28672 { (exit 1); exit 1; }; }
28675 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28676 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28678 wxUSE_UNIVERSAL="yes"
28680 AFMINSTALL=afminstall
28682 GUIDIST=MICROWIN_DIST
28684 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28687 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28688 { echo "$as_me:$LINENO: checking for X" >&5
28689 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28692 # Check whether --with-x was given.
28693 if test "${with_x+set}" = set; then
28697 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28698 if test "x$with_x" = xno; then
28699 # The user explicitly disabled X.
28702 case $x_includes,$x_libraries in #(
28703 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28704 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28705 { (exit 1); exit 1; }; };; #(
28706 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 # One or both of the vars are not set, and there is no cached value.
28710 ac_x_includes=no ac_x_libraries=no
28711 rm -f -r conftest.dir
28712 if mkdir conftest.dir; then
28714 cat >Imakefile <<'_ACEOF'
28716 @echo incroot='${INCROOT}'
28718 @echo usrlibdir='${USRLIBDIR}'
28720 @echo libdir='${LIBDIR}'
28722 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28724 for ac_var in incroot usrlibdir libdir; do
28725 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28727 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28728 for ac_extension in a so sl; do
28729 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28730 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28731 ac_im_usrlibdir=$ac_im_libdir; break
28734 # Screen out bogus values from the imake configuration. They are
28735 # bogus both because they are the default anyway, and because
28736 # using them would break gcc on systems where it needs fixed includes.
28737 case $ac_im_incroot in
28738 /usr/include) ac_x_includes= ;;
28739 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28741 case $ac_im_usrlibdir in
28742 /usr/lib | /lib) ;;
28743 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28747 rm -f -r conftest.dir
28750 # Standard set of common directories for X headers.
28751 # Check X11 before X11Rn because it is often a symlink to the current release.
28763 /usr
/local
/X
11/include
28764 /usr
/local
/X
11R
6/include
28765 /usr
/local
/X
11R
5/include
28766 /usr
/local
/X
11R
4/include
28768 /usr
/local
/include
/X11
28769 /usr
/local
/include
/X11R6
28770 /usr
/local
/include
/X11R5
28771 /usr
/local
/include
/X11R4
28775 /usr
/XFree
86/include
/X11
28779 /usr
/unsupported
/include
28780 /usr
/athena
/include
28781 /usr
/local
/x
11r
5/include
28782 /usr
/lpp
/Xamples
/include
28784 /usr
/openwin
/include
28785 /usr
/openwin
/share
/include
'
28787 if test "$ac_x_includes" = no; then
28788 # Guess where to find include files, by looking for Xlib.h.
28789 # First, try using that file with no special directory specified.
28790 cat >conftest.$ac_ext <<_ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796 #include <X11/Xlib.h>
28798 if { (ac_try="$ac_cpp conftest.$ac_ext"
28799 case "(($ac_try" in
28800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28801 *) ac_try_echo=$ac_try;;
28803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28806 grep -v '^
*+' conftest.er1 >conftest.err
28808 cat conftest.err >&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); } >/dev/null && {
28811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28812 test ! -s conftest.err
28814 # We can compile using X headers with no special include directory.
28817 echo "$as_me: failed program was:" >&5
28818 sed 's
/^
/| /' conftest.$ac_ext >&5
28820 for ac_dir in $ac_x_header_dirs; do
28821 if test -r "$ac_dir/X11/Xlib.h"; then
28822 ac_x_includes=$ac_dir
28828 rm -f conftest.err conftest.$ac_ext
28829 fi # $ac_x_includes = no
28831 if test "$ac_x_libraries" = no; then
28832 # Check for the libraries.
28833 # See if we find them without any special options.
28834 # Don't add to
$LIBS permanently.
28837 cat >conftest.
$ac_ext <<_ACEOF
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 #include <X11/Xlib.h>
28852 rm -f conftest.
$ac_objext conftest
$ac_exeext
28853 if { (ac_try
="$ac_link"
28854 case "(($ac_try" in
28855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28856 *) ac_try_echo=$ac_try;;
28858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28859 (eval "$ac_link") 2>conftest.er1
28861 grep -v '^ *+' conftest.er1 >conftest.err
28863 cat conftest.err >&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); } && {
28866 test -z "$ac_c_werror_flag" ||
28867 test ! -s conftest.err
28868 } && test -s conftest$ac_exeext &&
28869 $as_test_x conftest$ac_exeext; then
28871 # We can link X programs with no special library path.
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28878 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
28880 # Don't even attempt the hair of trying to link an X program!
28881 for ac_extension in a so sl; do
28882 if test -r "$ac_dir/libX11.$ac_extension"; then
28883 ac_x_libraries=$ac_dir
28890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28891 conftest$ac_exeext conftest.$ac_ext
28892 fi # $ac_x_libraries = no
28894 case $ac_x_includes,$ac_x_libraries in #(
28895 no,* | *,no | *\'*)
28896 # Didn't find X, or a directory has "'" in its name.
28897 ac_cv_have_x="have_x=no";; #(
28899 # Record where we found X for the cache.
28900 ac_cv_have_x="have_x=yes\
28901 ac_x_includes='$ac_x_includes'\
28902 ac_x_libraries='$ac_x_libraries'"
28908 eval "$ac_cv_have_x"
28911 if test "$have_x" != yes; then
28912 { echo "$as_me:$LINENO: result: $have_x" >&5
28913 echo "${ECHO_T}$have_x" >&6; }
28916 # If each of the values was on the command line, it overrides each guess.
28917 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28918 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28919 # Update the cache value to reflect the command line values.
28920 ac_cv_have_x="have_x=yes\
28921 ac_x_includes='$x_includes'\
28922 ac_x_libraries='$x_libraries'"
28923 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28924 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28927 if test "$no_x" = yes; then
28928 # Not all programs may use this symbol, but it does not hurt to define it.
28930 cat >>confdefs.h <<\_ACEOF
28931 #define X_DISPLAY_MISSING 1
28934 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28936 if test -n "$x_includes"; then
28937 X_CFLAGS="$X_CFLAGS -I$x_includes"
28940 # It would also be nice to do this for all -L options, not just this one.
28941 if test -n "$x_libraries"; then
28942 X_LIBS="$X_LIBS -L$x_libraries"
28943 # For Solaris; some versions of Sun CC require a space after -R and
28944 # others require no space. Words are not sufficient . . . .
28945 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28946 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28947 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28948 ac_xsave_c_werror_flag=$ac_c_werror_flag
28949 ac_c_werror_flag=yes
28950 cat >conftest.$ac_ext <<_ACEOF
28953 cat confdefs.h >>conftest.$ac_ext
28954 cat >>conftest.$ac_ext <<_ACEOF
28955 /* end confdefs.h. */
28965 rm -f conftest.$ac_objext conftest$ac_exeext
28966 if { (ac_try="$ac_link"
28967 case "(($ac_try" in
28968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28969 *) ac_try_echo
=$ac_try;;
28971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28972 (eval "$ac_link") 2>conftest.er1
28974 grep -v '^ *+' conftest.er1
>conftest.err
28976 cat conftest.err
>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } && {
28979 test -z "$ac_c_werror_flag" ||
28980 test ! -s conftest.err
28981 } && test -s conftest
$ac_exeext &&
28982 $as_test_x conftest
$ac_exeext; then
28983 { echo "$as_me:$LINENO: result: no" >&5
28984 echo "${ECHO_T}no" >&6; }
28985 X_LIBS
="$X_LIBS -R$x_libraries"
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.
$ac_ext >&5
28990 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28991 cat >conftest.
$ac_ext <<_ACEOF
28994 cat confdefs.h
>>conftest.
$ac_ext
28995 cat >>conftest.
$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
29006 rm -f conftest.
$ac_objext conftest
$ac_exeext
29007 if { (ac_try
="$ac_link"
29008 case "(($ac_try" in
29009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29010 *) ac_try_echo=$ac_try;;
29012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29013 (eval "$ac_link") 2>conftest.er1
29015 grep -v '^ *+' conftest.er1 >conftest.err
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } && {
29020 test -z "$ac_c_werror_flag" ||
29021 test ! -s conftest.err
29022 } && test -s conftest$ac_exeext &&
29023 $as_test_x conftest$ac_exeext; then
29024 { echo "$as_me:$LINENO: result: yes" >&5
29025 echo "${ECHO_T}yes" >&6; }
29026 X_LIBS="$X_LIBS -R $x_libraries"
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.$ac_ext >&5
29031 { echo "$as_me:$LINENO: result: neither works" >&5
29032 echo "${ECHO_T}neither works" >&6; }
29035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29036 conftest$ac_exeext conftest.$ac_ext
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29041 ac_c_werror_flag=$ac_xsave_c_werror_flag
29042 LIBS=$ac_xsave_LIBS
29045 # Check for system-dependent libraries X programs must link with.
29046 # Do this before checking for the system-independent R6 libraries
29047 # (-lICE), since we may need -lsocket or whatever for X linking.
29049 if test "$ISC" = yes; then
29050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29052 # Martyn Johnson says this is needed for Ultrix, if the X
29053 # libraries were built with DECnet support. And Karl Berry says
29054 # the Alpha needs dnet_stub (dnet does not exist).
29055 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29063 /* Override any GCC internal prototype to avoid an error.
29064 Use char because int might match the return type of a GCC
29065 builtin and then its argument prototype would still apply. */
29069 char XOpenDisplay ();
29073 return XOpenDisplay ();
29078 rm -f conftest.$ac_objext conftest$ac_exeext
29079 if { (ac_try="$ac_link"
29080 case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29082 *) ac_try_echo
=$ac_try;;
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_link") 2>conftest.er1
29087 grep -v '^ *+' conftest.er1
>conftest.err
29089 cat conftest.err
>&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); } && {
29092 test -z "$ac_c_werror_flag" ||
29093 test ! -s conftest.err
29094 } && test -s conftest
$ac_exeext &&
29095 $as_test_x conftest
$ac_exeext; then
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.
$ac_ext >&5
29101 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29102 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29103 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29104 echo $ECHO_N "(cached) $ECHO_C" >&6
29106 ac_check_lib_save_LIBS
=$LIBS
29107 LIBS
="-ldnet $LIBS"
29108 cat >conftest.
$ac_ext <<_ACEOF
29111 cat confdefs.h
>>conftest.
$ac_ext
29112 cat >>conftest.
$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29115 /* Override any GCC internal prototype to avoid an error.
29116 Use char because int might match the return type of a GCC
29117 builtin and then its argument prototype would still apply. */
29125 return dnet_ntoa ();
29130 rm -f conftest.
$ac_objext conftest
$ac_exeext
29131 if { (ac_try
="$ac_link"
29132 case "(($ac_try" in
29133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_link") 2>conftest.er1
29139 grep -v '^ *+' conftest.er1 >conftest.err
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } && {
29144 test -z "$ac_c_werror_flag" ||
29145 test ! -s conftest.err
29146 } && test -s conftest$ac_exeext &&
29147 $as_test_x conftest$ac_exeext; then
29148 ac_cv_lib_dnet_dnet_ntoa=yes
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29153 ac_cv_lib_dnet_dnet_ntoa=no
29156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29160 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29161 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29162 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29167 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29168 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29169 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29170 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 ac_check_lib_save_LIBS=$LIBS
29173 LIBS="-ldnet_stub $LIBS"
29174 cat >conftest.$ac_ext <<_ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29181 /* Override any GCC internal prototype to avoid an error.
29182 Use char because int might match the return type of a GCC
29183 builtin and then its argument prototype would still apply. */
29191 return dnet_ntoa ();
29196 rm -f conftest.$ac_objext conftest$ac_exeext
29197 if { (ac_try="$ac_link"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29200 *) ac_try_echo
=$ac_try;;
29202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_link") 2>conftest.er1
29205 grep -v '^ *+' conftest.er1
>conftest.err
29207 cat conftest.err
>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest
$ac_exeext &&
29213 $as_test_x conftest
$ac_exeext; then
29214 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.
$ac_ext >&5
29219 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29222 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29223 conftest
$ac_exeext conftest.
$ac_ext
29224 LIBS
=$ac_check_lib_save_LIBS
29226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29227 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29228 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29229 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29236 conftest
$ac_exeext conftest.
$ac_ext
29237 LIBS
="$ac_xsave_LIBS"
29239 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29240 # to get the SysV transport functions.
29241 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29243 # The nsl library prevents programs from opening the X display
29244 # on Irix 5.2, according to T.E. Dickey.
29245 # The functions gethostbyname, getservbyname, and inet_addr are
29246 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29247 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29248 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29249 if test "${ac_cv_func_gethostbyname+set}" = set; then
29250 echo $ECHO_N "(cached) $ECHO_C" >&6
29252 cat >conftest.
$ac_ext <<_ACEOF
29255 cat confdefs.h
>>conftest.
$ac_ext
29256 cat >>conftest.
$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29260 #define gethostbyname innocuous_gethostbyname
29262 /* System header to define __stub macros and hopefully few prototypes,
29263 which can conflict with char gethostbyname (); below.
29264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29265 <limits.h> exists even on freestanding compilers. */
29268 # include <limits.h>
29270 # include <assert.h>
29273 #undef gethostbyname
29275 /* Override any GCC internal prototype to avoid an error.
29276 Use char because int might match the return type of a GCC
29277 builtin and then its argument prototype would still apply. */
29281 char gethostbyname ();
29282 /* The GNU C library defines this for functions which it implements
29283 to always fail with ENOSYS. Some functions are actually named
29284 something starting with __ and the normal name is an alias. */
29285 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29292 return gethostbyname ();
29297 rm -f conftest.
$ac_objext conftest
$ac_exeext
29298 if { (ac_try
="$ac_link"
29299 case "(($ac_try" in
29300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29301 *) ac_try_echo=$ac_try;;
29303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29304 (eval "$ac_link") 2>conftest.er1
29306 grep -v '^ *+' conftest.er1 >conftest.err
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } && {
29311 test -z "$ac_c_werror_flag" ||
29312 test ! -s conftest.err
29313 } && test -s conftest$ac_exeext &&
29314 $as_test_x conftest$ac_exeext; then
29315 ac_cv_func_gethostbyname=yes
29317 echo "$as_me: failed program was:" >&5
29318 sed 's/^/| /' conftest.$ac_ext >&5
29320 ac_cv_func_gethostbyname=no
29323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29324 conftest$ac_exeext conftest.$ac_ext
29326 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29327 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29329 if test $ac_cv_func_gethostbyname = no; then
29330 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29331 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29332 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 ac_check_lib_save_LIBS=$LIBS
29337 cat >conftest.$ac_ext <<_ACEOF
29340 cat confdefs.h >>conftest.$ac_ext
29341 cat >>conftest.$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29344 /* Override any GCC internal prototype to avoid an error.
29345 Use char because int might match the return type of a GCC
29346 builtin and then its argument prototype would still apply. */
29350 char gethostbyname ();
29354 return gethostbyname ();
29359 rm -f conftest.$ac_objext conftest$ac_exeext
29360 if { (ac_try="$ac_link"
29361 case "(($ac_try" in
29362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29363 *) ac_try_echo
=$ac_try;;
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366 (eval "$ac_link") 2>conftest.er1
29368 grep -v '^ *+' conftest.er1
>conftest.err
29370 cat conftest.err
>&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } && {
29373 test -z "$ac_c_werror_flag" ||
29374 test ! -s conftest.err
29375 } && test -s conftest
$ac_exeext &&
29376 $as_test_x conftest
$ac_exeext; then
29377 ac_cv_lib_nsl_gethostbyname
=yes
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.
$ac_ext >&5
29382 ac_cv_lib_nsl_gethostbyname
=no
29385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29386 conftest
$ac_exeext conftest.
$ac_ext
29387 LIBS
=$ac_check_lib_save_LIBS
29389 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29390 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29391 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29392 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29395 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29396 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29397 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29398 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 ac_check_lib_save_LIBS
=$LIBS
29403 cat >conftest.
$ac_ext <<_ACEOF
29406 cat confdefs.h
>>conftest.
$ac_ext
29407 cat >>conftest.
$ac_ext <<_ACEOF
29408 /* end confdefs.h. */
29410 /* Override any GCC internal prototype to avoid an error.
29411 Use char because int might match the return type of a GCC
29412 builtin and then its argument prototype would still apply. */
29416 char gethostbyname ();
29420 return gethostbyname ();
29425 rm -f conftest.
$ac_objext conftest
$ac_exeext
29426 if { (ac_try
="$ac_link"
29427 case "(($ac_try" in
29428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_link") 2>conftest.er1
29434 grep -v '^ *+' conftest.er1 >conftest.err
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest$ac_exeext &&
29442 $as_test_x conftest$ac_exeext; then
29443 ac_cv_lib_bsd_gethostbyname=yes
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29448 ac_cv_lib_bsd_gethostbyname=no
29451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29452 conftest$ac_exeext conftest.$ac_ext
29453 LIBS=$ac_check_lib_save_LIBS
29455 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29456 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29457 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29464 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29465 # socket/setsockopt and other routines are undefined under SCO ODT
29466 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29467 # on later versions), says Simon Leinen: it contains gethostby*
29468 # variants that don't use the name server (or something). -lsocket
29469 # must be given before -lnsl if both are needed. We assume that
29470 # if connect needs -lnsl, so does gethostbyname.
29471 { echo "$as_me:$LINENO: checking for connect" >&5
29472 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29473 if test "${ac_cv_func_connect+set}" = set; then
29474 echo $ECHO_N "(cached) $ECHO_C" >&6
29476 cat >conftest.$ac_ext <<_ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29484 #define connect innocuous_connect
29486 /* System header to define __stub macros and hopefully few prototypes,
29487 which can conflict with char connect (); below.
29488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29489 <limits.h> exists even on freestanding compilers. */
29492 # include <limits.h>
29494 # include <assert.h>
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29506 /* The GNU C library defines this for functions which it implements
29507 to always fail with ENOSYS. Some functions are actually named
29508 something starting with __ and the normal name is an alias. */
29509 #if defined __stub_connect || defined __stub___connect
29521 rm -f conftest.$ac_objext conftest$ac_exeext
29522 if { (ac_try="$ac_link"
29523 case "(($ac_try" in
29524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29525 *) ac_try_echo
=$ac_try;;
29527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29528 (eval "$ac_link") 2>conftest.er1
29530 grep -v '^ *+' conftest.er1
>conftest.err
29532 cat conftest.err
>&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } && {
29535 test -z "$ac_c_werror_flag" ||
29536 test ! -s conftest.err
29537 } && test -s conftest
$ac_exeext &&
29538 $as_test_x conftest
$ac_exeext; then
29539 ac_cv_func_connect
=yes
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.
$ac_ext >&5
29544 ac_cv_func_connect
=no
29547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29548 conftest
$ac_exeext conftest.
$ac_ext
29550 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29551 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29553 if test $ac_cv_func_connect = no
; then
29554 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29556 if test "${ac_cv_lib_socket_connect+set}" = set; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29559 ac_check_lib_save_LIBS
=$LIBS
29560 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29561 cat >conftest.
$ac_ext <<_ACEOF
29564 cat confdefs.h
>>conftest.
$ac_ext
29565 cat >>conftest.
$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29568 /* Override any GCC internal prototype to avoid an error.
29569 Use char because int might match the return type of a GCC
29570 builtin and then its argument prototype would still apply. */
29583 rm -f conftest.
$ac_objext conftest
$ac_exeext
29584 if { (ac_try
="$ac_link"
29585 case "(($ac_try" in
29586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_link") 2>conftest.er1
29592 grep -v '^ *+' conftest.er1 >conftest.err
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } && {
29597 test -z "$ac_c_werror_flag" ||
29598 test ! -s conftest.err
29599 } && test -s conftest$ac_exeext &&
29600 $as_test_x conftest$ac_exeext; then
29601 ac_cv_lib_socket_connect=yes
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29606 ac_cv_lib_socket_connect=no
29609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610 conftest$ac_exeext conftest.$ac_ext
29611 LIBS=$ac_check_lib_save_LIBS
29613 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29614 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29615 if test $ac_cv_lib_socket_connect = yes; then
29616 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29621 # Guillermo Gomez says -lposix is necessary on A/UX.
29622 { echo "$as_me:$LINENO: checking for remove" >&5
29623 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29624 if test "${ac_cv_func_remove+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 cat >conftest.$ac_ext <<_ACEOF
29630 cat confdefs.h >>conftest.$ac_ext
29631 cat >>conftest.$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29633 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29635 #define remove innocuous_remove
29637 /* System header to define __stub macros and hopefully few prototypes,
29638 which can conflict with char remove (); below.
29639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29640 <limits.h> exists even on freestanding compilers. */
29643 # include <limits.h>
29645 # include <assert.h>
29650 /* Override any GCC internal prototype to avoid an error.
29651 Use char because int might match the return type of a GCC
29652 builtin and then its argument prototype would still apply. */
29657 /* The GNU C library defines this for functions which it implements
29658 to always fail with ENOSYS. Some functions are actually named
29659 something starting with __ and the normal name is an alias. */
29660 #if defined __stub_remove || defined __stub___remove
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (ac_try="$ac_link"
29674 case "(($ac_try" in
29675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29676 *) ac_try_echo
=$ac_try;;
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_link") 2>conftest.er1
29681 grep -v '^ *+' conftest.er1
>conftest.err
29683 cat conftest.err
>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } && {
29686 test -z "$ac_c_werror_flag" ||
29687 test ! -s conftest.err
29688 } && test -s conftest
$ac_exeext &&
29689 $as_test_x conftest
$ac_exeext; then
29690 ac_cv_func_remove
=yes
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.
$ac_ext >&5
29695 ac_cv_func_remove
=no
29698 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29699 conftest
$ac_exeext conftest.
$ac_ext
29701 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29702 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29704 if test $ac_cv_func_remove = no
; then
29705 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29706 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29707 if test "${ac_cv_lib_posix_remove+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 ac_check_lib_save_LIBS
=$LIBS
29711 LIBS
="-lposix $LIBS"
29712 cat >conftest.
$ac_ext <<_ACEOF
29715 cat confdefs.h
>>conftest.
$ac_ext
29716 cat >>conftest.
$ac_ext <<_ACEOF
29717 /* end confdefs.h. */
29719 /* Override any GCC internal prototype to avoid an error.
29720 Use char because int might match the return type of a GCC
29721 builtin and then its argument prototype would still apply. */
29734 rm -f conftest.
$ac_objext conftest
$ac_exeext
29735 if { (ac_try
="$ac_link"
29736 case "(($ac_try" in
29737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29738 *) ac_try_echo=$ac_try;;
29740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29741 (eval "$ac_link") 2>conftest.er1
29743 grep -v '^ *+' conftest.er1 >conftest.err
29745 cat conftest.err >&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } && {
29748 test -z "$ac_c_werror_flag" ||
29749 test ! -s conftest.err
29750 } && test -s conftest$ac_exeext &&
29751 $as_test_x conftest$ac_exeext; then
29752 ac_cv_lib_posix_remove=yes
29754 echo "$as_me: failed program was:" >&5
29755 sed 's/^/| /' conftest.$ac_ext >&5
29757 ac_cv_lib_posix_remove=no
29760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29761 conftest$ac_exeext conftest.$ac_ext
29762 LIBS=$ac_check_lib_save_LIBS
29764 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29765 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29766 if test $ac_cv_lib_posix_remove = yes; then
29767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29772 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29773 { echo "$as_me:$LINENO: checking for shmat" >&5
29774 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29775 if test "${ac_cv_func_shmat+set}" = set; then
29776 echo $ECHO_N "(cached) $ECHO_C" >&6
29778 cat >conftest.$ac_ext <<_ACEOF
29781 cat confdefs.h >>conftest.$ac_ext
29782 cat >>conftest.$ac_ext <<_ACEOF
29783 /* end confdefs.h. */
29784 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29786 #define shmat innocuous_shmat
29788 /* System header to define __stub macros and hopefully few prototypes,
29789 which can conflict with char shmat (); below.
29790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29791 <limits.h> exists even on freestanding compilers. */
29794 # include <limits.h>
29796 # include <assert.h>
29801 /* Override any GCC internal prototype to avoid an error.
29802 Use char because int might match the return type of a GCC
29803 builtin and then its argument prototype would still apply. */
29808 /* The GNU C library defines this for functions which it implements
29809 to always fail with ENOSYS. Some functions are actually named
29810 something starting with __ and the normal name is an alias. */
29811 #if defined __stub_shmat || defined __stub___shmat
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29827 *) ac_try_echo
=$ac_try;;
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29832 grep -v '^ *+' conftest.er1
>conftest.err
29834 cat conftest.err
>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest
$ac_exeext &&
29840 $as_test_x conftest
$ac_exeext; then
29841 ac_cv_func_shmat
=yes
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.
$ac_ext >&5
29846 ac_cv_func_shmat
=no
29849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29850 conftest
$ac_exeext conftest.
$ac_ext
29852 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29853 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29855 if test $ac_cv_func_shmat = no
; then
29856 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29857 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29858 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29861 ac_check_lib_save_LIBS
=$LIBS
29863 cat >conftest.
$ac_ext <<_ACEOF
29866 cat confdefs.h
>>conftest.
$ac_ext
29867 cat >>conftest.
$ac_ext <<_ACEOF
29868 /* end confdefs.h. */
29870 /* Override any GCC internal prototype to avoid an error.
29871 Use char because int might match the return type of a GCC
29872 builtin and then its argument prototype would still apply. */
29885 rm -f conftest.
$ac_objext conftest
$ac_exeext
29886 if { (ac_try
="$ac_link"
29887 case "(($ac_try" in
29888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29889 *) ac_try_echo=$ac_try;;
29891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29892 (eval "$ac_link") 2>conftest.er1
29894 grep -v '^ *+' conftest.er1 >conftest.err
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } && {
29899 test -z "$ac_c_werror_flag" ||
29900 test ! -s conftest.err
29901 } && test -s conftest$ac_exeext &&
29902 $as_test_x conftest$ac_exeext; then
29903 ac_cv_lib_ipc_shmat=yes
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29908 ac_cv_lib_ipc_shmat=no
29911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29912 conftest$ac_exeext conftest.$ac_ext
29913 LIBS=$ac_check_lib_save_LIBS
29915 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29916 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29917 if test $ac_cv_lib_ipc_shmat = yes; then
29918 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29924 # Check for libraries that X11R6 Xt/Xaw programs need.
29925 ac_save_LDFLAGS=$LDFLAGS
29926 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29927 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29928 # check for ICE first), but we must link in the order -lSM -lICE or
29929 # we get undefined symbols. So assume we have SM if we have ICE.
29930 # These have to be linked with before -lX11, unlike the other
29931 # libraries we check for below, so use a different variable.
29932 # John Interrante, Karl Berry
29933 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29934 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29935 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 ac_check_lib_save_LIBS=$LIBS
29939 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29940 cat >conftest.$ac_ext <<_ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 /* Override any GCC internal prototype to avoid an error.
29948 Use char because int might match the return type of a GCC
29949 builtin and then its argument prototype would still apply. */
29953 char IceConnectionNumber ();
29957 return IceConnectionNumber ();
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (ac_try="$ac_link"
29964 case "(($ac_try" in
29965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29966 *) ac_try_echo
=$ac_try;;
29968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29969 (eval "$ac_link") 2>conftest.er1
29971 grep -v '^ *+' conftest.er1
>conftest.err
29973 cat conftest.err
>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } && {
29976 test -z "$ac_c_werror_flag" ||
29977 test ! -s conftest.err
29978 } && test -s conftest
$ac_exeext &&
29979 $as_test_x conftest
$ac_exeext; then
29980 ac_cv_lib_ICE_IceConnectionNumber
=yes
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.
$ac_ext >&5
29985 ac_cv_lib_ICE_IceConnectionNumber
=no
29988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29989 conftest
$ac_exeext conftest.
$ac_ext
29990 LIBS
=$ac_check_lib_save_LIBS
29992 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29993 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29994 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29995 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29998 LDFLAGS
=$ac_save_LDFLAGS
30003 if test "$no_x" = "yes"; then
30004 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30005 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30006 { (exit 1); exit 1; }; }
30009 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30010 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30011 AFMINSTALL
=afminstall
30012 COMPILED_X_PROGRAM
=0
30016 if test "$wxUSE_X11" = 1; then
30017 if test "$wxUSE_NANOX" = "yes"; then
30018 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30019 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30020 if test "x$MICROWIN" = x
; then
30021 { echo "$as_me:$LINENO: result: not found" >&5
30022 echo "${ECHO_T}not found" >&6; }
30023 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30024 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30025 { (exit 1); exit 1; }; }
30027 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30028 echo "${ECHO_T}$MICROWIN" >&6; }
30029 cat >>confdefs.h
<<\_ACEOF
30030 #define wxUSE_NANOX 1
30036 if test "$wxUSE_UNICODE" = "yes"; then
30039 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30040 if test -n "$ac_tool_prefix"; then
30041 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30042 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30045 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30046 echo $ECHO_N "(cached) $ECHO_C" >&6
30048 case $PKG_CONFIG in
30050 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30054 for as_dir
in $PATH
30057 test -z "$as_dir" && as_dir
=.
30058 for ac_exec_ext
in '' $ac_executable_extensions; do
30059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30060 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30071 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30072 if test -n "$PKG_CONFIG"; then
30073 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30074 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30076 { echo "$as_me:$LINENO: result: no" >&5
30077 echo "${ECHO_T}no" >&6; }
30082 if test -z "$ac_cv_path_PKG_CONFIG"; then
30083 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30084 # Extract the first word of "pkg-config", so it can be a program name with args.
30085 set dummy pkg
-config; ac_word
=$2
30086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30088 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 case $ac_pt_PKG_CONFIG in
30093 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30097 for as_dir
in $PATH
30100 test -z "$as_dir" && as_dir
=.
30101 for ac_exec_ext
in '' $ac_executable_extensions; do
30102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30103 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30114 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30115 if test -n "$ac_pt_PKG_CONFIG"; then
30116 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30117 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30119 { echo "$as_me:$LINENO: result: no" >&5
30120 echo "${ECHO_T}no" >&6; }
30123 if test "x$ac_pt_PKG_CONFIG" = x
; then
30126 case $cross_compiling:$ac_tool_warned in
30128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30129 whose name does not start with the host triplet. If you think this
30130 configuration is useful to you, please write to autoconf@gnu.org." >&5
30131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30132 whose name does not start with the host triplet. If you think this
30133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30134 ac_tool_warned
=yes ;;
30136 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30139 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30143 if test -n "$PKG_CONFIG"; then
30144 _pkg_min_version
=0.9.0
30145 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30146 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30147 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30148 { echo "$as_me:$LINENO: result: yes" >&5
30149 echo "${ECHO_T}yes" >&6; }
30151 { echo "$as_me:$LINENO: result: no" >&5
30152 echo "${ECHO_T}no" >&6; }
30160 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30161 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30163 if test -n "$PKG_CONFIG"; then
30164 if test -n "$PANGOX_CFLAGS"; then
30165 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30167 if test -n "$PKG_CONFIG" && \
30168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30169 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; then
30173 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30181 if test -n "$PKG_CONFIG"; then
30182 if test -n "$PANGOX_LIBS"; then
30183 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30185 if test -n "$PKG_CONFIG" && \
30186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30187 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; then
30191 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30202 if test $pkg_failed = yes; then
30204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30205 _pkg_short_errors_supported
=yes
30207 _pkg_short_errors_supported
=no
30209 if test $_pkg_short_errors_supported = yes; then
30210 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30212 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30214 # Put the nasty error message in config.log where it belongs
30215 echo "$PANGOX_PKG_ERRORS" >&5
30218 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30219 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30220 { (exit 1); exit 1; }; }
30223 elif test $pkg_failed = untried
; then
30225 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30226 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30227 { (exit 1); exit 1; }; }
30231 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30232 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30233 { echo "$as_me:$LINENO: result: yes" >&5
30234 echo "${ECHO_T}yes" >&6; }
30236 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30237 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30238 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30243 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30244 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30246 if test -n "$PKG_CONFIG"; then
30247 if test -n "$PANGOFT2_CFLAGS"; then
30248 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30250 if test -n "$PKG_CONFIG" && \
30251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30252 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; then
30256 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30264 if test -n "$PKG_CONFIG"; then
30265 if test -n "$PANGOFT2_LIBS"; then
30266 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30268 if test -n "$PKG_CONFIG" && \
30269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30270 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; then
30274 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30285 if test $pkg_failed = yes; then
30287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30288 _pkg_short_errors_supported
=yes
30290 _pkg_short_errors_supported
=no
30292 if test $_pkg_short_errors_supported = yes; then
30293 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30295 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30297 # Put the nasty error message in config.log where it belongs
30298 echo "$PANGOFT2_PKG_ERRORS" >&5
30301 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30302 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30303 wxUSE_PRINTING_ARCHITECTURE
="no"
30306 elif test $pkg_failed = untried
; then
30308 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30309 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30310 wxUSE_PRINTING_ARCHITECTURE
="no"
30314 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30315 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30316 { echo "$as_me:$LINENO: result: yes" >&5
30317 echo "${ECHO_T}yes" >&6; }
30319 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30320 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30321 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30326 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30327 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30329 if test -n "$PKG_CONFIG"; then
30330 if test -n "$PANGOXFT_CFLAGS"; then
30331 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30333 if test -n "$PKG_CONFIG" && \
30334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30335 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; then
30339 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30347 if test -n "$PKG_CONFIG"; then
30348 if test -n "$PANGOXFT_LIBS"; then
30349 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30351 if test -n "$PKG_CONFIG" && \
30352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30353 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; then
30357 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30368 if test $pkg_failed = yes; then
30370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30371 _pkg_short_errors_supported
=yes
30373 _pkg_short_errors_supported
=no
30375 if test $_pkg_short_errors_supported = yes; then
30376 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30378 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30380 # Put the nasty error message in config.log where it belongs
30381 echo "$PANGOXFT_PKG_ERRORS" >&5
30384 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30385 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30388 elif test $pkg_failed = untried
; then
30390 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30391 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30395 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30396 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30397 { echo "$as_me:$LINENO: result: yes" >&5
30398 echo "${ECHO_T}yes" >&6; }
30400 cat >>confdefs.h
<<\_ACEOF
30401 #define HAVE_PANGO_XFT 1
30404 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30405 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30406 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30410 LIBS
="$LIBS $PANGOX_LIBS"
30412 for ac_func
in pango_font_family_is_monospace
30414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30417 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30428 #define $ac_func innocuous_$ac_func
30430 /* System header to define __stub macros and hopefully few prototypes,
30431 which can conflict with char $ac_func (); below.
30432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30433 <limits.h> exists even on freestanding compilers. */
30436 # include <limits.h>
30438 # include <assert.h>
30443 /* Override any GCC internal prototype to avoid an error.
30444 Use char because int might match the return type of a GCC
30445 builtin and then its argument prototype would still apply. */
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined __stub_$ac_func || defined __stub___$ac_func
30460 return $ac_func ();
30465 rm -f conftest.
$ac_objext conftest
$ac_exeext
30466 if { (ac_try
="$ac_link"
30467 case "(($ac_try" in
30468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30469 *) ac_try_echo=$ac_try;;
30471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30472 (eval "$ac_link") 2>conftest.er1
30474 grep -v '^ *+' conftest.er1 >conftest.err
30476 cat conftest.err >&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } && {
30479 test -z "$ac_c_werror_flag" ||
30480 test ! -s conftest.err
30481 } && test -s conftest$ac_exeext &&
30482 $as_test_x conftest$ac_exeext; then
30483 eval "$as_ac_var=yes"
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30488 eval "$as_ac_var=no"
30491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30492 conftest$ac_exeext conftest.$ac_ext
30494 ac_res=`eval echo '${'$as_ac_var'}'`
30495 { echo "$as_me:$LINENO: result: $ac_res" >&5
30496 echo "${ECHO_T}$ac_res" >&6; }
30497 if test `eval echo '${'$as_ac_var'}'` = yes; then
30498 cat >>confdefs.h <<_ACEOF
30499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30508 wxUSE_UNIVERSAL="yes"
30510 if test "$wxUSE_NANOX" = "yes"; then
30511 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30512 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"
30513 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30522 if test "$wxUSE_MOTIF" = 1; then
30523 if test "$wxUSE_UNICODE" = "yes"; then
30524 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30525 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30526 { (exit 1); exit 1; }; }
30529 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30530 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30533 for ac_dir in $SEARCH_INCLUDE /usr/include;
30535 if test -f "$ac_dir/Xm/Xm.h"; then
30536 ac_find_includes=$ac_dir
30541 if test "$ac_find_includes" != "" ; then
30542 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30543 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30545 if test "x$ac_find_includes" = "x/usr/include"; then
30546 ac_path_to_include=""
30548 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30550 if test $result = 0; then
30551 ac_path_to_include=""
30553 ac_path_to_include=" -I$ac_find_includes"
30557 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30559 save_CFLAGS=$CFLAGS
30560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30562 cat >conftest.$ac_ext <<_ACEOF
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30576 version = xmUseVersion;
30582 rm -f conftest.$ac_objext
30583 if { (ac_try="$ac_compile"
30584 case "(($ac_try" in
30585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30586 *) ac_try_echo
=$ac_try;;
30588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 (eval "$ac_compile") 2>conftest.er1
30591 grep -v '^ *+' conftest.er1
>conftest.err
30593 cat conftest.err
>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } && {
30596 test -z "$ac_c_werror_flag" ||
30597 test ! -s conftest.err
30598 } && test -s conftest.
$ac_objext; then
30600 { echo "$as_me:$LINENO: result: found in default search path" >&5
30601 echo "${ECHO_T}found in default search path" >&6; }
30602 COMPILED_X_PROGRAM
=1
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.
$ac_ext >&5
30609 { echo "$as_me:$LINENO: result: no" >&5
30610 echo "${ECHO_T}no" >&6; }
30611 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30612 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30613 { (exit 1); exit 1; }; }
30618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30620 CFLAGS
=$save_CFLAGS
30624 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30625 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30628 for ac_dir
in $SEARCH_LIB;
30630 for ac_extension
in a so sl dylib dll.a
; do
30631 if test -f "$ac_dir/libXm.$ac_extension"; then
30632 ac_find_libraries
=$ac_dir
30639 if test "x$ac_find_libraries" != "x" ; then
30640 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30641 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30644 if test "$ac_find_libraries" = "default location"; then
30647 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30649 if test $result = 0; then
30652 ac_path_to_link
=" -L$ac_find_libraries"
30656 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30658 save_CFLAGS
=$CFLAGS
30659 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30661 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30663 cat >conftest.
$ac_ext <<_ACEOF
30666 cat confdefs.h
>>conftest.
$ac_ext
30667 cat >>conftest.
$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30677 version = xmUseVersion;
30683 rm -f conftest.
$ac_objext conftest
$ac_exeext
30684 if { (ac_try
="$ac_link"
30685 case "(($ac_try" in
30686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30687 *) ac_try_echo=$ac_try;;
30689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30690 (eval "$ac_link") 2>conftest.er1
30692 grep -v '^ *+' conftest.er1 >conftest.err
30694 cat conftest.err >&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); } && {
30697 test -z "$ac_c_werror_flag" ||
30698 test ! -s conftest.err
30699 } && test -s conftest$ac_exeext &&
30700 $as_test_x conftest$ac_exeext; then
30702 { echo "$as_me:$LINENO: result: found in default search path" >&5
30703 echo "${ECHO_T}found in default search path" >&6; }
30704 COMPILED_X_PROGRAM=1
30707 echo "$as_me: failed program was:" >&5
30708 sed 's/^/| /' conftest.$ac_ext >&5
30711 { echo "$as_me:$LINENO: result: no" >&5
30712 echo "${ECHO_T}no" >&6; }
30713 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30714 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30715 { (exit 1); exit 1; }; }
30720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30721 conftest$ac_exeext conftest.$ac_ext
30723 CFLAGS=$save_CFLAGS
30727 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30728 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30732 for libp in "" " -lXp"; do
30733 if test "$libs_found" = "0"; then
30734 for libsm_ice in "" " -lSM -lICE"; do
30735 if test "$libs_found" = "0"; then
30737 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30738 save_CFLAGS=$CFLAGS
30739 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30741 cat >conftest.$ac_ext <<_ACEOF
30744 cat confdefs.h >>conftest.$ac_ext
30745 cat >>conftest.$ac_ext <<_ACEOF
30746 /* end confdefs.h. */
30749 #include <Xm/List.h>
30755 XmString string = NULL;
30758 XmListAddItem(w, string, position);
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (ac_try="$ac_link"
30766 case "(($ac_try" in
30767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30768 *) ac_try_echo
=$ac_try;;
30770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_link") 2>conftest.er1
30773 grep -v '^ *+' conftest.er1
>conftest.err
30775 cat conftest.err
>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } && {
30778 test -z "$ac_c_werror_flag" ||
30779 test ! -s conftest.err
30780 } && test -s conftest
$ac_exeext &&
30781 $as_test_x conftest
$ac_exeext; then
30784 libsm_ice_link
="$libsm_ice"
30785 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30786 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.
$ac_ext >&5
30797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30798 conftest
$ac_exeext conftest.
$ac_ext
30801 CFLAGS
=$save_CFLAGS
30807 if test "$libs_found" = "0"; then
30808 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30809 echo "${ECHO_T}can't find the right libraries" >&6; }
30810 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30811 echo "$as_me: error: can't link a simple motif program" >&2;}
30812 { (exit 1); exit 1; }; }
30815 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30816 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 ac_check_lib_save_LIBS
=$LIBS
30822 cat >conftest.
$ac_ext <<_ACEOF
30825 cat confdefs.h
>>conftest.
$ac_ext
30826 cat >>conftest.
$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30835 char SgCreateList ();
30839 return SgCreateList ();
30844 rm -f conftest.
$ac_objext conftest
$ac_exeext
30845 if { (ac_try
="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30853 grep -v '^ *+' conftest.er1 >conftest.err
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 ac_cv_lib_Sgm_SgCreateList=yes
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30867 ac_cv_lib_Sgm_SgCreateList=no
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871 conftest$ac_exeext conftest.$ac_ext
30872 LIBS=$ac_check_lib_save_LIBS
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30875 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30876 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30877 libsgm_link=" -lSgm"
30881 save_CFLAGS=$CFLAGS
30882 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30884 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30885 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30886 if test "${wx_cv_lib_motif2+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 cat >conftest.$ac_ext <<_ACEOF
30892 cat confdefs.h >>conftest.$ac_ext
30893 cat >>conftest.$ac_ext <<_ACEOF
30894 /* end confdefs.h. */
30902 #if XmVersion < 2000
30910 rm -f conftest.$ac_objext
30911 if { (ac_try="$ac_compile"
30912 case "(($ac_try" in
30913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30914 *) ac_try_echo
=$ac_try;;
30916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30917 (eval "$ac_compile") 2>conftest.er1
30919 grep -v '^ *+' conftest.er1
>conftest.err
30921 cat conftest.err
>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } && {
30924 test -z "$ac_c_werror_flag" ||
30925 test ! -s conftest.err
30926 } && test -s conftest.
$ac_objext; then
30927 wx_cv_lib_motif2
="yes"
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.
$ac_ext >&5
30932 wx_cv_lib_motif2
="no"
30935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30937 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30938 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30939 if test "$wx_cv_lib_motif2" = "yes"; then
30940 cat >>confdefs.h
<<\_ACEOF
30941 #define __WXMOTIF20__ 1
30945 cat >>confdefs.h
<<\_ACEOF
30946 #define __WXMOTIF20__ 0
30951 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30952 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30953 if test "${wx_cv_lib_lesstif+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30956 cat >conftest.
$ac_ext <<_ACEOF
30959 cat confdefs.h
>>conftest.
$ac_ext
30960 cat >>conftest.
$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30969 #if !defined(LesstifVersion) || LesstifVersion <= 0
30977 rm -f conftest.
$ac_objext
30978 if { (ac_try
="$ac_compile"
30979 case "(($ac_try" in
30980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30981 *) ac_try_echo=$ac_try;;
30983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30984 (eval "$ac_compile") 2>conftest.er1
30986 grep -v '^ *+' conftest.er1 >conftest.err
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } && {
30991 test -z "$ac_c_werror_flag" ||
30992 test ! -s conftest.err
30993 } && test -s conftest.$ac_objext; then
30994 wx_cv_lib_lesstif="yes"
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.$ac_ext >&5
30999 wx_cv_lib_lesstif="no"
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31006 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31007 if test "$wx_cv_lib_lesstif" = "yes"; then
31008 cat >>confdefs.h <<\_ACEOF
31009 #define __WXLESSTIF__ 1
31013 cat >>confdefs.h <<\_ACEOF
31014 #define __WXLESSTIF__ 0
31019 CFLAGS=$save_CFLAGS
31021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31026 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31027 if test "$wxUSE_LIBXPM" = "sys"; then
31028 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31029 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31032 for ac_dir in $SEARCH_LIB;
31034 for ac_extension in a so sl dylib dll.a; do
31035 if test -f "$ac_dir/libXpm.$ac_extension"; then
31036 ac_find_libraries=$ac_dir
31042 if test "$ac_find_libraries" != "" ; then
31044 if test "$ac_find_libraries" = "default location"; then
31047 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31049 if test $result = 0; then
31052 ac_path_to_link=" -L$ac_find_libraries"
31056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31057 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31058 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31060 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31061 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31062 if test "${wx_cv_x11_xpm_h+set}" = set; then
31063 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 save_CFLAGS=$CFLAGS
31067 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31069 cat >conftest.$ac_ext <<_ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 #include <X11/xpm.h>
31083 version = XpmLibraryVersion();
31089 rm -f conftest.$ac_objext
31090 if { (ac_try="$ac_compile"
31091 case "(($ac_try" in
31092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31093 *) ac_try_echo
=$ac_try;;
31095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31096 (eval "$ac_compile") 2>conftest.er1
31098 grep -v '^ *+' conftest.er1
>conftest.err
31100 cat conftest.err
>&5
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); } && {
31103 test -z "$ac_c_werror_flag" ||
31104 test ! -s conftest.err
31105 } && test -s conftest.
$ac_objext; then
31106 wx_cv_x11_xpm_h
=yes
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.
$ac_ext >&5
31115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31117 CFLAGS
=$save_CFLAGS
31121 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31122 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31124 if test $wx_cv_x11_xpm_h = "yes"; then
31125 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31126 cat >>confdefs.h
<<\_ACEOF
31127 #define wxHAVE_LIB_XPM 1
31131 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31132 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31138 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31139 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31140 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31141 echo $ECHO_N "(cached) $ECHO_C" >&6
31143 ac_check_lib_save_LIBS
=$LIBS
31144 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31145 cat >conftest.
$ac_ext <<_ACEOF
31148 cat confdefs.h
>>conftest.
$ac_ext
31149 cat >>conftest.
$ac_ext <<_ACEOF
31150 /* end confdefs.h. */
31152 /* Override any GCC internal prototype to avoid an error.
31153 Use char because int might match the return type of a GCC
31154 builtin and then its argument prototype would still apply. */
31158 char XShapeQueryExtension ();
31162 return XShapeQueryExtension ();
31167 rm -f conftest.
$ac_objext conftest
$ac_exeext
31168 if { (ac_try
="$ac_link"
31169 case "(($ac_try" in
31170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31171 *) ac_try_echo=$ac_try;;
31173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31174 (eval "$ac_link") 2>conftest.er1
31176 grep -v '^ *+' conftest.er1 >conftest.err
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } && {
31181 test -z "$ac_c_werror_flag" ||
31182 test ! -s conftest.err
31183 } && test -s conftest$ac_exeext &&
31184 $as_test_x conftest$ac_exeext; then
31185 ac_cv_lib_Xext_XShapeQueryExtension=yes
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31190 ac_cv_lib_Xext_XShapeQueryExtension=no
31193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31194 conftest$ac_exeext conftest.$ac_ext
31195 LIBS=$ac_check_lib_save_LIBS
31197 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31198 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31199 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31201 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31207 if test "$wxHAVE_XEXT_LIB" = 1; then
31208 save_CFLAGS="$CFLAGS"
31209 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31211 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31212 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31213 cat >conftest.$ac_ext <<_ACEOF
31216 cat confdefs.h >>conftest.$ac_ext
31217 cat >>conftest.$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31220 #include <X11/Xlib.h>
31221 #include <X11/extensions/shape.h>
31227 int dummy1, dummy2;
31228 XShapeQueryExtension((Display*)NULL,
31229 (int*)NULL, (int*)NULL);
31235 rm -f conftest.$ac_objext
31236 if { (ac_try="$ac_compile"
31237 case "(($ac_try" in
31238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31239 *) ac_try_echo
=$ac_try;;
31241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31242 (eval "$ac_compile") 2>conftest.er1
31244 grep -v '^ *+' conftest.er1
>conftest.err
31246 cat conftest.err
>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } && {
31249 test -z "$ac_c_werror_flag" ||
31250 test ! -s conftest.err
31251 } && test -s conftest.
$ac_objext; then
31253 cat >>confdefs.h
<<\_ACEOF
31254 #define HAVE_XSHAPE 1
31257 { echo "$as_me:$LINENO: result: found" >&5
31258 echo "${ECHO_T}found" >&6; }
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.
$ac_ext >&5
31265 { echo "$as_me:$LINENO: result: not found" >&5
31266 echo "${ECHO_T}not found" >&6; }
31270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31271 CFLAGS
="$save_CFLAGS"
31276 if test "$wxUSE_MAC" = 1; then
31277 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31278 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31279 if test "$GCC" = yes; then
31280 { echo "$as_me:$LINENO: result: gcc" >&5
31281 echo "${ECHO_T}gcc" >&6; }
31282 CPPFLAGS_PASCAL
="-fpascal-strings"
31283 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31284 { echo "$as_me:$LINENO: result: xlc" >&5
31285 echo "${ECHO_T}xlc" >&6; }
31286 CPPFLAGS_PASCAL
="-qmacpstr"
31288 { echo "$as_me:$LINENO: result: none" >&5
31289 echo "${ECHO_T}none" >&6; }
31292 if test "x$wxUSE_UNIX" = "xyes"; then
31293 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31295 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31300 WXBASEPORT
="_carbon"
31303 if test "$wxUSE_COCOA" = 1; then
31308 if test "$wxUSE_PM" = 1; then
31311 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31312 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31313 if test "${wx_cv_spbcdata+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 cat >conftest.
$ac_ext <<_ACEOF
31320 cat confdefs.h
>>conftest.
$ac_ext
31321 cat >>conftest.
$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31337 rm -f conftest.
$ac_objext
31338 if { (ac_try
="$ac_compile"
31339 case "(($ac_try" in
31340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31341 *) ac_try_echo=$ac_try;;
31343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31344 (eval "$ac_compile") 2>conftest.er1
31346 grep -v '^ *+' conftest.er1 >conftest.err
31348 cat conftest.err >&5
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); } && {
31351 test -z "$ac_c_werror_flag" ||
31352 test ! -s conftest.err
31353 } && test -s conftest.$ac_objext; then
31356 echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.$ac_ext >&5
31363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31368 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31370 if test $wx_cv_spbcdata = "yes"; then
31371 cat >>confdefs.h <<\_ACEOF
31372 #define HAVE_SPBCDATA 1
31378 if test "$TOOLKIT" = "PM" ; then
31381 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31384 if test "$wxUSE_UNIVERSAL" = "yes"; then
31385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31389 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31390 DISTDIR="wx\$(TOOLKIT)"
31396 if test "$USE_WIN32" = 1 ; then
31400 GUIDIST="BASE_DIST"
31405 if test "$wxUSE_GUI" = "yes"; then
31406 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31407 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31408 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31409 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31410 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 cat >conftest.$ac_ext <<_ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31420 #include <X11/Xlib.h>
31422 rm -f conftest.$ac_objext
31423 if { (ac_try="$ac_compile"
31424 case "(($ac_try" in
31425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31426 *) ac_try_echo
=$ac_try;;
31428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31429 (eval "$ac_compile") 2>conftest.er1
31431 grep -v '^ *+' conftest.er1
>conftest.err
31433 cat conftest.err
>&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } && {
31436 test -z "$ac_c_werror_flag" ||
31437 test ! -s conftest.err
31438 } && test -s conftest.
$ac_objext; then
31439 ac_cv_header_X11_Xlib_h
=yes
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.
$ac_ext >&5
31444 ac_cv_header_X11_Xlib_h
=no
31447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31449 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31450 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31453 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31454 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31455 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31458 cat >conftest.
$ac_ext <<_ACEOF
31461 cat confdefs.h
>>conftest.
$ac_ext
31462 cat >>conftest.
$ac_ext <<_ACEOF
31463 /* end confdefs.h. */
31465 #if HAVE_X11_XLIB_H
31466 #include <X11/Xlib.h>
31470 #include <X11/XKBlib.h>
31472 rm -f conftest.
$ac_objext
31473 if { (ac_try
="$ac_compile"
31474 case "(($ac_try" in
31475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31476 *) ac_try_echo=$ac_try;;
31478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31479 (eval "$ac_compile") 2>conftest.er1
31481 grep -v '^ *+' conftest.er1 >conftest.err
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } && {
31486 test -z "$ac_c_werror_flag" ||
31487 test ! -s conftest.err
31488 } && test -s conftest.$ac_objext; then
31489 ac_cv_header_X11_XKBlib_h=yes
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31494 ac_cv_header_X11_XKBlib_h=no
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31500 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31511 if test "$TOOLKIT" != "MSW" ; then
31513 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31515 { echo "$as_me:$LINENO: checking for sql.h" >&5
31516 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31517 if test "${ac_cv_header_sql_h+set}" = set; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 cat >conftest.$ac_ext <<_ACEOF
31523 cat confdefs.h >>conftest.$ac_ext
31524 cat >>conftest.$ac_ext <<_ACEOF
31525 /* end confdefs.h. */
31530 rm -f conftest.$ac_objext
31531 if { (ac_try="$ac_compile"
31532 case "(($ac_try" in
31533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31534 *) ac_try_echo
=$ac_try;;
31536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31537 (eval "$ac_compile") 2>conftest.er1
31539 grep -v '^ *+' conftest.er1
>conftest.err
31541 cat conftest.err
>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); } && {
31544 test -z "$ac_c_werror_flag" ||
31545 test ! -s conftest.err
31546 } && test -s conftest.
$ac_objext; then
31547 ac_cv_header_sql_h
=yes
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.
$ac_ext >&5
31552 ac_cv_header_sql_h
=no
31555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31557 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31558 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31559 if test $ac_cv_header_sql_h = yes; then
31564 if test "x$found_sql_h" = "x1" ; then
31565 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31566 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31567 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31568 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 ac_check_lib_save_LIBS
=$LIBS
31571 LIBS
="-liodbc $LIBS"
31572 cat >conftest.
$ac_ext <<_ACEOF
31575 cat confdefs.h
>>conftest.
$ac_ext
31576 cat >>conftest.
$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31579 /* Override any GCC internal prototype to avoid an error.
31580 Use char because int might match the return type of a GCC
31581 builtin and then its argument prototype would still apply. */
31585 char SQLAllocEnv ();
31589 return SQLAllocEnv ();
31594 rm -f conftest.
$ac_objext conftest
$ac_exeext
31595 if { (ac_try
="$ac_link"
31596 case "(($ac_try" in
31597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31598 *) ac_try_echo=$ac_try;;
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_link") 2>conftest.er1
31603 grep -v '^ *+' conftest.er1 >conftest.err
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } && {
31608 test -z "$ac_c_werror_flag" ||
31609 test ! -s conftest.err
31610 } && test -s conftest$ac_exeext &&
31611 $as_test_x conftest$ac_exeext; then
31612 ac_cv_lib_iodbc_SQLAllocEnv=yes
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.$ac_ext >&5
31617 ac_cv_lib_iodbc_SQLAllocEnv=no
31620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31621 conftest$ac_exeext conftest.$ac_ext
31622 LIBS=$ac_check_lib_save_LIBS
31624 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31625 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31626 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31627 ODBC_LINK=" -liodbc"
31630 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31631 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31632 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31633 echo $ECHO_N "(cached) $ECHO_C" >&6
31635 ac_check_lib_save_LIBS=$LIBS
31636 LIBS="-lunixodbc $LIBS"
31637 cat >conftest.$ac_ext <<_ACEOF
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h. */
31644 /* Override any GCC internal prototype to avoid an error.
31645 Use char because int might match the return type of a GCC
31646 builtin and then its argument prototype would still apply. */
31650 char SQLAllocEnv ();
31654 return SQLAllocEnv ();
31659 rm -f conftest.$ac_objext conftest$ac_exeext
31660 if { (ac_try="$ac_link"
31661 case "(($ac_try" in
31662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31663 *) ac_try_echo
=$ac_try;;
31665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31666 (eval "$ac_link") 2>conftest.er1
31668 grep -v '^ *+' conftest.er1
>conftest.err
31670 cat conftest.err
>&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } && {
31673 test -z "$ac_c_werror_flag" ||
31674 test ! -s conftest.err
31675 } && test -s conftest
$ac_exeext &&
31676 $as_test_x conftest
$ac_exeext; then
31677 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.
$ac_ext >&5
31682 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31686 conftest
$ac_exeext conftest.
$ac_ext
31687 LIBS
=$ac_check_lib_save_LIBS
31689 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31690 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31691 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31692 ODBC_LINK
=" -lunixodbc"
31695 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31696 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31697 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 ac_check_lib_save_LIBS
=$LIBS
31701 LIBS
="-lodbc $LIBS"
31702 cat >conftest.
$ac_ext <<_ACEOF
31705 cat confdefs.h
>>conftest.
$ac_ext
31706 cat >>conftest.
$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31709 /* Override any GCC internal prototype to avoid an error.
31710 Use char because int might match the return type of a GCC
31711 builtin and then its argument prototype would still apply. */
31715 char SQLAllocEnv ();
31719 return SQLAllocEnv ();
31724 rm -f conftest.
$ac_objext conftest
$ac_exeext
31725 if { (ac_try
="$ac_link"
31726 case "(($ac_try" in
31727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31728 *) ac_try_echo=$ac_try;;
31730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31731 (eval "$ac_link") 2>conftest.er1
31733 grep -v '^ *+' conftest.er1 >conftest.err
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } && {
31738 test -z "$ac_c_werror_flag" ||
31739 test ! -s conftest.err
31740 } && test -s conftest$ac_exeext &&
31741 $as_test_x conftest$ac_exeext; then
31742 ac_cv_lib_odbc_SQLAllocEnv=yes
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31747 ac_cv_lib_odbc_SQLAllocEnv=no
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31752 LIBS=$ac_check_lib_save_LIBS
31754 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31755 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31756 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31757 ODBC_LINK=" -lodbc"
31767 if test "x$ODBC_LINK" = "x" ; then
31768 if test "$wxUSE_ODBC" = "sys" ; then
31769 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31770 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31771 { (exit 1); exit 1; }; }
31773 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31774 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31782 if test "$wxUSE_ODBC" = "builtin" ; then
31783 cat >>confdefs.h <<\_ACEOF
31784 #define wxUSE_BUILTIN_IODBC 1
31790 if test "$wxUSE_ODBC" != "no" ; then
31791 cat >>confdefs.h <<\_ACEOF
31792 #define wxUSE_ODBC 1
31795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31797 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31801 if test "$wxUSE_DISPLAY" = "yes"; then
31802 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31803 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31804 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31807 for ac_dir in $SEARCH_LIB;
31809 for ac_extension in a so sl dylib dll.a; do
31810 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31811 ac_find_libraries=$ac_dir
31817 if test "$ac_find_libraries" != "" ; then
31819 if test "$ac_find_libraries" = "default location"; then
31822 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31824 if test $result = 0; then
31827 ac_path_to_link=" -L$ac_find_libraries"
31831 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31832 LDFLAGS="$LDFLAGS $ac_path_to_link"
31834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31835 { echo "$as_me:$LINENO: result: yes" >&5
31836 echo "${ECHO_T}yes" >&6; }
31838 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31839 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31842 for ac_dir in $SEARCH_LIB;
31844 for ac_extension in a so sl dylib dll.a; do
31845 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31846 ac_find_libraries=$ac_dir
31852 if test "$ac_find_libraries" != "" ; then
31853 { echo "$as_me:$LINENO: result: yes" >&5
31854 echo "${ECHO_T}yes" >&6; }
31855 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31856 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31857 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31858 echo $ECHO_N "(cached) $ECHO_C" >&6
31860 cat >conftest.$ac_ext <<_ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31867 #if HAVE_X11_XLIB_H
31868 #include <X11/Xlib.h>
31872 #include <X11/extensions/xf86vmode.h>
31874 rm -f conftest.$ac_objext
31875 if { (ac_try="$ac_compile"
31876 case "(($ac_try" in
31877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31878 *) ac_try_echo
=$ac_try;;
31880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31881 (eval "$ac_compile") 2>conftest.er1
31883 grep -v '^ *+' conftest.er1
>conftest.err
31885 cat conftest.err
>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } && {
31888 test -z "$ac_c_werror_flag" ||
31889 test ! -s conftest.err
31890 } && test -s conftest.
$ac_objext; then
31891 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.
$ac_ext >&5
31896 ac_cv_header_X11_extensions_xf86vmode_h
=no
31899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31901 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31902 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31903 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31905 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31911 { echo "$as_me:$LINENO: result: no" >&5
31912 echo "${ECHO_T}no" >&6; }
31916 { echo "$as_me:$LINENO: result: no" >&5
31917 echo "${ECHO_T}no" >&6; }
31918 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31919 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31922 elif test "$wxUSE_MSW" = 1; then
31923 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31924 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31925 if test "${ac_cv_header_ddraw_h+set}" = set; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31928 cat >conftest.
$ac_ext <<_ACEOF
31931 cat confdefs.h
>>conftest.
$ac_ext
31932 cat >>conftest.
$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31934 #include <windows.h>
31938 rm -f conftest.
$ac_objext
31939 if { (ac_try
="$ac_compile"
31940 case "(($ac_try" in
31941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31942 *) ac_try_echo=$ac_try;;
31944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31945 (eval "$ac_compile") 2>conftest.er1
31947 grep -v '^ *+' conftest.er1 >conftest.err
31949 cat conftest.err >&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); } && {
31952 test -z "$ac_c_werror_flag" ||
31953 test ! -s conftest.err
31954 } && test -s conftest.$ac_objext; then
31955 ac_cv_header_ddraw_h=yes
31957 echo "$as_me: failed program was:" >&5
31958 sed 's/^/| /' conftest.$ac_ext >&5
31960 ac_cv_header_ddraw_h=no
31963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31965 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31966 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31972 if test "$wxUSE_DETECT_SM" = "yes"; then
31973 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31974 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31975 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31978 for ac_dir in $SEARCH_LIB;
31980 for ac_extension in a so sl dylib dll.a; do
31981 if test -f "$ac_dir/libSM.$ac_extension"; then
31982 ac_find_libraries=$ac_dir
31988 if test "$ac_find_libraries" != "" ; then
31990 if test "$ac_find_libraries" = "default location"; then
31993 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31995 if test $result = 0; then
31998 ac_path_to_link=" -L$ac_find_libraries"
32002 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32003 LDFLAGS="$LDFLAGS $ac_path_to_link"
32005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32006 { echo "$as_me:$LINENO: result: yes" >&5
32007 echo "${ECHO_T}yes" >&6; }
32009 { echo "$as_me:$LINENO: result: no" >&5
32010 echo "${ECHO_T}no" >&6; }
32011 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32012 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32013 wxUSE_DETECT_SM="no"
32016 wxUSE_DETECT_SM="no"
32023 if test "$wxUSE_OPENGL" = "yes"; then
32024 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32025 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32026 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32028 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32029 OPENGL_LIBS="-framework OpenGL -framework AGL"
32030 elif test "$wxUSE_MSW" = 1; then
32031 OPENGL_LIBS="-lopengl32 -lglu32"
32033 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32034 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32037 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32039 if test -f "$ac_dir/GL/gl.h"; then
32040 ac_find_includes=$ac_dir
32045 if test "$ac_find_includes" != "" ; then
32046 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32047 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32049 if test "x$ac_find_includes" = "x/usr/include"; then
32050 ac_path_to_include=""
32052 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32054 if test $result = 0; then
32055 ac_path_to_include=""
32057 ac_path_to_include=" -I$ac_find_includes"
32061 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32063 { echo "$as_me:$LINENO: result: not found" >&5
32064 echo "${ECHO_T}not found" >&6; }
32067 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32068 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32069 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32070 echo $ECHO_N "(cached) $ECHO_C" >&6
32072 cat >conftest.$ac_ext <<_ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32082 rm -f conftest.$ac_objext
32083 if { (ac_try="$ac_compile"
32084 case "(($ac_try" in
32085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32086 *) ac_try_echo
=$ac_try;;
32088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32089 (eval "$ac_compile") 2>conftest.er1
32091 grep -v '^ *+' conftest.er1
>conftest.err
32093 cat conftest.err
>&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } && {
32096 test -z "$ac_c_werror_flag" ||
32097 test ! -s conftest.err
32098 } && test -s conftest.
$ac_objext; then
32099 ac_cv_header_GL_gl_h
=yes
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.
$ac_ext >&5
32104 ac_cv_header_GL_gl_h
=no
32107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32109 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32110 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32111 if test $ac_cv_header_GL_gl_h = yes; then
32113 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32114 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32115 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32116 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32120 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32122 # Is the header compilable?
32123 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32124 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32125 cat >conftest.
$ac_ext <<_ACEOF
32128 cat confdefs.h
>>conftest.
$ac_ext
32129 cat >>conftest.
$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131 $ac_includes_default
32132 #include <GL/glu.h>
32134 rm -f conftest.
$ac_objext
32135 if { (ac_try
="$ac_compile"
32136 case "(($ac_try" in
32137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32138 *) ac_try_echo=$ac_try;;
32140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32141 (eval "$ac_compile") 2>conftest.er1
32143 grep -v '^ *+' conftest.er1 >conftest.err
32145 cat conftest.err >&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } && {
32148 test -z "$ac_c_werror_flag" ||
32149 test ! -s conftest.err
32150 } && test -s conftest.$ac_objext; then
32151 ac_header_compiler=yes
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32156 ac_header_compiler=no
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32161 echo "${ECHO_T}$ac_header_compiler" >&6; }
32163 # Is the header present?
32164 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32165 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32166 cat >conftest.$ac_ext <<_ACEOF
32169 cat confdefs.h >>conftest.$ac_ext
32170 cat >>conftest.$ac_ext <<_ACEOF
32171 /* end confdefs.h. */
32172 #include <GL/glu.h>
32174 if { (ac_try="$ac_cpp conftest.$ac_ext"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32177 *) ac_try_echo
=$ac_try;;
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32182 grep -v '^ *+' conftest.er1
>conftest.err
32184 cat conftest.err
>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } >/dev
/null
&& {
32187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32190 ac_header_preproc
=yes
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.
$ac_ext >&5
32195 ac_header_preproc
=no
32198 rm -f conftest.err conftest.
$ac_ext
32199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32200 echo "${ECHO_T}$ac_header_preproc" >&6; }
32202 # So? What about this header?
32203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32205 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32206 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32207 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32208 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32209 ac_header_preproc
=yes
32212 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32213 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32214 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32215 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32216 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32217 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32219 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32220 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32221 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32222 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32223 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32225 ## ----------------------------------------- ##
32226 ## Report this to wx-dev@lists.wxwidgets.org ##
32227 ## ----------------------------------------- ##
32229 ) | sed "s/^/$as_me: WARNING: /" >&2
32232 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32233 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32234 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 ac_cv_header_GL_glu_h
=$ac_header_preproc
32239 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32240 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32243 if test $ac_cv_header_GL_glu_h = yes; then
32247 { echo "$as_me:$LINENO: checking for -lGL" >&5
32248 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32251 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32253 for ac_extension
in a so sl dylib dll.a
; do
32254 if test -f "$ac_dir/libGL.$ac_extension"; then
32255 ac_find_libraries
=$ac_dir
32261 if test "$ac_find_libraries" != "" ; then
32262 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32263 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32266 if test "$ac_find_libraries" = "default location"; then
32269 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32271 if test $result = 0; then
32274 ac_path_to_link
=" -L$ac_find_libraries"
32278 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32279 LDFLAGS_GL
="$ac_path_to_link"
32282 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32283 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32286 for ac_dir
in $SEARCH_LIB;
32288 for ac_extension
in a so sl dylib dll.a
; do
32289 if test -f "$ac_dir/libGLU.$ac_extension"; then
32290 ac_find_libraries
=$ac_dir
32296 if test "$ac_find_libraries" != "" ; then
32298 if test "$ac_find_libraries" = "default location"; then
32301 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32303 if test $result = 0; then
32306 ac_path_to_link
=" -L$ac_find_libraries"
32310 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32311 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32312 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32316 OPENGL_LIBS
="-lGL -lGLU"
32317 { echo "$as_me:$LINENO: result: yes" >&5
32318 echo "${ECHO_T}yes" >&6; }
32320 { echo "$as_me:$LINENO: result: no" >&5
32321 echo "${ECHO_T}no" >&6; }
32324 { echo "$as_me:$LINENO: result: no" >&5
32325 echo "${ECHO_T}no" >&6; }
32328 if test "$found_gl" != 1; then
32329 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32330 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32333 for ac_dir
in $SEARCH_LIB;
32335 for ac_extension
in a so sl dylib dll.a
; do
32336 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32337 ac_find_libraries
=$ac_dir
32343 if test "$ac_find_libraries" != "" ; then
32345 if test "$ac_find_libraries" = "default location"; then
32348 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32350 if test $result = 0; then
32353 ac_path_to_link
=" -L$ac_find_libraries"
32357 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32358 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32359 { echo "$as_me:$LINENO: result: yes" >&5
32360 echo "${ECHO_T}yes" >&6; }
32362 { echo "$as_me:$LINENO: result: no" >&5
32363 echo "${ECHO_T}no" >&6; }
32375 if test "x$OPENGL_LIBS" = "x"; then
32376 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32377 echo "$as_me: error: OpenGL libraries not available" >&2;}
32378 { (exit 1); exit 1; }; }
32382 if test "$wxUSE_OPENGL" = "yes"; then
32384 cat >>confdefs.h
<<\_ACEOF
32385 #define wxUSE_OPENGL 1
32388 cat >>confdefs.h
<<\_ACEOF
32389 #define wxUSE_GLCANVAS 1
32392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32397 if test -n "$TOOLKIT" ; then
32398 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32403 if test "$wxUSE_SHARED" = "yes"; then
32407 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32408 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32413 if test "$wxUSE_SHARED" = "yes"; then
32417 *-*-cygwin* | *-*-mingw* )
32418 wx_cv_version_script
=no
32422 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32423 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32424 if test "${wx_cv_version_script+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32428 echo "VER_1 { *; };" >conftest.sym
32429 echo "int main() { return 0; }" >conftest.cpp
32432 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32433 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } ; then
32439 if test -s conftest.stderr
; then
32440 wx_cv_version_script
=no
32442 wx_cv_version_script
=yes
32445 wx_cv_version_script
=no
32448 if test $wx_cv_version_script = yes
32450 echo "struct B { virtual ~B() { } }; \
32451 struct D : public B { }; \
32452 void F() { D d; }" > conftest.cpp
32455 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32456 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32458 (eval $ac_try) 2>&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); }; } &&
32463 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32464 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; }
32472 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32473 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; }
32480 wx_cv_version_script
=yes
32482 wx_cv_version_script
=no
32487 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32488 rm -f conftest1.output conftest2.output conftest3.output
32491 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32492 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32494 if test $wx_cv_version_script = yes ; then
32495 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32502 *-*-linux* | *-*-gnu* )
32503 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32504 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32508 if test "$GCC" = yes ; then
32509 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32511 saveLdflags
="$LDFLAGS"
32512 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32513 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32514 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32515 cat >conftest.
$ac_ext <<_ACEOF
32518 cat confdefs.h
>>conftest.
$ac_ext
32519 cat >>conftest.
$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32530 rm -f conftest.
$ac_objext conftest
$ac_exeext
32531 if { (ac_try
="$ac_link"
32532 case "(($ac_try" in
32533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_link") 2>conftest.er1
32539 grep -v '^ *+' conftest.er1 >conftest.err
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest$ac_exeext &&
32547 $as_test_x conftest$ac_exeext; then
32549 { echo "$as_me:$LINENO: result: yes" >&5
32550 echo "${ECHO_T}yes" >&6; }
32551 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32552 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32562 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32563 LDFLAGS="$saveLdflags -Wl,-R,/"
32564 cat >conftest.$ac_ext <<_ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32579 rm -f conftest.$ac_objext conftest$ac_exeext
32580 if { (ac_try="$ac_link"
32581 case "(($ac_try" in
32582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32583 *) ac_try_echo
=$ac_try;;
32585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32586 (eval "$ac_link") 2>conftest.er1
32588 grep -v '^ *+' conftest.er1
>conftest.err
32590 cat conftest.err
>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } && {
32593 test -z "$ac_c_werror_flag" ||
32594 test ! -s conftest.err
32595 } && test -s conftest
$ac_exeext &&
32596 $as_test_x conftest
$ac_exeext; then
32598 { echo "$as_me:$LINENO: result: yes" >&5
32599 echo "${ECHO_T}yes" >&6; }
32600 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32601 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.
$ac_ext >&5
32608 { echo "$as_me:$LINENO: result: no" >&5
32609 echo "${ECHO_T}no" >&6; }
32613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32614 conftest
$ac_exeext conftest.
$ac_ext
32618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32619 conftest
$ac_exeext conftest.
$ac_ext
32620 LDFLAGS
="$saveLdflags"
32622 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32623 WXCONFIG_RPATH
="-R\$libdir"
32628 install_name_tool
=`which install_name_tool`
32629 if test "$install_name_tool" -a -x "$install_name_tool"; then
32630 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32631 cat <<EOF >change-install-names
32633 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32634 inst_cmd="install_name_tool "
32635 for i in \${libnames} ; do
32636 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32640 chmod +x change
-install-names
32644 *-*-cygwin* | *-*-mingw32* )
32645 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32649 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32650 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32655 if test $wxUSE_RPATH = "no"; then
32656 SAMPLES_RPATH_FLAG
=''
32657 SAMPLES_RPATH_POSTLINK
=''
32665 config_linkage_component
="-static"
32672 lib_unicode_suffix
=
32674 if test "$wxUSE_UNICODE" = "yes"; then
32675 lib_unicode_suffix
=u
32676 WX_CHARTYPE
="unicode"
32681 WX_DEBUGTYPE
="release"
32683 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32685 WX_DEBUGTYPE
="debug"
32689 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32690 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32693 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32697 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32699 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32701 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32703 if test "$cross_compiling" = "yes"; then
32704 HOST_SUFFIX
="-$host_alias"
32705 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32706 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32709 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32710 if test "${TOOLKIT_DIR}" = "os2"; then
32711 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32713 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32718 if test "$wxUSE_COCOA" = 1; then
32721 ac_cpp
='$CPP $CPPFLAGS'
32722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32728 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32729 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32730 cat >conftest.
$ac_ext <<_ACEOF
32733 cat confdefs.h
>>conftest.
$ac_ext
32734 cat >>conftest.
$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736 #include <AppKit/NSEvent.h>
32737 #include <CoreFoundation/CoreFoundation.h>
32747 rm -f conftest.
$ac_objext
32748 if { (ac_try
="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1 >conftest.err
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.$ac_objext; then
32764 { echo "$as_me:$LINENO: result: no" >&5
32765 echo "${ECHO_T}no" >&6; }
32767 echo "$as_me: failed program was:" >&5
32768 sed 's/^/| /' conftest.$ac_ext >&5
32770 { echo "$as_me:$LINENO: result: yes" >&5
32771 echo "${ECHO_T}yes" >&6; }
32772 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32773 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32774 cat >conftest.$ac_ext <<_ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 #define __Point__ 1
32781 #include <AppKit/NSEvent.h>
32782 #include <CoreFoundation/CoreFoundation.h>
32792 rm -f conftest.$ac_objext
32793 if { (ac_try="$ac_compile"
32794 case "(($ac_try" in
32795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32796 *) ac_try_echo
=$ac_try;;
32798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32799 (eval "$ac_compile") 2>conftest.er1
32801 grep -v '^ *+' conftest.er1
>conftest.err
32803 cat conftest.err
>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } && {
32806 test -z "$ac_c_werror_flag" ||
32807 test ! -s conftest.err
32808 } && test -s conftest.
$ac_objext; then
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32811 cat >>confdefs.h
<<\_ACEOF
32812 #define __Point__ 1
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.
$ac_ext >&5
32820 { { echo "$as_me:$LINENO: error: no
32821 See \`config.log' for more details." >&5
32822 echo "$as_me: error: no
32823 See \`config.log' for more details." >&2;}
32824 { (exit 1); exit 1; }; }
32828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32834 ac_cpp
='$CPP $CPPFLAGS'
32835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32841 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32842 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32843 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32845 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32847 # Extract the first word of "Rez", so it can be a program name with args.
32848 set dummy Rez
; ac_word
=$2
32849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32851 if test "${ac_cv_prog_REZ+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 if test -n "$REZ"; then
32855 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32858 for as_dir
in $PATH
32861 test -z "$as_dir" && as_dir
=.
32862 for ac_exec_ext
in '' $ac_executable_extensions; do
32863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32864 ac_cv_prog_REZ
="Rez"
32865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32872 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32875 REZ
=$ac_cv_prog_REZ
32876 if test -n "$REZ"; then
32877 { echo "$as_me:$LINENO: result: $REZ" >&5
32878 echo "${ECHO_T}$REZ" >&6; }
32880 { echo "$as_me:$LINENO: result: no" >&5
32881 echo "${ECHO_T}no" >&6; }
32885 # Extract the first word of "DeRez", so it can be a program name with args.
32886 set dummy DeRez
; ac_word
=$2
32887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32889 if test "${ac_cv_prog_DEREZ+set}" = set; then
32890 echo $ECHO_N "(cached) $ECHO_C" >&6
32892 if test -n "$DEREZ"; then
32893 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32896 for as_dir
in $PATH
32899 test -z "$as_dir" && as_dir
=.
32900 for ac_exec_ext
in '' $ac_executable_extensions; do
32901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32902 ac_cv_prog_DEREZ
="DeRez"
32903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32910 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32913 DEREZ
=$ac_cv_prog_DEREZ
32914 if test -n "$DEREZ"; then
32915 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32916 echo "${ECHO_T}$DEREZ" >&6; }
32918 { echo "$as_me:$LINENO: result: no" >&5
32919 echo "${ECHO_T}no" >&6; }
32923 # Extract the first word of "SetFile", so it can be a program name with args.
32924 set dummy SetFile
; ac_word
=$2
32925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32927 if test "${ac_cv_prog_SETFILE+set}" = set; then
32928 echo $ECHO_N "(cached) $ECHO_C" >&6
32930 if test -n "$SETFILE"; then
32931 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32934 for as_dir
in $PATH
32937 test -z "$as_dir" && as_dir
=.
32938 for ac_exec_ext
in '' $ac_executable_extensions; do
32939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32940 ac_cv_prog_SETFILE
="SetFile"
32941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32948 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32951 SETFILE
=$ac_cv_prog_SETFILE
32952 if test -n "$SETFILE"; then
32953 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32954 echo "${ECHO_T}$SETFILE" >&6; }
32956 { echo "$as_me:$LINENO: result: no" >&5
32957 echo "${ECHO_T}no" >&6; }
32962 MACSETFILE
="\$(SETFILE)"
32964 if test "$wxUSE_MAC" = 1; then
32965 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32967 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32969 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32970 RESCOMP
="echo -n \| $REZ"
32971 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32977 if test "$wxUSE_PM" = 1; then
32979 WXCONFIG_RESFLAGS
="-ep"
32981 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32983 POSTLINK_COMMAND
="@true"
32990 { echo "$as_me:$LINENO: checking for mode_t" >&5
32991 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32992 if test "${ac_cv_type_mode_t+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 cat >conftest.
$ac_ext <<_ACEOF
32998 cat confdefs.h
>>conftest.
$ac_ext
32999 cat >>conftest.
$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 $ac_includes_default
33002 typedef mode_t ac__type_new_;
33006 if ((ac__type_new_ *) 0)
33008 if (sizeof (ac__type_new_))
33014 rm -f conftest.
$ac_objext
33015 if { (ac_try
="$ac_compile"
33016 case "(($ac_try" in
33017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33018 *) ac_try_echo=$ac_try;;
33020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33021 (eval "$ac_compile") 2>conftest.er1
33023 grep -v '^ *+' conftest.er1 >conftest.err
33025 cat conftest.err >&5
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); } && {
33028 test -z "$ac_c_werror_flag" ||
33029 test ! -s conftest.err
33030 } && test -s conftest.$ac_objext; then
33031 ac_cv_type_mode_t=yes
33033 echo "$as_me: failed program was:" >&5
33034 sed 's/^/| /' conftest.$ac_ext >&5
33036 ac_cv_type_mode_t=no
33039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33041 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33042 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33043 if test $ac_cv_type_mode_t = yes; then
33047 cat >>confdefs.h <<_ACEOF
33053 { echo "$as_me:$LINENO: checking for off_t" >&5
33054 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33055 if test "${ac_cv_type_off_t+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 cat >conftest.$ac_ext <<_ACEOF
33061 cat confdefs.h >>conftest.$ac_ext
33062 cat >>conftest.$ac_ext <<_ACEOF
33063 /* end confdefs.h. */
33064 $ac_includes_default
33065 typedef off_t ac__type_new_;
33069 if ((ac__type_new_ *) 0)
33071 if (sizeof (ac__type_new_))
33077 rm -f conftest.$ac_objext
33078 if { (ac_try="$ac_compile"
33079 case "(($ac_try" in
33080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33081 *) ac_try_echo
=$ac_try;;
33083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33084 (eval "$ac_compile") 2>conftest.er1
33086 grep -v '^ *+' conftest.er1
>conftest.err
33088 cat conftest.err
>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); } && {
33091 test -z "$ac_c_werror_flag" ||
33092 test ! -s conftest.err
33093 } && test -s conftest.
$ac_objext; then
33094 ac_cv_type_off_t
=yes
33096 echo "$as_me: failed program was:" >&5
33097 sed 's/^/| /' conftest.
$ac_ext >&5
33099 ac_cv_type_off_t
=no
33102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33104 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33105 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33106 if test $ac_cv_type_off_t = yes; then
33110 cat >>confdefs.h
<<_ACEOF
33111 #define off_t long int
33116 { echo "$as_me:$LINENO: checking for pid_t" >&5
33117 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33118 if test "${ac_cv_type_pid_t+set}" = set; then
33119 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 cat >conftest.
$ac_ext <<_ACEOF
33124 cat confdefs.h
>>conftest.
$ac_ext
33125 cat >>conftest.
$ac_ext <<_ACEOF
33126 /* end confdefs.h. */
33127 $ac_includes_default
33128 typedef pid_t ac__type_new_;
33132 if ((ac__type_new_ *) 0)
33134 if (sizeof (ac__type_new_))
33140 rm -f conftest.
$ac_objext
33141 if { (ac_try
="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33149 grep -v '^ *+' conftest.er1 >conftest.err
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 ac_cv_type_pid_t=yes
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 ac_cv_type_pid_t=no
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33168 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33169 if test $ac_cv_type_pid_t = yes; then
33173 cat >>confdefs.h <<_ACEOF
33179 { echo "$as_me:$LINENO: checking for size_t" >&5
33180 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33181 if test "${ac_cv_type_size_t+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 cat >conftest.$ac_ext <<_ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 $ac_includes_default
33191 typedef size_t ac__type_new_;
33195 if ((ac__type_new_ *) 0)
33197 if (sizeof (ac__type_new_))
33203 rm -f conftest.$ac_objext
33204 if { (ac_try="$ac_compile"
33205 case "(($ac_try" in
33206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33207 *) ac_try_echo
=$ac_try;;
33209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33210 (eval "$ac_compile") 2>conftest.er1
33212 grep -v '^ *+' conftest.er1
>conftest.err
33214 cat conftest.err
>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); } && {
33217 test -z "$ac_c_werror_flag" ||
33218 test ! -s conftest.err
33219 } && test -s conftest.
$ac_objext; then
33220 ac_cv_type_size_t
=yes
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.
$ac_ext >&5
33225 ac_cv_type_size_t
=no
33228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33230 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33231 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33232 if test $ac_cv_type_size_t = yes; then
33236 cat >>confdefs.h
<<_ACEOF
33237 #define size_t unsigned int
33242 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33243 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33244 if test "${ac_cv_type_uid_t+set}" = set; then
33245 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 cat >conftest.
$ac_ext <<_ACEOF
33250 cat confdefs.h
>>conftest.
$ac_ext
33251 cat >>conftest.
$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253 #include <sys/types.h>
33256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33257 $EGREP "uid_t" >/dev
/null
2>&1; then
33258 ac_cv_type_uid_t
=yes
33260 ac_cv_type_uid_t
=no
33265 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33266 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33267 if test $ac_cv_type_uid_t = no
; then
33269 cat >>confdefs.h
<<\_ACEOF
33274 cat >>confdefs.h
<<\_ACEOF
33281 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33282 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33283 if test "${ac_cv_type_ssize_t+set}" = set; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33286 cat >conftest.
$ac_ext <<_ACEOF
33289 cat confdefs.h
>>conftest.
$ac_ext
33290 cat >>conftest.
$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33292 $ac_includes_default
33293 typedef ssize_t ac__type_new_;
33297 if ((ac__type_new_ *) 0)
33299 if (sizeof (ac__type_new_))
33305 rm -f conftest.
$ac_objext
33306 if { (ac_try
="$ac_compile"
33307 case "(($ac_try" in
33308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33309 *) ac_try_echo=$ac_try;;
33311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33312 (eval "$ac_compile") 2>conftest.er1
33314 grep -v '^ *+' conftest.er1 >conftest.err
33316 cat conftest.err >&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } && {
33319 test -z "$ac_c_werror_flag" ||
33320 test ! -s conftest.err
33321 } && test -s conftest.$ac_objext; then
33322 ac_cv_type_ssize_t=yes
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33327 ac_cv_type_ssize_t=no
33330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33332 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33333 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33334 if test $ac_cv_type_ssize_t = yes; then
33336 cat >>confdefs.h <<_ACEOF
33337 #define HAVE_SSIZE_T 1
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33349 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33350 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33351 if test "${wx_cv_size_t_is_uint+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 cat >conftest.$ac_ext <<_ACEOF
33358 cat confdefs.h >>conftest.$ac_ext
33359 cat >>conftest.$ac_ext <<_ACEOF
33360 /* end confdefs.h. */
33361 #include <stddef.h>
33368 struct Foo { void foo(size_t); void foo(unsigned int); };
33376 rm -f conftest.$ac_objext
33377 if { (ac_try="$ac_compile"
33378 case "(($ac_try" in
33379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33380 *) ac_try_echo
=$ac_try;;
33382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33383 (eval "$ac_compile") 2>conftest.er1
33385 grep -v '^ *+' conftest.er1
>conftest.err
33387 cat conftest.err
>&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } && {
33390 test -z "$ac_cxx_werror_flag" ||
33391 test ! -s conftest.err
33392 } && test -s conftest.
$ac_objext; then
33393 wx_cv_size_t_is_uint
=no
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 wx_cv_size_t_is_uint
=yes
33402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33406 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33407 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33409 if test "$wx_cv_size_t_is_uint" = "yes"; then
33410 cat >>confdefs.h
<<\_ACEOF
33411 #define wxSIZE_T_IS_UINT 1
33415 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33416 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33417 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 cat >conftest.
$ac_ext <<_ACEOF
33423 cat confdefs.h
>>conftest.
$ac_ext
33424 cat >>conftest.
$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <stddef.h>
33433 struct Foo { void foo(size_t); void foo(unsigned long); };
33441 rm -f conftest.
$ac_objext
33442 if { (ac_try
="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1 >conftest.err
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_cxx_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.$ac_objext; then
33458 wx_cv_size_t_is_ulong=no
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.$ac_ext >&5
33463 wx_cv_size_t_is_ulong=yes
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33470 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33471 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33473 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33474 cat >>confdefs.h <<\_ACEOF
33475 #define wxSIZE_T_IS_ULONG 1
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33488 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33489 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33490 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 cat >conftest.$ac_ext <<_ACEOF
33497 cat confdefs.h >>conftest.$ac_ext
33498 cat >>conftest.$ac_ext <<_ACEOF
33499 /* end confdefs.h. */
33513 rm -f conftest.$ac_objext
33514 if { (ac_try="$ac_compile"
33515 case "(($ac_try" in
33516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33517 *) ac_try_echo
=$ac_try;;
33519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33520 (eval "$ac_compile") 2>conftest.er1
33522 grep -v '^ *+' conftest.er1
>conftest.err
33524 cat conftest.err
>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } && {
33527 test -z "$ac_c_werror_flag" ||
33528 test ! -s conftest.err
33529 } && test -s conftest.
$ac_objext; then
33531 wx_cv_struct_pw_gecos
=yes
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.
$ac_ext >&5
33538 wx_cv_struct_pw_gecos
=no
33543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33547 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33548 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33550 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define HAVE_PW_GECOS 1
33558 if test "$wxUSE_WCHAR_T" = "yes"; then
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_WCHAR_T 1
33567 for ac_func
in wcslen
33569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33572 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33573 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 cat >conftest.
$ac_ext <<_ACEOF
33578 cat confdefs.h
>>conftest.
$ac_ext
33579 cat >>conftest.
$ac_ext <<_ACEOF
33580 /* end confdefs.h. */
33581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33583 #define $ac_func innocuous_$ac_func
33585 /* System header to define __stub macros and hopefully few prototypes,
33586 which can conflict with char $ac_func (); below.
33587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33588 <limits.h> exists even on freestanding compilers. */
33591 # include <limits.h>
33593 # include <assert.h>
33598 /* Override any GCC internal prototype to avoid an error.
33599 Use char because int might match the return type of a GCC
33600 builtin and then its argument prototype would still apply. */
33605 /* The GNU C library defines this for functions which it implements
33606 to always fail with ENOSYS. Some functions are actually named
33607 something starting with __ and the normal name is an alias. */
33608 #if defined __stub_$ac_func || defined __stub___$ac_func
33615 return $ac_func ();
33620 rm -f conftest.
$ac_objext conftest
$ac_exeext
33621 if { (ac_try
="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33629 grep -v '^ *+' conftest.er1 >conftest.err
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest$ac_exeext &&
33637 $as_test_x conftest$ac_exeext; then
33638 eval "$as_ac_var=yes"
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33643 eval "$as_ac_var=no"
33646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33647 conftest$ac_exeext conftest.$ac_ext
33649 ac_res=`eval echo '${'$as_ac_var'}'`
33650 { echo "$as_me:$LINENO: result: $ac_res" >&5
33651 echo "${ECHO_T}$ac_res" >&6; }
33652 if test `eval echo '${'$as_ac_var'}'` = yes; then
33653 cat >>confdefs.h <<_ACEOF
33654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33661 if test "$WCSLEN_FOUND" = 0; then
33662 if test "$TOOLKIT" = "MSW"; then
33663 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33664 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33665 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 ac_check_lib_save_LIBS=$LIBS
33669 LIBS="-lmsvcrt $LIBS"
33670 cat >conftest.$ac_ext <<_ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33677 /* Override any GCC internal prototype to avoid an error.
33678 Use char because int might match the return type of a GCC
33679 builtin and then its argument prototype would still apply. */
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33696 *) ac_try_echo
=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1
>conftest.err
33703 cat conftest.err
>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest
$ac_exeext &&
33709 $as_test_x conftest
$ac_exeext; then
33710 ac_cv_lib_msvcrt_wcslen
=yes
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.
$ac_ext >&5
33715 ac_cv_lib_msvcrt_wcslen
=no
33718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33719 conftest
$ac_exeext conftest.
$ac_ext
33720 LIBS
=$ac_check_lib_save_LIBS
33722 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33723 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33724 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33729 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33730 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33731 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 ac_check_lib_save_LIBS
=$LIBS
33736 cat >conftest.
$ac_ext <<_ACEOF
33739 cat confdefs.h
>>conftest.
$ac_ext
33740 cat >>conftest.
$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33743 /* Override any GCC internal prototype to avoid an error.
33744 Use char because int might match the return type of a GCC
33745 builtin and then its argument prototype would still apply. */
33758 rm -f conftest.
$ac_objext conftest
$ac_exeext
33759 if { (ac_try
="$ac_link"
33760 case "(($ac_try" in
33761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33762 *) ac_try_echo=$ac_try;;
33764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33765 (eval "$ac_link") 2>conftest.er1
33767 grep -v '^ *+' conftest.er1 >conftest.err
33769 cat conftest.err >&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } && {
33772 test -z "$ac_c_werror_flag" ||
33773 test ! -s conftest.err
33774 } && test -s conftest$ac_exeext &&
33775 $as_test_x conftest$ac_exeext; then
33776 ac_cv_lib_w_wcslen=yes
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33781 ac_cv_lib_w_wcslen=no
33784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33785 conftest$ac_exeext conftest.$ac_ext
33786 LIBS=$ac_check_lib_save_LIBS
33788 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33789 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33790 if test $ac_cv_lib_w_wcslen = yes; then
33800 if test "$WCSLEN_FOUND" = 1; then
33801 cat >>confdefs.h <<\_ACEOF
33802 #define HAVE_WCSLEN 1
33807 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33808 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33811 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33812 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33813 if test "${ac_cv_type_mbstate_t+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 cat >conftest.$ac_ext <<_ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33824 typedef mbstate_t ac__type_new_;
33828 if ((ac__type_new_ *) 0)
33830 if (sizeof (ac__type_new_))
33836 rm -f conftest.$ac_objext
33837 if { (ac_try="$ac_compile"
33838 case "(($ac_try" in
33839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33840 *) ac_try_echo
=$ac_try;;
33842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33843 (eval "$ac_compile") 2>conftest.er1
33845 grep -v '^ *+' conftest.er1
>conftest.err
33847 cat conftest.err
>&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); } && {
33850 test -z "$ac_c_werror_flag" ||
33851 test ! -s conftest.err
33852 } && test -s conftest.
$ac_objext; then
33853 ac_cv_type_mbstate_t
=yes
33855 echo "$as_me: failed program was:" >&5
33856 sed 's/^/| /' conftest.
$ac_ext >&5
33858 ac_cv_type_mbstate_t
=no
33861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33863 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33864 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33865 if test $ac_cv_type_mbstate_t = yes; then
33867 cat >>confdefs.h
<<_ACEOF
33868 #define HAVE_MBSTATE_T 1
33872 for ac_func
in wcsrtombs
33874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33877 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33878 echo $ECHO_N "(cached) $ECHO_C" >&6
33880 cat >conftest.
$ac_ext <<_ACEOF
33883 cat confdefs.h
>>conftest.
$ac_ext
33884 cat >>conftest.
$ac_ext <<_ACEOF
33885 /* end confdefs.h. */
33886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33888 #define $ac_func innocuous_$ac_func
33890 /* System header to define __stub macros and hopefully few prototypes,
33891 which can conflict with char $ac_func (); below.
33892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33893 <limits.h> exists even on freestanding compilers. */
33896 # include <limits.h>
33898 # include <assert.h>
33903 /* Override any GCC internal prototype to avoid an error.
33904 Use char because int might match the return type of a GCC
33905 builtin and then its argument prototype would still apply. */
33910 /* The GNU C library defines this for functions which it implements
33911 to always fail with ENOSYS. Some functions are actually named
33912 something starting with __ and the normal name is an alias. */
33913 #if defined __stub_$ac_func || defined __stub___$ac_func
33920 return $ac_func ();
33925 rm -f conftest.
$ac_objext conftest
$ac_exeext
33926 if { (ac_try
="$ac_link"
33927 case "(($ac_try" in
33928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33929 *) ac_try_echo=$ac_try;;
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_link") 2>conftest.er1
33934 grep -v '^ *+' conftest.er1 >conftest.err
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest$ac_exeext &&
33942 $as_test_x conftest$ac_exeext; then
33943 eval "$as_ac_var=yes"
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.$ac_ext >&5
33948 eval "$as_ac_var=no"
33951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33952 conftest$ac_exeext conftest.$ac_ext
33954 ac_res=`eval echo '${'$as_ac_var'}'`
33955 { echo "$as_me:$LINENO: result: $ac_res" >&5
33956 echo "${ECHO_T}$ac_res" >&6; }
33957 if test `eval echo '${'$as_ac_var'}'` = yes; then
33958 cat >>confdefs.h <<_ACEOF
33959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33968 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33969 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33974 for ac_func in snprintf vsnprintf
33976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33982 cat >conftest.$ac_ext <<_ACEOF
33985 cat confdefs.h >>conftest.$ac_ext
33986 cat >>conftest.$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33990 #define $ac_func innocuous_$ac_func
33992 /* System header to define __stub macros and hopefully few prototypes,
33993 which can conflict with char $ac_func (); below.
33994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33995 <limits.h> exists even on freestanding compilers. */
33998 # include <limits.h>
34000 # include <assert.h>
34005 /* Override any GCC internal prototype to avoid an error.
34006 Use char because int might match the return type of a GCC
34007 builtin and then its argument prototype would still apply. */
34012 /* The GNU C library defines this for functions which it implements
34013 to always fail with ENOSYS. Some functions are actually named
34014 something starting with __ and the normal name is an alias. */
34015 #if defined __stub_$ac_func || defined __stub___$ac_func
34022 return $ac_func ();
34027 rm -f conftest.$ac_objext conftest$ac_exeext
34028 if { (ac_try="$ac_link"
34029 case "(($ac_try" in
34030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34031 *) ac_try_echo
=$ac_try;;
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_link") 2>conftest.er1
34036 grep -v '^ *+' conftest.er1
>conftest.err
34038 cat conftest.err
>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_c_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest
$ac_exeext &&
34044 $as_test_x conftest
$ac_exeext; then
34045 eval "$as_ac_var=yes"
34047 echo "$as_me: failed program was:" >&5
34048 sed 's/^/| /' conftest.
$ac_ext >&5
34050 eval "$as_ac_var=no"
34053 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34054 conftest
$ac_exeext conftest.
$ac_ext
34056 ac_res
=`eval echo '${'$as_ac_var'}'`
34057 { echo "$as_me:$LINENO: result: $ac_res" >&5
34058 echo "${ECHO_T}$ac_res" >&6; }
34059 if test `eval echo '${'$as_ac_var'}'` = yes; then
34060 cat >>confdefs.h
<<_ACEOF
34061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34068 if test "$ac_cv_func_vsnprintf" = "yes"; then
34069 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34070 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34071 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34075 cat >conftest.
$ac_ext <<_ACEOF
34078 cat confdefs.h
>>conftest.
$ac_ext
34079 cat >>conftest.
$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34083 #include <stdarg.h>
34085 #if __MSL__ >= 0x6000
34087 using namespace std;
34097 vsnprintf(buf, 10u, "%s", ap);
34103 rm -f conftest.
$ac_objext
34104 if { (ac_try
="$ac_compile"
34105 case "(($ac_try" in
34106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34107 *) ac_try_echo=$ac_try;;
34109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34110 (eval "$ac_compile") 2>conftest.er1
34112 grep -v '^ *+' conftest.er1 >conftest.err
34114 cat conftest.err >&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); } && {
34117 test -z "$ac_c_werror_flag" ||
34118 test ! -s conftest.err
34119 } && test -s conftest.$ac_objext; then
34120 wx_cv_func_vsnprintf_decl=yes
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34125 wx_cv_func_vsnprintf_decl=no
34129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34134 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34136 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34137 cat >>confdefs.h <<\_ACEOF
34138 #define HAVE_VSNPRINTF_DECL 1
34142 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34143 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34144 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 cat >conftest.$ac_ext <<_ACEOF
34151 cat confdefs.h >>conftest.$ac_ext
34152 cat >>conftest.$ac_ext <<_ACEOF
34153 /* end confdefs.h. */
34156 #include <stdarg.h>
34158 #if __MSL__ >= 0x6000
34160 using namespace std;
34170 const char *fmt = "%s";
34171 vsnprintf(buf, 10u, fmt, ap);
34177 rm -f conftest.$ac_objext
34178 if { (ac_try="$ac_compile"
34179 case "(($ac_try" in
34180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34181 *) ac_try_echo
=$ac_try;;
34183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34184 (eval "$ac_compile") 2>conftest.er1
34186 grep -v '^ *+' conftest.er1
>conftest.err
34188 cat conftest.err
>&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); } && {
34191 test -z "$ac_c_werror_flag" ||
34192 test ! -s conftest.err
34193 } && test -s conftest.
$ac_objext; then
34194 wx_cv_func_broken_vsnprintf_decl
=no
34196 echo "$as_me: failed program was:" >&5
34197 sed 's/^/| /' conftest.
$ac_ext >&5
34199 wx_cv_func_broken_vsnprintf_decl
=yes
34203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34207 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34208 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34210 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34211 cat >>confdefs.h
<<\_ACEOF
34212 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34219 if test "$ac_cv_func_snprintf" = "yes"; then
34220 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34221 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34222 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34226 cat >conftest.
$ac_ext <<_ACEOF
34229 cat confdefs.h
>>conftest.
$ac_ext
34230 cat >>conftest.
$ac_ext <<_ACEOF
34231 /* end confdefs.h. */
34234 #include <stdarg.h>
34236 #if __MSL__ >= 0x6000
34238 using namespace std;
34247 snprintf(buf, 10u, "%s", "wx");
34253 rm -f conftest.
$ac_objext
34254 if { (ac_try
="$ac_compile"
34255 case "(($ac_try" in
34256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34257 *) ac_try_echo=$ac_try;;
34259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34260 (eval "$ac_compile") 2>conftest.er1
34262 grep -v '^ *+' conftest.er1 >conftest.err
34264 cat conftest.err >&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } && {
34267 test -z "$ac_c_werror_flag" ||
34268 test ! -s conftest.err
34269 } && test -s conftest.$ac_objext; then
34270 wx_cv_func_snprintf_decl=yes
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34275 wx_cv_func_snprintf_decl=no
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34283 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34284 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34286 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34287 cat >>confdefs.h <<\_ACEOF
34288 #define HAVE_SNPRINTF_DECL 1
34292 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34293 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34294 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 cat >conftest.$ac_ext <<_ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34306 #include <stdarg.h>
34308 #if __MSL__ >= 0x6000
34310 using namespace std;
34319 const char *fmt = "%s";
34320 snprintf(buf, 10u, fmt, "wx");
34326 rm -f conftest.$ac_objext
34327 if { (ac_try="$ac_compile"
34328 case "(($ac_try" in
34329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34330 *) ac_try_echo
=$ac_try;;
34332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34333 (eval "$ac_compile") 2>conftest.er1
34335 grep -v '^ *+' conftest.er1
>conftest.err
34337 cat conftest.err
>&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); } && {
34340 test -z "$ac_c_werror_flag" ||
34341 test ! -s conftest.err
34342 } && test -s conftest.
$ac_objext; then
34343 wx_cv_func_broken_snprintf_decl
=no
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.
$ac_ext >&5
34348 wx_cv_func_broken_snprintf_decl
=yes
34352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34356 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34357 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34359 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34360 cat >>confdefs.h
<<\_ACEOF
34361 #define HAVE_BROKEN_SNPRINTF_DECL 1
34367 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34369 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34370 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34371 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34372 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 if test "$cross_compiling" = yes; then
34377 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34378 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34379 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34380 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34381 wx_cv_func_snprintf_pos_params
=no
34385 cat >conftest.
$ac_ext <<_ACEOF
34388 cat confdefs.h
>>conftest.
$ac_ext
34389 cat >>conftest.
$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34397 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34398 if (strcmp ("2 3 1", buffer) == 0)
34404 rm -f conftest
$ac_exeext
34405 if { (ac_try
="$ac_link"
34406 case "(($ac_try" in
34407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34408 *) ac_try_echo=$ac_try;;
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411 (eval "$ac_link") 2>&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34415 { (case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34417 *) ac_try_echo
=$ac_try;;
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_try") 2>&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; }; then
34424 wx_cv_func_snprintf_pos_params
=no
34426 echo "$as_me: program exited with status $ac_status" >&5
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.
$ac_ext >&5
34430 ( exit $ac_status )
34431 wx_cv_func_snprintf_pos_params
=yes
34433 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34440 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34441 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34443 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34444 cat >>confdefs.h
<<\_ACEOF
34445 #define HAVE_UNIX98_PRINTF 1
34452 if test "$wxUSE_UNICODE" = yes; then
34455 for ac_func
in swprintf
34457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34460 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34461 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 cat >conftest.
$ac_ext <<_ACEOF
34466 cat confdefs.h
>>conftest.
$ac_ext
34467 cat >>conftest.
$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34471 #define $ac_func innocuous_$ac_func
34473 /* System header to define __stub macros and hopefully few prototypes,
34474 which can conflict with char $ac_func (); below.
34475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34476 <limits.h> exists even on freestanding compilers. */
34479 # include <limits.h>
34481 # include <assert.h>
34486 /* Override any GCC internal prototype to avoid an error.
34487 Use char because int might match the return type of a GCC
34488 builtin and then its argument prototype would still apply. */
34493 /* The GNU C library defines this for functions which it implements
34494 to always fail with ENOSYS. Some functions are actually named
34495 something starting with __ and the normal name is an alias. */
34496 #if defined __stub_$ac_func || defined __stub___$ac_func
34503 return $ac_func ();
34508 rm -f conftest.
$ac_objext conftest
$ac_exeext
34509 if { (ac_try
="$ac_link"
34510 case "(($ac_try" in
34511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34512 *) ac_try_echo=$ac_try;;
34514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34515 (eval "$ac_link") 2>conftest.er1
34517 grep -v '^ *+' conftest.er1 >conftest.err
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } && {
34522 test -z "$ac_c_werror_flag" ||
34523 test ! -s conftest.err
34524 } && test -s conftest$ac_exeext &&
34525 $as_test_x conftest$ac_exeext; then
34526 eval "$as_ac_var=yes"
34528 echo "$as_me: failed program was:" >&5
34529 sed 's/^/| /' conftest.$ac_ext >&5
34531 eval "$as_ac_var=no"
34534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34535 conftest$ac_exeext conftest.$ac_ext
34537 ac_res=`eval echo '${'$as_ac_var'}'`
34538 { echo "$as_me:$LINENO: result: $ac_res" >&5
34539 echo "${ECHO_T}$ac_res" >&6; }
34540 if test `eval echo '${'$as_ac_var'}'` = yes; then
34541 cat >>confdefs.h <<_ACEOF
34542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34549 if test "$ac_cv_func_swprintf" = "yes"; then
34550 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34551 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34552 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34556 cat >conftest.$ac_ext <<_ACEOF
34559 cat confdefs.h >>conftest.$ac_ext
34560 cat >>conftest.$ac_ext <<_ACEOF
34561 /* end confdefs.h. */
34564 #include <stdarg.h>
34572 const wchar_t *fmt = L"test";
34573 swprintf(buf, 10u, fmt);
34579 rm -f conftest.$ac_objext
34580 if { (ac_try="$ac_compile"
34581 case "(($ac_try" in
34582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34583 *) ac_try_echo
=$ac_try;;
34585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34586 (eval "$ac_compile") 2>conftest.er1
34588 grep -v '^ *+' conftest.er1
>conftest.err
34590 cat conftest.err
>&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } && {
34593 test -z "$ac_c_werror_flag" ||
34594 test ! -s conftest.err
34595 } && test -s conftest.
$ac_objext; then
34596 wx_cv_func_broken_swprintf_decl
=no
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.
$ac_ext >&5
34601 wx_cv_func_broken_swprintf_decl
=yes
34605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34609 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34610 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34612 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34613 cat >>confdefs.h
<<\_ACEOF
34614 #define HAVE_BROKEN_SWPRINTF_DECL 1
34620 wchar_headers
="#include <stdio.h>
34621 #include <wchar.h>"
34624 { echo "$as_me:$LINENO: checking for widec.h" >&5
34625 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34626 if test "${ac_cv_header_widec_h+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 cat >conftest.
$ac_ext <<_ACEOF
34632 cat confdefs.h
>>conftest.
$ac_ext
34633 cat >>conftest.
$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34635 $ac_includes_default
34639 rm -f conftest.
$ac_objext
34640 if { (ac_try
="$ac_compile"
34641 case "(($ac_try" in
34642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34643 *) ac_try_echo=$ac_try;;
34645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34646 (eval "$ac_compile") 2>conftest.er1
34648 grep -v '^ *+' conftest.er1 >conftest.err
34650 cat conftest.err >&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } && {
34653 test -z "$ac_c_werror_flag" ||
34654 test ! -s conftest.err
34655 } && test -s conftest.$ac_objext; then
34656 ac_cv_header_widec_h=yes
34658 echo "$as_me: failed program was:" >&5
34659 sed 's/^/| /' conftest.$ac_ext >&5
34661 ac_cv_header_widec_h=no
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34666 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34667 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34670 if test "$ac_cv_header_widec_h" = "yes"; then
34671 wchar_headers="$wchar_headers
34672 #include <widec.h>"
34677 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 cat >conftest.$ac_ext <<_ACEOF
34689 cat confdefs.h >>conftest.$ac_ext
34690 cat >>conftest.$ac_ext <<_ACEOF
34691 /* end confdefs.h. */
34694 $ac_includes_default
34710 rm -f conftest.$ac_objext conftest$ac_exeext
34711 if { (ac_try="$ac_link"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34714 *) ac_try_echo
=$ac_try;;
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_link") 2>conftest.er1
34719 grep -v '^ *+' conftest.er1
>conftest.err
34721 cat conftest.err
>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest
$ac_exeext &&
34727 $as_test_x conftest
$ac_exeext; then
34728 eval wx_cv_func_
$wx_func=yes
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.
$ac_ext >&5
34733 eval wx_cv_func_
$wx_func=no
34736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34737 conftest
$ac_exeext conftest.
$ac_ext
34740 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34741 { echo "$as_me:$LINENO: result: $ac_res" >&5
34742 echo "${ECHO_T}$ac_res" >&6; }
34744 if eval test \
$wx_cv_func_$wx_func = yes
34746 cat >>confdefs.h
<<_ACEOF
34747 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34758 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34759 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34760 cat >conftest.
$ac_ext <<_ACEOF
34763 cat confdefs.h
>>conftest.
$ac_ext
34764 cat >>conftest.
$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34775 rm -f conftest.
$ac_objext
34776 if { (ac_try
="$ac_compile"
34777 case "(($ac_try" in
34778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34779 *) ac_try_echo=$ac_try;;
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_compile") 2>conftest.er1
34784 grep -v '^ *+' conftest.er1 >conftest.err
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } && {
34789 test -z "$ac_c_werror_flag" ||
34790 test ! -s conftest.err
34791 } && test -s conftest.$ac_objext; then
34792 { echo "$as_me:$LINENO: result: yes" >&5
34793 echo "${ECHO_T}yes" >&6; }
34794 cat >>confdefs.h <<\_ACEOF
34795 #define HAVE__VSNWPRINTF 1
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34802 { echo "$as_me:$LINENO: result: no" >&5
34803 echo "${ECHO_T}no" >&6; }
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34809 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34811 for wx_func in fnmatch
34813 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34814 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34815 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 cat >conftest.$ac_ext <<_ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34827 #include <fnmatch.h>
34828 $ac_includes_default
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34848 *) ac_try_echo
=$ac_try;;
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34853 grep -v '^ *+' conftest.er1
>conftest.err
34855 cat conftest.err
>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest
$ac_exeext &&
34861 $as_test_x conftest
$ac_exeext; then
34862 eval wx_cv_func_
$wx_func=yes
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.
$ac_ext >&5
34867 eval wx_cv_func_
$wx_func=no
34870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34871 conftest
$ac_exeext conftest.
$ac_ext
34874 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34875 { echo "$as_me:$LINENO: result: $ac_res" >&5
34876 echo "${ECHO_T}$ac_res" >&6; }
34878 if eval test \
$wx_cv_func_$wx_func = yes
34880 cat >>confdefs.h
<<_ACEOF
34881 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34893 if test "$wxUSE_FILE" = "yes"; then
34895 for wx_func
in fsync
34897 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34898 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34899 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 cat >conftest.
$ac_ext <<_ACEOF
34907 cat confdefs.h
>>conftest.
$ac_ext
34908 cat >>conftest.
$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34912 $ac_includes_default
34928 rm -f conftest.
$ac_objext conftest
$ac_exeext
34929 if { (ac_try
="$ac_link"
34930 case "(($ac_try" in
34931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34932 *) ac_try_echo=$ac_try;;
34934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34935 (eval "$ac_link") 2>conftest.er1
34937 grep -v '^ *+' conftest.er1 >conftest.err
34939 cat conftest.err >&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } && {
34942 test -z "$ac_c_werror_flag" ||
34943 test ! -s conftest.err
34944 } && test -s conftest$ac_exeext &&
34945 $as_test_x conftest$ac_exeext; then
34946 eval wx_cv_func_$wx_func=yes
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.$ac_ext >&5
34951 eval wx_cv_func_$wx_func=no
34954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34955 conftest$ac_exeext conftest.$ac_ext
34958 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34959 { echo "$as_me:$LINENO: result: $ac_res" >&5
34960 echo "${ECHO_T}$ac_res" >&6; }
34962 if eval test \$wx_cv_func_$wx_func = yes
34964 cat >>confdefs.h <<_ACEOF
34965 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34978 for wx_func in round
34980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34986 cat >conftest.$ac_ext <<_ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34995 $ac_includes_default
35011 rm -f conftest.$ac_objext conftest$ac_exeext
35012 if { (ac_try="$ac_link"
35013 case "(($ac_try" in
35014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35015 *) ac_try_echo
=$ac_try;;
35017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35018 (eval "$ac_link") 2>conftest.er1
35020 grep -v '^ *+' conftest.er1
>conftest.err
35022 cat conftest.err
>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } && {
35025 test -z "$ac_c_werror_flag" ||
35026 test ! -s conftest.err
35027 } && test -s conftest
$ac_exeext &&
35028 $as_test_x conftest
$ac_exeext; then
35029 eval wx_cv_func_
$wx_func=yes
35031 echo "$as_me: failed program was:" >&5
35032 sed 's/^/| /' conftest.
$ac_ext >&5
35034 eval wx_cv_func_
$wx_func=no
35037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35038 conftest
$ac_exeext conftest.
$ac_ext
35041 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35042 { echo "$as_me:$LINENO: result: $ac_res" >&5
35043 echo "${ECHO_T}$ac_res" >&6; }
35045 if eval test \
$wx_cv_func_$wx_func = yes
35047 cat >>confdefs.h
<<_ACEOF
35048 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35059 if test "$TOOLKIT" != "MSW"; then
35065 # Check whether --with-libiconv-prefix was given.
35066 if test "${with_libiconv_prefix+set}" = set; then
35067 withval
=$with_libiconv_prefix;
35068 for dir
in `echo "$withval" | tr : ' '`; do
35069 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35070 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35076 { echo "$as_me:$LINENO: checking for iconv" >&5
35077 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35078 if test "${am_cv_func_iconv+set}" = set; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 am_cv_func_iconv
="no, consider installing GNU libiconv"
35084 cat >conftest.
$ac_ext <<_ACEOF
35087 cat confdefs.h
>>conftest.
$ac_ext
35088 cat >>conftest.
$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090 #include <stdlib.h>
35095 iconv_t cd = iconv_open("","");
35096 iconv(cd,NULL,NULL,NULL,NULL);
35102 rm -f conftest.
$ac_objext conftest
$ac_exeext
35103 if { (ac_try
="$ac_link"
35104 case "(($ac_try" in
35105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35106 *) ac_try_echo=$ac_try;;
35108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35109 (eval "$ac_link") 2>conftest.er1
35111 grep -v '^ *+' conftest.er1 >conftest.err
35113 cat conftest.err >&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } && {
35116 test -z "$ac_c_werror_flag" ||
35117 test ! -s conftest.err
35118 } && test -s conftest$ac_exeext &&
35119 $as_test_x conftest$ac_exeext; then
35120 am_cv_func_iconv=yes
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35129 conftest$ac_exeext conftest.$ac_ext
35130 if test "$am_cv_func_iconv" != yes; then
35131 am_save_LIBS="$LIBS"
35132 LIBS="$LIBS -liconv"
35133 cat >conftest.$ac_ext <<_ACEOF
35136 cat confdefs.h >>conftest.$ac_ext
35137 cat >>conftest.$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 #include <stdlib.h>
35144 iconv_t cd = iconv_open("","");
35145 iconv(cd,NULL,NULL,NULL,NULL);
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (ac_try="$ac_link"
35153 case "(($ac_try" in
35154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35155 *) ac_try_echo
=$ac_try;;
35157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 (eval "$ac_link") 2>conftest.er1
35160 grep -v '^ *+' conftest.er1
>conftest.err
35162 cat conftest.err
>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); } && {
35165 test -z "$ac_c_werror_flag" ||
35166 test ! -s conftest.err
35167 } && test -s conftest
$ac_exeext &&
35168 $as_test_x conftest
$ac_exeext; then
35169 am_cv_lib_iconv
=yes
35170 am_cv_func_iconv
=yes
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.
$ac_ext >&5
35178 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35179 conftest
$ac_exeext conftest.
$ac_ext
35180 LIBS
="$am_save_LIBS"
35184 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35185 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35186 if test "$am_cv_func_iconv" = yes; then
35188 cat >>confdefs.h
<<\_ACEOF
35189 #define HAVE_ICONV 1
35192 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35193 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35194 if test "${wx_cv_func_iconv_const+set}" = set; then
35195 echo $ECHO_N "(cached) $ECHO_C" >&6
35197 cat >conftest.
$ac_ext <<_ACEOF
35200 cat confdefs.h
>>conftest.
$ac_ext
35201 cat >>conftest.
$ac_ext <<_ACEOF
35202 /* end confdefs.h. */
35204 #include <stdlib.h>
35210 #if defined(__STDC__) || defined(__cplusplus)
35211 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35224 rm -f conftest.
$ac_objext
35225 if { (ac_try
="$ac_compile"
35226 case "(($ac_try" in
35227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35228 *) ac_try_echo=$ac_try;;
35230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35231 (eval "$ac_compile") 2>conftest.er1
35233 grep -v '^ *+' conftest.er1 >conftest.err
35235 cat conftest.err >&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } && {
35238 test -z "$ac_c_werror_flag" ||
35239 test ! -s conftest.err
35240 } && test -s conftest.$ac_objext; then
35241 wx_cv_func_iconv_const="no"
35243 echo "$as_me: failed program was:" >&5
35244 sed 's/^/| /' conftest.$ac_ext >&5
35246 wx_cv_func_iconv_const="yes"
35250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35253 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35254 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35257 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35258 iconv_const="const"
35262 cat >>confdefs.h <<_ACEOF
35263 #define ICONV_CONST $iconv_const
35268 if test "$am_cv_lib_iconv" = yes; then
35273 LIBS="$LIBICONV $LIBS"
35275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35277 for ac_func in sigaction
35279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 cat >conftest.$ac_ext <<_ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35293 #define $ac_func innocuous_$ac_func
35295 /* System header to define __stub macros and hopefully few prototypes,
35296 which can conflict with char $ac_func (); below.
35297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35298 <limits.h> exists even on freestanding compilers. */
35301 # include <limits.h>
35303 # include <assert.h>
35308 /* Override any GCC internal prototype to avoid an error.
35309 Use char because int might match the return type of a GCC
35310 builtin and then its argument prototype would still apply. */
35315 /* The GNU C library defines this for functions which it implements
35316 to always fail with ENOSYS. Some functions are actually named
35317 something starting with __ and the normal name is an alias. */
35318 #if defined __stub_$ac_func || defined __stub___$ac_func
35325 return $ac_func ();
35330 rm -f conftest.$ac_objext conftest$ac_exeext
35331 if { (ac_try="$ac_link"
35332 case "(($ac_try" in
35333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35334 *) ac_try_echo
=$ac_try;;
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_link") 2>conftest.er1
35339 grep -v '^ *+' conftest.er1
>conftest.err
35341 cat conftest.err
>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } && {
35344 test -z "$ac_c_werror_flag" ||
35345 test ! -s conftest.err
35346 } && test -s conftest
$ac_exeext &&
35347 $as_test_x conftest
$ac_exeext; then
35348 eval "$as_ac_var=yes"
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.
$ac_ext >&5
35353 eval "$as_ac_var=no"
35356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35357 conftest
$ac_exeext conftest.
$ac_ext
35359 ac_res
=`eval echo '${'$as_ac_var'}'`
35360 { echo "$as_me:$LINENO: result: $ac_res" >&5
35361 echo "${ECHO_T}$ac_res" >&6; }
35362 if test `eval echo '${'$as_ac_var'}'` = yes; then
35363 cat >>confdefs.h
<<_ACEOF
35364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35371 if test "$ac_cv_func_sigaction" = "no"; then
35372 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35373 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35374 wxUSE_ON_FATAL_EXCEPTION
=no
35377 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35378 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35379 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35380 if test "${wx_cv_type_sa_handler+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35385 ac_cpp
='$CXXCPP $CPPFLAGS'
35386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35390 cat >conftest.
$ac_ext <<_ACEOF
35393 cat confdefs.h
>>conftest.
$ac_ext
35394 cat >>conftest.
$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 #include <signal.h>
35401 extern void testSigHandler(int);
35403 struct sigaction sa;
35404 sa.sa_handler = testSigHandler;
35410 rm -f conftest.
$ac_objext
35411 if { (ac_try
="$ac_compile"
35412 case "(($ac_try" in
35413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35414 *) ac_try_echo=$ac_try;;
35416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35417 (eval "$ac_compile") 2>conftest.er1
35419 grep -v '^ *+' conftest.er1 >conftest.err
35421 cat conftest.err >&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); } && {
35424 test -z "$ac_cxx_werror_flag" ||
35425 test ! -s conftest.err
35426 } && test -s conftest.$ac_objext; then
35428 wx_cv_type_sa_handler=int
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35435 wx_cv_type_sa_handler=void
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441 ac_cpp='$CPP $CPPFLAGS'
35442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35448 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35449 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35451 cat >>confdefs.h <<_ACEOF
35452 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35458 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35459 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35460 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35461 if test "${wx_cv_func_backtrace+set}" = set; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35466 ac_cpp='$CXXCPP $CPPFLAGS'
35467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35471 cat >conftest.$ac_ext <<_ACEOF
35474 cat confdefs.h >>conftest.$ac_ext
35475 cat >>conftest.$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35477 #include <execinfo.h>
35485 backtrace(trace, 1);
35486 messages = backtrace_symbols(trace, 1);
35492 rm -f conftest.$ac_objext
35493 if { (ac_try="$ac_compile"
35494 case "(($ac_try" in
35495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35496 *) ac_try_echo
=$ac_try;;
35498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35499 (eval "$ac_compile") 2>conftest.er1
35501 grep -v '^ *+' conftest.er1
>conftest.err
35503 cat conftest.err
>&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } && {
35506 test -z "$ac_cxx_werror_flag" ||
35507 test ! -s conftest.err
35508 } && test -s conftest.
$ac_objext; then
35509 wx_cv_func_backtrace
=yes
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.
$ac_ext >&5
35514 wx_cv_func_backtrace
=no
35518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35520 ac_cpp
='$CPP $CPPFLAGS'
35521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35528 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35529 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35532 if test "$wx_cv_func_backtrace" = "no"; then
35533 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35534 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35535 wxUSE_STACKWALKER
=no
35537 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35538 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35539 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35540 echo $ECHO_N "(cached) $ECHO_C" >&6
35544 ac_cpp
='$CXXCPP $CPPFLAGS'
35545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35549 cat >conftest.
$ac_ext <<_ACEOF
35552 cat confdefs.h
>>conftest.
$ac_ext
35553 cat >>conftest.
$ac_ext <<_ACEOF
35554 /* end confdefs.h. */
35555 #include <cxxabi.h>
35561 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35567 rm -f conftest.
$ac_objext conftest
$ac_exeext
35568 if { (ac_try
="$ac_link"
35569 case "(($ac_try" in
35570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35571 *) ac_try_echo=$ac_try;;
35573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35574 (eval "$ac_link") 2>conftest.er1
35576 grep -v '^ *+' conftest.er1 >conftest.err
35578 cat conftest.err >&5
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); } && {
35581 test -z "$ac_cxx_werror_flag" ||
35582 test ! -s conftest.err
35583 } && test -s conftest$ac_exeext &&
35584 $as_test_x conftest$ac_exeext; then
35585 wx_cv_func_cxa_demangle=yes
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.$ac_ext >&5
35590 wx_cv_func_cxa_demangle=no
35594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35595 conftest$ac_exeext conftest.$ac_ext
35597 ac_cpp='$CPP $CPPFLAGS'
35598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35605 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35606 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35608 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35609 cat >>confdefs.h <<\_ACEOF
35610 #define HAVE_CXA_DEMANGLE 1
35617 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35618 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35619 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35620 wxUSE_STACKWALKER=no
35626 for ac_func in mkstemp mktemp
35628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 cat >conftest.$ac_ext <<_ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35642 #define $ac_func innocuous_$ac_func
35644 /* System header to define __stub macros and hopefully few prototypes,
35645 which can conflict with char $ac_func (); below.
35646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35647 <limits.h> exists even on freestanding compilers. */
35650 # include <limits.h>
35652 # include <assert.h>
35657 /* Override any GCC internal prototype to avoid an error.
35658 Use char because int might match the return type of a GCC
35659 builtin and then its argument prototype would still apply. */
35664 /* The GNU C library defines this for functions which it implements
35665 to always fail with ENOSYS. Some functions are actually named
35666 something starting with __ and the normal name is an alias. */
35667 #if defined __stub_$ac_func || defined __stub___$ac_func
35674 return $ac_func ();
35679 rm -f conftest.$ac_objext conftest$ac_exeext
35680 if { (ac_try="$ac_link"
35681 case "(($ac_try" in
35682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35683 *) ac_try_echo
=$ac_try;;
35685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35686 (eval "$ac_link") 2>conftest.er1
35688 grep -v '^ *+' conftest.er1
>conftest.err
35690 cat conftest.err
>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); } && {
35693 test -z "$ac_c_werror_flag" ||
35694 test ! -s conftest.err
35695 } && test -s conftest
$ac_exeext &&
35696 $as_test_x conftest
$ac_exeext; then
35697 eval "$as_ac_var=yes"
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.
$ac_ext >&5
35702 eval "$as_ac_var=no"
35705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35706 conftest
$ac_exeext conftest.
$ac_ext
35708 ac_res
=`eval echo '${'$as_ac_var'}'`
35709 { echo "$as_me:$LINENO: result: $ac_res" >&5
35710 echo "${ECHO_T}$ac_res" >&6; }
35711 if test `eval echo '${'$as_ac_var'}'` = yes; then
35712 cat >>confdefs.h
<<_ACEOF
35713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35720 { echo "$as_me:$LINENO: checking for statfs" >&5
35721 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35722 if test "${wx_cv_func_statfs+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 cat >conftest.
$ac_ext <<_ACEOF
35728 cat confdefs.h
>>conftest.
$ac_ext
35729 cat >>conftest.
$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35732 #if defined(__BSD__)
35733 #include <sys/param.h>
35734 #include <sys/mount.h>
35736 #include <sys/vfs.h>
35754 rm -f conftest.
$ac_objext
35755 if { (ac_try
="$ac_compile"
35756 case "(($ac_try" in
35757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35758 *) ac_try_echo=$ac_try;;
35760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35761 (eval "$ac_compile") 2>conftest.er1
35763 grep -v '^ *+' conftest.er1 >conftest.err
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } && {
35768 test -z "$ac_c_werror_flag" ||
35769 test ! -s conftest.err
35770 } && test -s conftest.$ac_objext; then
35771 wx_cv_func_statfs=yes
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35776 wx_cv_func_statfs=no
35780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35784 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35786 if test "$wx_cv_func_statfs" = "yes"; then
35787 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35788 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35789 if test "${wx_cv_func_statfs_decl+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 ac_cpp='$CXXCPP $CPPFLAGS'
35794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35798 cat >conftest.$ac_ext <<_ACEOF
35801 cat confdefs.h >>conftest.$ac_ext
35802 cat >>conftest.$ac_ext <<_ACEOF
35803 /* end confdefs.h. */
35805 #if defined(__BSD__)
35806 #include <sys/param.h>
35807 #include <sys/mount.h>
35809 #include <sys/vfs.h>
35823 rm -f conftest.$ac_objext
35824 if { (ac_try="$ac_compile"
35825 case "(($ac_try" in
35826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35827 *) ac_try_echo
=$ac_try;;
35829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35830 (eval "$ac_compile") 2>conftest.er1
35832 grep -v '^ *+' conftest.er1
>conftest.err
35834 cat conftest.err
>&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } && {
35837 test -z "$ac_cxx_werror_flag" ||
35838 test ! -s conftest.err
35839 } && test -s conftest.
$ac_objext; then
35840 wx_cv_func_statfs_decl
=yes
35842 echo "$as_me: failed program was:" >&5
35843 sed 's/^/| /' conftest.
$ac_ext >&5
35845 wx_cv_func_statfs_decl
=no
35849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35851 ac_cpp
='$CPP $CPPFLAGS'
35852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35858 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35859 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35861 if test "$wx_cv_func_statfs_decl" = "yes"; then
35862 cat >>confdefs.h
<<\_ACEOF
35863 #define HAVE_STATFS_DECL 1
35868 wx_cv_type_statvfs_t
="struct statfs"
35869 cat >>confdefs.h
<<\_ACEOF
35870 #define HAVE_STATFS 1
35874 { echo "$as_me:$LINENO: checking for statvfs" >&5
35875 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35876 if test "${wx_cv_func_statvfs+set}" = set; then
35877 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 cat >conftest.
$ac_ext <<_ACEOF
35882 cat confdefs.h
>>conftest.
$ac_ext
35883 cat >>conftest.
$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35886 #include <stddef.h>
35887 #include <sys/statvfs.h>
35893 statvfs("/", NULL);
35899 rm -f conftest.
$ac_objext
35900 if { (ac_try
="$ac_compile"
35901 case "(($ac_try" in
35902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35903 *) ac_try_echo=$ac_try;;
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_compile") 2>conftest.er1
35908 grep -v '^ *+' conftest.er1 >conftest.err
35910 cat conftest.err >&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); } && {
35913 test -z "$ac_c_werror_flag" ||
35914 test ! -s conftest.err
35915 } && test -s conftest.$ac_objext; then
35916 wx_cv_func_statvfs=yes
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35921 wx_cv_func_statvfs=no
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35929 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35931 if test "$wx_cv_func_statvfs" = "yes"; then
35932 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35933 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35934 if test "${wx_cv_type_statvfs_t+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35938 ac_cpp='$CXXCPP $CPPFLAGS'
35939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35943 cat >conftest.$ac_ext <<_ACEOF
35946 cat confdefs.h >>conftest.$ac_ext
35947 cat >>conftest.$ac_ext <<_ACEOF
35948 /* end confdefs.h. */
35950 #include <sys/statvfs.h>
35967 rm -f conftest.$ac_objext
35968 if { (ac_try="$ac_compile"
35969 case "(($ac_try" in
35970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35971 *) ac_try_echo
=$ac_try;;
35973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35974 (eval "$ac_compile") 2>conftest.er1
35976 grep -v '^ *+' conftest.er1
>conftest.err
35978 cat conftest.err
>&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } && {
35981 test -z "$ac_cxx_werror_flag" ||
35982 test ! -s conftest.err
35983 } && test -s conftest.
$ac_objext; then
35984 wx_cv_type_statvfs_t
=statvfs_t
35986 echo "$as_me: failed program was:" >&5
35987 sed 's/^/| /' conftest.
$ac_ext >&5
35990 cat >conftest.
$ac_ext <<_ACEOF
35993 cat confdefs.h
>>conftest.
$ac_ext
35994 cat >>conftest.
$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35997 #include <sys/statvfs.h>
36014 rm -f conftest.
$ac_objext
36015 if { (ac_try
="$ac_compile"
36016 case "(($ac_try" in
36017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_compile") 2>conftest.er1
36023 grep -v '^ *+' conftest.er1 >conftest.err
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_cxx_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest.$ac_objext; then
36031 wx_cv_type_statvfs_t="struct statvfs"
36033 echo "$as_me: failed program was:" >&5
36034 sed 's/^/| /' conftest.$ac_ext >&5
36036 wx_cv_type_statvfs_t="unknown"
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36054 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36055 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36057 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36058 cat >>confdefs.h <<\_ACEOF
36059 #define HAVE_STATVFS 1
36064 wx_cv_type_statvfs_t="unknown"
36068 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36069 cat >>confdefs.h <<_ACEOF
36070 #define WX_STATFS_T $wx_cv_type_statvfs_t
36074 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36075 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36078 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36081 for ac_func in fcntl flock
36083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 cat >conftest.$ac_ext <<_ACEOF
36092 cat confdefs.h >>conftest.$ac_ext
36093 cat >>conftest.$ac_ext <<_ACEOF
36094 /* end confdefs.h. */
36095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36097 #define $ac_func innocuous_$ac_func
36099 /* System header to define __stub macros and hopefully few prototypes,
36100 which can conflict with char $ac_func (); below.
36101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36102 <limits.h> exists even on freestanding compilers. */
36105 # include <limits.h>
36107 # include <assert.h>
36112 /* Override any GCC internal prototype to avoid an error.
36113 Use char because int might match the return type of a GCC
36114 builtin and then its argument prototype would still apply. */
36119 /* The GNU C library defines this for functions which it implements
36120 to always fail with ENOSYS. Some functions are actually named
36121 something starting with __ and the normal name is an alias. */
36122 #if defined __stub_$ac_func || defined __stub___$ac_func
36129 return $ac_func ();
36134 rm -f conftest.$ac_objext conftest$ac_exeext
36135 if { (ac_try="$ac_link"
36136 case "(($ac_try" in
36137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36138 *) ac_try_echo
=$ac_try;;
36140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36141 (eval "$ac_link") 2>conftest.er1
36143 grep -v '^ *+' conftest.er1
>conftest.err
36145 cat conftest.err
>&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } && {
36148 test -z "$ac_c_werror_flag" ||
36149 test ! -s conftest.err
36150 } && test -s conftest
$ac_exeext &&
36151 $as_test_x conftest
$ac_exeext; then
36152 eval "$as_ac_var=yes"
36154 echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.
$ac_ext >&5
36157 eval "$as_ac_var=no"
36160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36161 conftest
$ac_exeext conftest.
$ac_ext
36163 ac_res
=`eval echo '${'$as_ac_var'}'`
36164 { echo "$as_me:$LINENO: result: $ac_res" >&5
36165 echo "${ECHO_T}$ac_res" >&6; }
36166 if test `eval echo '${'$as_ac_var'}'` = yes; then
36167 cat >>confdefs.h
<<_ACEOF
36168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36175 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36176 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36177 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36178 wxUSE_SNGLINST_CHECKER
=no
36183 for ac_func
in timegm
36185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36188 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 cat >conftest.
$ac_ext <<_ACEOF
36194 cat confdefs.h
>>conftest.
$ac_ext
36195 cat >>conftest.
$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36199 #define $ac_func innocuous_$ac_func
36201 /* System header to define __stub macros and hopefully few prototypes,
36202 which can conflict with char $ac_func (); below.
36203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36204 <limits.h> exists even on freestanding compilers. */
36207 # include <limits.h>
36209 # include <assert.h>
36214 /* Override any GCC internal prototype to avoid an error.
36215 Use char because int might match the return type of a GCC
36216 builtin and then its argument prototype would still apply. */
36221 /* The GNU C library defines this for functions which it implements
36222 to always fail with ENOSYS. Some functions are actually named
36223 something starting with __ and the normal name is an alias. */
36224 #if defined __stub_$ac_func || defined __stub___$ac_func
36231 return $ac_func ();
36236 rm -f conftest.
$ac_objext conftest
$ac_exeext
36237 if { (ac_try
="$ac_link"
36238 case "(($ac_try" in
36239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36240 *) ac_try_echo=$ac_try;;
36242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36243 (eval "$ac_link") 2>conftest.er1
36245 grep -v '^ *+' conftest.er1 >conftest.err
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } && {
36250 test -z "$ac_c_werror_flag" ||
36251 test ! -s conftest.err
36252 } && test -s conftest$ac_exeext &&
36253 $as_test_x conftest$ac_exeext; then
36254 eval "$as_ac_var=yes"
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.$ac_ext >&5
36259 eval "$as_ac_var=no"
36262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36263 conftest$ac_exeext conftest.$ac_ext
36265 ac_res=`eval echo '${'$as_ac_var'}'`
36266 { echo "$as_me:$LINENO: result: $ac_res" >&5
36267 echo "${ECHO_T}$ac_res" >&6; }
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h <<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36279 for ac_func in putenv setenv
36281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36287 cat >conftest.$ac_ext <<_ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36295 #define $ac_func innocuous_$ac_func
36297 /* System header to define __stub macros and hopefully few prototypes,
36298 which can conflict with char $ac_func (); below.
36299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36300 <limits.h> exists even on freestanding compilers. */
36303 # include <limits.h>
36305 # include <assert.h>
36310 /* Override any GCC internal prototype to avoid an error.
36311 Use char because int might match the return type of a GCC
36312 builtin and then its argument prototype would still apply. */
36317 /* The GNU C library defines this for functions which it implements
36318 to always fail with ENOSYS. Some functions are actually named
36319 something starting with __ and the normal name is an alias. */
36320 #if defined __stub_$ac_func || defined __stub___$ac_func
36327 return $ac_func ();
36332 rm -f conftest.$ac_objext conftest$ac_exeext
36333 if { (ac_try="$ac_link"
36334 case "(($ac_try" in
36335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36336 *) ac_try_echo
=$ac_try;;
36338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36339 (eval "$ac_link") 2>conftest.er1
36341 grep -v '^ *+' conftest.er1
>conftest.err
36343 cat conftest.err
>&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } && {
36346 test -z "$ac_c_werror_flag" ||
36347 test ! -s conftest.err
36348 } && test -s conftest
$ac_exeext &&
36349 $as_test_x conftest
$ac_exeext; then
36350 eval "$as_ac_var=yes"
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.
$ac_ext >&5
36355 eval "$as_ac_var=no"
36358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36359 conftest
$ac_exeext conftest.
$ac_ext
36361 ac_res
=`eval echo '${'$as_ac_var'}'`
36362 { echo "$as_me:$LINENO: result: $ac_res" >&5
36363 echo "${ECHO_T}$ac_res" >&6; }
36364 if test `eval echo '${'$as_ac_var'}'` = yes; then
36365 cat >>confdefs.h
<<_ACEOF
36366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36373 HAVE_SOME_SLEEP_FUNC
=0
36374 if test "$USE_BEOS" = 1; then
36375 cat >>confdefs.h
<<\_ACEOF
36376 #define HAVE_SLEEP 1
36379 HAVE_SOME_SLEEP_FUNC
=1
36382 if test "$USE_DARWIN" = 1; then
36383 cat >>confdefs.h
<<\_ACEOF
36384 #define HAVE_USLEEP 1
36387 HAVE_SOME_SLEEP_FUNC
=1
36390 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36393 for ac_func
in nanosleep
36395 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36398 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 cat >conftest.
$ac_ext <<_ACEOF
36404 cat confdefs.h
>>conftest.
$ac_ext
36405 cat >>conftest.
$ac_ext <<_ACEOF
36406 /* end confdefs.h. */
36407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36409 #define $ac_func innocuous_$ac_func
36411 /* System header to define __stub macros and hopefully few prototypes,
36412 which can conflict with char $ac_func (); below.
36413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36414 <limits.h> exists even on freestanding compilers. */
36417 # include <limits.h>
36419 # include <assert.h>
36424 /* Override any GCC internal prototype to avoid an error.
36425 Use char because int might match the return type of a GCC
36426 builtin and then its argument prototype would still apply. */
36431 /* The GNU C library defines this for functions which it implements
36432 to always fail with ENOSYS. Some functions are actually named
36433 something starting with __ and the normal name is an alias. */
36434 #if defined __stub_$ac_func || defined __stub___$ac_func
36441 return $ac_func ();
36446 rm -f conftest.
$ac_objext conftest
$ac_exeext
36447 if { (ac_try
="$ac_link"
36448 case "(($ac_try" in
36449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_link") 2>conftest.er1
36455 grep -v '^ *+' conftest.er1 >conftest.err
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest$ac_exeext &&
36463 $as_test_x conftest$ac_exeext; then
36464 eval "$as_ac_var=yes"
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36469 eval "$as_ac_var=no"
36472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36473 conftest$ac_exeext conftest.$ac_ext
36475 ac_res=`eval echo '${'$as_ac_var'}'`
36476 { echo "$as_me:$LINENO: result: $ac_res" >&5
36477 echo "${ECHO_T}$ac_res" >&6; }
36478 if test `eval echo '${'$as_ac_var'}'` = yes; then
36479 cat >>confdefs.h <<_ACEOF
36480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36482 cat >>confdefs.h <<\_ACEOF
36483 #define HAVE_NANOSLEEP 1
36488 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36489 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36490 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36493 ac_check_lib_save_LIBS=$LIBS
36494 LIBS="-lposix4 $LIBS"
36495 cat >conftest.$ac_ext <<_ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36502 /* Override any GCC internal prototype to avoid an error.
36503 Use char because int might match the return type of a GCC
36504 builtin and then its argument prototype would still apply. */
36512 return nanosleep ();
36517 rm -f conftest.$ac_objext conftest$ac_exeext
36518 if { (ac_try="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36521 *) ac_try_echo
=$ac_try;;
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36526 grep -v '^ *+' conftest.er1
>conftest.err
36528 cat conftest.err
>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_c_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest
$ac_exeext &&
36534 $as_test_x conftest
$ac_exeext; then
36535 ac_cv_lib_posix4_nanosleep
=yes
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.
$ac_ext >&5
36540 ac_cv_lib_posix4_nanosleep
=no
36543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36544 conftest
$ac_exeext conftest.
$ac_ext
36545 LIBS
=$ac_check_lib_save_LIBS
36547 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36548 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36549 if test $ac_cv_lib_posix4_nanosleep = yes; then
36551 cat >>confdefs.h
<<\_ACEOF
36552 #define HAVE_NANOSLEEP 1
36555 POSIX4_LINK
=" -lposix4"
36560 for wx_func
in usleep
36562 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36563 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36564 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36565 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 cat >conftest.
$ac_ext <<_ACEOF
36572 cat confdefs.h
>>conftest.
$ac_ext
36573 cat >>conftest.
$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36577 $ac_includes_default
36593 rm -f conftest.
$ac_objext conftest
$ac_exeext
36594 if { (ac_try
="$ac_link"
36595 case "(($ac_try" in
36596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36597 *) ac_try_echo=$ac_try;;
36599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36600 (eval "$ac_link") 2>conftest.er1
36602 grep -v '^ *+' conftest.er1 >conftest.err
36604 cat conftest.err >&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); } && {
36607 test -z "$ac_c_werror_flag" ||
36608 test ! -s conftest.err
36609 } && test -s conftest$ac_exeext &&
36610 $as_test_x conftest$ac_exeext; then
36611 eval wx_cv_func_$wx_func=yes
36613 echo "$as_me: failed program was:" >&5
36614 sed 's/^/| /' conftest.$ac_ext >&5
36616 eval wx_cv_func_$wx_func=no
36619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36620 conftest$ac_exeext conftest.$ac_ext
36623 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36624 { echo "$as_me:$LINENO: result: $ac_res" >&5
36625 echo "${ECHO_T}$ac_res" >&6; }
36627 if eval test \$wx_cv_func_$wx_func = yes
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36636 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36637 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36654 for wx_func in uname
36656 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36657 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36658 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 cat >conftest.$ac_ext <<_ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36670 #include <sys/utsname.h>
36671 $ac_includes_default
36687 rm -f conftest.$ac_objext conftest$ac_exeext
36688 if { (ac_try="$ac_link"
36689 case "(($ac_try" in
36690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36691 *) ac_try_echo
=$ac_try;;
36693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36694 (eval "$ac_link") 2>conftest.er1
36696 grep -v '^ *+' conftest.er1
>conftest.err
36698 cat conftest.err
>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } && {
36701 test -z "$ac_c_werror_flag" ||
36702 test ! -s conftest.err
36703 } && test -s conftest
$ac_exeext &&
36704 $as_test_x conftest
$ac_exeext; then
36705 eval wx_cv_func_
$wx_func=yes
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.
$ac_ext >&5
36710 eval wx_cv_func_
$wx_func=no
36713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36714 conftest
$ac_exeext conftest.
$ac_ext
36717 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36718 { echo "$as_me:$LINENO: result: $ac_res" >&5
36719 echo "${ECHO_T}$ac_res" >&6; }
36721 if eval test \
$wx_cv_func_$wx_func = yes
36723 cat >>confdefs.h
<<_ACEOF
36724 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36734 if test "$wx_cv_func_uname" != yes; then
36736 for wx_func
in gethostname
36738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36740 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36744 cat >conftest.
$ac_ext <<_ACEOF
36748 cat confdefs.h
>>conftest.
$ac_ext
36749 cat >>conftest.
$ac_ext <<_ACEOF
36750 /* end confdefs.h. */
36753 $ac_includes_default
36769 rm -f conftest.
$ac_objext conftest
$ac_exeext
36770 if { (ac_try
="$ac_link"
36771 case "(($ac_try" in
36772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36773 *) ac_try_echo=$ac_try;;
36775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36776 (eval "$ac_link") 2>conftest.er1
36778 grep -v '^ *+' conftest.er1 >conftest.err
36780 cat conftest.err >&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); } && {
36783 test -z "$ac_c_werror_flag" ||
36784 test ! -s conftest.err
36785 } && test -s conftest$ac_exeext &&
36786 $as_test_x conftest$ac_exeext; then
36787 eval wx_cv_func_$wx_func=yes
36789 echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.$ac_ext >&5
36792 eval wx_cv_func_$wx_func=no
36795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36796 conftest$ac_exeext conftest.$ac_ext
36799 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36800 { echo "$as_me:$LINENO: result: $ac_res" >&5
36801 echo "${ECHO_T}$ac_res" >&6; }
36803 if eval test \$wx_cv_func_$wx_func = yes
36805 cat >>confdefs.h <<_ACEOF
36806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36819 for wx_func in strtok_r
36821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 cat >conftest.$ac_ext <<_ACEOF
36831 cat confdefs.h >>conftest.$ac_ext
36832 cat >>conftest.$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36836 $ac_includes_default
36852 rm -f conftest.$ac_objext conftest$ac_exeext
36853 if { (ac_try="$ac_link"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36856 *) ac_try_echo
=$ac_try;;
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_link") 2>conftest.er1
36861 grep -v '^ *+' conftest.er1
>conftest.err
36863 cat conftest.err
>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_c_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest
$ac_exeext &&
36869 $as_test_x conftest
$ac_exeext; then
36870 eval wx_cv_func_
$wx_func=yes
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.
$ac_ext >&5
36875 eval wx_cv_func_
$wx_func=no
36878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36879 conftest
$ac_exeext conftest.
$ac_ext
36882 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36883 { echo "$as_me:$LINENO: result: $ac_res" >&5
36884 echo "${ECHO_T}$ac_res" >&6; }
36886 if eval test \
$wx_cv_func_$wx_func = yes
36888 cat >>confdefs.h
<<_ACEOF
36889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36902 for ac_func
in inet_addr
36904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36907 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 cat >conftest.
$ac_ext <<_ACEOF
36913 cat confdefs.h
>>conftest.
$ac_ext
36914 cat >>conftest.
$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36918 #define $ac_func innocuous_$ac_func
36920 /* System header to define __stub macros and hopefully few prototypes,
36921 which can conflict with char $ac_func (); below.
36922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36923 <limits.h> exists even on freestanding compilers. */
36926 # include <limits.h>
36928 # include <assert.h>
36933 /* Override any GCC internal prototype to avoid an error.
36934 Use char because int might match the return type of a GCC
36935 builtin and then its argument prototype would still apply. */
36940 /* The GNU C library defines this for functions which it implements
36941 to always fail with ENOSYS. Some functions are actually named
36942 something starting with __ and the normal name is an alias. */
36943 #if defined __stub_$ac_func || defined __stub___$ac_func
36950 return $ac_func ();
36955 rm -f conftest.
$ac_objext conftest
$ac_exeext
36956 if { (ac_try
="$ac_link"
36957 case "(($ac_try" in
36958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36959 *) ac_try_echo=$ac_try;;
36961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36962 (eval "$ac_link") 2>conftest.er1
36964 grep -v '^ *+' conftest.er1 >conftest.err
36966 cat conftest.err >&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); } && {
36969 test -z "$ac_c_werror_flag" ||
36970 test ! -s conftest.err
36971 } && test -s conftest$ac_exeext &&
36972 $as_test_x conftest$ac_exeext; then
36973 eval "$as_ac_var=yes"
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36978 eval "$as_ac_var=no"
36981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36982 conftest$ac_exeext conftest.$ac_ext
36984 ac_res=`eval echo '${'$as_ac_var'}'`
36985 { echo "$as_me:$LINENO: result: $ac_res" >&5
36986 echo "${ECHO_T}$ac_res" >&6; }
36987 if test `eval echo '${'$as_ac_var'}'` = yes; then
36988 cat >>confdefs.h <<_ACEOF
36989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_INET_ADDR 1
36997 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36998 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
36999 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37002 ac_check_lib_save_LIBS=$LIBS
37004 cat >conftest.$ac_ext <<_ACEOF
37007 cat confdefs.h >>conftest.$ac_ext
37008 cat >>conftest.$ac_ext <<_ACEOF
37009 /* end confdefs.h. */
37011 /* Override any GCC internal prototype to avoid an error.
37012 Use char because int might match the return type of a GCC
37013 builtin and then its argument prototype would still apply. */
37021 return inet_addr ();
37026 rm -f conftest.$ac_objext conftest$ac_exeext
37027 if { (ac_try="$ac_link"
37028 case "(($ac_try" in
37029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37030 *) ac_try_echo
=$ac_try;;
37032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37033 (eval "$ac_link") 2>conftest.er1
37035 grep -v '^ *+' conftest.er1
>conftest.err
37037 cat conftest.err
>&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); } && {
37040 test -z "$ac_c_werror_flag" ||
37041 test ! -s conftest.err
37042 } && test -s conftest
$ac_exeext &&
37043 $as_test_x conftest
$ac_exeext; then
37044 ac_cv_lib_nsl_inet_addr
=yes
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.
$ac_ext >&5
37049 ac_cv_lib_nsl_inet_addr
=no
37052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37053 conftest
$ac_exeext conftest.
$ac_ext
37054 LIBS
=$ac_check_lib_save_LIBS
37056 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37057 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37058 if test $ac_cv_lib_nsl_inet_addr = yes; then
37062 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37063 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37064 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 ac_check_lib_save_LIBS
=$LIBS
37068 LIBS
="-lresolv $LIBS"
37069 cat >conftest.
$ac_ext <<_ACEOF
37072 cat confdefs.h
>>conftest.
$ac_ext
37073 cat >>conftest.
$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37076 /* Override any GCC internal prototype to avoid an error.
37077 Use char because int might match the return type of a GCC
37078 builtin and then its argument prototype would still apply. */
37086 return inet_addr ();
37091 rm -f conftest.
$ac_objext conftest
$ac_exeext
37092 if { (ac_try
="$ac_link"
37093 case "(($ac_try" in
37094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37095 *) ac_try_echo=$ac_try;;
37097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37098 (eval "$ac_link") 2>conftest.er1
37100 grep -v '^ *+' conftest.er1 >conftest.err
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } && {
37105 test -z "$ac_c_werror_flag" ||
37106 test ! -s conftest.err
37107 } && test -s conftest$ac_exeext &&
37108 $as_test_x conftest$ac_exeext; then
37109 ac_cv_lib_resolv_inet_addr=yes
37111 echo "$as_me: failed program was:" >&5
37112 sed 's/^/| /' conftest.$ac_ext >&5
37114 ac_cv_lib_resolv_inet_addr=no
37117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37118 conftest$ac_exeext conftest.$ac_ext
37119 LIBS=$ac_check_lib_save_LIBS
37121 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37122 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37123 if test $ac_cv_lib_resolv_inet_addr = yes; then
37127 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37128 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37129 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 ac_check_lib_save_LIBS=$LIBS
37133 LIBS="-lsocket $LIBS"
37134 cat >conftest.$ac_ext <<_ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37141 /* Override any GCC internal prototype to avoid an error.
37142 Use char because int might match the return type of a GCC
37143 builtin and then its argument prototype would still apply. */
37151 return inet_addr ();
37156 rm -f conftest.$ac_objext conftest$ac_exeext
37157 if { (ac_try="$ac_link"
37158 case "(($ac_try" in
37159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37160 *) ac_try_echo
=$ac_try;;
37162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37163 (eval "$ac_link") 2>conftest.er1
37165 grep -v '^ *+' conftest.er1
>conftest.err
37167 cat conftest.err
>&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } && {
37170 test -z "$ac_c_werror_flag" ||
37171 test ! -s conftest.err
37172 } && test -s conftest
$ac_exeext &&
37173 $as_test_x conftest
$ac_exeext; then
37174 ac_cv_lib_socket_inet_addr
=yes
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.
$ac_ext >&5
37179 ac_cv_lib_socket_inet_addr
=no
37182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37183 conftest
$ac_exeext conftest.
$ac_ext
37184 LIBS
=$ac_check_lib_save_LIBS
37186 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37187 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37188 if test $ac_cv_lib_socket_inet_addr = yes; then
37208 for ac_func
in inet_aton
37210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37213 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 cat >conftest.
$ac_ext <<_ACEOF
37219 cat confdefs.h
>>conftest.
$ac_ext
37220 cat >>conftest.
$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37224 #define $ac_func innocuous_$ac_func
37226 /* System header to define __stub macros and hopefully few prototypes,
37227 which can conflict with char $ac_func (); below.
37228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37229 <limits.h> exists even on freestanding compilers. */
37232 # include <limits.h>
37234 # include <assert.h>
37239 /* Override any GCC internal prototype to avoid an error.
37240 Use char because int might match the return type of a GCC
37241 builtin and then its argument prototype would still apply. */
37246 /* The GNU C library defines this for functions which it implements
37247 to always fail with ENOSYS. Some functions are actually named
37248 something starting with __ and the normal name is an alias. */
37249 #if defined __stub_$ac_func || defined __stub___$ac_func
37256 return $ac_func ();
37261 rm -f conftest.
$ac_objext conftest
$ac_exeext
37262 if { (ac_try
="$ac_link"
37263 case "(($ac_try" in
37264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37265 *) ac_try_echo=$ac_try;;
37267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37268 (eval "$ac_link") 2>conftest.er1
37270 grep -v '^ *+' conftest.er1 >conftest.err
37272 cat conftest.err >&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } && {
37275 test -z "$ac_c_werror_flag" ||
37276 test ! -s conftest.err
37277 } && test -s conftest$ac_exeext &&
37278 $as_test_x conftest$ac_exeext; then
37279 eval "$as_ac_var=yes"
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37284 eval "$as_ac_var=no"
37287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37288 conftest$ac_exeext conftest.$ac_ext
37290 ac_res=`eval echo '${'$as_ac_var'}'`
37291 { echo "$as_me:$LINENO: result: $ac_res" >&5
37292 echo "${ECHO_T}$ac_res" >&6; }
37293 if test `eval echo '${'$as_ac_var'}'` = yes; then
37294 cat >>confdefs.h <<_ACEOF
37295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37297 cat >>confdefs.h <<\_ACEOF
37298 #define HAVE_INET_ATON 1
37303 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37304 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37305 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37306 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 ac_check_lib_save_LIBS=$LIBS
37310 LIBS="-l$INET_LINK $LIBS"
37311 cat >conftest.$ac_ext <<_ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37318 /* Override any GCC internal prototype to avoid an error.
37319 Use char because int might match the return type of a GCC
37320 builtin and then its argument prototype would still apply. */
37328 return inet_aton ();
37333 rm -f conftest.$ac_objext conftest$ac_exeext
37334 if { (ac_try="$ac_link"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37337 *) ac_try_echo
=$ac_try;;
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_link") 2>conftest.er1
37342 grep -v '^ *+' conftest.er1
>conftest.err
37344 cat conftest.err
>&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest
$ac_exeext &&
37350 $as_test_x conftest
$ac_exeext; then
37351 eval "$as_ac_Lib=yes"
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.
$ac_ext >&5
37356 eval "$as_ac_Lib=no"
37359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37360 conftest
$ac_exeext conftest.
$ac_ext
37361 LIBS
=$ac_check_lib_save_LIBS
37363 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37364 { echo "$as_me:$LINENO: result: $ac_res" >&5
37365 echo "${ECHO_T}$ac_res" >&6; }
37366 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37367 cat >>confdefs.h
<<\_ACEOF
37368 #define HAVE_INET_ATON 1
37378 if test "x$INET_LINK" != "x"; then
37379 cat >>confdefs.h
<<\_ACEOF
37380 #define HAVE_INET_ADDR 1
37383 INET_LINK
=" -l$INET_LINK"
37387 for wx_func
in fdopen
37389 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37390 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37391 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37395 cat >conftest.
$ac_ext <<_ACEOF
37399 cat confdefs.h
>>conftest.
$ac_ext
37400 cat >>conftest.
$ac_ext <<_ACEOF
37401 /* end confdefs.h. */
37404 $ac_includes_default
37420 rm -f conftest.
$ac_objext conftest
$ac_exeext
37421 if { (ac_try
="$ac_link"
37422 case "(($ac_try" in
37423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37424 *) ac_try_echo=$ac_try;;
37426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37427 (eval "$ac_link") 2>conftest.er1
37429 grep -v '^ *+' conftest.er1 >conftest.err
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } && {
37434 test -z "$ac_c_werror_flag" ||
37435 test ! -s conftest.err
37436 } && test -s conftest$ac_exeext &&
37437 $as_test_x conftest$ac_exeext; then
37438 eval wx_cv_func_$wx_func=yes
37440 echo "$as_me: failed program was:" >&5
37441 sed 's/^/| /' conftest.$ac_ext >&5
37443 eval wx_cv_func_$wx_func=no
37446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37447 conftest$ac_exeext conftest.$ac_ext
37450 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37451 { echo "$as_me:$LINENO: result: $ac_res" >&5
37452 echo "${ECHO_T}$ac_res" >&6; }
37454 if eval test \$wx_cv_func_$wx_func = yes
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37472 cat >confcache <<\_ACEOF
37473 # This file is a shell script that caches the results of configure
37474 # tests run on this system so they can be shared between configure
37475 # scripts and configure runs, see configure's option --config-cache.
37476 # It is not useful on other systems. If it contains results you don't
37477 # want to keep, you may remove or edit it.
37479 # config.status only pays attention to the cache file if you give it
37480 # the --recheck option to rerun configure.
37482 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37484 # following values.
37488 # The following way of writing the cache mishandles newlines in values,
37489 # but we know of no workaround that is simple, portable, and efficient.
37490 # So, we kill variables containing newlines.
37491 # Ultrix sh set writes to stderr and can't be redirected directly,
37492 # and sets the high bit in the cache file unless we assign to the vars.
37494 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37495 eval ac_val
=\$
$ac_var
37499 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37500 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37503 _
| IFS
| as_nl
) ;; #(
37504 *) $as_unset $ac_var ;;
37510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37511 *${as_nl}ac_space
=\
*)
37512 # `set' does not quote correctly, so add quotes (double-quote
37513 # substitution turns \\\\ into \\, and sed turns \\ into \).
37516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37519 # `set' quotes correctly as required by POSIX, so do not add quotes.
37520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37533 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37534 if test -w "$cache_file"; then
37535 test "x$cache_file" != "x/dev/null" &&
37536 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37537 echo "$as_me: updating cache $cache_file" >&6;}
37538 cat confcache
>$cache_file
37540 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37541 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37547 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37553 if test "$wxUSE_THREADS" = "yes" ; then
37554 if test "$USE_BEOS" = 1; then
37555 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37556 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37561 if test "$wxUSE_THREADS" = "yes" ; then
37564 THREAD_OPTS
="-pthread"
37566 *-*-solaris2* | *-*-sunos4* )
37567 if test "x$GCC" = "xyes"; then
37568 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37570 THREAD_OPTS
="-mt $THREAD_OPTS"
37574 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37576 *-*-darwin* | *-*-cygwin* )
37580 THREAD_OPTS
="pthreads"
37583 if test "x$GCC" = "xyes"; then
37584 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37592 if test "x$GCC" = "xyes"; then
37598 if test "x$GCC" != "xyes"; then
37599 THREAD_OPTS
="-Ethread"
37604 THREAD_OPTS
="$THREAD_OPTS pthread none"
37607 for flag
in $THREAD_OPTS; do
37610 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37611 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37615 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37616 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37617 THREADS_CFLAGS
="$flag"
37621 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37622 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37623 THREADS_LINK
="-l$flag"
37628 save_CFLAGS
="$CFLAGS"
37629 LIBS
="$THREADS_LINK $LIBS"
37630 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37632 cat >conftest.
$ac_ext <<_ACEOF
37635 cat confdefs.h
>>conftest.
$ac_ext
37636 cat >>conftest.
$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 #include <pthread.h>
37642 pthread_create(0,0,0,0);
37647 rm -f conftest.
$ac_objext conftest
$ac_exeext
37648 if { (ac_try
="$ac_link"
37649 case "(($ac_try" in
37650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37651 *) ac_try_echo=$ac_try;;
37653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37654 (eval "$ac_link") 2>conftest.er1
37656 grep -v '^ *+' conftest.er1 >conftest.err
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } && {
37661 test -z "$ac_c_werror_flag" ||
37662 test ! -s conftest.err
37663 } && test -s conftest$ac_exeext &&
37664 $as_test_x conftest$ac_exeext; then
37667 echo "$as_me: failed program was:" >&5
37668 sed 's/^/| /' conftest.$ac_ext >&5
37673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37674 conftest$ac_exeext conftest.$ac_ext
37677 CFLAGS="$save_CFLAGS"
37679 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37680 echo "${ECHO_T}$THREADS_OK" >&6; }
37681 if test "x$THREADS_OK" = "xyes"; then
37689 if test "x$THREADS_OK" != "xyes"; then
37691 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37692 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37694 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37695 LIBS="$THREADS_LINK $LIBS"
37697 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37698 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37702 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37703 flag="-D_THREAD_SAFE"
37706 flag="-D_THREAD_SAFE"
37709 flag="-D_REENTRANT"
37710 if test "x$GCC" != "xyes"; then
37711 flag="$flag -D_RWSTD_MULTI_THREAD"
37714 *solaris* | alpha*-osf*)
37715 flag="-D_REENTRANT"
37718 { echo "$as_me:$LINENO: result: ${flag}" >&5
37719 echo "${ECHO_T}${flag}" >&6; }
37720 if test "x$flag" != xno; then
37721 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37728 if test "$wxUSE_THREADS" = "yes" ; then
37730 for ac_func in thr_setconcurrency
37732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 cat >conftest.$ac_ext <<_ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37754 # include <limits.h>
37756 # include <assert.h>
37761 /* Override any GCC internal prototype to avoid an error.
37762 Use char because int might match the return type of a GCC
37763 builtin and then its argument prototype would still apply. */
37768 /* The GNU C library defines this for functions which it implements
37769 to always fail with ENOSYS. Some functions are actually named
37770 something starting with __ and the normal name is an alias. */
37771 #if defined __stub_$ac_func || defined __stub___$ac_func
37778 return $ac_func ();
37783 rm -f conftest.$ac_objext conftest$ac_exeext
37784 if { (ac_try="$ac_link"
37785 case "(($ac_try" in
37786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37787 *) ac_try_echo
=$ac_try;;
37789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37790 (eval "$ac_link") 2>conftest.er1
37792 grep -v '^ *+' conftest.er1
>conftest.err
37794 cat conftest.err
>&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } && {
37797 test -z "$ac_c_werror_flag" ||
37798 test ! -s conftest.err
37799 } && test -s conftest
$ac_exeext &&
37800 $as_test_x conftest
$ac_exeext; then
37801 eval "$as_ac_var=yes"
37803 echo "$as_me: failed program was:" >&5
37804 sed 's/^/| /' conftest.
$ac_ext >&5
37806 eval "$as_ac_var=no"
37809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37810 conftest
$ac_exeext conftest.
$ac_ext
37812 ac_res
=`eval echo '${'$as_ac_var'}'`
37813 { echo "$as_me:$LINENO: result: $ac_res" >&5
37814 echo "${ECHO_T}$ac_res" >&6; }
37815 if test `eval echo '${'$as_ac_var'}'` = yes; then
37816 cat >>confdefs.h
<<_ACEOF
37817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37824 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37825 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37826 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 cat >conftest.
$ac_ext <<_ACEOF
37833 cat confdefs.h
>>conftest.
$ac_ext
37834 cat >>conftest.
$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836 #include <pthread.h>
37837 void ThreadCleanupFunc(void *p);
37844 pthread_cleanup_push(ThreadCleanupFunc, p);
37845 pthread_cleanup_pop(0);
37851 rm -f conftest.
$ac_objext
37852 if { (ac_try
="$ac_compile"
37853 case "(($ac_try" in
37854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37855 *) ac_try_echo=$ac_try;;
37857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37858 (eval "$ac_compile") 2>conftest.er1
37860 grep -v '^ *+' conftest.er1 >conftest.err
37862 cat conftest.err >&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } && {
37865 test -z "$ac_c_werror_flag" ||
37866 test ! -s conftest.err
37867 } && test -s conftest.$ac_objext; then
37869 wx_cv_func_pthread_cleanup=yes
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37876 wx_cv_func_pthread_cleanup=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37884 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37885 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37886 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define wxHAVE_PTHREAD_CLEANUP 1
37893 { echo "$as_me:$LINENO: checking for sched.h" >&5
37894 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37895 if test "${ac_cv_header_sched_h+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 $ac_includes_default
37908 rm -f conftest.$ac_objext
37909 if { (ac_try="$ac_compile"
37910 case "(($ac_try" in
37911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37912 *) ac_try_echo
=$ac_try;;
37914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37915 (eval "$ac_compile") 2>conftest.er1
37917 grep -v '^ *+' conftest.er1
>conftest.err
37919 cat conftest.err
>&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } && {
37922 test -z "$ac_c_werror_flag" ||
37923 test ! -s conftest.err
37924 } && test -s conftest.
$ac_objext; then
37925 ac_cv_header_sched_h
=yes
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.
$ac_ext >&5
37930 ac_cv_header_sched_h
=no
37933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37935 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37936 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37939 if test "$ac_cv_header_sched_h" = "yes"; then
37940 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37941 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37942 if test "${ac_cv_func_sched_yield+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.
$ac_ext <<_ACEOF
37948 cat confdefs.h
>>conftest.
$ac_ext
37949 cat >>conftest.
$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define sched_yield innocuous_sched_yield
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char sched_yield (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37961 # include <limits.h>
37963 # include <assert.h>
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37974 char sched_yield ();
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_sched_yield || defined __stub___sched_yield
37985 return sched_yield ();
37990 rm -f conftest.
$ac_objext conftest
$ac_exeext
37991 if { (ac_try
="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37999 grep -v '^ *+' conftest.er1 >conftest.err
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 ac_cv_func_sched_yield=yes
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38013 ac_cv_func_sched_yield=no
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38019 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38020 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38021 if test $ac_cv_func_sched_yield = yes; then
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE_SCHED_YIELD 1
38028 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38029 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38030 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 ac_check_lib_save_LIBS=$LIBS
38034 LIBS="-lposix4 $LIBS"
38035 cat >conftest.$ac_ext <<_ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h. */
38042 /* Override any GCC internal prototype to avoid an error.
38043 Use char because int might match the return type of a GCC
38044 builtin and then its argument prototype would still apply. */
38048 char sched_yield ();
38052 return sched_yield ();
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (ac_try="$ac_link"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38061 *) ac_try_echo
=$ac_try;;
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_link") 2>conftest.er1
38066 grep -v '^ *+' conftest.er1
>conftest.err
38068 cat conftest.err
>&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_c_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest
$ac_exeext &&
38074 $as_test_x conftest
$ac_exeext; then
38075 ac_cv_lib_posix4_sched_yield
=yes
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.
$ac_ext >&5
38080 ac_cv_lib_posix4_sched_yield
=no
38083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38084 conftest
$ac_exeext conftest.
$ac_ext
38085 LIBS
=$ac_check_lib_save_LIBS
38087 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38088 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38089 if test $ac_cv_lib_posix4_sched_yield = yes; then
38090 cat >>confdefs.h
<<\_ACEOF
38091 #define HAVE_SCHED_YIELD 1
38093 POSIX4_LINK
=" -lposix4"
38095 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38096 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38107 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38108 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38109 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 cat >conftest.
$ac_ext <<_ACEOF
38115 cat confdefs.h
>>conftest.
$ac_ext
38116 cat >>conftest.
$ac_ext <<_ACEOF
38117 /* end confdefs.h. */
38118 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38120 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38122 /* System header to define __stub macros and hopefully few prototypes,
38123 which can conflict with char pthread_attr_getschedpolicy (); below.
38124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38125 <limits.h> exists even on freestanding compilers. */
38128 # include <limits.h>
38130 # include <assert.h>
38133 #undef pthread_attr_getschedpolicy
38135 /* Override any GCC internal prototype to avoid an error.
38136 Use char because int might match the return type of a GCC
38137 builtin and then its argument prototype would still apply. */
38141 char pthread_attr_getschedpolicy ();
38142 /* The GNU C library defines this for functions which it implements
38143 to always fail with ENOSYS. Some functions are actually named
38144 something starting with __ and the normal name is an alias. */
38145 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38152 return pthread_attr_getschedpolicy ();
38157 rm -f conftest.
$ac_objext conftest
$ac_exeext
38158 if { (ac_try
="$ac_link"
38159 case "(($ac_try" in
38160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38161 *) ac_try_echo=$ac_try;;
38163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38164 (eval "$ac_link") 2>conftest.er1
38166 grep -v '^ *+' conftest.er1 >conftest.err
38168 cat conftest.err >&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); } && {
38171 test -z "$ac_c_werror_flag" ||
38172 test ! -s conftest.err
38173 } && test -s conftest$ac_exeext &&
38174 $as_test_x conftest$ac_exeext; then
38175 ac_cv_func_pthread_attr_getschedpolicy=yes
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38180 ac_cv_func_pthread_attr_getschedpolicy=no
38183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38184 conftest$ac_exeext conftest.$ac_ext
38186 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38187 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38188 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38189 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38190 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38191 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 cat >conftest.$ac_ext <<_ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38202 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38204 /* System header to define __stub macros and hopefully few prototypes,
38205 which can conflict with char pthread_attr_setschedparam (); below.
38206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38207 <limits.h> exists even on freestanding compilers. */
38210 # include <limits.h>
38212 # include <assert.h>
38215 #undef pthread_attr_setschedparam
38217 /* Override any GCC internal prototype to avoid an error.
38218 Use char because int might match the return type of a GCC
38219 builtin and then its argument prototype would still apply. */
38223 char pthread_attr_setschedparam ();
38224 /* The GNU C library defines this for functions which it implements
38225 to always fail with ENOSYS. Some functions are actually named
38226 something starting with __ and the normal name is an alias. */
38227 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38234 return pthread_attr_setschedparam ();
38239 rm -f conftest.$ac_objext conftest$ac_exeext
38240 if { (ac_try="$ac_link"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38243 *) ac_try_echo
=$ac_try;;
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_link") 2>conftest.er1
38248 grep -v '^ *+' conftest.er1
>conftest.err
38250 cat conftest.err
>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest
$ac_exeext &&
38256 $as_test_x conftest
$ac_exeext; then
38257 ac_cv_func_pthread_attr_setschedparam
=yes
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.
$ac_ext >&5
38262 ac_cv_func_pthread_attr_setschedparam
=no
38265 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38266 conftest
$ac_exeext conftest.
$ac_ext
38268 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38269 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38270 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38271 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38272 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38273 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 cat >conftest.
$ac_ext <<_ACEOF
38279 cat confdefs.h
>>conftest.
$ac_ext
38280 cat >>conftest.
$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define sched_get_priority_max innocuous_sched_get_priority_max
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char sched_get_priority_max (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38292 # include <limits.h>
38294 # include <assert.h>
38297 #undef sched_get_priority_max
38299 /* Override any GCC internal prototype to avoid an error.
38300 Use char because int might match the return type of a GCC
38301 builtin and then its argument prototype would still apply. */
38305 char sched_get_priority_max ();
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38316 return sched_get_priority_max ();
38321 rm -f conftest.
$ac_objext conftest
$ac_exeext
38322 if { (ac_try
="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1 >conftest.err
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 ac_cv_func_sched_get_priority_max=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38344 ac_cv_func_sched_get_priority_max=no
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38350 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38351 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38352 if test $ac_cv_func_sched_get_priority_max = yes; then
38355 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38356 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38357 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 ac_check_lib_save_LIBS=$LIBS
38361 LIBS="-lposix4 $LIBS"
38362 cat >conftest.$ac_ext <<_ACEOF
38365 cat confdefs.h >>conftest.$ac_ext
38366 cat >>conftest.$ac_ext <<_ACEOF
38367 /* end confdefs.h. */
38369 /* Override any GCC internal prototype to avoid an error.
38370 Use char because int might match the return type of a GCC
38371 builtin and then its argument prototype would still apply. */
38375 char sched_get_priority_max ();
38379 return sched_get_priority_max ();
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (ac_try="$ac_link"
38386 case "(($ac_try" in
38387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38388 *) ac_try_echo
=$ac_try;;
38390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38391 (eval "$ac_link") 2>conftest.er1
38393 grep -v '^ *+' conftest.er1
>conftest.err
38395 cat conftest.err
>&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } && {
38398 test -z "$ac_c_werror_flag" ||
38399 test ! -s conftest.err
38400 } && test -s conftest
$ac_exeext &&
38401 $as_test_x conftest
$ac_exeext; then
38402 ac_cv_lib_posix4_sched_get_priority_max
=yes
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.
$ac_ext >&5
38407 ac_cv_lib_posix4_sched_get_priority_max
=no
38410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38411 conftest
$ac_exeext conftest.
$ac_ext
38412 LIBS
=$ac_check_lib_save_LIBS
38414 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38415 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38416 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38419 POSIX4_LINK
=" -lposix4"
38433 if test "$HAVE_PRIOR_FUNCS" = 1; then
38434 cat >>confdefs.h
<<\_ACEOF
38435 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38439 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38440 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38443 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38444 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38445 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 cat >conftest.
$ac_ext <<_ACEOF
38451 cat confdefs.h
>>conftest.
$ac_ext
38452 cat >>conftest.
$ac_ext <<_ACEOF
38453 /* end confdefs.h. */
38454 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38456 #define pthread_cancel innocuous_pthread_cancel
38458 /* System header to define __stub macros and hopefully few prototypes,
38459 which can conflict with char pthread_cancel (); below.
38460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38461 <limits.h> exists even on freestanding compilers. */
38464 # include <limits.h>
38466 # include <assert.h>
38469 #undef pthread_cancel
38471 /* Override any GCC internal prototype to avoid an error.
38472 Use char because int might match the return type of a GCC
38473 builtin and then its argument prototype would still apply. */
38477 char pthread_cancel ();
38478 /* The GNU C library defines this for functions which it implements
38479 to always fail with ENOSYS. Some functions are actually named
38480 something starting with __ and the normal name is an alias. */
38481 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38488 return pthread_cancel ();
38493 rm -f conftest.
$ac_objext conftest
$ac_exeext
38494 if { (ac_try
="$ac_link"
38495 case "(($ac_try" in
38496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38497 *) ac_try_echo=$ac_try;;
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_link") 2>conftest.er1
38502 grep -v '^ *+' conftest.er1 >conftest.err
38504 cat conftest.err >&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } && {
38507 test -z "$ac_c_werror_flag" ||
38508 test ! -s conftest.err
38509 } && test -s conftest$ac_exeext &&
38510 $as_test_x conftest$ac_exeext; then
38511 ac_cv_func_pthread_cancel=yes
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38516 ac_cv_func_pthread_cancel=no
38519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38520 conftest$ac_exeext conftest.$ac_ext
38522 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38523 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38524 if test $ac_cv_func_pthread_cancel = yes; then
38525 cat >>confdefs.h <<\_ACEOF
38526 #define HAVE_PTHREAD_CANCEL 1
38530 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38531 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38535 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38536 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38537 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 cat >conftest.$ac_ext <<_ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char pthread_mutex_timedlock (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38556 # include <limits.h>
38558 # include <assert.h>
38561 #undef pthread_mutex_timedlock
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38569 char pthread_mutex_timedlock ();
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38580 return pthread_mutex_timedlock ();
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38589 *) ac_try_echo
=$ac_try;;
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38594 grep -v '^ *+' conftest.er1
>conftest.err
38596 cat conftest.err
>&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest
$ac_exeext &&
38602 $as_test_x conftest
$ac_exeext; then
38603 ac_cv_func_pthread_mutex_timedlock
=yes
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.
$ac_ext >&5
38608 ac_cv_func_pthread_mutex_timedlock
=no
38611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38612 conftest
$ac_exeext conftest.
$ac_ext
38614 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38615 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38616 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38617 cat >>confdefs.h
<<\_ACEOF
38618 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38622 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38623 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38627 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38628 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38629 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 cat >conftest.
$ac_ext <<_ACEOF
38635 cat confdefs.h
>>conftest.
$ac_ext
38636 cat >>conftest.
$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38640 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38642 /* System header to define __stub macros and hopefully few prototypes,
38643 which can conflict with char pthread_attr_setstacksize (); below.
38644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38645 <limits.h> exists even on freestanding compilers. */
38648 # include <limits.h>
38650 # include <assert.h>
38653 #undef pthread_attr_setstacksize
38655 /* Override any GCC internal prototype to avoid an error.
38656 Use char because int might match the return type of a GCC
38657 builtin and then its argument prototype would still apply. */
38661 char pthread_attr_setstacksize ();
38662 /* The GNU C library defines this for functions which it implements
38663 to always fail with ENOSYS. Some functions are actually named
38664 something starting with __ and the normal name is an alias. */
38665 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38672 return pthread_attr_setstacksize ();
38677 rm -f conftest.
$ac_objext conftest
$ac_exeext
38678 if { (ac_try
="$ac_link"
38679 case "(($ac_try" in
38680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38681 *) ac_try_echo=$ac_try;;
38683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38684 (eval "$ac_link") 2>conftest.er1
38686 grep -v '^ *+' conftest.er1 >conftest.err
38688 cat conftest.err >&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } && {
38691 test -z "$ac_c_werror_flag" ||
38692 test ! -s conftest.err
38693 } && test -s conftest$ac_exeext &&
38694 $as_test_x conftest$ac_exeext; then
38695 ac_cv_func_pthread_attr_setstacksize=yes
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38700 ac_cv_func_pthread_attr_setstacksize=no
38703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38704 conftest$ac_exeext conftest.$ac_ext
38706 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38707 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38708 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38717 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38718 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38719 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 cat >conftest.$ac_ext <<_ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <pthread.h>
38734 pthread_mutexattr_t attr;
38735 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38741 rm -f conftest.$ac_objext
38742 if { (ac_try="$ac_compile"
38743 case "(($ac_try" in
38744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38745 *) ac_try_echo
=$ac_try;;
38747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38748 (eval "$ac_compile") 2>conftest.er1
38750 grep -v '^ *+' conftest.er1
>conftest.err
38752 cat conftest.err
>&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); } && {
38755 test -z "$ac_c_werror_flag" ||
38756 test ! -s conftest.err
38757 } && test -s conftest.
$ac_objext; then
38758 wx_cv_type_pthread_mutexattr_t
=yes
38760 echo "$as_me: failed program was:" >&5
38761 sed 's/^/| /' conftest.
$ac_ext >&5
38763 wx_cv_type_pthread_mutexattr_t
=no
38767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38770 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38771 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38773 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38774 cat >>confdefs.h
<<\_ACEOF
38775 #define HAVE_PTHREAD_MUTEXATTR_T 1
38779 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38780 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38781 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38785 cat >conftest.
$ac_ext <<_ACEOF
38788 cat confdefs.h
>>conftest.
$ac_ext
38789 cat >>conftest.
$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38791 #include <pthread.h>
38796 pthread_mutexattr_t attr;
38797 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38803 rm -f conftest.
$ac_objext
38804 if { (ac_try
="$ac_compile"
38805 case "(($ac_try" in
38806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38807 *) ac_try_echo=$ac_try;;
38809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38810 (eval "$ac_compile") 2>conftest.er1
38812 grep -v '^ *+' conftest.er1 >conftest.err
38814 cat conftest.err >&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } && {
38817 test -z "$ac_c_werror_flag" ||
38818 test ! -s conftest.err
38819 } && test -s conftest.$ac_objext; then
38820 wx_cv_func_pthread_mutexattr_settype_decl=yes
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.$ac_ext >&5
38825 wx_cv_func_pthread_mutexattr_settype_decl=no
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38832 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38833 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38834 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38841 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38842 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38843 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 cat >conftest.$ac_ext <<_ACEOF
38850 cat confdefs.h >>conftest.$ac_ext
38851 cat >>conftest.$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38853 #include <pthread.h>
38858 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38864 rm -f conftest.$ac_objext
38865 if { (ac_try="$ac_compile"
38866 case "(($ac_try" in
38867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38868 *) ac_try_echo
=$ac_try;;
38870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38871 (eval "$ac_compile") 2>conftest.er1
38873 grep -v '^ *+' conftest.er1
>conftest.err
38875 cat conftest.err
>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } && {
38878 test -z "$ac_c_werror_flag" ||
38879 test ! -s conftest.err
38880 } && test -s conftest.
$ac_objext; then
38882 wx_cv_type_pthread_rec_mutex_init
=yes
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.
$ac_ext >&5
38889 wx_cv_type_pthread_rec_mutex_init
=no
38894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38897 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38898 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38899 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38900 cat >>confdefs.h
<<\_ACEOF
38901 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38905 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38906 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38912 if test "$wxUSE_THREADS" = "yes" ; then
38915 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38916 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38917 if test "${wx_cv_cflags_mthread+set}" = set; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38921 CFLAGS_OLD
="$CFLAGS"
38922 CFLAGS
="-mthreads $CFLAGS"
38923 cat >conftest.
$ac_ext <<_ACEOF
38926 cat confdefs.h
>>conftest.
$ac_ext
38927 cat >>conftest.
$ac_ext <<_ACEOF
38928 /* end confdefs.h. */
38938 rm -f conftest.
$ac_objext
38939 if { (ac_try
="$ac_compile"
38940 case "(($ac_try" in
38941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38942 *) ac_try_echo=$ac_try;;
38944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38945 (eval "$ac_compile") 2>conftest.er1
38947 grep -v '^ *+' conftest.er1 >conftest.err
38949 cat conftest.err >&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } && {
38952 test -z "$ac_c_werror_flag" ||
38953 test ! -s conftest.err
38954 } && test -s conftest.$ac_objext; then
38955 wx_cv_cflags_mthread=yes
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.$ac_ext >&5
38960 wx_cv_cflags_mthread=no
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38968 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38969 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38971 if test "$wx_cv_cflags_mthread" = "yes"; then
38972 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38973 LDFLAGS="$LDFLAGS -mthreads"
38975 CFLAGS="$CFLAGS_OLD"
38979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38980 LDFLAGS="$LDFLAGS -Zmt"
38986 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38987 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38988 if test "${ac_cv_func_localtime_r+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 cat >conftest.$ac_ext <<_ACEOF
38994 cat confdefs.h >>conftest.$ac_ext
38995 cat >>conftest.$ac_ext <<_ACEOF
38996 /* end confdefs.h. */
38997 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38999 #define localtime_r innocuous_localtime_r
39001 /* System header to define __stub macros and hopefully few prototypes,
39002 which can conflict with char localtime_r (); below.
39003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39004 <limits.h> exists even on freestanding compilers. */
39007 # include <limits.h>
39009 # include <assert.h>
39014 /* Override any GCC internal prototype to avoid an error.
39015 Use char because int might match the return type of a GCC
39016 builtin and then its argument prototype would still apply. */
39020 char localtime_r ();
39021 /* The GNU C library defines this for functions which it implements
39022 to always fail with ENOSYS. Some functions are actually named
39023 something starting with __ and the normal name is an alias. */
39024 #if defined __stub_localtime_r || defined __stub___localtime_r
39031 return localtime_r ();
39036 rm -f conftest.$ac_objext conftest$ac_exeext
39037 if { (ac_try="$ac_link"
39038 case "(($ac_try" in
39039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39040 *) ac_try_echo
=$ac_try;;
39042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39043 (eval "$ac_link") 2>conftest.er1
39045 grep -v '^ *+' conftest.er1
>conftest.err
39047 cat conftest.err
>&5
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); } && {
39050 test -z "$ac_c_werror_flag" ||
39051 test ! -s conftest.err
39052 } && test -s conftest
$ac_exeext &&
39053 $as_test_x conftest
$ac_exeext; then
39054 ac_cv_func_localtime_r
=yes
39056 echo "$as_me: failed program was:" >&5
39057 sed 's/^/| /' conftest.
$ac_ext >&5
39059 ac_cv_func_localtime_r
=no
39062 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39063 conftest
$ac_exeext conftest.
$ac_ext
39065 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39066 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39067 if test $ac_cv_func_localtime_r = yes; then
39068 cat >>confdefs.h
<<\_ACEOF
39069 #define HAVE_LOCALTIME_R 1
39074 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39075 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39076 if test "${ac_cv_func_gmtime_r+set}" = set; then
39077 echo $ECHO_N "(cached) $ECHO_C" >&6
39079 cat >conftest.
$ac_ext <<_ACEOF
39082 cat confdefs.h
>>conftest.
$ac_ext
39083 cat >>conftest.
$ac_ext <<_ACEOF
39084 /* end confdefs.h. */
39085 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39087 #define gmtime_r innocuous_gmtime_r
39089 /* System header to define __stub macros and hopefully few prototypes,
39090 which can conflict with char gmtime_r (); below.
39091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39092 <limits.h> exists even on freestanding compilers. */
39095 # include <limits.h>
39097 # include <assert.h>
39102 /* Override any GCC internal prototype to avoid an error.
39103 Use char because int might match the return type of a GCC
39104 builtin and then its argument prototype would still apply. */
39109 /* The GNU C library defines this for functions which it implements
39110 to always fail with ENOSYS. Some functions are actually named
39111 something starting with __ and the normal name is an alias. */
39112 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39119 return gmtime_r ();
39124 rm -f conftest.
$ac_objext conftest
$ac_exeext
39125 if { (ac_try
="$ac_link"
39126 case "(($ac_try" in
39127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39128 *) ac_try_echo=$ac_try;;
39130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39131 (eval "$ac_link") 2>conftest.er1
39133 grep -v '^ *+' conftest.er1 >conftest.err
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } && {
39138 test -z "$ac_c_werror_flag" ||
39139 test ! -s conftest.err
39140 } && test -s conftest$ac_exeext &&
39141 $as_test_x conftest$ac_exeext; then
39142 ac_cv_func_gmtime_r=yes
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39147 ac_cv_func_gmtime_r=no
39150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39151 conftest$ac_exeext conftest.$ac_ext
39153 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39154 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39155 if test $ac_cv_func_gmtime_r = yes; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define HAVE_GMTIME_R 1
39162 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39163 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39164 if test "${ac_cv_func_readdir_r+set}" = set; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 cat >conftest.$ac_ext <<_ACEOF
39170 cat confdefs.h >>conftest.$ac_ext
39171 cat >>conftest.$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39175 #define readdir_r innocuous_readdir_r
39177 /* System header to define __stub macros and hopefully few prototypes,
39178 which can conflict with char readdir_r (); below.
39179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39180 <limits.h> exists even on freestanding compilers. */
39183 # include <limits.h>
39185 # include <assert.h>
39190 /* Override any GCC internal prototype to avoid an error.
39191 Use char because int might match the return type of a GCC
39192 builtin and then its argument prototype would still apply. */
39197 /* The GNU C library defines this for functions which it implements
39198 to always fail with ENOSYS. Some functions are actually named
39199 something starting with __ and the normal name is an alias. */
39200 #if defined __stub_readdir_r || defined __stub___readdir_r
39207 return readdir_r ();
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (ac_try="$ac_link"
39214 case "(($ac_try" in
39215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39216 *) ac_try_echo
=$ac_try;;
39218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39219 (eval "$ac_link") 2>conftest.er1
39221 grep -v '^ *+' conftest.er1
>conftest.err
39223 cat conftest.err
>&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); } && {
39226 test -z "$ac_c_werror_flag" ||
39227 test ! -s conftest.err
39228 } && test -s conftest
$ac_exeext &&
39229 $as_test_x conftest
$ac_exeext; then
39230 ac_cv_func_readdir_r
=yes
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.
$ac_ext >&5
39235 ac_cv_func_readdir_r
=no
39238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39239 conftest
$ac_exeext conftest.
$ac_ext
39241 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39242 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39243 if test $ac_cv_func_readdir_r = yes; then
39244 cat >>confdefs.h
<<\_ACEOF
39245 #define HAVE_READDIR_R 1
39254 ac_cpp
='$CPP $CPPFLAGS'
39255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39259 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39260 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39262 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 ac_cv_func_which_gethostbyname_r
=unknown
39271 # ONE ARGUMENT (sanity check)
39274 # This should fail, as there is no variant of gethostbyname_r() that takes
39275 # a single argument. If it actually compiles, then we can assume that
39276 # netdb.h is not declaring the function, and the compiler is thereby
39277 # assuming an implicit prototype. In which case, we're out of luck.
39279 cat >conftest.
$ac_ext <<_ACEOF
39282 cat confdefs.h
>>conftest.
$ac_ext
39283 cat >>conftest.
$ac_ext <<_ACEOF
39284 /* end confdefs.h. */
39290 char *name = "www.gnu.org";
39291 (void)gethostbyname_r(name) /* ; */
39297 rm -f conftest.
$ac_objext
39298 if { (ac_try
="$ac_compile"
39299 case "(($ac_try" in
39300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39301 *) ac_try_echo=$ac_try;;
39303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39304 (eval "$ac_compile") 2>conftest.er1
39306 grep -v '^ *+' conftest.er1 >conftest.err
39308 cat conftest.err >&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); } && {
39311 test -z "$ac_c_werror_flag" ||
39312 test ! -s conftest.err
39313 } && test -s conftest.$ac_objext; then
39314 ac_cv_func_which_gethostbyname_r=no
39316 echo "$as_me: failed program was:" >&5
39317 sed 's/^/| /' conftest.$ac_ext >&5
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39331 cat >conftest.$ac_ext <<_ACEOF
39334 cat confdefs.h >>conftest.$ac_ext
39335 cat >>conftest.$ac_ext <<_ACEOF
39336 /* end confdefs.h. */
39342 char *name = "www.gnu.org";
39343 struct hostent ret, *retp;
39347 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39353 rm -f conftest.$ac_objext
39354 if { (ac_try="$ac_compile"
39355 case "(($ac_try" in
39356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39357 *) ac_try_echo
=$ac_try;;
39359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39360 (eval "$ac_compile") 2>conftest.er1
39362 grep -v '^ *+' conftest.er1
>conftest.err
39364 cat conftest.err
>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } && {
39367 test -z "$ac_c_werror_flag" ||
39368 test ! -s conftest.err
39369 } && test -s conftest.
$ac_objext; then
39370 ac_cv_func_which_gethostbyname_r
=six
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.
$ac_ext >&5
39378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39387 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39389 cat >conftest.
$ac_ext <<_ACEOF
39392 cat confdefs.h
>>conftest.
$ac_ext
39393 cat >>conftest.
$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39400 char *name = "www.gnu.org";
39401 struct hostent ret;
39405 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39411 rm -f conftest.
$ac_objext
39412 if { (ac_try
="$ac_compile"
39413 case "(($ac_try" in
39414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_compile") 2>conftest.er1
39420 grep -v '^ *+' conftest.er1 >conftest.err
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest.$ac_objext; then
39428 ac_cv_func_which_gethostbyname_r=five
39430 echo "$as_me: failed program was:" >&5
39431 sed 's/^/| /' conftest.$ac_ext >&5
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39442 # (e.g. AIX, HP-UX, Tru64)
39445 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39447 cat >conftest.$ac_ext <<_ACEOF
39450 cat confdefs.h >>conftest.$ac_ext
39451 cat >>conftest.$ac_ext <<_ACEOF
39452 /* end confdefs.h. */
39458 char *name = "www.gnu.org";
39459 struct hostent ret;
39460 struct hostent_data data;
39461 (void)gethostbyname_r(name, &ret, &data) /* ; */
39467 rm -f conftest.$ac_objext
39468 if { (ac_try="$ac_compile"
39469 case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39471 *) ac_try_echo
=$ac_try;;
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_compile") 2>conftest.er1
39476 grep -v '^ *+' conftest.er1
>conftest.err
39478 cat conftest.err
>&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && {
39481 test -z "$ac_c_werror_flag" ||
39482 test ! -s conftest.err
39483 } && test -s conftest.
$ac_objext; then
39484 ac_cv_func_which_gethostbyname_r
=three
39486 echo "$as_me: failed program was:" >&5
39487 sed 's/^/| /' conftest.
$ac_ext >&5
39492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39500 case "$ac_cv_func_which_gethostbyname_r" in
39502 { echo "$as_me:$LINENO: result: three" >&5
39503 echo "${ECHO_T}three" >&6; }
39504 cat >>confdefs.h
<<\_ACEOF
39505 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39511 { echo "$as_me:$LINENO: result: five" >&5
39512 echo "${ECHO_T}five" >&6; }
39513 cat >>confdefs.h
<<\_ACEOF
39514 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39520 { echo "$as_me:$LINENO: result: six" >&5
39521 echo "${ECHO_T}six" >&6; }
39522 cat >>confdefs.h
<<\_ACEOF
39523 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39529 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39530 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39534 { echo "$as_me:$LINENO: result: can't tell" >&5
39535 echo "${ECHO_T}can't tell" >&6; }
39539 { { echo "$as_me:$LINENO: error: internal error" >&5
39540 echo "$as_me: error: internal error" >&2;}
39541 { (exit 1); exit 1; }; }
39546 ac_cpp
='$CPP $CPPFLAGS'
39547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39553 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39554 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39555 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39556 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39557 if test "${ac_cv_func_gethostbyname+set}" = set; then
39558 echo $ECHO_N "(cached) $ECHO_C" >&6
39560 cat >conftest.
$ac_ext <<_ACEOF
39563 cat confdefs.h
>>conftest.
$ac_ext
39564 cat >>conftest.
$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39568 #define gethostbyname innocuous_gethostbyname
39570 /* System header to define __stub macros and hopefully few prototypes,
39571 which can conflict with char gethostbyname (); below.
39572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39573 <limits.h> exists even on freestanding compilers. */
39576 # include <limits.h>
39578 # include <assert.h>
39581 #undef gethostbyname
39583 /* Override any GCC internal prototype to avoid an error.
39584 Use char because int might match the return type of a GCC
39585 builtin and then its argument prototype would still apply. */
39589 char gethostbyname ();
39590 /* The GNU C library defines this for functions which it implements
39591 to always fail with ENOSYS. Some functions are actually named
39592 something starting with __ and the normal name is an alias. */
39593 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39600 return gethostbyname ();
39605 rm -f conftest.
$ac_objext conftest
$ac_exeext
39606 if { (ac_try
="$ac_link"
39607 case "(($ac_try" in
39608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39609 *) ac_try_echo=$ac_try;;
39611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39612 (eval "$ac_link") 2>conftest.er1
39614 grep -v '^ *+' conftest.er1 >conftest.err
39616 cat conftest.err >&5
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); } && {
39619 test -z "$ac_c_werror_flag" ||
39620 test ! -s conftest.err
39621 } && test -s conftest$ac_exeext &&
39622 $as_test_x conftest$ac_exeext; then
39623 ac_cv_func_gethostbyname=yes
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.$ac_ext >&5
39628 ac_cv_func_gethostbyname=no
39631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39632 conftest$ac_exeext conftest.$ac_ext
39634 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39635 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39636 if test $ac_cv_func_gethostbyname = yes; then
39637 cat >>confdefs.h <<\_ACEOF
39638 #define HAVE_GETHOSTBYNAME 1
39644 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39645 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39650 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39651 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39652 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39653 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 cat >conftest.$ac_ext <<_ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h. */
39661 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39663 #define getservbyname_r innocuous_getservbyname_r
39665 /* System header to define __stub macros and hopefully few prototypes,
39666 which can conflict with char getservbyname_r (); below.
39667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39668 <limits.h> exists even on freestanding compilers. */
39671 # include <limits.h>
39673 # include <assert.h>
39676 #undef getservbyname_r
39678 /* Override any GCC internal prototype to avoid an error.
39679 Use char because int might match the return type of a GCC
39680 builtin and then its argument prototype would still apply. */
39684 char getservbyname_r ();
39685 /* The GNU C library defines this for functions which it implements
39686 to always fail with ENOSYS. Some functions are actually named
39687 something starting with __ and the normal name is an alias. */
39688 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39695 return getservbyname_r ();
39700 rm -f conftest.$ac_objext conftest$ac_exeext
39701 if { (ac_try="$ac_link"
39702 case "(($ac_try" in
39703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39704 *) ac_try_echo
=$ac_try;;
39706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39707 (eval "$ac_link") 2>conftest.er1
39709 grep -v '^ *+' conftest.er1
>conftest.err
39711 cat conftest.err
>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } && {
39714 test -z "$ac_c_werror_flag" ||
39715 test ! -s conftest.err
39716 } && test -s conftest
$ac_exeext &&
39717 $as_test_x conftest
$ac_exeext; then
39718 ac_cv_func_getservbyname_r
=yes
39720 echo "$as_me: failed program was:" >&5
39721 sed 's/^/| /' conftest.
$ac_ext >&5
39723 ac_cv_func_getservbyname_r
=no
39726 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39727 conftest
$ac_exeext conftest.
$ac_ext
39729 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39730 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39731 if test $ac_cv_func_getservbyname_r = yes; then
39733 cat >conftest.
$ac_ext <<_ACEOF
39736 cat confdefs.h
>>conftest.
$ac_ext
39737 cat >>conftest.
$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39740 # include <netdb.h>
39749 struct servent *se;
39750 struct servent_data data;
39751 (void) getservbyname_r(name, proto, se, &data);
39758 rm -f conftest.
$ac_objext
39759 if { (ac_try
="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39767 grep -v '^ *+' conftest.er1 >conftest.err
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.$ac_objext; then
39775 ac_cv_func_which_getservbyname_r=four
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39781 cat >conftest.$ac_ext <<_ACEOF
39784 cat confdefs.h >>conftest.$ac_ext
39785 cat >>conftest.$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39788 # include <netdb.h>
39796 struct servent *se, *res;
39799 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39805 rm -f conftest.$ac_objext
39806 if { (ac_try="$ac_compile"
39807 case "(($ac_try" in
39808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39809 *) ac_try_echo
=$ac_try;;
39811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39812 (eval "$ac_compile") 2>conftest.er1
39814 grep -v '^ *+' conftest.er1
>conftest.err
39816 cat conftest.err
>&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } && {
39819 test -z "$ac_c_werror_flag" ||
39820 test ! -s conftest.err
39821 } && test -s conftest.
$ac_objext; then
39822 ac_cv_func_which_getservbyname_r
=six
39824 echo "$as_me: failed program was:" >&5
39825 sed 's/^/| /' conftest.
$ac_ext >&5
39828 cat >conftest.
$ac_ext <<_ACEOF
39831 cat confdefs.h
>>conftest.
$ac_ext
39832 cat >>conftest.
$ac_ext <<_ACEOF
39833 /* end confdefs.h. */
39835 # include <netdb.h>
39843 struct servent *se;
39846 (void) getservbyname_r(name, proto, se, buffer, buflen)
39852 rm -f conftest.
$ac_objext
39853 if { (ac_try
="$ac_compile"
39854 case "(($ac_try" in
39855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_compile") 2>conftest.er1
39861 grep -v '^ *+' conftest.er1 >conftest.err
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest.$ac_objext; then
39869 ac_cv_func_which_getservbyname_r=five
39871 echo "$as_me: failed program was:" >&5
39872 sed 's/^/| /' conftest.$ac_ext >&5
39874 ac_cv_func_which_getservbyname_r=no
39877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_cv_func_which_getservbyname_r=no
39896 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39897 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39899 if test $ac_cv_func_which_getservbyname_r = six; then
39900 cat >>confdefs.h <<\_ACEOF
39901 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39904 elif test $ac_cv_func_which_getservbyname_r = five; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39909 elif test $ac_cv_func_which_getservbyname_r = four; then
39910 cat >>confdefs.h <<\_ACEOF
39911 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39918 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39919 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39921 for ac_func in getservbyname
39923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39929 cat >conftest.$ac_ext <<_ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39937 #define $ac_func innocuous_$ac_func
39939 /* System header to define __stub macros and hopefully few prototypes,
39940 which can conflict with char $ac_func (); below.
39941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39942 <limits.h> exists even on freestanding compilers. */
39945 # include <limits.h>
39947 # include <assert.h>
39952 /* Override any GCC internal prototype to avoid an error.
39953 Use char because int might match the return type of a GCC
39954 builtin and then its argument prototype would still apply. */
39959 /* The GNU C library defines this for functions which it implements
39960 to always fail with ENOSYS. Some functions are actually named
39961 something starting with __ and the normal name is an alias. */
39962 #if defined __stub_$ac_func || defined __stub___$ac_func
39969 return $ac_func ();
39974 rm -f conftest.$ac_objext conftest$ac_exeext
39975 if { (ac_try="$ac_link"
39976 case "(($ac_try" in
39977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39978 *) ac_try_echo
=$ac_try;;
39980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39981 (eval "$ac_link") 2>conftest.er1
39983 grep -v '^ *+' conftest.er1
>conftest.err
39985 cat conftest.err
>&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); } && {
39988 test -z "$ac_c_werror_flag" ||
39989 test ! -s conftest.err
39990 } && test -s conftest
$ac_exeext &&
39991 $as_test_x conftest
$ac_exeext; then
39992 eval "$as_ac_var=yes"
39994 echo "$as_me: failed program was:" >&5
39995 sed 's/^/| /' conftest.
$ac_ext >&5
39997 eval "$as_ac_var=no"
40000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40001 conftest
$ac_exeext conftest.
$ac_ext
40003 ac_res
=`eval echo '${'$as_ac_var'}'`
40004 { echo "$as_me:$LINENO: result: $ac_res" >&5
40005 echo "${ECHO_T}$ac_res" >&6; }
40006 if test `eval echo '${'$as_ac_var'}'` = yes; then
40007 cat >>confdefs.h
<<_ACEOF
40008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40010 cat >>confdefs.h
<<\_ACEOF
40011 #define HAVE_GETSERVBYNAME 1
40019 if test "$wxUSE_THREADS" = "yes"; then
40020 cat >>confdefs.h
<<\_ACEOF
40021 #define wxUSE_THREADS 1
40025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40027 if test "$wx_cv_func_strtok_r" = "yes"; then
40028 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40029 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40030 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40031 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40032 { echo "$as_me:$LINENO: result: yes" >&5
40033 echo "${ECHO_T}yes" >&6; }
40035 { echo "$as_me:$LINENO: result: no" >&5
40036 echo "${ECHO_T}no" >&6; }
40041 if test "$WXGTK20" = 1 ; then
40042 cat >>confdefs.h
<<_ACEOF
40043 #define __WXGTK20__ $WXGTK20
40049 if test "$WXGTK12" = 1 ; then
40050 cat >>confdefs.h
<<_ACEOF
40051 #define __WXGTK12__ $WXGTK12
40056 if test "$WXGTK127" = 1 ; then
40057 cat >>confdefs.h
<<_ACEOF
40058 #define __WXGTK127__ $WXGTK127
40063 if test "$WXGPE" = 1 ; then
40064 cat >>confdefs.h
<<_ACEOF
40065 #define __WXGPE__ $WXGPE
40071 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40076 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40077 wxUSE_DEBUG_INFO
=yes
40078 if test "$GCC" = yes; then
40079 DEBUG_CFLAGS
="-ggdb"
40083 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40084 cat >>confdefs.h
<<\_ACEOF
40088 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40090 if test "$wxUSE_GTK" = 1 ; then
40091 if test "x$wxGTK_VERSION" = "x1" ; then
40092 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40097 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40098 cat >>confdefs.h
<<\_ACEOF
40099 #define wxUSE_MEMORY_TRACING 1
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40106 cat >>confdefs.h
<<\_ACEOF
40107 #define wxUSE_DEBUG_NEW_ALWAYS 1
40110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40113 if test "$wxUSE_DMALLOC" = "yes" ; then
40114 DMALLOC_LIBS
="-ldmallocthcxx"
40118 if test "$wxUSE_PROFILE" = "yes" ; then
40119 PROFILE_FLAGS
=" -pg"
40122 if test "$GCC" = "yes" ; then
40123 if test "$wxUSE_NO_RTTI" = "yes" ; then
40124 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40126 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40127 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40129 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40130 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40135 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40138 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40144 if test "$wxUSE_OPTIMISE" = "no" ; then
40145 if test "$GCC" = yes ; then
40146 OPTIMISE_CFLAGS
="-O0"
40149 if test "$GCC" = yes ; then
40151 *-pc-os2_emx | *-pc-os2-emx )
40152 OPTIMISE_CFLAGS
="-O2"
40155 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40159 OPTIMISE_CFLAGS
="-O"
40164 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40165 cat >>confdefs.h
<<\_ACEOF
40166 #define WXWIN_COMPATIBILITY_2_6 1
40170 WXWIN_COMPATIBILITY_2_8
="yes"
40173 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40174 cat >>confdefs.h
<<\_ACEOF
40175 #define WXWIN_COMPATIBILITY_2_8 1
40181 if test "$wxUSE_GUI" = "yes"; then
40182 cat >>confdefs.h
<<\_ACEOF
40183 #define wxUSE_GUI 1
40190 if test "$wxUSE_UNIX" = "yes"; then
40191 cat >>confdefs.h
<<\_ACEOF
40192 #define wxUSE_UNIX 1
40198 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40202 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40203 if test "$USE_DARWIN" = 1; then
40205 elif test "$USE_DOS" = 1; then
40209 for ac_func
in dlopen
40211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40214 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 cat >conftest.
$ac_ext <<_ACEOF
40220 cat confdefs.h
>>conftest.
$ac_ext
40221 cat >>conftest.
$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define $ac_func innocuous_$ac_func
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char $ac_func (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40233 # include <limits.h>
40235 # include <assert.h>
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_$ac_func || defined __stub___$ac_func
40257 return $ac_func ();
40262 rm -f conftest.
$ac_objext conftest
$ac_exeext
40263 if { (ac_try
="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40271 grep -v '^ *+' conftest.er1 >conftest.err
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest$ac_exeext &&
40279 $as_test_x conftest$ac_exeext; then
40280 eval "$as_ac_var=yes"
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40285 eval "$as_ac_var=no"
40288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40289 conftest$ac_exeext conftest.$ac_ext
40291 ac_res=`eval echo '${'$as_ac_var'}'`
40292 { echo "$as_me:$LINENO: result: $ac_res" >&5
40293 echo "${ECHO_T}$ac_res" >&6; }
40294 if test `eval echo '${'$as_ac_var'}'` = yes; then
40295 cat >>confdefs.h <<_ACEOF
40296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40299 cat >>confdefs.h <<\_ACEOF
40300 #define HAVE_DLOPEN 1
40307 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40308 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40309 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 ac_check_lib_save_LIBS=$LIBS
40314 cat >conftest.$ac_ext <<_ACEOF
40317 cat confdefs.h >>conftest.$ac_ext
40318 cat >>conftest.$ac_ext <<_ACEOF
40319 /* end confdefs.h. */
40321 /* Override any GCC internal prototype to avoid an error.
40322 Use char because int might match the return type of a GCC
40323 builtin and then its argument prototype would still apply. */
40336 rm -f conftest.$ac_objext conftest$ac_exeext
40337 if { (ac_try="$ac_link"
40338 case "(($ac_try" in
40339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40340 *) ac_try_echo
=$ac_try;;
40342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40343 (eval "$ac_link") 2>conftest.er1
40345 grep -v '^ *+' conftest.er1
>conftest.err
40347 cat conftest.err
>&5
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); } && {
40350 test -z "$ac_c_werror_flag" ||
40351 test ! -s conftest.err
40352 } && test -s conftest
$ac_exeext &&
40353 $as_test_x conftest
$ac_exeext; then
40354 ac_cv_lib_dl_dlopen
=yes
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.
$ac_ext >&5
40359 ac_cv_lib_dl_dlopen
=no
40362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40363 conftest
$ac_exeext conftest.
$ac_ext
40364 LIBS
=$ac_check_lib_save_LIBS
40366 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40367 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40368 if test $ac_cv_lib_dl_dlopen = yes; then
40370 cat >>confdefs.h
<<\_ACEOF
40371 #define HAVE_DLOPEN 1
40375 DL_LINK
=" -ldl$DL_LINK"
40380 for ac_func
in shl_load
40382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40385 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40386 echo $ECHO_N "(cached) $ECHO_C" >&6
40388 cat >conftest.
$ac_ext <<_ACEOF
40391 cat confdefs.h
>>conftest.
$ac_ext
40392 cat >>conftest.
$ac_ext <<_ACEOF
40393 /* end confdefs.h. */
40394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40396 #define $ac_func innocuous_$ac_func
40398 /* System header to define __stub macros and hopefully few prototypes,
40399 which can conflict with char $ac_func (); below.
40400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40401 <limits.h> exists even on freestanding compilers. */
40404 # include <limits.h>
40406 # include <assert.h>
40411 /* Override any GCC internal prototype to avoid an error.
40412 Use char because int might match the return type of a GCC
40413 builtin and then its argument prototype would still apply. */
40418 /* The GNU C library defines this for functions which it implements
40419 to always fail with ENOSYS. Some functions are actually named
40420 something starting with __ and the normal name is an alias. */
40421 #if defined __stub_$ac_func || defined __stub___$ac_func
40428 return $ac_func ();
40433 rm -f conftest.
$ac_objext conftest
$ac_exeext
40434 if { (ac_try
="$ac_link"
40435 case "(($ac_try" in
40436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40437 *) ac_try_echo=$ac_try;;
40439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40440 (eval "$ac_link") 2>conftest.er1
40442 grep -v '^ *+' conftest.er1 >conftest.err
40444 cat conftest.err >&5
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); } && {
40447 test -z "$ac_c_werror_flag" ||
40448 test ! -s conftest.err
40449 } && test -s conftest$ac_exeext &&
40450 $as_test_x conftest$ac_exeext; then
40451 eval "$as_ac_var=yes"
40453 echo "$as_me: failed program was:" >&5
40454 sed 's/^/| /' conftest.$ac_ext >&5
40456 eval "$as_ac_var=no"
40459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40460 conftest$ac_exeext conftest.$ac_ext
40462 ac_res=`eval echo '${'$as_ac_var'}'`
40463 { echo "$as_me:$LINENO: result: $ac_res" >&5
40464 echo "${ECHO_T}$ac_res" >&6; }
40465 if test `eval echo '${'$as_ac_var'}'` = yes; then
40466 cat >>confdefs.h <<_ACEOF
40467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40470 cat >>confdefs.h <<\_ACEOF
40471 #define HAVE_SHL_LOAD 1
40478 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40479 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40480 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 ac_check_lib_save_LIBS=$LIBS
40484 LIBS="-lshl_load $LIBS"
40485 cat >conftest.$ac_ext <<_ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40492 /* Override any GCC internal prototype to avoid an error.
40493 Use char because int might match the return type of a GCC
40494 builtin and then its argument prototype would still apply. */
40507 rm -f conftest.$ac_objext conftest$ac_exeext
40508 if { (ac_try="$ac_link"
40509 case "(($ac_try" in
40510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40511 *) ac_try_echo
=$ac_try;;
40513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40514 (eval "$ac_link") 2>conftest.er1
40516 grep -v '^ *+' conftest.er1
>conftest.err
40518 cat conftest.err
>&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); } && {
40521 test -z "$ac_c_werror_flag" ||
40522 test ! -s conftest.err
40523 } && test -s conftest
$ac_exeext &&
40524 $as_test_x conftest
$ac_exeext; then
40525 ac_cv_lib_shl_load_dld
=yes
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.
$ac_ext >&5
40530 ac_cv_lib_shl_load_dld
=no
40533 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40534 conftest
$ac_exeext conftest.
$ac_ext
40535 LIBS
=$ac_check_lib_save_LIBS
40537 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40538 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40539 if test $ac_cv_lib_shl_load_dld = yes; then
40542 DL_LINK
=" -ldld$DL_LINK"
40558 if test "$HAVE_DL_FUNCS" = 1; then
40560 for ac_func
in dlerror
40562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40565 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40566 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 cat >conftest.
$ac_ext <<_ACEOF
40571 cat confdefs.h
>>conftest.
$ac_ext
40572 cat >>conftest.
$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40576 #define $ac_func innocuous_$ac_func
40578 /* System header to define __stub macros and hopefully few prototypes,
40579 which can conflict with char $ac_func (); below.
40580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40581 <limits.h> exists even on freestanding compilers. */
40584 # include <limits.h>
40586 # include <assert.h>
40591 /* Override any GCC internal prototype to avoid an error.
40592 Use char because int might match the return type of a GCC
40593 builtin and then its argument prototype would still apply. */
40598 /* The GNU C library defines this for functions which it implements
40599 to always fail with ENOSYS. Some functions are actually named
40600 something starting with __ and the normal name is an alias. */
40601 #if defined __stub_$ac_func || defined __stub___$ac_func
40608 return $ac_func ();
40613 rm -f conftest.
$ac_objext conftest
$ac_exeext
40614 if { (ac_try
="$ac_link"
40615 case "(($ac_try" in
40616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40617 *) ac_try_echo=$ac_try;;
40619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40620 (eval "$ac_link") 2>conftest.er1
40622 grep -v '^ *+' conftest.er1 >conftest.err
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } && {
40627 test -z "$ac_c_werror_flag" ||
40628 test ! -s conftest.err
40629 } && test -s conftest$ac_exeext &&
40630 $as_test_x conftest$ac_exeext; then
40631 eval "$as_ac_var=yes"
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40636 eval "$as_ac_var=no"
40639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40640 conftest$ac_exeext conftest.$ac_ext
40642 ac_res=`eval echo '${'$as_ac_var'}'`
40643 { echo "$as_me:$LINENO: result: $ac_res" >&5
40644 echo "${ECHO_T}$ac_res" >&6; }
40645 if test `eval echo '${'$as_ac_var'}'` = yes; then
40646 cat >>confdefs.h <<_ACEOF
40647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40649 cat >>confdefs.h <<\_ACEOF
40650 #define HAVE_DLERROR 1
40655 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40656 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40657 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40660 ac_check_lib_save_LIBS=$LIBS
40662 cat >conftest.$ac_ext <<_ACEOF
40665 cat confdefs.h >>conftest.$ac_ext
40666 cat >>conftest.$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40669 /* Override any GCC internal prototype to avoid an error.
40670 Use char because int might match the return type of a GCC
40671 builtin and then its argument prototype would still apply. */
40684 rm -f conftest.$ac_objext conftest$ac_exeext
40685 if { (ac_try="$ac_link"
40686 case "(($ac_try" in
40687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40688 *) ac_try_echo
=$ac_try;;
40690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40691 (eval "$ac_link") 2>conftest.er1
40693 grep -v '^ *+' conftest.er1
>conftest.err
40695 cat conftest.err
>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } && {
40698 test -z "$ac_c_werror_flag" ||
40699 test ! -s conftest.err
40700 } && test -s conftest
$ac_exeext &&
40701 $as_test_x conftest
$ac_exeext; then
40702 ac_cv_lib_dl_dlerror
=yes
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.
$ac_ext >&5
40707 ac_cv_lib_dl_dlerror
=no
40710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40711 conftest
$ac_exeext conftest.
$ac_ext
40712 LIBS
=$ac_check_lib_save_LIBS
40714 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40715 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40716 if test $ac_cv_lib_dl_dlerror = yes; then
40717 cat >>confdefs.h
<<\_ACEOF
40718 #define HAVE_DLERROR 1
40731 if test "$HAVE_DL_FUNCS" = 0; then
40732 if test "$HAVE_SHL_FUNCS" = 0; then
40733 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40734 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40735 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40736 wxUSE_DYNAMIC_LOADER
=no
40737 wxUSE_DYNLIB_CLASS
=no
40739 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40740 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40747 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40748 cat >>confdefs.h
<<\_ACEOF
40749 #define wxUSE_DYNAMIC_LOADER 1
40753 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40754 cat >>confdefs.h
<<\_ACEOF
40755 #define wxUSE_DYNLIB_CLASS 1
40762 if test "$wxUSE_PLUGINS" = "yes" ; then
40763 if test "$wxUSE_SHARED" = "no" ; then
40764 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40765 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40768 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40769 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40770 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40773 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40774 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40775 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40778 if test "$wxUSE_PLUGINS" = "yes" ; then
40779 cat >>confdefs.h
<<\_ACEOF
40780 #define wxUSE_PLUGINS 1
40787 if test "$wxUSE_STL" = "yes"; then
40788 cat >>confdefs.h
<<\_ACEOF
40789 #define wxUSE_STL 1
40794 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40795 cat >>confdefs.h
<<\_ACEOF
40796 #define wxUSE_APPLE_IEEE 1
40801 if test "$wxUSE_TIMER" = "yes"; then
40802 cat >>confdefs.h
<<\_ACEOF
40803 #define wxUSE_TIMER 1
40808 if test "$USE_UNIX" = "1" ; then
40809 if test "$wxUSE_MGL" != 1; then
40810 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40811 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40812 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40813 echo $ECHO_N "(cached) $ECHO_C" >&6
40816 cat >conftest.
$ac_ext <<_ACEOF
40819 cat confdefs.h
>>conftest.
$ac_ext
40820 cat >>conftest.
$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40823 #include <sys/ioctl.h>
40824 #include <sys/soundcard.h>
40830 ioctl(0, SNDCTL_DSP_SPEED, 0);
40836 rm -f conftest.
$ac_objext conftest
$ac_exeext
40837 if { (ac_try
="$ac_link"
40838 case "(($ac_try" in
40839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40840 *) ac_try_echo=$ac_try;;
40842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40843 (eval "$ac_link") 2>conftest.er1
40845 grep -v '^ *+' conftest.er1 >conftest.err
40847 cat conftest.err >&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); } && {
40850 test -z "$ac_c_werror_flag" ||
40851 test ! -s conftest.err
40852 } && test -s conftest$ac_exeext &&
40853 $as_test_x conftest$ac_exeext; then
40854 ac_cv_header_sys_soundcard=yes
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40861 LIBS="$saveLibs -lossaudio"
40862 cat >conftest.$ac_ext <<_ACEOF
40865 cat confdefs.h >>conftest.$ac_ext
40866 cat >>conftest.$ac_ext <<_ACEOF
40867 /* end confdefs.h. */
40869 #include <sys/ioctl.h>
40870 #include <sys/soundcard.h>
40876 ioctl(0, SNDCTL_DSP_SPEED, 0);
40882 rm -f conftest.$ac_objext conftest$ac_exeext
40883 if { (ac_try="$ac_link"
40884 case "(($ac_try" in
40885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40886 *) ac_try_echo
=$ac_try;;
40888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40889 (eval "$ac_link") 2>conftest.er1
40891 grep -v '^ *+' conftest.er1
>conftest.err
40893 cat conftest.err
>&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } && {
40896 test -z "$ac_c_werror_flag" ||
40897 test ! -s conftest.err
40898 } && test -s conftest
$ac_exeext &&
40899 $as_test_x conftest
$ac_exeext; then
40900 ac_cv_header_sys_soundcard
=yes
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.
$ac_ext >&5
40907 ac_cv_header_sys_soundcard
=no
40912 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40913 conftest
$ac_exeext conftest.
$ac_ext
40918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40919 conftest
$ac_exeext conftest.
$ac_ext
40922 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40923 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40926 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40927 cat >>confdefs.h
<<\_ACEOF
40928 #define HAVE_SYS_SOUNDCARD_H 1
40935 if test "$wxUSE_SOUND" = "yes"; then
40936 if test "$USE_UNIX" = "1" ; then
40937 if test "$wxUSE_LIBSDL" != "no"; then
40939 # Check whether --with-sdl-prefix was given.
40940 if test "${with_sdl_prefix+set}" = set; then
40941 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
40947 # Check whether --with-sdl-exec-prefix was given.
40948 if test "${with_sdl_exec_prefix+set}" = set; then
40949 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
40954 # Check whether --enable-sdltest was given.
40955 if test "${enable_sdltest+set}" = set; then
40956 enableval
=$enable_sdltest;
40962 if test x
$sdl_exec_prefix != x
; then
40963 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40964 if test x
${SDL_CONFIG+set} != xset
; then
40965 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40968 if test x
$sdl_prefix != x
; then
40969 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40970 if test x
${SDL_CONFIG+set} != xset
; then
40971 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40975 if test "x$prefix" != xNONE
; then
40976 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40978 # Extract the first word of "sdl-config", so it can be a program name with args.
40979 set dummy sdl
-config; ac_word
=$2
40980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40982 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40985 case $SDL_CONFIG in
40987 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40991 for as_dir
in $PATH
40994 test -z "$as_dir" && as_dir
=.
40995 for ac_exec_ext
in '' $ac_executable_extensions; do
40996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40997 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41005 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41009 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41010 if test -n "$SDL_CONFIG"; then
41011 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41012 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41014 { echo "$as_me:$LINENO: result: no" >&5
41015 echo "${ECHO_T}no" >&6; }
41019 min_sdl_version
=1.2.0
41020 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41021 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41023 if test "$SDL_CONFIG" = "no" ; then
41026 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41027 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41029 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41031 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41033 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41035 if test "x$enable_sdltest" = "xyes" ; then
41036 ac_save_CFLAGS
="$CFLAGS"
41037 ac_save_CXXFLAGS
="$CXXFLAGS"
41038 ac_save_LIBS
="$LIBS"
41039 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41040 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41041 LIBS
="$LIBS $SDL_LIBS"
41043 if test "$cross_compiling" = yes; then
41044 echo $ac_n "cross compiling; assumed OK... $ac_c"
41046 cat >conftest.
$ac_ext <<_ACEOF
41049 cat confdefs.h
>>conftest.
$ac_ext
41050 cat >>conftest.
$ac_ext <<_ACEOF
41051 /* end confdefs.h. */
41054 #include <stdlib.h>
41055 #include <string.h>
41059 my_strdup (char *str)
41065 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41066 strcpy (new_str, str);
41074 int main (int argc, char *argv[])
41076 int major, minor, micro;
41079 /* This hangs on some systems (?)
41080 system ("touch conf.sdltest");
41082 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41084 /* HP/UX 9 (%@#!) writes to sscanf strings */
41085 tmp_version = my_strdup("$min_sdl_version");
41086 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41087 printf("%s, bad version string\n", "$min_sdl_version");
41091 if (($sdl_major_version > major) ||
41092 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41093 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41099 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41100 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41101 printf("*** best to upgrade to the required version.\n");
41102 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41103 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41104 printf("*** config.cache before re-running configure\n");
41111 rm -f conftest
$ac_exeext
41112 if { (ac_try
="$ac_link"
41113 case "(($ac_try" in
41114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41115 *) ac_try_echo=$ac_try;;
41117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41118 (eval "$ac_link") 2>&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41122 { (case "(($ac_try" in
41123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41124 *) ac_try_echo
=$ac_try;;
41126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41127 (eval "$ac_try") 2>&5
41129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130 (exit $ac_status); }; }; then
41133 echo "$as_me: program exited with status $ac_status" >&5
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.
$ac_ext >&5
41137 ( exit $ac_status )
41140 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41144 CFLAGS
="$ac_save_CFLAGS"
41145 CXXFLAGS
="$ac_save_CXXFLAGS"
41146 LIBS
="$ac_save_LIBS"
41149 if test "x$no_sdl" = x
; then
41150 { echo "$as_me:$LINENO: result: yes" >&5
41151 echo "${ECHO_T}yes" >&6; }
41153 EXTRALIBS_SDL
="$SDL_LIBS"
41154 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41155 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41156 cat >>confdefs.h
<<\_ACEOF
41157 #define wxUSE_LIBSDL 1
41162 { echo "$as_me:$LINENO: result: no" >&5
41163 echo "${ECHO_T}no" >&6; }
41164 if test "$SDL_CONFIG" = "no" ; then
41165 echo "*** The sdl-config script installed by SDL could not be found"
41166 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41167 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41168 echo "*** full path to sdl-config."
41170 if test -f conf.sdltest
; then
41173 echo "*** Could not run SDL test program, checking why..."
41174 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41175 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41176 LIBS
="$LIBS $SDL_LIBS"
41177 cat >conftest.
$ac_ext <<_ACEOF
41180 cat confdefs.h
>>conftest.
$ac_ext
41181 cat >>conftest.
$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41187 int main(int argc, char *argv[])
41190 #define main K_and_R_C_main
41200 rm -f conftest.
$ac_objext conftest
$ac_exeext
41201 if { (ac_try
="$ac_link"
41202 case "(($ac_try" in
41203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_link") 2>conftest.er1
41209 grep -v '^ *+' conftest.er1 >conftest.err
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_c_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest$ac_exeext &&
41217 $as_test_x conftest$ac_exeext; then
41218 echo "*** The test program compiled, but did not run. This usually means"
41219 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41220 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41221 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41222 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41223 echo "*** is required on your system"
41225 echo "*** If you have an old version installed, it is best to remove it, although"
41226 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41228 echo "$as_me: failed program was:" >&5
41229 sed 's/^/| /' conftest.$ac_ext >&5
41231 echo "*** The test program failed to compile or link. See the file config.log for the"
41232 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41233 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41234 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41238 conftest$ac_exeext conftest.$ac_ext
41239 CFLAGS="$ac_save_CFLAGS"
41240 CXXFLAGS="$ac_save_CXXFLAGS"
41241 LIBS="$ac_save_LIBS"
41252 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41257 if test "$wxUSE_MGL" = 1; then
41258 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41259 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41265 if test "$wxUSE_SOUND" = "yes"; then
41266 cat >>confdefs.h <<\_ACEOF
41267 #define wxUSE_SOUND 1
41270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41273 if test "$WXGTK20" = 1; then
41276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41277 if test -n "$ac_tool_prefix"; then
41278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41279 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41283 echo $ECHO_N "(cached) $ECHO_C" >&6
41285 case $PKG_CONFIG in
41287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41291 for as_dir in $PATH
41294 test -z "$as_dir" && as_dir=.
41295 for ac_exec_ext in '' $ac_executable_extensions; do
41296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41309 if test -n "$PKG_CONFIG"; then
41310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41313 { echo "$as_me:$LINENO: result: no" >&5
41314 echo "${ECHO_T}no" >&6; }
41319 if test -z "$ac_cv_path_PKG_CONFIG"; then
41320 ac_pt_PKG_CONFIG=$PKG_CONFIG
41321 # Extract the first word of "pkg-config", so it can be a program name with args.
41322 set dummy pkg-config; ac_word=$2
41323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41326 echo $ECHO_N "(cached) $ECHO_C" >&6
41328 case $ac_pt_PKG_CONFIG in
41330 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41334 for as_dir in $PATH
41337 test -z "$as_dir" && as_dir=.
41338 for ac_exec_ext in '' $ac_executable_extensions; do
41339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41340 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41352 if test -n "$ac_pt_PKG_CONFIG"; then
41353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41356 { echo "$as_me:$LINENO: result: no" >&5
41357 echo "${ECHO_T}no" >&6; }
41360 if test "x$ac_pt_PKG_CONFIG" = x; then
41363 case $cross_compiling:$ac_tool_warned in
41365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41366 whose name does not start with the host triplet. If you think this
41367 configuration is useful to you, please write to autoconf@gnu.org." >&5
41368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41369 whose name does not start with the host triplet. If you think this
41370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41371 ac_tool_warned=yes ;;
41373 PKG_CONFIG=$ac_pt_PKG_CONFIG
41376 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41380 if test -n "$PKG_CONFIG"; then
41381 _pkg_min_version=0.9.0
41382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41385 { echo "$as_me:$LINENO: result: yes" >&5
41386 echo "${ECHO_T}yes" >&6; }
41388 { echo "$as_me:$LINENO: result: no" >&5
41389 echo "${ECHO_T}no" >&6; }
41395 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41396 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41400 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41401 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41403 if test -n "$PKG_CONFIG"; then
41404 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41405 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41407 if test -n "$PKG_CONFIG" && \
41408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41409 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; then
41413 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41421 if test -n "$PKG_CONFIG"; then
41422 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41423 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41425 if test -n "$PKG_CONFIG" && \
41426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41427 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; then
41431 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41442 if test $pkg_failed = yes; then
41444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41445 _pkg_short_errors_supported=yes
41447 _pkg_short_errors_supported=no
41449 if test $_pkg_short_errors_supported = yes; then
41450 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41452 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41454 # Put the nasty error message in config.log where it belongs
41455 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41458 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41459 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41460 wxUSE_LIBGNOMEPRINT="no"
41463 elif test $pkg_failed = untried; then
41465 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41466 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41467 wxUSE_LIBGNOMEPRINT="no"
41471 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41472 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41473 { echo "$as_me:$LINENO: result: yes" >&5
41474 echo "${ECHO_T}yes" >&6; }
41476 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41477 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41478 cat >>confdefs.h <<\_ACEOF
41479 #define wxUSE_LIBGNOMEPRINT 1
41487 if test "$wxUSE_MIMETYPE" = "yes" ; then
41488 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41492 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41493 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41495 if test -n "$PKG_CONFIG"; then
41496 if test -n "$GNOMEVFS_CFLAGS"; then
41497 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41499 if test -n "$PKG_CONFIG" && \
41500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41501 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); }; then
41505 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41513 if test -n "$PKG_CONFIG"; then
41514 if test -n "$GNOMEVFS_LIBS"; then
41515 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41517 if test -n "$PKG_CONFIG" && \
41518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41519 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; then
41523 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41534 if test $pkg_failed = yes; then
41536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41537 _pkg_short_errors_supported=yes
41539 _pkg_short_errors_supported=no
41541 if test $_pkg_short_errors_supported = yes; then
41542 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41544 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41546 # Put the nasty error message in config.log where it belongs
41547 echo "$GNOMEVFS_PKG_ERRORS" >&5
41550 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41551 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41552 wxUSE_LIBGNOMEVFS="no"
41555 elif test $pkg_failed = untried; then
41557 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41558 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41559 wxUSE_LIBGNOMEVFS="no"
41563 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41564 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41565 { echo "$as_me:$LINENO: result: yes" >&5
41566 echo "${ECHO_T}yes" >&6; }
41568 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41569 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41570 cat >>confdefs.h <<\_ACEOF
41571 #define wxUSE_LIBGNOMEVFS 1
41579 if test "$wxUSE_LIBHILDON" = "yes" ; then
41582 { echo "$as_me:$LINENO: checking for HILDON" >&5
41583 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41585 if test -n "$PKG_CONFIG"; then
41586 if test -n "$HILDON_CFLAGS"; then
41587 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41589 if test -n "$PKG_CONFIG" && \
41590 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41591 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; then
41595 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
41603 if test -n "$PKG_CONFIG"; then
41604 if test -n "$HILDON_LIBS"; then
41605 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41607 if test -n "$PKG_CONFIG" && \
41608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41609 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); }; then
41613 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
41624 if test $pkg_failed = yes; then
41626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41627 _pkg_short_errors_supported=yes
41629 _pkg_short_errors_supported=no
41631 if test $_pkg_short_errors_supported = yes; then
41632 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41634 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41636 # Put the nasty error message in config.log where it belongs
41637 echo "$HILDON_PKG_ERRORS" >&5
41640 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41641 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41642 wxUSE_LIBHILDON="no"
41645 elif test $pkg_failed = untried; then
41647 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41648 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41649 wxUSE_LIBHILDON="no"
41653 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41654 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41655 { echo "$as_me:$LINENO: result: yes" >&5
41656 echo "${ECHO_T}yes" >&6; }
41658 EXTRALIBS_HILDON="$HILDON_LIBS"
41659 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41660 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41661 cat >>confdefs.h <<\_ACEOF
41662 #define wxUSE_LIBHILDON 1
41670 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41671 cat >>confdefs.h <<\_ACEOF
41672 #define wxUSE_CMDLINE_PARSER 1
41677 if test "$wxUSE_STOPWATCH" = "yes"; then
41678 cat >>confdefs.h <<\_ACEOF
41679 #define wxUSE_STOPWATCH 1
41684 if test "$wxUSE_DATETIME" = "yes"; then
41685 cat >>confdefs.h <<\_ACEOF
41686 #define wxUSE_DATETIME 1
41691 if test "$wxUSE_FILE" = "yes"; then
41692 cat >>confdefs.h <<\_ACEOF
41693 #define wxUSE_FILE 1
41698 if test "$wxUSE_FFILE" = "yes"; then
41699 cat >>confdefs.h <<\_ACEOF
41700 #define wxUSE_FFILE 1
41705 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41706 if test "$wxUSE_STREAMS" != yes; then
41707 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41708 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41709 wxUSE_ARCHIVE_STREAMS=no
41711 cat >>confdefs.h <<\_ACEOF
41712 #define wxUSE_ARCHIVE_STREAMS 1
41718 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41719 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41720 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41721 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41722 elif test "$wxUSE_ZLIB" = "no"; then
41723 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41724 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41726 cat >>confdefs.h <<\_ACEOF
41727 #define wxUSE_ZIPSTREAM 1
41733 if test "$wxUSE_TARSTREAM" = "yes"; then
41734 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41735 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41736 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41738 cat >>confdefs.h <<\_ACEOF
41739 #define wxUSE_TARSTREAM 1
41745 if test "$wxUSE_FILESYSTEM" = "yes"; then
41746 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41747 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41748 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41749 wxUSE_FILESYSTEM=no
41751 cat >>confdefs.h <<\_ACEOF
41752 #define wxUSE_FILESYSTEM 1
41758 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41759 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41760 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41761 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41763 cat >>confdefs.h <<\_ACEOF
41764 #define wxUSE_FS_ARCHIVE 1
41770 if test "$wxUSE_FS_ZIP" = "yes"; then
41771 if test "$wxUSE_FS_ARCHIVE" != yes; then
41772 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41773 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_FS_ZIP 1
41782 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41783 if test "$USE_UNIX" != 1; then
41784 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41785 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41786 wxUSE_ON_FATAL_EXCEPTION=no
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_ON_FATAL_EXCEPTION 1
41795 if test "$wxUSE_STACKWALKER" = "yes"; then
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_STACKWALKER 1
41802 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41803 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41804 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41805 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41806 wxUSE_DEBUGREPORT=no
41808 cat >>confdefs.h <<\_ACEOF
41809 #define wxUSE_DEBUGREPORT 1
41812 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41818 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41819 cat >>confdefs.h <<\_ACEOF
41820 #define wxUSE_SNGLINST_CHECKER 1
41825 if test "$wxUSE_BUSYINFO" = "yes"; then
41826 cat >>confdefs.h <<\_ACEOF
41827 #define wxUSE_BUSYINFO 1
41832 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41833 cat >>confdefs.h <<\_ACEOF
41834 #define wxUSE_STD_IOSTREAM 1
41839 if test "$wxUSE_STD_STRING" = "yes"; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxUSE_STD_STRING 1
41846 if test "$wxUSE_STDPATHS" = "yes"; then
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_STDPATHS 1
41853 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41854 cat >>confdefs.h <<\_ACEOF
41855 #define wxUSE_TEXTBUFFER 1
41860 if test "$wxUSE_TEXTFILE" = "yes"; then
41861 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41862 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41863 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41865 cat >>confdefs.h <<\_ACEOF
41866 #define wxUSE_TEXTFILE 1
41872 if test "$wxUSE_CONFIG" = "yes" ; then
41873 if test "$wxUSE_TEXTFILE" != "yes"; then
41874 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41875 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_CONFIG 1
41881 cat >>confdefs.h <<\_ACEOF
41882 #define wxUSE_CONFIG_NATIVE 1
41885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41889 if test "$wxUSE_INTL" = "yes" ; then
41890 if test "$wxUSE_FILE" != "yes"; then
41891 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41892 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41894 cat >>confdefs.h <<\_ACEOF
41895 #define wxUSE_INTL 1
41898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41899 GUIDIST="$GUIDIST INTL_DIST"
41903 if test "$wxUSE_LOG" = "yes"; then
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_LOG 1
41909 if test "$wxUSE_LOGGUI" = "yes"; then
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_LOGGUI 1
41916 if test "$wxUSE_LOGWINDOW" = "yes"; then
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_LOGWINDOW 1
41923 if test "$wxUSE_LOGDIALOG" = "yes"; then
41924 cat >>confdefs.h <<\_ACEOF
41925 #define wxUSE_LOG_DIALOG 1
41930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41933 if test "$wxUSE_LONGLONG" = "yes"; then
41934 cat >>confdefs.h <<\_ACEOF
41935 #define wxUSE_LONGLONG 1
41940 if test "$wxUSE_GEOMETRY" = "yes"; then
41941 cat >>confdefs.h <<\_ACEOF
41942 #define wxUSE_GEOMETRY 1
41947 if test "$wxUSE_STREAMS" = "yes" ; then
41948 cat >>confdefs.h <<\_ACEOF
41949 #define wxUSE_STREAMS 1
41954 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_PRINTF_POS_PARAMS 1
41963 if test "$wxUSE_DATETIME" = "yes"; then
41965 for ac_func in strptime
41967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 cat >conftest.$ac_ext <<_ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41981 #define $ac_func innocuous_$ac_func
41983 /* System header to define __stub macros and hopefully few prototypes,
41984 which can conflict with char $ac_func (); below.
41985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41986 <limits.h> exists even on freestanding compilers. */
41989 # include <limits.h>
41991 # include <assert.h>
41996 /* Override any GCC internal prototype to avoid an error.
41997 Use char because int might match the return type of a GCC
41998 builtin and then its argument prototype would still apply. */
42003 /* The GNU C library defines this for functions which it implements
42004 to always fail with ENOSYS. Some functions are actually named
42005 something starting with __ and the normal name is an alias. */
42006 #if defined __stub_$ac_func || defined __stub___$ac_func
42013 return $ac_func ();
42018 rm -f conftest.$ac_objext conftest$ac_exeext
42019 if { (ac_try="$ac_link"
42020 case "(($ac_try" in
42021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42022 *) ac_try_echo
=$ac_try;;
42024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42025 (eval "$ac_link") 2>conftest.er1
42027 grep -v '^ *+' conftest.er1
>conftest.err
42029 cat conftest.err
>&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } && {
42032 test -z "$ac_c_werror_flag" ||
42033 test ! -s conftest.err
42034 } && test -s conftest
$ac_exeext &&
42035 $as_test_x conftest
$ac_exeext; then
42036 eval "$as_ac_var=yes"
42038 echo "$as_me: failed program was:" >&5
42039 sed 's/^/| /' conftest.
$ac_ext >&5
42041 eval "$as_ac_var=no"
42044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42045 conftest
$ac_exeext conftest.
$ac_ext
42047 ac_res
=`eval echo '${'$as_ac_var'}'`
42048 { echo "$as_me:$LINENO: result: $ac_res" >&5
42049 echo "${ECHO_T}$ac_res" >&6; }
42050 if test `eval echo '${'$as_ac_var'}'` = yes; then
42051 cat >>confdefs.h
<<_ACEOF
42052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42058 if test "$ac_cv_func_strptime" = "yes"; then
42059 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42060 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42061 if test "${wx_cv_func_strptime_decl+set}" = set; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42066 ac_cpp
='$CXXCPP $CPPFLAGS'
42067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42071 cat >conftest.
$ac_ext <<_ACEOF
42074 cat confdefs.h
>>conftest.
$ac_ext
42075 cat >>conftest.
$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42085 strptime("foo", "bar", &t);
42091 rm -f conftest.
$ac_objext
42092 if { (ac_try
="$ac_compile"
42093 case "(($ac_try" in
42094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42095 *) ac_try_echo=$ac_try;;
42097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42098 (eval "$ac_compile") 2>conftest.er1
42100 grep -v '^ *+' conftest.er1 >conftest.err
42102 cat conftest.err >&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } && {
42105 test -z "$ac_cxx_werror_flag" ||
42106 test ! -s conftest.err
42107 } && test -s conftest.$ac_objext; then
42108 wx_cv_func_strptime_decl=yes
42110 echo "$as_me: failed program was:" >&5
42111 sed 's/^/| /' conftest.$ac_ext >&5
42113 wx_cv_func_strptime_decl=no
42117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42119 ac_cpp='$CPP $CPPFLAGS'
42120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42127 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42128 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42130 if test "$wx_cv_func_strptime_decl" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define HAVE_STRPTIME_DECL 1
42137 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42138 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42139 if test "${wx_cv_var_timezone+set}" = set; then
42140 echo $ECHO_N "(cached) $ECHO_C" >&6
42144 ac_cpp='$CXXCPP $CPPFLAGS'
42145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42149 cat >conftest.$ac_ext <<_ACEOF
42152 cat confdefs.h >>conftest.$ac_ext
42153 cat >>conftest.$ac_ext <<_ACEOF
42154 /* end confdefs.h. */
42169 rm -f conftest.$ac_objext
42170 if { (ac_try="$ac_compile"
42171 case "(($ac_try" in
42172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42173 *) ac_try_echo
=$ac_try;;
42175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42176 (eval "$ac_compile") 2>conftest.er1
42178 grep -v '^ *+' conftest.er1
>conftest.err
42180 cat conftest.err
>&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); } && {
42183 test -z "$ac_cxx_werror_flag" ||
42184 test ! -s conftest.err
42185 } && test -s conftest.
$ac_objext; then
42187 wx_cv_var_timezone
=timezone
42190 echo "$as_me: failed program was:" >&5
42191 sed 's/^/| /' conftest.
$ac_ext >&5
42194 cat >conftest.
$ac_ext <<_ACEOF
42197 cat confdefs.h
>>conftest.
$ac_ext
42198 cat >>conftest.
$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42214 rm -f conftest.
$ac_objext
42215 if { (ac_try
="$ac_compile"
42216 case "(($ac_try" in
42217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42218 *) ac_try_echo=$ac_try;;
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_compile") 2>conftest.er1
42223 grep -v '^ *+' conftest.er1 >conftest.err
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_cxx_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest.$ac_objext; then
42232 wx_cv_var_timezone=_timezone
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.$ac_ext >&5
42239 cat >conftest.$ac_ext <<_ACEOF
42242 cat confdefs.h >>conftest.$ac_ext
42243 cat >>conftest.$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42259 rm -f conftest.$ac_objext
42260 if { (ac_try="$ac_compile"
42261 case "(($ac_try" in
42262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42263 *) ac_try_echo
=$ac_try;;
42265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42266 (eval "$ac_compile") 2>conftest.er1
42268 grep -v '^ *+' conftest.er1
>conftest.err
42270 cat conftest.err
>&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); } && {
42273 test -z "$ac_cxx_werror_flag" ||
42274 test ! -s conftest.err
42275 } && test -s conftest.
$ac_objext; then
42277 wx_cv_var_timezone
=__timezone
42280 echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.
$ac_ext >&5
42284 if test "$USE_DOS" = 0 ; then
42285 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42286 echo "$as_me: WARNING: no timezone variable" >&2;}
42292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42304 ac_cpp
='$CPP $CPPFLAGS'
42305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42312 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42313 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42315 if test "x$wx_cv_var_timezone" != x
; then
42316 cat >>confdefs.h
<<_ACEOF
42317 #define WX_TIMEZONE $wx_cv_var_timezone
42323 for ac_func
in localtime
42325 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42328 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42329 echo $ECHO_N "(cached) $ECHO_C" >&6
42331 cat >conftest.
$ac_ext <<_ACEOF
42334 cat confdefs.h
>>conftest.
$ac_ext
42335 cat >>conftest.
$ac_ext <<_ACEOF
42336 /* end confdefs.h. */
42337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42339 #define $ac_func innocuous_$ac_func
42341 /* System header to define __stub macros and hopefully few prototypes,
42342 which can conflict with char $ac_func (); below.
42343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42344 <limits.h> exists even on freestanding compilers. */
42347 # include <limits.h>
42349 # include <assert.h>
42354 /* Override any GCC internal prototype to avoid an error.
42355 Use char because int might match the return type of a GCC
42356 builtin and then its argument prototype would still apply. */
42361 /* The GNU C library defines this for functions which it implements
42362 to always fail with ENOSYS. Some functions are actually named
42363 something starting with __ and the normal name is an alias. */
42364 #if defined __stub_$ac_func || defined __stub___$ac_func
42371 return $ac_func ();
42376 rm -f conftest.
$ac_objext conftest
$ac_exeext
42377 if { (ac_try
="$ac_link"
42378 case "(($ac_try" in
42379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42380 *) ac_try_echo=$ac_try;;
42382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42383 (eval "$ac_link") 2>conftest.er1
42385 grep -v '^ *+' conftest.er1 >conftest.err
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } && {
42390 test -z "$ac_c_werror_flag" ||
42391 test ! -s conftest.err
42392 } && test -s conftest$ac_exeext &&
42393 $as_test_x conftest$ac_exeext; then
42394 eval "$as_ac_var=yes"
42396 echo "$as_me: failed program was:" >&5
42397 sed 's/^/| /' conftest.$ac_ext >&5
42399 eval "$as_ac_var=no"
42402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42403 conftest$ac_exeext conftest.$ac_ext
42405 ac_res=`eval echo '${'$as_ac_var'}'`
42406 { echo "$as_me:$LINENO: result: $ac_res" >&5
42407 echo "${ECHO_T}$ac_res" >&6; }
42408 if test `eval echo '${'$as_ac_var'}'` = yes; then
42409 cat >>confdefs.h <<_ACEOF
42410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42417 if test "$ac_cv_func_localtime" = "yes"; then
42418 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42419 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42420 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42424 cat >conftest.$ac_ext <<_ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h. */
42444 rm -f conftest.$ac_objext
42445 if { (ac_try="$ac_compile"
42446 case "(($ac_try" in
42447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42448 *) ac_try_echo
=$ac_try;;
42450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42451 (eval "$ac_compile") 2>conftest.er1
42453 grep -v '^ *+' conftest.er1
>conftest.err
42455 cat conftest.err
>&5
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); } && {
42458 test -z "$ac_c_werror_flag" ||
42459 test ! -s conftest.err
42460 } && test -s conftest.
$ac_objext; then
42462 wx_cv_struct_tm_has_gmtoff
=yes
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.
$ac_ext >&5
42468 wx_cv_struct_tm_has_gmtoff
=no
42472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42475 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42476 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42479 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42480 cat >>confdefs.h
<<\_ACEOF
42481 #define WX_GMTOFF_IN_TM 1
42488 for ac_func
in gettimeofday ftime
42490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42493 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42496 cat >conftest.
$ac_ext <<_ACEOF
42499 cat confdefs.h
>>conftest.
$ac_ext
42500 cat >>conftest.
$ac_ext <<_ACEOF
42501 /* end confdefs.h. */
42502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42504 #define $ac_func innocuous_$ac_func
42506 /* System header to define __stub macros and hopefully few prototypes,
42507 which can conflict with char $ac_func (); below.
42508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42509 <limits.h> exists even on freestanding compilers. */
42512 # include <limits.h>
42514 # include <assert.h>
42519 /* Override any GCC internal prototype to avoid an error.
42520 Use char because int might match the return type of a GCC
42521 builtin and then its argument prototype would still apply. */
42526 /* The GNU C library defines this for functions which it implements
42527 to always fail with ENOSYS. Some functions are actually named
42528 something starting with __ and the normal name is an alias. */
42529 #if defined __stub_$ac_func || defined __stub___$ac_func
42536 return $ac_func ();
42541 rm -f conftest.
$ac_objext conftest
$ac_exeext
42542 if { (ac_try
="$ac_link"
42543 case "(($ac_try" in
42544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_link") 2>conftest.er1
42550 grep -v '^ *+' conftest.er1 >conftest.err
42552 cat conftest.err >&5
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); } && {
42555 test -z "$ac_c_werror_flag" ||
42556 test ! -s conftest.err
42557 } && test -s conftest$ac_exeext &&
42558 $as_test_x conftest$ac_exeext; then
42559 eval "$as_ac_var=yes"
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.$ac_ext >&5
42564 eval "$as_ac_var=no"
42567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42568 conftest$ac_exeext conftest.$ac_ext
42570 ac_res=`eval echo '${'$as_ac_var'}'`
42571 { echo "$as_me:$LINENO: result: $ac_res" >&5
42572 echo "${ECHO_T}$ac_res" >&6; }
42573 if test `eval echo '${'$as_ac_var'}'` = yes; then
42574 cat >>confdefs.h <<_ACEOF
42575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42582 if test "$ac_cv_func_gettimeofday" = "yes"; then
42583 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42584 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42585 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42586 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 cat >conftest.$ac_ext <<_ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42596 #include <sys/time.h>
42597 #include <unistd.h>
42604 gettimeofday(&tv, NULL);
42610 rm -f conftest.$ac_objext
42611 if { (ac_try="$ac_compile"
42612 case "(($ac_try" in
42613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42614 *) ac_try_echo
=$ac_try;;
42616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42617 (eval "$ac_compile") 2>conftest.er1
42619 grep -v '^ *+' conftest.er1
>conftest.err
42621 cat conftest.err
>&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } && {
42624 test -z "$ac_c_werror_flag" ||
42625 test ! -s conftest.err
42626 } && test -s conftest.
$ac_objext; then
42627 wx_cv_func_gettimeofday_has_2_args
=yes
42629 echo "$as_me: failed program was:" >&5
42630 sed 's/^/| /' conftest.
$ac_ext >&5
42632 cat >conftest.
$ac_ext <<_ACEOF
42635 cat confdefs.h
>>conftest.
$ac_ext
42636 cat >>conftest.
$ac_ext <<_ACEOF
42637 /* end confdefs.h. */
42639 #include <sys/time.h>
42640 #include <unistd.h>
42653 rm -f conftest.
$ac_objext
42654 if { (ac_try
="$ac_compile"
42655 case "(($ac_try" in
42656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42657 *) ac_try_echo=$ac_try;;
42659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42660 (eval "$ac_compile") 2>conftest.er1
42662 grep -v '^ *+' conftest.er1 >conftest.err
42664 cat conftest.err >&5
42665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42666 (exit $ac_status); } && {
42667 test -z "$ac_c_werror_flag" ||
42668 test ! -s conftest.err
42669 } && test -s conftest.$ac_objext; then
42670 wx_cv_func_gettimeofday_has_2_args=no
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42676 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42677 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42678 wx_cv_func_gettimeofday_has_2_args=unknown
42683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42690 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42691 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42693 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42694 cat >>confdefs.h <<\_ACEOF
42695 #define WX_GETTIMEOFDAY_NO_TZ 1
42701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42705 if test "$wxUSE_SOCKETS" = "yes"; then
42706 if test "$wxUSE_MGL" = "1"; then
42707 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42708 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42713 if test "$wxUSE_SOCKETS" = "yes"; then
42714 if test "$TOOLKIT" != "MSW"; then
42715 { echo "$as_me:$LINENO: checking for socket" >&5
42716 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42717 if test "${ac_cv_func_socket+set}" = set; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42720 cat >conftest.$ac_ext <<_ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42728 #define socket innocuous_socket
42730 /* System header to define __stub macros and hopefully few prototypes,
42731 which can conflict with char socket (); below.
42732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42733 <limits.h> exists even on freestanding compilers. */
42736 # include <limits.h>
42738 # include <assert.h>
42743 /* Override any GCC internal prototype to avoid an error.
42744 Use char because int might match the return type of a GCC
42745 builtin and then its argument prototype would still apply. */
42750 /* The GNU C library defines this for functions which it implements
42751 to always fail with ENOSYS. Some functions are actually named
42752 something starting with __ and the normal name is an alias. */
42753 #if defined __stub_socket || defined __stub___socket
42765 rm -f conftest.$ac_objext conftest$ac_exeext
42766 if { (ac_try="$ac_link"
42767 case "(($ac_try" in
42768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42769 *) ac_try_echo
=$ac_try;;
42771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42772 (eval "$ac_link") 2>conftest.er1
42774 grep -v '^ *+' conftest.er1
>conftest.err
42776 cat conftest.err
>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } && {
42779 test -z "$ac_c_werror_flag" ||
42780 test ! -s conftest.err
42781 } && test -s conftest
$ac_exeext &&
42782 $as_test_x conftest
$ac_exeext; then
42783 ac_cv_func_socket
=yes
42785 echo "$as_me: failed program was:" >&5
42786 sed 's/^/| /' conftest.
$ac_ext >&5
42788 ac_cv_func_socket
=no
42791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42792 conftest
$ac_exeext conftest.
$ac_ext
42794 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42795 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42796 if test $ac_cv_func_socket = yes; then
42800 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42801 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42802 if test "${ac_cv_lib_socket_socket+set}" = set; then
42803 echo $ECHO_N "(cached) $ECHO_C" >&6
42805 ac_check_lib_save_LIBS
=$LIBS
42806 LIBS
="-lsocket $LIBS"
42807 cat >conftest.
$ac_ext <<_ACEOF
42810 cat confdefs.h
>>conftest.
$ac_ext
42811 cat >>conftest.
$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42814 /* Override any GCC internal prototype to avoid an error.
42815 Use char because int might match the return type of a GCC
42816 builtin and then its argument prototype would still apply. */
42829 rm -f conftest.
$ac_objext conftest
$ac_exeext
42830 if { (ac_try
="$ac_link"
42831 case "(($ac_try" in
42832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_link") 2>conftest.er1
42838 grep -v '^ *+' conftest.er1 >conftest.err
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest$ac_exeext &&
42846 $as_test_x conftest$ac_exeext; then
42847 ac_cv_lib_socket_socket=yes
42849 echo "$as_me: failed program was:" >&5
42850 sed 's/^/| /' conftest.$ac_ext >&5
42852 ac_cv_lib_socket_socket=no
42855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42856 conftest$ac_exeext conftest.$ac_ext
42857 LIBS=$ac_check_lib_save_LIBS
42859 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42860 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42861 if test $ac_cv_lib_socket_socket = yes; then
42862 if test "$INET_LINK" != " -lsocket"; then
42863 INET_LINK="$INET_LINK -lsocket"
42867 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42868 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42881 if test "$wxUSE_SOCKETS" = "yes" ; then
42882 if test "$TOOLKIT" != "MSW"; then
42883 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42884 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42885 if test "${wx_cv_type_getsockname3+set}" = set; then
42886 echo $ECHO_N "(cached) $ECHO_C" >&6
42890 ac_cpp='$CXXCPP $CPPFLAGS'
42891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42895 cat >conftest.$ac_ext <<_ACEOF
42898 cat confdefs.h >>conftest.$ac_ext
42899 cat >>conftest.$ac_ext <<_ACEOF
42900 /* end confdefs.h. */
42902 #include <sys/types.h>
42903 #include <sys/socket.h>
42910 getsockname(0, 0, &len);
42916 rm -f conftest.$ac_objext
42917 if { (ac_try="$ac_compile"
42918 case "(($ac_try" in
42919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42920 *) ac_try_echo
=$ac_try;;
42922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42923 (eval "$ac_compile") 2>conftest.er1
42925 grep -v '^ *+' conftest.er1
>conftest.err
42927 cat conftest.err
>&5
42928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929 (exit $ac_status); } && {
42930 test -z "$ac_cxx_werror_flag" ||
42931 test ! -s conftest.err
42932 } && test -s conftest.
$ac_objext; then
42933 wx_cv_type_getsockname3
=socklen_t
42935 echo "$as_me: failed program was:" >&5
42936 sed 's/^/| /' conftest.
$ac_ext >&5
42939 CFLAGS_OLD
="$CFLAGS"
42940 if test "$GCC" = yes ; then
42941 CFLAGS
="-Werror $CFLAGS"
42944 cat >conftest.
$ac_ext <<_ACEOF
42947 cat confdefs.h
>>conftest.
$ac_ext
42948 cat >>conftest.
$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42951 #include <sys/types.h>
42952 #include <sys/socket.h>
42959 getsockname(0, 0, &len);
42965 rm -f conftest.
$ac_objext
42966 if { (ac_try
="$ac_compile"
42967 case "(($ac_try" in
42968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42969 *) ac_try_echo=$ac_try;;
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_compile") 2>conftest.er1
42974 grep -v '^ *+' conftest.er1 >conftest.err
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_cxx_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest.$ac_objext; then
42982 wx_cv_type_getsockname3=size_t
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42987 cat >conftest.$ac_ext <<_ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42994 #include <sys/types.h>
42995 #include <sys/socket.h>
43002 getsockname(0, 0, &len);
43008 rm -f conftest.$ac_objext
43009 if { (ac_try="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43012 *) ac_try_echo
=$ac_try;;
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43017 grep -v '^ *+' conftest.er1
>conftest.err
43019 cat conftest.err
>&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_cxx_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.
$ac_objext; then
43025 wx_cv_type_getsockname3
=int
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.
$ac_ext >&5
43030 wx_cv_type_getsockname3
=unknown
43034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43040 CFLAGS
="$CFLAGS_OLD"
43045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43047 ac_cpp
='$CPP $CPPFLAGS'
43048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43054 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43055 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43057 if test "$wx_cv_type_getsockname3" = "unknown"; then
43059 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43060 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43062 cat >>confdefs.h
<<_ACEOF
43063 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43067 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43068 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43069 if test "${wx_cv_type_getsockopt5+set}" = set; then
43070 echo $ECHO_N "(cached) $ECHO_C" >&6
43074 ac_cpp
='$CXXCPP $CPPFLAGS'
43075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43079 cat >conftest.
$ac_ext <<_ACEOF
43082 cat confdefs.h
>>conftest.
$ac_ext
43083 cat >>conftest.
$ac_ext <<_ACEOF
43084 /* end confdefs.h. */
43086 #include <sys/types.h>
43087 #include <sys/socket.h>
43094 getsockopt(0, 0, 0, 0, &len);
43100 rm -f conftest.
$ac_objext
43101 if { (ac_try
="$ac_compile"
43102 case "(($ac_try" in
43103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43104 *) ac_try_echo=$ac_try;;
43106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43107 (eval "$ac_compile") 2>conftest.er1
43109 grep -v '^ *+' conftest.er1 >conftest.err
43111 cat conftest.err >&5
43112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43113 (exit $ac_status); } && {
43114 test -z "$ac_cxx_werror_flag" ||
43115 test ! -s conftest.err
43116 } && test -s conftest.$ac_objext; then
43117 wx_cv_type_getsockopt5=socklen_t
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43123 cat >conftest.$ac_ext <<_ACEOF
43126 cat confdefs.h >>conftest.$ac_ext
43127 cat >>conftest.$ac_ext <<_ACEOF
43128 /* end confdefs.h. */
43130 #include <sys/types.h>
43131 #include <sys/socket.h>
43138 getsockopt(0, 0, 0, 0, &len);
43144 rm -f conftest.$ac_objext
43145 if { (ac_try="$ac_compile"
43146 case "(($ac_try" in
43147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43148 *) ac_try_echo
=$ac_try;;
43150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43151 (eval "$ac_compile") 2>conftest.er1
43153 grep -v '^ *+' conftest.er1
>conftest.err
43155 cat conftest.err
>&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); } && {
43158 test -z "$ac_cxx_werror_flag" ||
43159 test ! -s conftest.err
43160 } && test -s conftest.
$ac_objext; then
43161 wx_cv_type_getsockopt5
=size_t
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.
$ac_ext >&5
43166 cat >conftest.
$ac_ext <<_ACEOF
43169 cat confdefs.h
>>conftest.
$ac_ext
43170 cat >>conftest.
$ac_ext <<_ACEOF
43171 /* end confdefs.h. */
43173 #include <sys/types.h>
43174 #include <sys/socket.h>
43181 getsockopt(0, 0, 0, 0, &len);
43187 rm -f conftest.
$ac_objext
43188 if { (ac_try
="$ac_compile"
43189 case "(($ac_try" in
43190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43191 *) ac_try_echo=$ac_try;;
43193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43194 (eval "$ac_compile") 2>conftest.er1
43196 grep -v '^ *+' conftest.er1 >conftest.err
43198 cat conftest.err >&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); } && {
43201 test -z "$ac_cxx_werror_flag" ||
43202 test ! -s conftest.err
43203 } && test -s conftest.$ac_objext; then
43204 wx_cv_type_getsockopt5=int
43206 echo "$as_me: failed program was:" >&5
43207 sed 's/^/| /' conftest.$ac_ext >&5
43209 wx_cv_type_getsockopt5=unknown
43213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43231 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43232 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43234 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43236 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43237 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43239 cat >>confdefs.h <<_ACEOF
43240 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43247 if test "$wxUSE_SOCKETS" = "yes" ; then
43248 cat >>confdefs.h <<\_ACEOF
43249 #define wxUSE_SOCKETS 1
43252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43255 if test "$wxUSE_PROTOCOL" = "yes"; then
43256 if test "$wxUSE_SOCKETS" != "yes"; then
43257 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43258 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43263 if test "$wxUSE_PROTOCOL" = "yes"; then
43264 cat >>confdefs.h <<\_ACEOF
43265 #define wxUSE_PROTOCOL 1
43269 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_PROTOCOL_HTTP 1
43275 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43276 cat >>confdefs.h <<\_ACEOF
43277 #define wxUSE_PROTOCOL_FTP 1
43281 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_PROTOCOL_FILE 1
43288 if test "$wxUSE_FS_INET" = "yes"; then
43289 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43290 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43295 if test "$wxUSE_URL" = "yes"; then
43296 if test "$wxUSE_PROTOCOL" != "yes"; then
43297 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43298 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43301 if test "$wxUSE_URL" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_URL 1
43309 if test "$wxUSE_VARIANT" = "yes"; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_VARIANT 1
43316 if test "$wxUSE_FS_INET" = "yes"; then
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_FS_INET 1
43324 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43327 if test "$TOOLKIT" = "MSW"; then
43330 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43331 if test "$USE_DARWIN" = 1; then
43332 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43333 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43340 cat >conftest.$ac_ext <<_ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346 #include <IOKit/hid/IOHIDLib.h>
43350 IOHIDQueueInterface *qi = NULL;
43351 IOHIDCallbackFunction cb = NULL;
43352 qi->setEventCallout(NULL, cb, NULL, NULL);
43357 rm -f conftest.$ac_objext
43358 if { (ac_try="$ac_compile"
43359 case "(($ac_try" in
43360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43361 *) ac_try_echo
=$ac_try;;
43363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43364 (eval "$ac_compile") 2>conftest.er1
43366 grep -v '^ *+' conftest.er1
>conftest.err
43368 cat conftest.err
>&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); } && {
43371 test -z "$ac_cxx_werror_flag" ||
43372 test ! -s conftest.err
43373 } && test -s conftest.
$ac_objext; then
43377 echo "$as_me: failed program was:" >&5
43378 sed 's/^/| /' conftest.
$ac_ext >&5
43383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43385 ac_cpp
='$CPP $CPPFLAGS'
43386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43390 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43391 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43395 if test "$wxUSE_MGL" != "1"; then
43396 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43397 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43398 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43399 echo $ECHO_N "(cached) $ECHO_C" >&6
43401 cat >conftest.
$ac_ext <<_ACEOF
43404 cat confdefs.h
>>conftest.
$ac_ext
43405 cat >>conftest.
$ac_ext <<_ACEOF
43406 /* end confdefs.h. */
43407 $ac_includes_default
43409 #include <linux/joystick.h>
43411 rm -f conftest.
$ac_objext
43412 if { (ac_try
="$ac_compile"
43413 case "(($ac_try" in
43414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43415 *) ac_try_echo=$ac_try;;
43417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43418 (eval "$ac_compile") 2>conftest.er1
43420 grep -v '^ *+' conftest.er1 >conftest.err
43422 cat conftest.err >&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); } && {
43425 test -z "$ac_c_werror_flag" ||
43426 test ! -s conftest.err
43427 } && test -s conftest.$ac_objext; then
43428 ac_cv_header_linux_joystick_h=yes
43430 echo "$as_me: failed program was:" >&5
43431 sed 's/^/| /' conftest.$ac_ext >&5
43433 ac_cv_header_linux_joystick_h=no
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43438 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43439 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43440 if test $ac_cv_header_linux_joystick_h = yes; then
43448 if test "$wxUSE_JOYSTICK" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_JOYSTICK 1
43453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43455 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43456 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43462 if test "$wxUSE_FONTMAP" = "yes" ; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_FONTMAP 1
43469 if test "$wxUSE_UNICODE" = "yes" ; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_UNICODE 1
43475 if test "$USE_WIN32" != 1; then
43476 wxUSE_UNICODE_MSLU=no
43479 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43480 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43481 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43482 if test "${ac_cv_lib_unicows_main+set}" = set; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43485 ac_check_lib_save_LIBS=$LIBS
43486 LIBS="-lunicows $LIBS"
43487 cat >conftest.$ac_ext <<_ACEOF
43490 cat confdefs.h >>conftest.$ac_ext
43491 cat >>conftest.$ac_ext <<_ACEOF
43492 /* end confdefs.h. */
43503 rm -f conftest.$ac_objext conftest$ac_exeext
43504 if { (ac_try="$ac_link"
43505 case "(($ac_try" in
43506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43507 *) ac_try_echo
=$ac_try;;
43509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43510 (eval "$ac_link") 2>conftest.er1
43512 grep -v '^ *+' conftest.er1
>conftest.err
43514 cat conftest.err
>&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); } && {
43517 test -z "$ac_c_werror_flag" ||
43518 test ! -s conftest.err
43519 } && test -s conftest
$ac_exeext &&
43520 $as_test_x conftest
$ac_exeext; then
43521 ac_cv_lib_unicows_main
=yes
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.
$ac_ext >&5
43526 ac_cv_lib_unicows_main
=no
43529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43530 conftest
$ac_exeext conftest.
$ac_ext
43531 LIBS
=$ac_check_lib_save_LIBS
43533 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43534 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43535 if test $ac_cv_lib_unicows_main = yes; then
43537 cat >>confdefs.h
<<\_ACEOF
43538 #define wxUSE_UNICODE_MSLU 1
43544 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43545 Applications will only run on Windows NT/2000/XP!" >&5
43546 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43547 Applications will only run on Windows NT/2000/XP!" >&2;}
43548 wxUSE_UNICODE_MSLU
=no
43555 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43556 cat >>confdefs.h
<<\_ACEOF
43557 #define wxUSE_EXPERIMENTAL_PRINTF 1
43563 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43564 cat >>confdefs.h
<<\_ACEOF
43565 #define wxUSE_POSTSCRIPT 1
43570 cat >>confdefs.h
<<\_ACEOF
43571 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43575 cat >>confdefs.h
<<\_ACEOF
43576 #define wxUSE_NORMALIZED_PS_FONTS 1
43581 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43582 cat >>confdefs.h
<<\_ACEOF
43583 #define wxUSE_CONSTRAINTS 1
43586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43589 if test "$wxUSE_MDI" = "yes"; then
43590 cat >>confdefs.h
<<\_ACEOF
43591 #define wxUSE_MDI 1
43595 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43596 cat >>confdefs.h
<<\_ACEOF
43597 #define wxUSE_MDI_ARCHITECTURE 1
43600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43604 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43610 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43615 if test "$wxUSE_HELP" = "yes"; then
43616 cat >>confdefs.h
<<\_ACEOF
43617 #define wxUSE_HELP 1
43620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43622 if test "$wxUSE_MSW" = 1; then
43623 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43624 cat >>confdefs.h
<<\_ACEOF
43625 #define wxUSE_MS_HTML_HELP 1
43631 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43632 if test "$wxUSE_HTML" = "yes"; then
43633 cat >>confdefs.h
<<\_ACEOF
43634 #define wxUSE_WXHTML_HELP 1
43638 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43639 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43640 wxUSE_WXHTML_HELP
=no
43645 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43646 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43647 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43648 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43650 cat >>confdefs.h
<<\_ACEOF
43651 #define wxUSE_PRINTING_ARCHITECTURE 1
43655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43660 if test "$wxUSE_METAFILE" = "yes"; then
43661 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43662 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43663 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43669 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43670 -o "$wxUSE_CLIPBOARD" = "yes" \
43671 -o "$wxUSE_OLE" = "yes" \
43672 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43673 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43674 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43675 if test "${ac_cv_header_ole2_h+set}" = set; then
43676 echo $ECHO_N "(cached) $ECHO_C" >&6
43678 cat >conftest.
$ac_ext <<_ACEOF
43681 cat confdefs.h
>>conftest.
$ac_ext
43682 cat >>conftest.
$ac_ext <<_ACEOF
43683 /* end confdefs.h. */
43688 rm -f conftest.
$ac_objext
43689 if { (ac_try
="$ac_compile"
43690 case "(($ac_try" in
43691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43692 *) ac_try_echo=$ac_try;;
43694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43695 (eval "$ac_compile") 2>conftest.er1
43697 grep -v '^ *+' conftest.er1 >conftest.err
43699 cat conftest.err >&5
43700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701 (exit $ac_status); } && {
43702 test -z "$ac_c_werror_flag" ||
43703 test ! -s conftest.err
43704 } && test -s conftest.$ac_objext; then
43705 ac_cv_header_ole2_h=yes
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43710 ac_cv_header_ole2_h=no
43713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43715 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43716 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43720 if test "$ac_cv_header_ole2_h" = "yes" ; then
43721 if test "$GCC" = yes ; then
43722 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43723 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43724 cat >conftest.$ac_ext <<_ACEOF
43727 cat confdefs.h >>conftest.$ac_ext
43728 cat >>conftest.$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43730 #include <windows.h>
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43749 grep -v '^ *+' conftest.er1
>conftest.err
43751 cat conftest.err
>&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_c_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.
$ac_objext; then
43757 { echo "$as_me:$LINENO: result: no" >&5
43758 echo "${ECHO_T}no" >&6; }
43760 echo "$as_me: failed program was:" >&5
43761 sed 's/^/| /' conftest.
$ac_ext >&5
43763 { echo "$as_me:$LINENO: result: yes" >&5
43764 echo "${ECHO_T}yes" >&6; }
43765 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43769 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43770 if test "$wxUSE_OLE" = "yes" ; then
43771 cat >>confdefs.h
<<\_ACEOF
43772 #define wxUSE_OLE 1
43775 cat >>confdefs.h
<<\_ACEOF
43776 #define wxUSE_OLE_AUTOMATION 1
43779 cat >>confdefs.h
<<\_ACEOF
43780 #define wxUSE_ACTIVEX 1
43783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43787 if test "$wxUSE_DATAOBJ" = "yes" ; then
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_DATAOBJ 1
43794 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43795 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43798 wxUSE_DRAG_AND_DROP
=no
43803 if test "$wxUSE_METAFILE" = "yes"; then
43804 cat >>confdefs.h
<<\_ACEOF
43805 #define wxUSE_METAFILE 1
43809 cat >>confdefs.h
<<\_ACEOF
43810 #define wxUSE_ENH_METAFILE 1
43816 if test "$wxUSE_IPC" = "yes"; then
43817 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43818 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43819 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43823 if test "$wxUSE_IPC" = "yes"; then
43824 cat >>confdefs.h
<<\_ACEOF
43825 #define wxUSE_IPC 1
43828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43832 if test "$wxUSE_DATAOBJ" = "yes"; then
43833 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43834 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43835 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43838 cat >>confdefs.h
<<\_ACEOF
43839 #define wxUSE_DATAOBJ 1
43844 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43845 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43847 wxUSE_DRAG_AND_DROP
=no
43850 if test "$wxUSE_CLIPBOARD" = "yes"; then
43851 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43852 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43853 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43857 if test "$wxUSE_CLIPBOARD" = "yes"; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_CLIPBOARD 1
43865 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43866 if test "$wxUSE_GTK" = 1; then
43867 if test "$WXGTK12" != 1; then
43868 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43869 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43870 wxUSE_DRAG_AND_DROP
=no
43874 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43875 "$wxUSE_DFB" = 1; then
43876 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43877 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43878 wxUSE_DRAG_AND_DROP
=no
43881 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_DRAG_AND_DROP 1
43890 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43894 if test "$wxUSE_SPLINES" = "yes" ; then
43895 cat >>confdefs.h
<<\_ACEOF
43896 #define wxUSE_SPLINES 1
43901 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43902 cat >>confdefs.h
<<\_ACEOF
43903 #define wxUSE_MOUSEWHEEL 1
43910 if test "$wxUSE_CONTROLS" = "yes"; then
43914 if test "$wxUSE_ACCEL" = "yes"; then
43915 cat >>confdefs.h
<<\_ACEOF
43916 #define wxUSE_ACCEL 1
43922 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43923 cat >>confdefs.h
<<\_ACEOF
43924 #define wxUSE_ANIMATIONCTRL 1
43928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
43931 if test "$wxUSE_BUTTON" = "yes"; then
43932 cat >>confdefs.h
<<\_ACEOF
43933 #define wxUSE_BUTTON 1
43939 if test "$wxUSE_BMPBUTTON" = "yes"; then
43940 cat >>confdefs.h
<<\_ACEOF
43941 #define wxUSE_BMPBUTTON 1
43947 if test "$wxUSE_CALCTRL" = "yes"; then
43948 cat >>confdefs.h
<<\_ACEOF
43949 #define wxUSE_CALENDARCTRL 1
43953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43956 if test "$wxUSE_CARET" = "yes"; then
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_CARET 1
43962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43965 if test "$wxUSE_COLLPANE" = "yes"; then
43966 cat >>confdefs.h
<<\_ACEOF
43967 #define wxUSE_COLLPANE 1
43971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
43974 if test "$wxUSE_COMBOBOX" = "yes"; then
43975 cat >>confdefs.h
<<\_ACEOF
43976 #define wxUSE_COMBOBOX 1
43982 if test "$wxUSE_COMBOCTRL" = "yes"; then
43983 cat >>confdefs.h
<<\_ACEOF
43984 #define wxUSE_COMBOCTRL 1
43990 if test "$wxUSE_CHOICE" = "yes"; then
43991 cat >>confdefs.h
<<\_ACEOF
43992 #define wxUSE_CHOICE 1
43998 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_CHOICEBOOK 1
44006 if test "$wxUSE_CHECKBOX" = "yes"; then
44007 cat >>confdefs.h
<<\_ACEOF
44008 #define wxUSE_CHECKBOX 1
44014 if test "$wxUSE_CHECKLST" = "yes"; then
44015 cat >>confdefs.h
<<\_ACEOF
44016 #define wxUSE_CHECKLISTBOX 1
44020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44023 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44024 cat >>confdefs.h
<<\_ACEOF
44025 #define wxUSE_COLOURPICKERCTRL 1
44031 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44032 cat >>confdefs.h
<<\_ACEOF
44033 #define wxUSE_DATEPICKCTRL 1
44039 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44040 cat >>confdefs.h
<<\_ACEOF
44041 #define wxUSE_DIRPICKERCTRL 1
44047 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44048 cat >>confdefs.h
<<\_ACEOF
44049 #define wxUSE_FILEPICKERCTRL 1
44055 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_FONTPICKERCTRL 1
44063 if test "$wxUSE_DISPLAY" = "yes"; then
44064 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44065 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44066 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44069 cat >>confdefs.h
<<\_ACEOF
44070 #define wxUSE_DISPLAY 1
44073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44077 if test "$wxUSE_DETECT_SM" = "yes"; then
44078 cat >>confdefs.h
<<\_ACEOF
44079 #define wxUSE_DETECT_SM 1
44084 if test "$wxUSE_GAUGE" = "yes"; then
44085 cat >>confdefs.h
<<\_ACEOF
44086 #define wxUSE_GAUGE 1
44092 if test "$wxUSE_GRID" = "yes"; then
44093 cat >>confdefs.h
<<\_ACEOF
44094 #define wxUSE_GRID 1
44098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44101 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44102 cat >>confdefs.h
<<\_ACEOF
44103 #define wxUSE_HYPERLINKCTRL 1
44109 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_BITMAPCOMBOBOX 1
44117 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44118 cat >>confdefs.h
<<\_ACEOF
44119 #define wxUSE_DATAVIEWCTRL 1
44123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44126 if test "$wxUSE_IMAGLIST" = "yes"; then
44127 cat >>confdefs.h
<<\_ACEOF
44128 #define wxUSE_IMAGLIST 1
44133 if test "$wxUSE_LISTBOOK" = "yes"; then
44134 cat >>confdefs.h
<<\_ACEOF
44135 #define wxUSE_LISTBOOK 1
44141 if test "$wxUSE_LISTBOX" = "yes"; then
44142 cat >>confdefs.h
<<\_ACEOF
44143 #define wxUSE_LISTBOX 1
44147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44150 if test "$wxUSE_LISTCTRL" = "yes"; then
44151 if test "$wxUSE_IMAGLIST" = "yes"; then
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define wxUSE_LISTCTRL 1
44157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44159 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44160 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44164 if test "$wxUSE_NOTEBOOK" = "yes"; then
44165 cat >>confdefs.h
<<\_ACEOF
44166 #define wxUSE_NOTEBOOK 1
44170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44173 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44174 cat >>confdefs.h
<<\_ACEOF
44175 #define wxUSE_ODCOMBOBOX 1
44179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44183 if test "$wxUSE_RADIOBOX" = "yes"; then
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define wxUSE_RADIOBOX 1
44191 if test "$wxUSE_RADIOBTN" = "yes"; then
44192 cat >>confdefs.h
<<\_ACEOF
44193 #define wxUSE_RADIOBTN 1
44199 if test "$wxUSE_SASH" = "yes"; then
44200 cat >>confdefs.h
<<\_ACEOF
44201 #define wxUSE_SASH 1
44204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44207 if test "$wxUSE_SCROLLBAR" = "yes"; then
44208 cat >>confdefs.h
<<\_ACEOF
44209 #define wxUSE_SCROLLBAR 1
44213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44216 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44217 cat >>confdefs.h
<<\_ACEOF
44218 #define wxUSE_SEARCHCTRL 1
44224 if test "$wxUSE_SLIDER" = "yes"; then
44225 cat >>confdefs.h
<<\_ACEOF
44226 #define wxUSE_SLIDER 1
44232 if test "$wxUSE_SPINBTN" = "yes"; then
44233 cat >>confdefs.h
<<\_ACEOF
44234 #define wxUSE_SPINBTN 1
44240 if test "$wxUSE_SPINCTRL" = "yes"; then
44241 cat >>confdefs.h
<<\_ACEOF
44242 #define wxUSE_SPINCTRL 1
44248 if test "$wxUSE_SPLITTER" = "yes"; then
44249 cat >>confdefs.h
<<\_ACEOF
44250 #define wxUSE_SPLITTER 1
44253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44256 if test "$wxUSE_STATBMP" = "yes"; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_STATBMP 1
44264 if test "$wxUSE_STATBOX" = "yes"; then
44265 cat >>confdefs.h
<<\_ACEOF
44266 #define wxUSE_STATBOX 1
44272 if test "$wxUSE_STATTEXT" = "yes"; then
44273 cat >>confdefs.h
<<\_ACEOF
44274 #define wxUSE_STATTEXT 1
44280 if test "$wxUSE_STATLINE" = "yes"; then
44281 cat >>confdefs.h
<<\_ACEOF
44282 #define wxUSE_STATLINE 1
44288 if test "$wxUSE_STATUSBAR" = "yes"; then
44289 cat >>confdefs.h
<<\_ACEOF
44290 #define wxUSE_NATIVE_STATUSBAR 1
44293 cat >>confdefs.h
<<\_ACEOF
44294 #define wxUSE_STATUSBAR 1
44299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44302 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44303 cat >>confdefs.h
<<\_ACEOF
44304 #define wxUSE_TAB_DIALOG 1
44309 if test "$wxUSE_TEXTCTRL" = "yes"; then
44310 cat >>confdefs.h
<<\_ACEOF
44311 #define wxUSE_TEXTCTRL 1
44315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44318 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44319 if test "$wxUSE_COCOA" = 1 ; then
44320 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44321 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44325 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_TOGGLEBTN 1
44334 if test "$wxUSE_TOOLBAR" = "yes"; then
44335 cat >>confdefs.h
<<\_ACEOF
44336 #define wxUSE_TOOLBAR 1
44341 if test "$wxUSE_UNIVERSAL" = "yes"; then
44342 wxUSE_TOOLBAR_NATIVE
="no"
44344 wxUSE_TOOLBAR_NATIVE
="yes"
44345 cat >>confdefs.h
<<\_ACEOF
44346 #define wxUSE_TOOLBAR_NATIVE 1
44351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44354 if test "$wxUSE_TOOLTIPS" = "yes"; then
44355 if test "$wxUSE_MOTIF" = 1; then
44356 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44357 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44359 if test "$wxUSE_UNIVERSAL" = "yes"; then
44360 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44361 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44363 cat >>confdefs.h
<<\_ACEOF
44364 #define wxUSE_TOOLTIPS 1
44371 if test "$wxUSE_TREEBOOK" = "yes"; then
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_TREEBOOK 1
44379 if test "$wxUSE_TOOLBOOK" = "yes"; then
44380 cat >>confdefs.h
<<\_ACEOF
44381 #define wxUSE_TOOLBOOK 1
44387 if test "$wxUSE_TREECTRL" = "yes"; then
44388 if test "$wxUSE_IMAGLIST" = "yes"; then
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_TREECTRL 1
44394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44396 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44397 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44401 if test "$wxUSE_POPUPWIN" = "yes"; then
44402 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44403 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44404 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44406 if test "$wxUSE_PM" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44408 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44410 cat >>confdefs.h
<<\_ACEOF
44411 #define wxUSE_POPUPWIN 1
44414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44421 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44422 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44423 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44424 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44426 cat >>confdefs.h
<<\_ACEOF
44427 #define wxUSE_DIALUP_MANAGER 1
44430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44434 if test "$wxUSE_TIPWINDOW" = "yes"; then
44435 if test "$wxUSE_PM" = 1; then
44436 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44437 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44439 cat >>confdefs.h
<<\_ACEOF
44440 #define wxUSE_TIPWINDOW 1
44446 if test "$USES_CONTROLS" = 1; then
44447 cat >>confdefs.h
<<\_ACEOF
44448 #define wxUSE_CONTROLS 1
44454 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44455 cat >>confdefs.h
<<\_ACEOF
44456 #define wxUSE_ACCESSIBILITY 1
44459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44462 if test "$wxUSE_DC_CACHEING" = "yes"; then
44463 cat >>confdefs.h
<<\_ACEOF
44464 #define wxUSE_DC_CACHEING 1
44469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44470 cat >>confdefs.h
<<\_ACEOF
44471 #define wxUSE_DRAGIMAGE 1
44474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44482 cat >>confdefs.h
<<\_ACEOF
44483 #define wxUSE_EXCEPTIONS 1
44486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44491 if test "$wxUSE_HTML" = "yes"; then
44492 cat >>confdefs.h
<<\_ACEOF
44493 #define wxUSE_HTML 1
44497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44498 if test "$wxUSE_MAC" = 1; then
44499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44502 if test "$wxUSE_WEBKIT" = "yes"; then
44503 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44504 old_CPPFLAGS
="$CPPFLAGS"
44505 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44506 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44507 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44508 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 cat >conftest.
$ac_ext <<_ACEOF
44514 cat confdefs.h
>>conftest.
$ac_ext
44515 cat >>conftest.
$ac_ext <<_ACEOF
44516 /* end confdefs.h. */
44518 #include <Carbon/Carbon.h>
44519 #include <WebKit/WebKit.h>
44522 #include <WebKit/HIWebView.h>
44524 rm -f conftest.
$ac_objext
44525 if { (ac_try
="$ac_compile"
44526 case "(($ac_try" in
44527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44528 *) ac_try_echo=$ac_try;;
44530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44531 (eval "$ac_compile") 2>conftest.er1
44533 grep -v '^ *+' conftest.er1 >conftest.err
44535 cat conftest.err >&5
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); } && {
44538 test -z "$ac_c_werror_flag" ||
44539 test ! -s conftest.err
44540 } && test -s conftest.$ac_objext; then
44541 ac_cv_header_WebKit_HIWebView_h=yes
44543 echo "$as_me: failed program was:" >&5
44544 sed 's/^/| /' conftest.$ac_ext >&5
44546 ac_cv_header_WebKit_HIWebView_h=no
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44551 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44552 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44553 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44555 cat >>confdefs.h <<\_ACEOF
44556 #define wxUSE_WEBKIT 1
44559 WEBKIT_LINK="-framework WebKit"
44563 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44564 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44570 CPPFLAGS="$old_CPPFLAGS"
44571 elif test "$wxUSE_COCOA" = 1; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_WEBKIT 1
44582 if test "$wxUSE_XRC" = "yes"; then
44583 if test "$wxUSE_XML" != "yes"; then
44584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_XRC 1
44593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44598 if test "$wxUSE_AUI" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_AUI 1
44604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44608 if test "$wxUSE_STC" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_STC 1
44614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44617 if test "$wxUSE_MENUS" = "yes"; then
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_MENUS 1
44622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44625 if test "$wxUSE_METAFILE" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_METAFILE 1
44632 if test "$wxUSE_MIMETYPE" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_MIMETYPE 1
44639 if test "$wxUSE_MINIFRAME" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_MINIFRAME 1
44644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44647 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_SYSTEM_OPTIONS 1
44652 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44653 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44659 if test "$wxUSE_VALIDATORS" = "yes"; then
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_VALIDATORS 1
44664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44667 if test "$wxUSE_PALETTE" = "yes" ; then
44668 if test "$wxUSE_DFB" = 1; then
44669 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44670 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_PALETTE 1
44680 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44681 LIBS=" -lunicows $LIBS"
44685 if test "$wxUSE_RICHTEXT" = "yes"; then
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_RICHTEXT 1
44691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44695 if test "$wxUSE_IMAGE" = "yes" ; then
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_IMAGE 1
44701 if test "$wxUSE_GIF" = "yes" ; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_GIF 1
44708 if test "$wxUSE_PCX" = "yes" ; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_PCX 1
44715 if test "$wxUSE_TGA" = "yes" ; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_TGA 1
44722 if test "$wxUSE_IFF" = "yes" ; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_IFF 1
44729 if test "$wxUSE_PNM" = "yes" ; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_PNM 1
44736 if test "$wxUSE_XPM" = "yes" ; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_XPM 1
44743 if test "$wxUSE_ICO_CUR" = "yes" ; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_ICO_CUR 1
44752 if test "$wxUSE_ABOUTDLG" = "yes"; then
44753 cat >>confdefs.h <<\_ACEOF
44754 #define wxUSE_ABOUTDLG 1
44759 if test "$wxUSE_CHOICEDLG" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_CHOICEDLG 1
44766 if test "$wxUSE_COLOURDLG" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_COLOURDLG 1
44773 if test "$wxUSE_FILEDLG" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_FILEDLG 1
44780 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_FINDREPLDLG 1
44787 if test "$wxUSE_FONTDLG" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_FONTDLG 1
44794 if test "$wxUSE_DIRDLG" = "yes"; then
44795 if test "$wxUSE_TREECTRL" != "yes"; then
44796 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44797 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_DIRDLG 1
44806 if test "$wxUSE_MSGDLG" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_MSGDLG 1
44813 if test "$wxUSE_NUMBERDLG" = "yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_NUMBERDLG 1
44820 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44822 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44823 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_PROGRESSDLG 1
44832 if test "$wxUSE_SPLASH" = "yes"; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_SPLASH 1
44837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44840 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44841 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44842 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44843 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_STARTUP_TIPS 1
44852 if test "$wxUSE_TEXTDLG" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_TEXTDLG 1
44859 if test "$wxUSE_WIZARDDLG" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_WIZARDDLG 1
44864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44868 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44869 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_GRAPHICS_CONTEXT 1
44874 elif test "$wxUSE_GTK" != 1; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_GRAPHICS_CONTEXT 1
44882 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44883 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44885 if test -n "$PKG_CONFIG"; then
44886 if test -n "$CAIRO_CFLAGS"; then
44887 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44889 if test -n "$PKG_CONFIG" && \
44890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44891 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; then
44895 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
44903 if test -n "$PKG_CONFIG"; then
44904 if test -n "$CAIRO_LIBS"; then
44905 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44907 if test -n "$PKG_CONFIG" && \
44908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44909 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912 (exit $ac_status); }; then
44913 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
44924 if test $pkg_failed = yes; then
44926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44927 _pkg_short_errors_supported=yes
44929 _pkg_short_errors_supported=no
44931 if test $_pkg_short_errors_supported = yes; then
44932 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44934 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44936 # Put the nasty error message in config.log where it belongs
44937 echo "$CAIRO_PKG_ERRORS" >&5
44939 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44940 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44942 elif test $pkg_failed = untried; then
44943 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44944 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44947 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44948 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44949 { echo "$as_me:$LINENO: result: yes" >&5
44950 echo "${ECHO_T}yes" >&6; }
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_GRAPHICS_CONTEXT 1
44962 if test "$wxUSE_MEDIACTRL" = "yes"; then
44965 if test "$wxUSE_GTK" = 1; then
44966 wxUSE_GSTREAMER="no"
44968 GST_VERSION_MAJOR=0
44969 GST_VERSION_MINOR=10
44970 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44972 if test "$wxUSE_GSTREAMER8" = "no"; then
44975 { echo "$as_me:$LINENO: checking for GST" >&5
44976 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44978 if test -n "$PKG_CONFIG"; then
44979 if test -n "$GST_CFLAGS"; then
44980 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44982 if test -n "$PKG_CONFIG" && \
44983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; then
44988 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
44996 if test -n "$PKG_CONFIG"; then
44997 if test -n "$GST_LIBS"; then
44998 pkg_cv_GST_LIBS="$GST_LIBS"
45000 if test -n "$PKG_CONFIG" && \
45001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); }; then
45006 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45017 if test $pkg_failed = yes; then
45019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45020 _pkg_short_errors_supported=yes
45022 _pkg_short_errors_supported=no
45024 if test $_pkg_short_errors_supported = yes; then
45025 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45027 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45029 # Put the nasty error message in config.log where it belongs
45030 echo "$GST_PKG_ERRORS" >&5
45033 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45034 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45035 GST_VERSION_MINOR=8
45038 elif test $pkg_failed = untried; then
45040 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45041 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45042 GST_VERSION_MINOR=8
45046 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45047 GST_LIBS=$pkg_cv_GST_LIBS
45048 { echo "$as_me:$LINENO: result: yes" >&5
45049 echo "${ECHO_T}yes" >&6; }
45051 wxUSE_GSTREAMER="yes"
45052 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45056 GST_VERSION_MINOR=8
45059 if test $GST_VERSION_MINOR = "8"; then
45060 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45063 { echo "$as_me:$LINENO: checking for GST" >&5
45064 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45066 if test -n "$PKG_CONFIG"; then
45067 if test -n "$GST_CFLAGS"; then
45068 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45070 if test -n "$PKG_CONFIG" && \
45071 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45072 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; then
45076 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45084 if test -n "$PKG_CONFIG"; then
45085 if test -n "$GST_LIBS"; then
45086 pkg_cv_GST_LIBS="$GST_LIBS"
45088 if test -n "$PKG_CONFIG" && \
45089 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45090 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; then
45094 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45105 if test $pkg_failed = yes; then
45107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45108 _pkg_short_errors_supported=yes
45110 _pkg_short_errors_supported=no
45112 if test $_pkg_short_errors_supported = yes; then
45113 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45115 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45117 # Put the nasty error message in config.log where it belongs
45118 echo "$GST_PKG_ERRORS" >&5
45121 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45122 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45124 elif test $pkg_failed = untried; then
45126 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45127 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45130 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45131 GST_LIBS=$pkg_cv_GST_LIBS
45132 { echo "$as_me:$LINENO: result: yes" >&5
45133 echo "${ECHO_T}yes" >&6; }
45134 wxUSE_GSTREAMER="yes"
45139 if test "$wxUSE_GSTREAMER" = "yes"; then
45142 if "$GCC" = yes; then
45143 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45144 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45148 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45149 LIBS="$GST_LIBS $LIBS"
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_GSTREAMER 1
45160 if test $USE_MEDIA = 1; then
45161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_MEDIACTRL 1
45170 if test "$cross_compiling" = "yes"; then
45173 OSINFO=`uname
-s -r -m`
45174 OSINFO="\"$OSINFO\""
45177 cat >>confdefs.h <<_ACEOF
45178 #define WXWIN_OS_DESCRIPTION $OSINFO
45183 if test "x$prefix" != "xNONE"; then
45186 wxPREFIX=$ac_default_prefix
45189 cat >>confdefs.h <<_ACEOF
45190 #define wxINSTALL_PREFIX "$wxPREFIX"
45196 CORE_BASE_LIBS="net base"
45197 CORE_GUI_LIBS="adv core"
45199 if test "$wxUSE_XML" = "yes" ; then
45200 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45202 if test "$wxUSE_ODBC" != "no" ; then
45203 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45204 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45206 if test "$wxUSE_HTML" = "yes" ; then
45207 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45209 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45210 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45212 if test "$wxUSE_XRC" = "yes" ; then
45213 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45215 if test "$wxUSE_AUI" = "yes" ; then
45216 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45218 if test "$wxUSE_STC" = "yes" ; then
45219 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45222 if test "$wxUSE_GUI" != "yes"; then
45231 if test "$wxUSE_MAC" = 1 ; then
45232 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45233 if test "$USE_DARWIN" = 1; then
45234 LDFLAGS="$LDFLAGS -framework QuickTime"
45236 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45239 if test "$USE_DARWIN" = 1; then
45240 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45242 LDFLAGS="$LDFLAGS -lCarbonLib"
45245 if test "$wxUSE_COCOA" = 1 ; then
45246 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45247 if test "$wxUSE_MEDIACTRL" = "yes"; then
45248 LDFLAGS="$LDFLAGS -framework QuickTime"
45251 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45252 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45255 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45257 if test "$wxUSE_GUI" = "yes"; then
45260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45261 dynamic erase event exec font image minimal mobile \
45262 mobile/wxedit mobile/styles propsize render \
45263 rotate shaped svg taborder vscroll widgets"
45265 if test "$wxUSE_MONOLITHIC" != "yes"; then
45266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45268 if test "$TOOLKIT" = "MSW"; then
45269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45270 if test "$wxUSE_UNIVERSAL" != "yes"; then
45271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45274 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45278 SAMPLES_SUBDIRS="console"
45282 if test "x$INTELCC" = "xyes" ; then
45283 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45284 elif test "$GCC" = yes ; then
45285 CWARNINGS="-Wall -Wundef"
45288 if test "x$INTELCXX" = "xyes" ; then
45289 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45290 elif test "$GXX" = yes ; then
45291 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45295 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45296 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45299 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45300 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
45301 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
45304 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45305 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45306 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45308 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45311 if test "x$MWCC" = "xyes"; then
45313 CC="$CC -cwd source -I-"
45314 CXX="$CXX -cwd source -I-"
45319 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45320 EXTRALIBS_XML="$EXPAT_LINK"
45321 EXTRALIBS_HTML="$MSPACK_LINK"
45322 EXTRALIBS_ODBC="$ODBC_LINK"
45323 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45324 if test "$wxUSE_GUI" = "yes"; then
45325 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45327 if test "$wxUSE_OPENGL" = "yes"; then
45328 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45331 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45333 WXCONFIG_LIBS="$LIBS"
45335 if test "$wxUSE_REGEX" = "builtin" ; then
45336 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45338 if test "$wxUSE_EXPAT" = "builtin" ; then
45339 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45341 if test "$wxUSE_ODBC" = "builtin" ; then
45342 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45344 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45345 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45347 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45348 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45350 if test "$wxUSE_LIBPNG" = "builtin" ; then
45351 wxconfig_3rdparty="png $wxconfig_3rdparty"
45353 if test "$wxUSE_ZLIB" = "builtin" ; then
45354 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45357 for i in $wxconfig_3rdparty ; do
45358 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45362 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45365 case "$wxUNIV_THEMES" in
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_ALL_THEMES 1
45374 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
45375 cat >>confdefs.h <<_ACEOF
45376 #define wxUSE_THEME_$t 1
45393 if test $wxUSE_MONOLITHIC = "yes" ; then
45399 if test $wxUSE_PLUGINS = "yes" ; then
45405 if test $wxUSE_ODBC != "no" ; then
45411 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45417 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45447 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45458 TOOLKIT_DESC="GTK+"
45459 if test "$WXGTK20" = 1; then
45460 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45461 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45462 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45464 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45465 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45467 if test "$wxUSE_LIBHILDON" = "yes"; then
45468 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45471 if test "$TOOLKIT_EXTRA" != ""; then
45472 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45478 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45482 TOOLKIT_DESC="base only"
45486 if test "$wxUSE_WINE" = "yes"; then
45487 BAKEFILE_FORCE_PLATFORM=win32
45490 if test "$wxUSE_MAC" = 1 ; then
45491 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45492 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45493 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45495 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45497 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45498 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45499 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45500 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45503 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45504 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45507 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45509 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45510 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45511 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45512 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 echo '#include <stdio.h>
45516 const wchar_t test_var[] = L"awidetest";' > conftest.h
45518 echo '#include "conftest.h"
45521 printf("%ls", test_var);
45525 wx_cv_gcc_pch_bug="pch not supported"
45527 if $CXX conftest.h >/dev/null 2>&1
45531 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45533 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45534 grep awidetest >/dev/null
45536 wx_cv_gcc_pch_bug=no
45538 wx_cv_gcc_pch_bug=yes
45543 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45546 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45547 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45549 if test "$wx_cv_gcc_pch_bug" = yes; then
45557 if test "x$BAKEFILE_HOST" = "x"; then
45558 if test "x${host}" = "x" ; then
45559 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45560 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45561 { (exit 1); exit 1; }; }
45564 BAKEFILE_HOST="${host}"
45567 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45569 if test -n "$ac_tool_prefix"; then
45570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45574 if test "${ac_cv_prog_RANLIB+set}" = set; then
45575 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 if test -n "$RANLIB"; then
45578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45581 for as_dir in $PATH
45584 test -z "$as_dir" && as_dir=.
45585 for ac_exec_ext in '' $ac_executable_extensions; do
45586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45597 RANLIB=$ac_cv_prog_RANLIB
45598 if test -n "$RANLIB"; then
45599 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45600 echo "${ECHO_T}$RANLIB" >&6; }
45602 { echo "$as_me:$LINENO: result: no" >&5
45603 echo "${ECHO_T}no" >&6; }
45608 if test -z "$ac_cv_prog_RANLIB"; then
45609 ac_ct_RANLIB=$RANLIB
45610 # Extract the first word of "ranlib", so it can be a program name with args.
45611 set dummy ranlib; ac_word=$2
45612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45614 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45615 echo $ECHO_N "(cached) $ECHO_C" >&6
45617 if test -n "$ac_ct_RANLIB"; then
45618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45621 for as_dir in $PATH
45624 test -z "$as_dir" && as_dir=.
45625 for ac_exec_ext in '' $ac_executable_extensions; do
45626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45627 ac_cv_prog_ac_ct_RANLIB="ranlib"
45628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45638 if test -n "$ac_ct_RANLIB"; then
45639 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45640 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45642 { echo "$as_me:$LINENO: result: no" >&5
45643 echo "${ECHO_T}no" >&6; }
45646 if test "x$ac_ct_RANLIB" = x; then
45649 case $cross_compiling:$ac_tool_warned in
45651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45652 whose name does not start with the host triplet. If you think this
45653 configuration is useful to you, please write to autoconf@gnu.org." >&5
45654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45655 whose name does not start with the host triplet. If you think this
45656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45657 ac_tool_warned=yes ;;
45659 RANLIB=$ac_ct_RANLIB
45662 RANLIB="$ac_cv_prog_RANLIB"
45665 # Find a good install program. We prefer a C program (faster),
45666 # so one script is as good as another. But avoid the broken or
45667 # incompatible versions:
45668 # SysV /etc/install, /usr/sbin/install
45669 # SunOS /usr/etc/install
45670 # IRIX /sbin/install
45672 # AmigaOS /C/install, which installs bootblocks on floppy discs
45673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45676 # OS/2's system install, which has a completely different semantic
45677 # ./install, which can be erroneously created by make from ./install.sh.
45678 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45679 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45680 if test -z "$INSTALL"; then
45681 if test "${ac_cv_path_install+set}" = set; then
45682 echo $ECHO_N "(cached) $ECHO_C" >&6
45684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45685 for as_dir in $PATH
45688 test -z "$as_dir" && as_dir=.
45689 # Account for people who put trailing slashes in PATH elements.
45691 ./ | .// | /cC/* | \
45692 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45693 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45696 # OSF1 and SCO ODT 3.0 have their own names for install.
45697 # Don't use installbsd from OSF since it installs stuff as root
45699 for ac_prog in ginstall scoinst install; do
45700 for ac_exec_ext in '' $ac_executable_extensions; do
45701 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45702 if test $ac_prog = install &&
45703 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45704 # AIX install. It has an incompatible calling convention.
45706 elif test $ac_prog = install &&
45707 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45708 # program-specific install script used by HP pwplus--don't use.
45711 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45724 if test "${ac_cv_path_install+set}" = set; then
45725 INSTALL=$ac_cv_path_install
45727 # As a last resort, use the slow shell script. Don't cache a
45728 # value for INSTALL within a source directory, because that will
45729 # break other packages using the cache if that directory is
45730 # removed, or if the value is a relative name.
45731 INSTALL=$ac_install_sh
45734 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45735 echo "${ECHO_T}$INSTALL" >&6; }
45737 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45738 # It thinks the first close brace ends the variable substitution.
45739 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45741 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45743 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45745 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45746 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45748 if test "$LN_S" = "ln -s"; then
45749 { echo "$as_me:$LINENO: result: yes" >&5
45750 echo "${ECHO_T}yes" >&6; }
45752 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45753 echo "${ECHO_T}no, using $LN_S" >&6; }
45757 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45759 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45760 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45763 cat >conftest.make <<\_ACEOF
45766 @echo '@@@%%%=$(MAKE)=@@@%%%'
45768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45769 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
45770 *@@@%%%=?*=@@@%%%*)
45771 eval ac_cv_prog_make_${ac_make}_set=yes;;
45773 eval ac_cv_prog_make_${ac_make}_set=no;;
45775 rm -f conftest.make
45777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45778 { echo "$as_me:$LINENO: result: yes" >&5
45779 echo "${ECHO_T}yes" >&6; }
45782 { echo "$as_me:$LINENO: result: no" >&5
45783 echo "${ECHO_T}no" >&6; }
45784 SET_MAKE="MAKE=${MAKE-make}"
45789 if test "x$SUNCXX" = "xyes"; then
45791 AROPTIONS="-xar -o"
45793 elif test "x$SGICC" = "xyes"; then
45798 if test -n "$ac_tool_prefix"; then
45799 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45800 set dummy ${ac_tool_prefix}ar; ac_word=$2
45801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45803 if test "${ac_cv_prog_AR+set}" = set; then
45804 echo $ECHO_N "(cached) $ECHO_C" >&6
45806 if test -n "$AR"; then
45807 ac_cv_prog_AR="$AR" # Let the user override the test.
45809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45810 for as_dir in $PATH
45813 test -z "$as_dir" && as_dir=.
45814 for ac_exec_ext in '' $ac_executable_extensions; do
45815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45816 ac_cv_prog_AR="${ac_tool_prefix}ar"
45817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45827 if test -n "$AR"; then
45828 { echo "$as_me:$LINENO: result: $AR" >&5
45829 echo "${ECHO_T}$AR" >&6; }
45831 { echo "$as_me:$LINENO: result: no" >&5
45832 echo "${ECHO_T}no" >&6; }
45837 if test -z "$ac_cv_prog_AR"; then
45839 # Extract the first word of "ar", so it can be a program name with args.
45840 set dummy ar; ac_word=$2
45841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 if test -n "$ac_ct_AR"; then
45847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45850 for as_dir in $PATH
45853 test -z "$as_dir" && as_dir=.
45854 for ac_exec_ext in '' $ac_executable_extensions; do
45855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45856 ac_cv_prog_ac_ct_AR="ar"
45857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45867 if test -n "$ac_ct_AR"; then
45868 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45869 echo "${ECHO_T}$ac_ct_AR" >&6; }
45871 { echo "$as_me:$LINENO: result: no" >&5
45872 echo "${ECHO_T}no" >&6; }
45875 if test "x$ac_ct_AR" = x; then
45878 case $cross_compiling:$ac_tool_warned in
45880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45881 whose name does not start with the host triplet. If you think this
45882 configuration is useful to you, please write to autoconf@gnu.org." >&5
45883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45884 whose name does not start with the host triplet. If you think this
45885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45886 ac_tool_warned=yes ;;
45891 AR="$ac_cv_prog_AR"
45898 if test -n "$ac_tool_prefix"; then
45899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45900 set dummy ${ac_tool_prefix}strip; ac_word=$2
45901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45903 if test "${ac_cv_prog_STRIP+set}" = set; then
45904 echo $ECHO_N "(cached) $ECHO_C" >&6
45906 if test -n "$STRIP"; then
45907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45910 for as_dir in $PATH
45913 test -z "$as_dir" && as_dir=.
45914 for ac_exec_ext in '' $ac_executable_extensions; do
45915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45926 STRIP=$ac_cv_prog_STRIP
45927 if test -n "$STRIP"; then
45928 { echo "$as_me:$LINENO: result: $STRIP" >&5
45929 echo "${ECHO_T}$STRIP" >&6; }
45931 { echo "$as_me:$LINENO: result: no" >&5
45932 echo "${ECHO_T}no" >&6; }
45937 if test -z "$ac_cv_prog_STRIP"; then
45939 # Extract the first word of "strip", so it can be a program name with args.
45940 set dummy strip; ac_word=$2
45941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45943 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45944 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 if test -n "$ac_ct_STRIP"; then
45947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45950 for as_dir in $PATH
45953 test -z "$as_dir" && as_dir=.
45954 for ac_exec_ext in '' $ac_executable_extensions; do
45955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45956 ac_cv_prog_ac_ct_STRIP="strip"
45957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45967 if test -n "$ac_ct_STRIP"; then
45968 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45969 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45971 { echo "$as_me:$LINENO: result: no" >&5
45972 echo "${ECHO_T}no" >&6; }
45975 if test "x$ac_ct_STRIP" = x; then
45978 case $cross_compiling:$ac_tool_warned in
45980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45981 whose name does not start with the host triplet. If you think this
45982 configuration is useful to you, please write to autoconf@gnu.org." >&5
45983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45984 whose name does not start with the host triplet. If you think this
45985 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45986 ac_tool_warned=yes ;;
45991 STRIP="$ac_cv_prog_STRIP"
45994 if test -n "$ac_tool_prefix"; then
45995 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45996 set dummy ${ac_tool_prefix}nm; ac_word=$2
45997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45999 if test "${ac_cv_prog_NM+set}" = set; then
46000 echo $ECHO_N "(cached) $ECHO_C" >&6
46002 if test -n "$NM"; then
46003 ac_cv_prog_NM="$NM" # Let the user override the test.
46005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46006 for as_dir in $PATH
46009 test -z "$as_dir" && as_dir=.
46010 for ac_exec_ext in '' $ac_executable_extensions; do
46011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46012 ac_cv_prog_NM="${ac_tool_prefix}nm"
46013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46023 if test -n "$NM"; then
46024 { echo "$as_me:$LINENO: result: $NM" >&5
46025 echo "${ECHO_T}$NM" >&6; }
46027 { echo "$as_me:$LINENO: result: no" >&5
46028 echo "${ECHO_T}no" >&6; }
46033 if test -z "$ac_cv_prog_NM"; then
46035 # Extract the first word of "nm", so it can be a program name with args.
46036 set dummy nm; ac_word=$2
46037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46039 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46040 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 if test -n "$ac_ct_NM"; then
46043 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46046 for as_dir in $PATH
46049 test -z "$as_dir" && as_dir=.
46050 for ac_exec_ext in '' $ac_executable_extensions; do
46051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46052 ac_cv_prog_ac_ct_NM="nm"
46053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46062 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46063 if test -n "$ac_ct_NM"; then
46064 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46065 echo "${ECHO_T}$ac_ct_NM" >&6; }
46067 { echo "$as_me:$LINENO: result: no" >&5
46068 echo "${ECHO_T}no" >&6; }
46071 if test "x$ac_ct_NM" = x; then
46074 case $cross_compiling:$ac_tool_warned in
46076 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46077 whose name does not start with the host triplet. If you think this
46078 configuration is useful to you, please write to autoconf@gnu.org." >&5
46079 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46080 whose name does not start with the host triplet. If you think this
46081 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46082 ac_tool_warned=yes ;;
46087 NM="$ac_cv_prog_NM"
46091 case ${BAKEFILE_HOST} in
46093 INSTALL_DIR="mkdir -p"
46096 INSTALL_DIR='$(INSTALL) -d'
46102 case ${BAKEFILE_HOST} in
46103 *-*-cygwin* | *-*-mingw32* )
46104 LDFLAGS_GUI="-mwindows"
46110 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46111 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46112 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46113 echo $ECHO_N "(cached) $ECHO_C" >&6
46116 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46117 egrep -s GNU > /dev/null); then
46118 bakefile_cv_prog_makeisgnu="yes"
46120 bakefile_cv_prog_makeisgnu="no"
46124 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46125 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46127 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46144 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46145 case "${BAKEFILE_HOST}" in
46152 *-pc-os2_emx | *-pc-os2-emx )
46162 powerpc-apple-macos* )
46171 case "$BAKEFILE_FORCE_PLATFORM" in
46192 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46193 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46194 { (exit 1); exit 1; }; }
46209 # Check whether --enable-omf was given.
46210 if test "${enable_omf+set}" = set; then
46211 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46215 case "${BAKEFILE_HOST}" in
46217 if test "x$GCC" = "xyes"; then
46218 CFLAGS="$CFLAGS -fno-common"
46219 CXXFLAGS="$CXXFLAGS -fno-common"
46221 if test "x$XLCC" = "xyes"; then
46222 CFLAGS="$CFLAGS -qnocommon"
46223 CXXFLAGS="$CXXFLAGS -qnocommon"
46227 *-pc-os2_emx | *-pc-os2-emx )
46228 if test "x$bk_os2_use_omf" = "xyes" ; then
46231 LDFLAGS="-Zomf $LDFLAGS"
46232 CFLAGS="-Zomf $CFLAGS"
46233 CXXFLAGS="-Zomf $CXXFLAGS"
46241 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46247 SO_SUFFIX_MODULE="so"
46252 DLLPREFIX_MODULE=""
46256 case "${BAKEFILE_HOST}" in
46259 SO_SUFFIX_MODULE="sl"
46263 SO_SUFFIX_MODULE="a"
46267 SO_SUFFIX_MODULE="dll"
46268 DLLIMP_SUFFIX="dll.a"
46275 SO_SUFFIX_MODULE="dll"
46276 DLLIMP_SUFFIX="dll.a"
46286 *-pc-os2_emx | *-pc-os2-emx )
46288 SO_SUFFIX_MODULE="dll"
46289 DLLIMP_SUFFIX=$OS2_LIBEXT
46293 LIBEXT=".$OS2_LIBEXT"
46298 SO_SUFFIX_MODULE="bundle"
46302 if test "x$DLLIMP_SUFFIX" = "x" ; then
46303 DLLIMP_SUFFIX="$SO_SUFFIX"
46318 if test "x$GCC" = "xyes"; then
46322 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46323 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46326 case "${BAKEFILE_HOST}" in
46328 if test "x$GCC" != "xyes"; then
46329 LDFLAGS="$LDFLAGS -L/usr/lib"
46331 SHARED_LD_CC="${CC} -b -o"
46332 SHARED_LD_CXX="${CXX} -b -o"
46338 if test "x$GCC" != "xyes"; then
46339 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46340 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46341 if test "${bakefile_cv_prog_icc+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46345 cat >conftest.$ac_ext <<_ACEOF
46348 cat confdefs.h >>conftest.$ac_ext
46349 cat >>conftest.$ac_ext <<_ACEOF
46350 /* end confdefs.h. */
46356 #ifndef __INTEL_COMPILER
46364 rm -f conftest.$ac_objext
46365 if { (ac_try="$ac_compile"
46366 case "(($ac_try" in
46367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46368 *) ac_try_echo
=$ac_try;;
46370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46371 (eval "$ac_compile") 2>conftest.er1
46373 grep -v '^ *+' conftest.er1
>conftest.err
46375 cat conftest.err
>&5
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); } && {
46378 test -z "$ac_c_werror_flag" ||
46379 test ! -s conftest.err
46380 } && test -s conftest.
$ac_objext; then
46381 bakefile_cv_prog_icc
=yes
46383 echo "$as_me: failed program was:" >&5
46384 sed 's/^/| /' conftest.
$ac_ext >&5
46386 bakefile_cv_prog_icc
=no
46390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46393 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46394 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46395 if test "$bakefile_cv_prog_icc" = "yes"; then
46402 if test "x$GCC" != xyes
; then
46403 SHARED_LD_CC
="${CC} -G -o"
46404 SHARED_LD_CXX
="${CXX} -G -o"
46412 cat <<EOF >shared-ld-sh
46414 #-----------------------------------------------------------------------------
46415 #-- Name: distrib/mac/shared-ld-sh
46416 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46417 #-- Author: Gilles Depeyrot
46418 #-- Copyright: (c) 2002 Gilles Depeyrot
46419 #-- Licence: any use permitted
46420 #-----------------------------------------------------------------------------
46425 linking_flag="-dynamiclib"
46426 ldargs="-r -keep_private_externs -nostdlib"
46428 while test ${D}# -gt 0; do
46435 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46436 # collect these options and values
46437 args="${D}{args} ${D}1 ${D}2"
46442 # collect these load args
46443 ldargs="${D}{ldargs} ${D}1"
46446 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46447 # collect these options
46448 args="${D}{args} ${D}1"
46451 -dynamiclib|-bundle)
46452 linking_flag="${D}1"
46456 echo "shared-ld: unhandled option '${D}1'"
46460 *.o | *.a | *.dylib)
46461 # collect object files
46462 objects="${D}{objects} ${D}1"
46466 echo "shared-ld: unhandled argument '${D}1'"
46477 # Link one module containing all the others
46479 if test ${D}{verbose} = 1; then
46480 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46482 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46486 # Link the shared library from the single module created, but only if the
46487 # previous command didn't fail:
46489 if test ${D}{status} = 0; then
46490 if test ${D}{verbose} = 1; then
46491 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46493 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46498 # Remove intermediate module
46500 rm -f master.${D}${D}.o
46505 chmod +x shared
-ld-sh
46507 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46508 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46511 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46512 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46513 if test "${bakefile_cv_gcc31+set}" = set; then
46514 echo $ECHO_N "(cached) $ECHO_C" >&6
46517 cat >conftest.
$ac_ext <<_ACEOF
46520 cat confdefs.h
>>conftest.
$ac_ext
46521 cat >>conftest.
$ac_ext <<_ACEOF
46522 /* end confdefs.h. */
46528 #if (__GNUC__ < 3) || \
46529 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46537 rm -f conftest.
$ac_objext
46538 if { (ac_try
="$ac_compile"
46539 case "(($ac_try" in
46540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46541 *) ac_try_echo=$ac_try;;
46543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46544 (eval "$ac_compile") 2>conftest.er1
46546 grep -v '^ *+' conftest.er1 >conftest.err
46548 cat conftest.err >&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); } && {
46551 test -z "$ac_c_werror_flag" ||
46552 test ! -s conftest.err
46553 } && test -s conftest.$ac_objext; then
46555 bakefile_cv_gcc31=yes
46558 echo "$as_me: failed program was:" >&5
46559 sed 's/^/| /' conftest.$ac_ext >&5
46562 bakefile_cv_gcc31=no
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46570 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46571 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46572 if test "$bakefile_cv_gcc31" = "no"; then
46573 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46574 SHARED_LD_CXX="$SHARED_LD_CC"
46576 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46577 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46580 if test "x$GCC" == "xyes"; then
46581 PIC_FLAG="-dynamic -fPIC"
46583 if test "x$XLCC" = "xyes"; then
46584 PIC_FLAG="-dynamic -DPIC"
46589 if test "x$GCC" = "xyes"; then
46592 case "${BAKEFILE_HOST}" in
46594 LD_EXPFULL="-Wl,-bexpfull"
46598 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46599 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46601 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46602 set dummy makeC++SharedLib; ac_word=$2
46603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46605 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46608 if test -n "$AIX_CXX_LD"; then
46609 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46612 for as_dir in $PATH
46615 test -z "$as_dir" && as_dir=.
46616 for ac_exec_ext in '' $ac_executable_extensions; do
46617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46618 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46626 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46629 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46630 if test -n "$AIX_CXX_LD"; then
46631 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46632 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46634 { echo "$as_me:$LINENO: result: no" >&5
46635 echo "${ECHO_T}no" >&6; }
46639 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46640 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46645 SHARED_LD_CC="${LD} -nostart -o"
46646 SHARED_LD_CXX="${LD} -nostart -o"
46650 if test "x$GCC" != "xyes"; then
46655 *-*-cygwin* | *-*-mingw32* )
46657 SHARED_LD_CC="\$(CC) -shared -o"
46658 SHARED_LD_CXX="\$(CXX) -shared -o"
46662 *-pc-os2_emx | *-pc-os2-emx )
46663 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46664 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46668 cat <<EOF >dllar.sh
46671 # dllar - a tool to build both a .dll and an .a file
46672 # from a set of object (.o) files for EMX/OS2.
46674 # Written by Andrew Zabolotny, bit@freya.etu.ru
46675 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46677 # This script will accept a set of files on the command line.
46678 # All the public symbols from the .o files will be exported into
46679 # a .DEF file, then linker will be run (through gcc) against them to
46680 # build a shared library consisting of all given .o files. All libraries
46681 # (.a) will be first decompressed into component .o files then act as
46682 # described above. You can optionally give a description (-d "description")
46683 # which will be put into .DLL. To see the list of accepted options (as well
46684 # as command-line format) simply run this program without options. The .DLL
46685 # is built to be imported by name (there is no guarantee that new versions
46686 # of the library you build will have same ordinals for same symbols).
46688 # dllar is free software; you can redistribute it and/or modify
46689 # it under the terms of the GNU General Public License as published by
46690 # the Free Software Foundation; either version 2, or (at your option)
46691 # any later version.
46693 # dllar is distributed in the hope that it will be useful,
46694 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46695 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46696 # GNU General Public License for more details.
46698 # You should have received a copy of the GNU General Public License
46699 # along with dllar; see the file COPYING. If not, write to the Free
46700 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46703 # To successfuly run this program you will need:
46704 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46705 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46707 # (used to build the .dll)
46709 # (used to create .def file from .o files)
46711 # (used to create .a file from .def file)
46712 # - GNU text utilites (cat, sort, uniq)
46713 # used to process emxexp output
46714 # - GNU file utilities (mv, rm)
46716 # - lxlite (optional, see flag below)
46717 # (used for general .dll cleanup)
46724 # basnam, variant of basename, which does _not_ remove the path, _iff_
46725 # second argument (suffix to remove) is given
46729 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46732 echo ${D}1 | sed 's/'${D}2'${D}//'
46735 echo "error in basnam ${D}*"
46741 # Cleanup temporary files and output
46744 for i in ${D}inputFiles ; do
46747 rm -rf \`basnam
${D}i
!\
`
46754 # Kill result in case of failure as there is just to many stupid make/nmake
46755 # things out there which doesn't do this.
46756 if [ ${D}# -eq 0 ]; then
46757 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46761 # Print usage and exit script with rc=1.
46763 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46764 echo ' [-name-mangler-script script.sh]'
46765 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46766 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46767 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46768 echo ' [*.o] [*.a]'
46769 echo '*> "output_file" should have no extension.'
46770 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46771 echo ' The import library name is derived from this and is set to "name".a,'
46772 echo ' unless overridden by -import'
46773 echo '*> "importlib_name" should have no extension.'
46774 echo ' If it has the .o, or .a extension, it is automatically removed.'
46775 echo ' This name is used as the import library name and may be longer and'
46776 echo ' more descriptive than the DLL name which has to follow the old '
46777 echo ' 8.3 convention of FAT.'
46778 echo '*> "script.sh may be given to override the output_file name by a'
46779 echo ' different name. It is mainly useful if the regular make process'
46780 echo ' of some package does not take into account OS/2 restriction of'
46781 echo ' DLL name lengths. It takes the importlib name as input and is'
46782 echo ' supposed to procude a shorter name as output. The script should'
46783 echo ' expect to get importlib_name without extension and should produce'
46784 echo ' a (max.) 8 letter name without extension.'
46785 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46786 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46787 echo ' These flags will be put at the start of GCC command line.'
46788 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46789 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46790 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46791 echo ' If the last character of a symbol is "*", all symbols beginning'
46792 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46793 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46794 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46795 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46796 echo ' C runtime DLLs.'
46797 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46798 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46799 echo ' unchanged to GCC at the end of command line.'
46800 echo '*> If you create a DLL from a library and you do not specify -o,'
46801 echo ' the basename for DLL and import library will be set to library name,'
46802 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46803 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46804 echo ' library will be renamed into gcc_s.a.'
46807 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46808 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46813 # Execute a command.
46814 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46815 # @Uses Whatever CleanUp() uses.
46821 if [ ${D}rcCmd -ne 0 ]; then
46822 echo "command failed, exit code="${D}rcCmd
46837 CFLAGS="-s -Zcrtdll"
46839 EXPORT_BY_ORDINALS=0
46844 case ${D}curDirS in
46848 curDirS=${D}{curDirS}"/"
46851 # Parse commandline
46854 while [ ${D}1 ]; do
46857 EXPORT_BY_ORDINALS=1;
46867 -name-mangler-script)
46888 exclude_symbols=${D}{exclude_symbols}${D}1" "
46892 library_flags=${D}{library_flags}${D}1" "
46911 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46914 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
46915 if [ ${D}omfLinking -eq 1 ]; then
46916 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46918 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46923 if [ ${D}libsToLink -ne 0 ]; then
46924 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46926 for file in ${D}1 ; do
46927 if [ -f ${D}file ]; then
46928 inputFiles="${D}{inputFiles} ${D}file"
46932 if [ ${D}found -eq 0 ]; then
46933 echo "ERROR: No file(s) found: "${D}1
46940 done # iterate cmdline words
46943 if [ -z "${D}inputFiles" ]; then
46944 echo "dllar: no input files"
46948 # Now extract all .o files from .a files
46950 for file in ${D}inputFiles ; do
46961 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46966 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
46968 if [ ${D}? -ne 0 ]; then
46969 echo "Failed to create subdirectory ./${D}dirname"
46973 # Append '!' to indicate archive
46974 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46975 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46978 for subfile in ${D}dirname/*.o* ; do
46979 if [ -f ${D}subfile ]; then
46981 if [ -s ${D}subfile ]; then
46982 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46983 newInputFiles="${D}newInputFiles ${D}subfile"
46987 if [ ${D}found -eq 0 ]; then
46988 echo "WARNING: there are no files in archive \\'${D}file\\'"
46992 newInputFiles="${D}{newInputFiles} ${D}file"
46996 inputFiles="${D}newInputFiles"
46998 # Output filename(s).
47000 if [ -z ${D}outFile ]; then
47002 set outFile ${D}inputFiles; outFile=${D}2
47005 # If it is an archive, remove the '!' and the '_%' suffixes
47006 case ${D}outFile in
47008 outFile=\`basnam
${D}outFile _
%!\
`
47013 case ${D}outFile in
47015 outFile=\`basnam
${D}outFile .dll\
`
47018 outFile=\`basnam
${D}outFile .DLL\
`
47021 outFile=\`basnam
${D}outFile .o\
`
47024 outFile=\`basnam
${D}outFile .obj\
`
47027 outFile=\`basnam
${D}outFile .a\
`
47030 outFile=\`basnam
${D}outFile .lib\
`
47035 case ${D}outimpFile in
47037 outimpFile=\`basnam
${D}outimpFile .a\
`
47040 outimpFile=\`basnam
${D}outimpFile .lib\
`
47045 if [ -z ${D}outimpFile ]; then
47046 outimpFile=${D}outFile
47048 defFile="${D}{outFile}.def"
47049 arcFile="${D}{outimpFile}.a"
47050 arcFile2="${D}{outimpFile}.lib"
47052 #create ${D}dllFile as something matching 8.3 restrictions,
47053 if [ -z ${D}renameScript ] ; then
47054 dllFile="${D}outFile"
47056 dllFile=\`${D}renameScript
${D}outimpFile\
`
47059 if [ ${D}do_backup -ne 0 ] ; then
47060 if [ -f ${D}arcFile ] ; then
47061 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47063 if [ -f ${D}arcFile2 ] ; then
47064 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47068 # Extract public symbols from all the object files.
47069 tmpdefFile=${D}{defFile}_%
47070 rm -f ${D}tmpdefFile
47071 for file in ${D}inputFiles ; do
47076 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47081 # Create the def file.
47083 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
47084 dllFile="${D}{dllFile}.dll"
47085 if [ ! -z ${D}description ]; then
47086 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47088 echo "EXPORTS" >> ${D}defFile
47090 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47091 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47093 # Checks if the export is ok or not.
47094 for word in ${D}exclude_symbols; do
47095 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47096 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47100 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47101 sed "=" < ${D}tmpdefFile | \\
47105 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47107 ' > ${D}{tmpdefFile}%
47108 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47110 rm -f ${D}{tmpdefFile}%
47112 cat ${D}tmpdefFile >> ${D}defFile
47113 rm -f ${D}tmpdefFile
47115 # Do linking, create implib, and apply lxlite.
47117 for file in ${D}inputFiles ; do
47122 gccCmdl="${D}gccCmdl ${D}file"
47126 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47127 touch "${D}{outFile}.dll"
47129 doCommand "emximp -o ${D}arcFile ${D}defFile"
47130 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47132 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47135 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47137 doCommand "emxomf -s -l ${D}arcFile"
47147 powerpc-apple-macos* | \
47148 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47158 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47159 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47160 { (exit 1); exit 1; }; }
47163 if test "x$PIC_FLAG" != "x" ; then
47164 PIC_FLAG="$PIC_FLAG -DPIC"
47167 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47168 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47170 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47171 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47190 case "${BAKEFILE_HOST}" in
47191 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47192 SONAME_FLAG="-Wl,-soname,"
47226 # Check whether --enable-dependency-tracking was given.
47227 if test "${enable_dependency_tracking+set}" = set; then
47228 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47232 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47233 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47236 if test "x$bk_use_trackdeps" = "xno" ; then
47238 { echo "$as_me:$LINENO: result: disabled" >&5
47239 echo "${ECHO_T}disabled" >&6; }
47243 if test "x$GCC" = "xyes"; then
47245 case "${BAKEFILE_HOST}" in
47247 DEPSFLAG="-no-cpp-precomp -MMD"
47253 { echo "$as_me:$LINENO: result: gcc" >&5
47254 echo "${ECHO_T}gcc" >&6; }
47255 elif test "x$MWCC" = "xyes"; then
47258 { echo "$as_me:$LINENO: result: mwcc" >&5
47259 echo "${ECHO_T}mwcc" >&6; }
47260 elif test "x$SUNCC" = "xyes"; then
47263 { echo "$as_me:$LINENO: result: Sun cc" >&5
47264 echo "${ECHO_T}Sun cc" >&6; }
47265 elif test "x$SGICC" = "xyes"; then
47268 { echo "$as_me:$LINENO: result: SGI cc" >&5
47269 echo "${ECHO_T}SGI cc" >&6; }
47270 elif test "x$HPCC" = "xyes"; then
47273 { echo "$as_me:$LINENO: result: HP cc" >&5
47274 echo "${ECHO_T}HP cc" >&6; }
47275 elif test "x$COMPAQCC" = "xyes"; then
47278 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47279 echo "${ECHO_T}Compaq cc" >&6; }
47282 { echo "$as_me:$LINENO: result: none" >&5
47283 echo "${ECHO_T}none" >&6; }
47286 if test $DEPS_TRACKING = 1 ; then
47292 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47293 # script. It is used to track C/C++ files dependencies in portable way.
47295 # Permission is given to use this file in any way.
47297 DEPSMODE=${DEPSMODE}
47299 DEPSFLAG="${DEPSFLAG}"
47301 mkdir -p ${D}DEPSDIR
47303 if test ${D}DEPSMODE = gcc ; then
47304 ${D}* ${D}{DEPSFLAG}
47306 if test ${D}{status} != 0 ; then
47309 # move created file to the location we want it in:
47310 while test ${D}# -gt 0; do
47324 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
47325 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
47326 if test -f ${D}depfile ; then
47327 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47330 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47331 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
47332 if test ! -f ${D}depfile ; then
47333 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47334 depfile="${D}objfile.d"
47336 if test -f ${D}depfile ; then
47337 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47342 elif test ${D}DEPSMODE = mwcc ; then
47343 ${D}* || exit ${D}?
47344 # Run mwcc again with -MM and redirect into the dep file we want
47345 # NOTE: We can't use shift here because we need ${D}* to be valid
47347 for arg in ${D}* ; do
47348 if test "${D}prevarg" = "-o"; then
47361 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47363 elif test ${D}DEPSMODE = unixcc; then
47364 ${D}* || exit ${D}?
47365 # Run compiler again with deps flag and redirect into the dep file.
47366 # It doesn't work if the '-o FILE' option is used, but without it the
47367 # dependency file will contain the wrong name for the object. So it is
47368 # removed from the command line, and the dep file is fixed with sed.
47370 while test ${D}# -gt 0; do
47377 eval arg${D}#=\\${D}1
47378 cmd="${D}cmd \\${D}arg${D}#"
47383 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47392 BK_DEPS="`pwd`/bk-deps"
47400 case ${BAKEFILE_HOST} in
47401 *-*-cygwin* | *-*-mingw32* )
47402 if test -n "$ac_tool_prefix"; then
47403 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47404 set dummy ${ac_tool_prefix}windres; ac_word=$2
47405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47407 if test "${ac_cv_prog_WINDRES+set}" = set; then
47408 echo $ECHO_N "(cached) $ECHO_C" >&6
47410 if test -n "$WINDRES"; then
47411 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47414 for as_dir in $PATH
47417 test -z "$as_dir" && as_dir=.
47418 for ac_exec_ext in '' $ac_executable_extensions; do
47419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47420 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47430 WINDRES=$ac_cv_prog_WINDRES
47431 if test -n "$WINDRES"; then
47432 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47433 echo "${ECHO_T}$WINDRES" >&6; }
47435 { echo "$as_me:$LINENO: result: no" >&5
47436 echo "${ECHO_T}no" >&6; }
47441 if test -z "$ac_cv_prog_WINDRES"; then
47442 ac_ct_WINDRES=$WINDRES
47443 # Extract the first word of "windres", so it can be a program name with args.
47444 set dummy windres; ac_word=$2
47445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47447 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47448 echo $ECHO_N "(cached) $ECHO_C" >&6
47450 if test -n "$ac_ct_WINDRES"; then
47451 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47454 for as_dir in $PATH
47457 test -z "$as_dir" && as_dir=.
47458 for ac_exec_ext in '' $ac_executable_extensions; do
47459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47460 ac_cv_prog_ac_ct_WINDRES="windres"
47461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47470 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47471 if test -n "$ac_ct_WINDRES"; then
47472 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47473 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47475 { echo "$as_me:$LINENO: result: no" >&5
47476 echo "${ECHO_T}no" >&6; }
47479 if test "x$ac_ct_WINDRES" = x; then
47482 case $cross_compiling:$ac_tool_warned in
47484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47485 whose name does not start with the host triplet. If you think this
47486 configuration is useful to you, please write to autoconf@gnu.org." >&5
47487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47488 whose name does not start with the host triplet. If you think this
47489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47490 ac_tool_warned=yes ;;
47492 WINDRES=$ac_ct_WINDRES
47495 WINDRES="$ac_cv_prog_WINDRES"
47500 *-*-darwin* | powerpc-apple-macos* )
47501 # Extract the first word of "Rez", so it can be a program name with args.
47502 set dummy Rez; ac_word=$2
47503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47505 if test "${ac_cv_prog_REZ+set}" = set; then
47506 echo $ECHO_N "(cached) $ECHO_C" >&6
47508 if test -n "$REZ"; then
47509 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47512 for as_dir in $PATH
47515 test -z "$as_dir" && as_dir=.
47516 for ac_exec_ext in '' $ac_executable_extensions; do
47517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47518 ac_cv_prog_REZ="Rez"
47519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47526 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47529 REZ=$ac_cv_prog_REZ
47530 if test -n "$REZ"; then
47531 { echo "$as_me:$LINENO: result: $REZ" >&5
47532 echo "${ECHO_T}$REZ" >&6; }
47534 { echo "$as_me:$LINENO: result: no" >&5
47535 echo "${ECHO_T}no" >&6; }
47539 # Extract the first word of "SetFile", so it can be a program name with args.
47540 set dummy SetFile; ac_word=$2
47541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47543 if test "${ac_cv_prog_SETFILE+set}" = set; then
47544 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 if test -n "$SETFILE"; then
47547 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47550 for as_dir in $PATH
47553 test -z "$as_dir" && as_dir=.
47554 for ac_exec_ext in '' $ac_executable_extensions; do
47555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47556 ac_cv_prog_SETFILE="SetFile"
47557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47564 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47567 SETFILE=$ac_cv_prog_SETFILE
47568 if test -n "$SETFILE"; then
47569 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47570 echo "${ECHO_T}$SETFILE" >&6; }
47572 { echo "$as_me:$LINENO: result: no" >&5
47573 echo "${ECHO_T}no" >&6; }
47585 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47588 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47592 # Check whether --enable-precomp-headers was given.
47593 if test "${enable_precomp_headers+set}" = set; then
47594 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47603 case ${BAKEFILE_HOST} in
47609 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47610 if test "x$GCC" = "xyes"; then
47611 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47612 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47613 cat >conftest.$ac_ext <<_ACEOF
47616 cat confdefs.h >>conftest.$ac_ext
47617 cat >>conftest.$ac_ext <<_ACEOF
47618 /* end confdefs.h. */
47624 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47625 There is no PCH support
47628 There is no PCH support
47630 #if (__GNUC__ == 3) && \
47631 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47632 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47633 ( defined(__INTEL_COMPILER) )
47634 There is no PCH support
47641 rm -f conftest.$ac_objext
47642 if { (ac_try="$ac_compile"
47643 case "(($ac_try" in
47644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47645 *) ac_try_echo
=$ac_try;;
47647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47648 (eval "$ac_compile") 2>conftest.er1
47650 grep -v '^ *+' conftest.er1
>conftest.err
47652 cat conftest.err
>&5
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); } && {
47655 test -z "$ac_c_werror_flag" ||
47656 test ! -s conftest.err
47657 } && test -s conftest.
$ac_objext; then
47659 { echo "$as_me:$LINENO: result: yes" >&5
47660 echo "${ECHO_T}yes" >&6; }
47664 echo "$as_me: failed program was:" >&5
47665 sed 's/^/| /' conftest.
$ac_ext >&5
47668 cat >conftest.
$ac_ext <<_ACEOF
47671 cat confdefs.h
>>conftest.
$ac_ext
47672 cat >>conftest.
$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47679 #if !defined(__INTEL_COMPILER) || \
47680 (__INTEL_COMPILER < 800)
47681 There is no PCH support
47688 rm -f conftest.
$ac_objext
47689 if { (ac_try
="$ac_compile"
47690 case "(($ac_try" in
47691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47692 *) ac_try_echo=$ac_try;;
47694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47695 (eval "$ac_compile") 2>conftest.er1
47697 grep -v '^ *+' conftest.er1 >conftest.err
47699 cat conftest.err >&5
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); } && {
47702 test -z "$ac_c_werror_flag" ||
47703 test ! -s conftest.err
47704 } && test -s conftest.$ac_objext; then
47706 { echo "$as_me:$LINENO: result: yes" >&5
47707 echo "${ECHO_T}yes" >&6; }
47711 echo "$as_me: failed program was:" >&5
47712 sed 's/^/| /' conftest.$ac_ext >&5
47715 { echo "$as_me:$LINENO: result: no" >&5
47716 echo "${ECHO_T}no" >&6; }
47720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47729 cat <<EOF >bk-make-pch
47732 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47733 # script. It is used to generated precompiled headers.
47735 # Permission is given to use this file in any way.
47745 while test ${D}{#} -gt 0; do
47749 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
47750 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47751 headerfile="${D}{incdir}/${D}{header}"
47754 -use-pch|-use_pch )
47759 if test ${D}add_to_cmdline = 1 ; then
47760 compiler="${D}{compiler} ${D}{1}"
47765 if test "x${D}{headerfile}" = "x" ; then
47766 echo "error: can't find header ${D}{header} in include paths" >&2
47768 if test -f ${D}{outfile} ; then
47769 rm -f ${D}{outfile}
47771 mkdir -p \`dirname ${D}{outfile
}\
`
47773 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
47775 if test "x${GCC_PCH}" = "x1" ; then
47776 # can do this because gcc is >= 3.4:
47777 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47778 elif test "x${ICC_PCH}" = "x1" ; then
47779 filename=pch_gen-${D}${D}
47780 file=${D}{filename}.c
47781 dfile=${D}{filename}.d
47782 cat > ${D}file <<EOT
47783 #include "${D}header"
47785 # using -MF icc complains about differing command lines in creation/use
47786 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47787 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47788 rm -f ${D}file ${D}dfile ${D}{filename}.o
47794 chmod +x bk-make-pch
47795 BK_MAKE_PCH="`pwd`/bk-make-pch"
47804 COND_BUILD_DEBUG="#"
47805 if test "x$BUILD" = "xdebug" ; then
47806 COND_BUILD_DEBUG=""
47809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47810 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47816 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47819 COND_BUILD_DEBUG_UNICODE_0="#"
47820 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47821 COND_BUILD_DEBUG_UNICODE_0=""
47824 COND_BUILD_DEBUG_UNICODE_1="#"
47825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47826 COND_BUILD_DEBUG_UNICODE_1=""
47829 COND_BUILD_RELEASE="#"
47830 if test "x$BUILD" = "xrelease" ; then
47831 COND_BUILD_RELEASE=""
47834 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47835 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47836 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47839 COND_BUILD_RELEASE_UNICODE_0="#"
47840 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47841 COND_BUILD_RELEASE_UNICODE_0=""
47844 COND_BUILD_RELEASE_UNICODE_1="#"
47845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47846 COND_BUILD_RELEASE_UNICODE_1=""
47849 COND_DEBUG_FLAG_1="#"
47850 if test "x$DEBUG_FLAG" = "x1" ; then
47851 COND_DEBUG_FLAG_1=""
47854 COND_DEBUG_INFO_0="#"
47855 if test "x$DEBUG_INFO" = "x0" ; then
47856 COND_DEBUG_INFO_0=""
47859 COND_DEBUG_INFO_1="#"
47860 if test "x$DEBUG_INFO" = "x1" ; then
47861 COND_DEBUG_INFO_1=""
47864 COND_DEPS_TRACKING_0="#"
47865 if test "x$DEPS_TRACKING" = "x0" ; then
47866 COND_DEPS_TRACKING_0=""
47869 COND_DEPS_TRACKING_1="#"
47870 if test "x$DEPS_TRACKING" = "x1" ; then
47871 COND_DEPS_TRACKING_1=""
47875 if test "x$GCC_PCH" = "x1" ; then
47880 if test "x$ICC_PCH" = "x1" ; then
47884 COND_MONOLITHIC_0="#"
47885 if test "x$MONOLITHIC" = "x0" ; then
47886 COND_MONOLITHIC_0=""
47889 COND_MONOLITHIC_0_SHARED_0="#"
47890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47891 COND_MONOLITHIC_0_SHARED_0=""
47894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47896 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47901 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47924 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47926 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47929 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47931 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47934 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47936 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47939 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47941 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47944 COND_MONOLITHIC_0_SHARED_1="#"
47945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47946 COND_MONOLITHIC_0_SHARED_1=""
47949 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47951 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47979 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47981 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47984 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47986 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47989 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47991 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47994 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47996 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47999 COND_MONOLITHIC_0_USE_AUI_1="#"
48000 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48001 COND_MONOLITHIC_0_USE_AUI_1=""
48004 COND_MONOLITHIC_0_USE_GUI_1="#"
48005 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48006 COND_MONOLITHIC_0_USE_GUI_1=""
48009 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48010 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48011 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48014 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48015 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48016 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48019 COND_MONOLITHIC_0_USE_HTML_1="#"
48020 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48021 COND_MONOLITHIC_0_USE_HTML_1=""
48024 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48025 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48026 COND_MONOLITHIC_0_USE_MEDIA_1=""
48029 COND_MONOLITHIC_0_USE_ODBC_1="#"
48030 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48031 COND_MONOLITHIC_0_USE_ODBC_1=""
48034 COND_MONOLITHIC_0_USE_QA_1="#"
48035 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48036 COND_MONOLITHIC_0_USE_QA_1=""
48039 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48040 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48041 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48044 COND_MONOLITHIC_0_USE_STC_1="#"
48045 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48046 COND_MONOLITHIC_0_USE_STC_1=""
48049 COND_MONOLITHIC_0_USE_XRC_1="#"
48050 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48051 COND_MONOLITHIC_0_USE_XRC_1=""
48054 COND_MONOLITHIC_1="#"
48055 if test "x$MONOLITHIC" = "x1" ; then
48056 COND_MONOLITHIC_1=""
48059 COND_MONOLITHIC_1_SHARED_0="#"
48060 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48061 COND_MONOLITHIC_1_SHARED_0=""
48064 COND_MONOLITHIC_1_SHARED_1="#"
48065 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48066 COND_MONOLITHIC_1_SHARED_1=""
48069 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48070 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48071 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48074 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48075 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48076 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48079 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48080 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48081 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48084 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48085 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48086 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48089 COND_PLATFORM_MACOSX_1="#"
48090 if test "x$PLATFORM_MACOSX" = "x1" ; then
48091 COND_PLATFORM_MACOSX_1=""
48094 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48096 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48099 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48101 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48104 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48106 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48109 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48110 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48111 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48114 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48115 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48116 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48119 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48120 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48121 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48124 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48125 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48126 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48129 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48130 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48131 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48134 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48135 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48136 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48139 COND_PLATFORM_MACOS_1="#"
48140 if test "x$PLATFORM_MACOS" = "x1" ; then
48141 COND_PLATFORM_MACOS_1=""
48144 COND_PLATFORM_MAC_1="#"
48145 if test "x$PLATFORM_MAC" = "x1" ; then
48146 COND_PLATFORM_MAC_1=""
48149 COND_PLATFORM_MSDOS_0="#"
48150 if test "x$PLATFORM_MSDOS" = "x0" ; then
48151 COND_PLATFORM_MSDOS_0=""
48154 COND_PLATFORM_MSDOS_1="#"
48155 if test "x$PLATFORM_MSDOS" = "x1" ; then
48156 COND_PLATFORM_MSDOS_1=""
48159 COND_PLATFORM_OS2_1="#"
48160 if test "x$PLATFORM_OS2" = "x1" ; then
48161 COND_PLATFORM_OS2_1=""
48164 COND_PLATFORM_UNIX_0="#"
48165 if test "x$PLATFORM_UNIX" = "x0" ; then
48166 COND_PLATFORM_UNIX_0=""
48169 COND_PLATFORM_UNIX_1="#"
48170 if test "x$PLATFORM_UNIX" = "x1" ; then
48171 COND_PLATFORM_UNIX_1=""
48174 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48175 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48176 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48179 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48180 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48181 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48184 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48185 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48186 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48189 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48190 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48191 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48194 COND_PLATFORM_WIN32_0="#"
48195 if test "x$PLATFORM_WIN32" = "x0" ; then
48196 COND_PLATFORM_WIN32_0=""
48199 COND_PLATFORM_WIN32_1="#"
48200 if test "x$PLATFORM_WIN32" = "x1" ; then
48201 COND_PLATFORM_WIN32_1=""
48205 if test "x$SHARED" = "x0" ; then
48209 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48210 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48211 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48214 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48215 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48216 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48219 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48220 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48221 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48224 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48225 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48226 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48229 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48230 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48231 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48234 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48235 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48236 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48239 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48240 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48241 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48244 COND_SHARED_0_USE_STC_1="#"
48245 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48246 COND_SHARED_0_USE_STC_1=""
48249 COND_SHARED_0_USE_XRC_1="#"
48250 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48251 COND_SHARED_0_USE_XRC_1=""
48254 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48255 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48256 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48259 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48260 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48261 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48264 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48265 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48266 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48269 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48270 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48271 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48275 if test "x$SHARED" = "x1" ; then
48279 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48280 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48281 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48284 COND_SHARED_1_USE_XRC_1="#"
48285 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48286 COND_SHARED_1_USE_XRC_1=""
48290 if test "x$TOOLKIT" = "x" ; then
48294 COND_TOOLKIT_COCOA="#"
48295 if test "x$TOOLKIT" = "xCOCOA" ; then
48296 COND_TOOLKIT_COCOA=""
48299 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48300 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48301 COND_TOOLKIT_COCOA_USE_GUI_1=""
48304 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48305 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48306 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48309 COND_TOOLKIT_DFB="#"
48310 if test "x$TOOLKIT" = "xDFB" ; then
48311 COND_TOOLKIT_DFB=""
48314 COND_TOOLKIT_DFB_USE_GUI_1="#"
48315 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48316 COND_TOOLKIT_DFB_USE_GUI_1=""
48319 COND_TOOLKIT_GTK="#"
48320 if test "x$TOOLKIT" = "xGTK" ; then
48321 COND_TOOLKIT_GTK=""
48324 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48325 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48326 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48329 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48330 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48331 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48335 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48336 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48340 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48341 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48344 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48345 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48346 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48349 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48350 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48351 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48354 COND_TOOLKIT_GTK_USE_GUI_1="#"
48355 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48356 COND_TOOLKIT_GTK_USE_GUI_1=""
48359 COND_TOOLKIT_MAC="#"
48360 if test "x$TOOLKIT" = "xMAC" ; then
48361 COND_TOOLKIT_MAC=""
48364 COND_TOOLKIT_MAC_USE_GUI_1="#"
48365 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48366 COND_TOOLKIT_MAC_USE_GUI_1=""
48369 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48370 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48371 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48374 COND_TOOLKIT_MGL="#"
48375 if test "x$TOOLKIT" = "xMGL" ; then
48376 COND_TOOLKIT_MGL=""
48379 COND_TOOLKIT_MGL_USE_GUI_1="#"
48380 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48381 COND_TOOLKIT_MGL_USE_GUI_1=""
48384 COND_TOOLKIT_MOTIF="#"
48385 if test "x$TOOLKIT" = "xMOTIF" ; then
48386 COND_TOOLKIT_MOTIF=""
48389 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48390 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48391 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48394 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48395 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48396 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48399 COND_TOOLKIT_MSW="#"
48400 if test "x$TOOLKIT" = "xMSW" ; then
48401 COND_TOOLKIT_MSW=""
48404 COND_TOOLKIT_MSW_USE_GUI_1="#"
48405 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48406 COND_TOOLKIT_MSW_USE_GUI_1=""
48409 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48410 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48411 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48414 COND_TOOLKIT_MSW_WXUNIV_0="#"
48415 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48416 COND_TOOLKIT_MSW_WXUNIV_0=""
48419 COND_TOOLKIT_PM="#"
48420 if test "x$TOOLKIT" = "xPM" ; then
48424 COND_TOOLKIT_PM_USE_GUI_1="#"
48425 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48426 COND_TOOLKIT_PM_USE_GUI_1=""
48429 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48430 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48431 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48434 COND_TOOLKIT_WINCE="#"
48435 if test "x$TOOLKIT" = "xWINCE" ; then
48436 COND_TOOLKIT_WINCE=""
48439 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48440 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48441 COND_TOOLKIT_WINCE_USE_GUI_1=""
48444 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48445 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48446 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48449 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48450 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48451 COND_TOOLKIT_WINCE_WXUNIV_0=""
48454 COND_TOOLKIT_X11="#"
48455 if test "x$TOOLKIT" = "xX11" ; then
48456 COND_TOOLKIT_X11=""
48459 COND_TOOLKIT_X11_USE_GUI_1="#"
48460 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48461 COND_TOOLKIT_X11_USE_GUI_1=""
48465 if test "x$UNICODE" = "x1" ; then
48469 COND_USE_EXCEPTIONS_0="#"
48470 if test "x$USE_EXCEPTIONS" = "x0" ; then
48471 COND_USE_EXCEPTIONS_0=""
48474 COND_USE_EXCEPTIONS_1="#"
48475 if test "x$USE_EXCEPTIONS" = "x1" ; then
48476 COND_USE_EXCEPTIONS_1=""
48480 if test "x$USE_GUI" = "x0" ; then
48485 if test "x$USE_GUI" = "x1" ; then
48489 COND_USE_GUI_1_USE_OPENGL_1="#"
48490 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48491 COND_USE_GUI_1_USE_OPENGL_1=""
48494 COND_USE_GUI_1_WXUNIV_0="#"
48495 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48496 COND_USE_GUI_1_WXUNIV_0=""
48499 COND_USE_GUI_1_WXUNIV_1="#"
48500 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48501 COND_USE_GUI_1_WXUNIV_1=""
48504 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48505 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48506 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48509 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48510 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48511 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48514 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48515 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48516 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48519 COND_USE_ODBC_1="#"
48520 if test "x$USE_ODBC" = "x1" ; then
48524 COND_USE_OPENGL_1="#"
48525 if test "x$USE_OPENGL" = "x1" ; then
48526 COND_USE_OPENGL_1=""
48530 if test "x$USE_PCH" = "x1" ; then
48534 COND_USE_PLUGINS_0="#"
48535 if test "x$USE_PLUGINS" = "x0" ; then
48536 COND_USE_PLUGINS_0=""
48539 COND_USE_RTTI_0="#"
48540 if test "x$USE_RTTI" = "x0" ; then
48544 COND_USE_RTTI_1="#"
48545 if test "x$USE_RTTI" = "x1" ; then
48549 COND_USE_SOSYMLINKS_1="#"
48550 if test "x$USE_SOSYMLINKS" = "x1" ; then
48551 COND_USE_SOSYMLINKS_1=""
48554 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48555 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48556 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48559 COND_USE_SOVERLINUX_1="#"
48560 if test "x$USE_SOVERLINUX" = "x1" ; then
48561 COND_USE_SOVERLINUX_1=""
48564 COND_USE_SOVERSION_0="#"
48565 if test "x$USE_SOVERSION" = "x0" ; then
48566 COND_USE_SOVERSION_0=""
48569 COND_USE_SOVERSOLARIS_1="#"
48570 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48571 COND_USE_SOVERSOLARIS_1=""
48575 if test "x$USE_STC" = "x1" ; then
48579 COND_USE_THREADS_0="#"
48580 if test "x$USE_THREADS" = "x0" ; then
48581 COND_USE_THREADS_0=""
48584 COND_USE_THREADS_1="#"
48585 if test "x$USE_THREADS" = "x1" ; then
48586 COND_USE_THREADS_1=""
48590 if test "x$USE_XRC" = "x1" ; then
48594 COND_WINDOWS_IMPLIB_1="#"
48595 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48596 COND_WINDOWS_IMPLIB_1=""
48599 COND_WITH_PLUGIN_SDL_1="#"
48600 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48601 COND_WITH_PLUGIN_SDL_1=""
48605 if test "x$WXUNIV" = "x0" ; then
48610 if test "x$WXUNIV" = "x1" ; then
48614 COND_WXUSE_EXPAT_BUILTIN="#"
48615 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48616 COND_WXUSE_EXPAT_BUILTIN=""
48619 COND_WXUSE_LIBJPEG_BUILTIN="#"
48620 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48621 COND_WXUSE_LIBJPEG_BUILTIN=""
48624 COND_WXUSE_LIBPNG_BUILTIN="#"
48625 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48626 COND_WXUSE_LIBPNG_BUILTIN=""
48629 COND_WXUSE_LIBTIFF_BUILTIN="#"
48630 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48631 COND_WXUSE_LIBTIFF_BUILTIN=""
48634 COND_WXUSE_ODBC_BUILTIN="#"
48635 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48636 COND_WXUSE_ODBC_BUILTIN=""
48639 COND_WXUSE_REGEX_BUILTIN="#"
48640 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48641 COND_WXUSE_REGEX_BUILTIN=""
48644 COND_WXUSE_ZLIB_BUILTIN="#"
48645 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48646 COND_WXUSE_ZLIB_BUILTIN=""
48651 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48652 { { 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
48653 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;}
48654 { (exit 1); exit 1; }; }
48657 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48658 { { 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
48659 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;}
48660 { (exit 1); exit 1; }; }
48664 if test $GCC_PCH = 1
48666 if test "$wx_cv_gcc_pch_bug" = yes; then
48667 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48668 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48669 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48670 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48671 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48672 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48675 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48679 if test "$wxUSE_MAC" = 1 ; then
48680 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48681 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48687 if test "$wxUSE_SHARED" = "yes"; then
48689 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48690 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48693 *-pc-os2_emx | *-pc-os2-emx )
48694 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48695 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48696 cp -p ${srcdir}/src/os2/dllnames.sh .
48697 cp -p ${srcdir}/src/os2/dllar.sh .
48702 EXE_LINKER="$CXX -o"
48705 if test "$wxUSE_OMF" = "yes"; then
48707 *-pc-os2_emx | *-pc-os2-emx )
48708 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48709 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48710 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48717 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48779 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48780 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48781 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48782 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 cat >conftest.make <<\_ACEOF
48788 @echo '@@@%%%=$(MAKE)=@@@%%%'
48790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48791 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48792 *@@@%%%=?*=@@@%%%*)
48793 eval ac_cv_prog_make_${ac_make}_set=yes;;
48795 eval ac_cv_prog_make_${ac_make}_set=no;;
48797 rm -f conftest.make
48799 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48800 { echo "$as_me:$LINENO: result: yes" >&5
48801 echo "${ECHO_T}yes" >&6; }
48804 { echo "$as_me:$LINENO: result: no" >&5
48805 echo "${ECHO_T}no" >&6; }
48806 SET_MAKE="MAKE=${MAKE-make}"
48811 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48814 if test "$USE_WIN32" = 1; then
48815 ac_config_commands="$ac_config_commands
48821 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48824 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48827 if test "$wx_cv_version_script" = "yes"; then
48828 ac_config_files="$ac_config_files version-script"
48831 ac_config_files="$ac_config_files Makefile"
48834 ac_config_commands="$ac_config_commands wx-config"
48838 if test "$wxWITH_SUBDIRS" != "no"; then
48839 if test "$wxUSE_GUI" = "yes"; then
48840 SUBDIRS="samples demos utils"
48841 else SUBDIRS="samples utils"
48846 # Check whether --with-cppunit-prefix was given.
48847 if test "${with_cppunit_prefix+set}" = set; then
48848 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48850 cppunit_config_prefix=""
48854 # Check whether --with-cppunit-exec-prefix was given.
48855 if test "${with_cppunit_exec_prefix+set}" = set; then
48856 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48858 cppunit_config_exec_prefix=""
48862 if test x$cppunit_config_exec_prefix != x ; then
48863 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48864 if test x${CPPUNIT_CONFIG+set} != xset ; then
48865 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48868 if test x$cppunit_config_prefix != x ; then
48869 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48870 if test x${CPPUNIT_CONFIG+set} != xset ; then
48871 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48875 # Extract the first word of "cppunit-config", so it can be a program name with args.
48876 set dummy cppunit-config; ac_word=$2
48877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48879 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48880 echo $ECHO_N "(cached) $ECHO_C" >&6
48882 case $CPPUNIT_CONFIG in
48884 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48888 for as_dir in $PATH
48891 test -z "$as_dir" && as_dir=.
48892 for ac_exec_ext in '' $ac_executable_extensions; do
48893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48894 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48902 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48906 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48907 if test -n "$CPPUNIT_CONFIG"; then
48908 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48909 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48911 { echo "$as_me:$LINENO: result: no" >&5
48912 echo "${ECHO_T}no" >&6; }
48916 cppunit_version_min=1.8.0
48918 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48919 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48921 if test "$CPPUNIT_CONFIG" = "no" ; then
48922 { echo "$as_me:$LINENO: result: no" >&5
48923 echo "${ECHO_T}no" >&6; }
48926 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48927 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48928 cppunit_version=`$CPPUNIT_CONFIG --version`
48930 cppunit_major_version=`echo $cppunit_version | \
48931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48932 cppunit_minor_version=`echo $cppunit_version | \
48933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48934 cppunit_micro_version=`echo $cppunit_version | \
48935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48937 cppunit_major_min=`echo $cppunit_version_min | \
48938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48939 if test "x${cppunit_major_min}" = "x" ; then
48940 cppunit_major_min=0
48943 cppunit_minor_min=`echo $cppunit_version_min | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48945 if test "x${cppunit_minor_min}" = "x" ; then
48946 cppunit_minor_min=0
48949 cppunit_micro_min=`echo $cppunit_version_min | \
48950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48951 if test "x${cppunit_micro_min}" = "x" ; then
48952 cppunit_micro_min=0
48955 cppunit_version_proper=`expr \
48956 $cppunit_major_version \
> $cppunit_major_min \
| \
48957 $cppunit_major_version \
= $cppunit_major_min \
& \
48958 $cppunit_minor_version \
> $cppunit_minor_min \
| \
48959 $cppunit_major_version \
= $cppunit_major_min \
& \
48960 $cppunit_minor_version \
= $cppunit_minor_min \
& \
48961 $cppunit_micro_version \
>= $cppunit_micro_min `
48963 if test "$cppunit_version_proper" = "1" ; then
48964 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48965 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48967 { echo "$as_me:$LINENO: result: no" >&5
48968 echo "${ECHO_T}no" >&6; }
48973 if test "x$no_cppunit" = x ; then
48974 SUBDIRS="$SUBDIRS tests"
48985 for subdir in `echo $SUBDIRS`; do
48986 if test -d ${srcdir}/${subdir} ; then
48987 if test "$wxUSE_GUI" = "yes"; then
48988 if test ${subdir} = "samples"; then
48989 makefiles="samples/Makefile.in $makefiles"
48990 for sample in `echo $SAMPLES_SUBDIRS`; do
48991 if test -d $srcdir/samples/$sample; then
48992 makefiles="samples/$sample/Makefile.in $makefiles"
48996 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
48997 eval "disabled=\$$disabled_var"
48998 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
48999 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
49001 else if test ${subdir} = "samples"; then
49002 makefiles="samples/Makefile.in samples/console/Makefile.in"
49003 elif test ${subdir} = "utils"; then
49005 for util in HelpGen tex2rtf ; do
49006 if test -d $srcdir/utils/$util ; then
49007 makefiles="utils/$util/Makefile.in \
49008 utils/$util/src/Makefile.in \
49012 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
49016 for mkin in $makefiles ; do
49017 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49018 ac_config_files="$ac_config_files $mk"
49024 cat >confcache <<\_ACEOF
49025 # This file is a shell script that caches the results of configure
49026 # tests run on this system so they can be shared between configure
49027 # scripts and configure runs, see configure's option --config-cache.
49028 # It is not useful on other systems. If it contains results you don't
49029 # want to keep, you may remove or edit it.
49031 # config.status only pays attention to the cache file if you give it
49032 # the --recheck option to rerun configure.
49034 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
49035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49036 # following values.
49040 # The following way of writing the cache mishandles newlines in values,
49041 # but we know of no workaround that is simple, portable, and efficient.
49042 # So, we kill variables containing newlines.
49043 # Ultrix sh set writes to stderr and can't be redirected directly,
49044 # and sets the high bit in the cache file unless we assign to the vars.
49046 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49047 eval ac_val
=\$
$ac_var
49051 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49052 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49055 _
| IFS
| as_nl
) ;; #(
49056 *) $as_unset $ac_var ;;
49062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49063 *${as_nl}ac_space
=\
*)
49064 # `set' does not quote correctly, so add quotes (double-quote
49065 # substitution turns \\\\ into \\, and sed turns \\ into \).
49068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49071 # `set' quotes correctly as required by POSIX, so do not add quotes.
49072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49085 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49086 if test -w "$cache_file"; then
49087 test "x$cache_file" != "x/dev/null" &&
49088 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49089 echo "$as_me: updating cache $cache_file" >&6;}
49090 cat confcache
>$cache_file
49092 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49093 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49098 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49099 # Let make expand exec_prefix.
49100 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49102 DEFS
=-DHAVE_CONFIG_H
49106 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49107 # 1. Remove the extension, and $U if already installed.
49108 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49109 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49111 # will be set to the directory where LIBOBJS objects are built.
49112 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49113 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49115 LIBOBJS
=$ac_libobjs
49117 LTLIBOBJS
=$ac_ltlibobjs
49121 : ${CONFIG_STATUS=./config.status}
49122 ac_clean_files_save
=$ac_clean_files
49123 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49124 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49125 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49126 cat >$CONFIG_STATUS <<_ACEOF
49128 # Generated by $as_me.
49129 # Run this file to recreate the current configuration.
49130 # Compiler output produced by configure, useful for debugging
49131 # configure, is in config.log if it exists.
49134 ac_cs_recheck=false
49136 SHELL=\${CONFIG_SHELL-$SHELL}
49139 cat >>$CONFIG_STATUS <<\_ACEOF
49140 ## --------------------- ##
49141 ## M4sh Initialization. ##
49142 ## --------------------- ##
49144 # Be more Bourne compatible
49145 DUALCASE
=1; export DUALCASE
# for MKS sh
49146 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49149 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49150 # is contrary to our usage. Disable this feature.
49151 alias -g '${1+"$@"}'='"$@"'
49152 setopt NO_GLOB_SUBST
49154 case `(set -o) 2>/dev/null` in
49155 *posix
*) set -o posix
;;
49164 # Avoid depending upon Character Ranges.
49165 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49166 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49167 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49168 as_cr_digits
='0123456789'
49169 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49171 # The user is always right.
49172 if test "${PATH_SEPARATOR+set}" != set; then
49173 echo "#! /bin/sh" >conf$$.sh
49174 echo "exit 0" >>conf$$.sh
49176 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49184 # Support unset when possible.
49185 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49193 # We need space, tab and new line, in precisely that order. Quoting is
49194 # there to prevent editors from complaining about space-tab.
49195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49196 # splitting by setting IFS to empty value.)
49201 # Find who we are. Look in the path if we contain no directory separator.
49203 *[\\/]* ) as_myself
=$0 ;;
49204 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49205 for as_dir
in $PATH
49208 test -z "$as_dir" && as_dir
=.
49209 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49215 # We did not find ourselves, most probably we were run as `sh COMMAND'
49216 # in which case we are not to be found in the path.
49217 if test "x$as_myself" = x
; then
49220 if test ! -f "$as_myself"; then
49221 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49222 { (exit 1); exit 1; }
49225 # Work around bugs in pre-3.0 UWIN ksh.
49226 for as_var
in ENV MAIL MAILPATH
49227 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49237 LC_TELEPHONE LC_TIME
49239 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49240 eval $as_var=C
; export $as_var
49242 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49246 # Required to use basename.
49247 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49248 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49254 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49255 as_basename
=basename
49261 # Name of the executable.
49262 as_me
=`$as_basename -- "$0" ||
49263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49264 X"$0" : 'X\(//\)$' \| \
49265 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49267 sed '/^.*\/\([^/][^/]*\)\/*$/{
49286 as_lineno_1
=$LINENO
49287 as_lineno_2
=$LINENO
49288 test "x$as_lineno_1" != "x$as_lineno_2" &&
49289 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49291 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49292 # uniformly replaced by the line number. The first 'sed' inserts a
49293 # line-number line after each line using $LINENO; the second 'sed'
49294 # does the real work. The second script uses 'N' to pair each
49295 # line-number line with the line containing $LINENO, and appends
49296 # trailing '-' during substitution so that $LINENO is not a special
49297 # case at line end.
49298 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49299 # scripts with optimization help from Paolo Bonzini. Blame Lee
49300 # E. McMahon (1931-1989) for sed's syntax. :-)
49312 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49315 ' >$as_me.lineno
&&
49316 chmod +x
"$as_me.lineno" ||
49317 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49318 { (exit 1); exit 1; }; }
49320 # Don't try to exec as it changes $[0], causing all sort of problems
49321 # (the dirname of $[0] is not the place where we might find the
49322 # original and so on. Autoconf is especially sensitive to this).
49323 .
"./$as_me.lineno"
49324 # Exit status is that of the last command.
49329 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49335 ECHO_C
= ECHO_N
= ECHO_T
=
49336 case `echo -n x` in
49338 case `echo 'x\c'` in
49339 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49346 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49347 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49353 rm -f conf$$ conf$$.exe conf$$.
file
49354 if test -d conf$$.dir
; then
49355 rm -f conf$$.dir
/conf$$.
file
49361 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49363 # ... but there are two gotchas:
49364 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49365 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49366 # In both cases, we have to default to `cp -p'.
49367 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49369 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49374 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49375 rmdir conf$$.dir
2>/dev
/null
49377 if mkdir -p .
2>/dev
/null
; then
49380 test -d .
/-p && rmdir .
/-p
49384 if test -x / >/dev
/null
2>&1; then
49385 as_test_x
='test -x'
49387 if ls -dL / >/dev
/null
2>&1; then
49394 if test -d "$1"; then
49400 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49401 ???[sx]*):;;*)false;;esac;fi
49405 as_executable_p
=$as_test_x
49407 # Sed expression to map a string onto a valid CPP name.
49408 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49410 # Sed expression to map a string onto a valid variable name.
49411 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49416 # Save the log message, to keep $[0] and so on meaningful, and to
49417 # report actual input values of CONFIG_FILES etc. instead of their
49418 # values after options handling.
49420 This file was extended by wxWidgets $as_me 2.9.0, which was
49421 generated by GNU Autoconf 2.61. Invocation command line was
49423 CONFIG_FILES = $CONFIG_FILES
49424 CONFIG_HEADERS = $CONFIG_HEADERS
49425 CONFIG_LINKS = $CONFIG_LINKS
49426 CONFIG_COMMANDS = $CONFIG_COMMANDS
49429 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49434 cat >>$CONFIG_STATUS <<_ACEOF
49435 # Files that config.status was made for.
49436 config_files="$ac_config_files"
49437 config_headers="$ac_config_headers"
49438 config_commands="$ac_config_commands"
49442 cat >>$CONFIG_STATUS <<\_ACEOF
49444 \`$as_me' instantiates files from templates according to the
49445 current configuration.
49447 Usage: $0 [OPTIONS] [FILE]...
49449 -h, --help print this help, then exit
49450 -V, --version print version number and configuration settings, then exit
49451 -q, --quiet do not print progress messages
49452 -d, --debug don't remove temporary files
49453 --recheck update $as_me by reconfiguring in the same conditions
49454 --file=FILE[:TEMPLATE]
49455 instantiate the configuration file FILE
49456 --header=FILE[:TEMPLATE]
49457 instantiate the configuration header FILE
49459 Configuration files:
49462 Configuration headers:
49465 Configuration commands:
49468 Report bugs to <bug-autoconf@gnu.org>."
49471 cat >>$CONFIG_STATUS <<_ACEOF
49473 wxWidgets config.status 2.9.0
49474 configured by $0, generated by GNU Autoconf 2.61,
49475 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49477 Copyright (C) 2006 Free Software Foundation, Inc.
49478 This config.status script is free software; the Free Software Foundation
49479 gives unlimited permission to copy, distribute and modify it."
49486 cat >>$CONFIG_STATUS <<\_ACEOF
49487 # If no file are specified by the user, then we need to provide default
49488 # value. By we need to know if files were specified by the user.
49494 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49495 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49506 # Handling of the options.
49507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49510 echo "$ac_cs_version"; exit ;;
49511 --debug | --debu | --deb | --de | --d | -d )
49513 --file | --fil | --fi | --f )
49515 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49516 ac_need_defaults
=false
;;
49517 --header | --heade | --head | --hea )
49519 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49520 ac_need_defaults
=false
;;
49522 # Conflict between --help and --header
49523 { echo "$as_me: error: ambiguous option: $1
49524 Try \`$0 --help' for more information." >&2
49525 { (exit 1); exit 1; }; };;
49526 --help | --hel | -h )
49527 echo "$ac_cs_usage"; exit ;;
49528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49529 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49532 # This is an error.
49533 -*) { echo "$as_me: error: unrecognized option: $1
49534 Try \`$0 --help' for more information." >&2
49535 { (exit 1); exit 1; }; } ;;
49537 *) ac_config_targets
="$ac_config_targets $1"
49538 ac_need_defaults
=false
;;
49544 ac_configure_extra_args
=
49546 if $ac_cs_silent; then
49548 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49552 cat >>$CONFIG_STATUS <<_ACEOF
49553 if \$ac_cs_recheck; then
49554 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49555 CONFIG_SHELL=$SHELL
49556 export CONFIG_SHELL
49557 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49561 cat >>$CONFIG_STATUS <<\_ACEOF
49565 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49566 ## Running $as_me. ##
49572 cat >>$CONFIG_STATUS <<_ACEOF
49578 infile="$srcdir/include/wx/msw/genrcdefs.h"
49579 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49582 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49583 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49590 cat >>$CONFIG_STATUS <<\_ACEOF
49592 # Handling of arguments.
49593 for ac_config_target
in $ac_config_targets
49595 case $ac_config_target in
49596 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49597 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49598 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49599 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49600 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49601 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49602 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49603 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49605 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49606 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49607 { (exit 1); exit 1; }; };;
49612 # If the user did not use the arguments to specify the items to instantiate,
49613 # then the envvar interface is used. Set only those that are not.
49614 # We use the long form for the default assignment because of an extremely
49615 # bizarre bug on SunOS 4.1.3.
49616 if $ac_need_defaults; then
49617 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49618 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49619 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49622 # Have a temporary directory for convenience. Make it in the build tree
49623 # simply because there is no reason against having it here, and in addition,
49624 # creating and moving files from /tmp can sometimes cause problems.
49625 # Hook for its removal unless debugging.
49626 # Note that there is a small window in which the directory will not be cleaned:
49627 # after its creation but before its name has been assigned to `$tmp'.
49631 trap 'exit_status=$?
49632 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49634 trap '{ (exit 1); exit 1; }' 1 2 13 15
49636 # Create a (secure) tmp directory for tmp files.
49639 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49640 test -n "$tmp" && test -d "$tmp"
49643 tmp
=.
/conf$$
-$RANDOM
49644 (umask 077 && mkdir "$tmp")
49647 echo "$me: cannot create a temporary directory in ." >&2
49648 { (exit 1); exit 1; }
49652 # Set up the sed scripts for CONFIG_FILES section.
49655 # No need to generate the scripts if there are no CONFIG_FILES.
49656 # This happens for instance when ./config.status config.h
49657 if test -n "$CONFIG_FILES"; then
49664 for ac_last_try
in false false false false false
:; do
49665 cat >conf$
$subs.
sed <<_ACEOF
49666 SHELL!$SHELL$ac_delim
49667 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49668 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49669 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49670 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49671 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49672 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49673 exec_prefix!$exec_prefix$ac_delim
49674 prefix!$prefix$ac_delim
49675 program_transform_name!$program_transform_name$ac_delim
49676 bindir!$bindir$ac_delim
49677 sbindir!$sbindir$ac_delim
49678 libexecdir!$libexecdir$ac_delim
49679 datarootdir!$datarootdir$ac_delim
49680 datadir!$datadir$ac_delim
49681 sysconfdir!$sysconfdir$ac_delim
49682 sharedstatedir!$sharedstatedir$ac_delim
49683 localstatedir!$localstatedir$ac_delim
49684 includedir!$includedir$ac_delim
49685 oldincludedir!$oldincludedir$ac_delim
49686 docdir!$docdir$ac_delim
49687 infodir!$infodir$ac_delim
49688 htmldir!$htmldir$ac_delim
49689 dvidir!$dvidir$ac_delim
49690 pdfdir!$pdfdir$ac_delim
49691 psdir!$psdir$ac_delim
49692 libdir!$libdir$ac_delim
49693 localedir!$localedir$ac_delim
49694 mandir!$mandir$ac_delim
49695 DEFS!$DEFS$ac_delim
49696 ECHO_C!$ECHO_C$ac_delim
49697 ECHO_N!$ECHO_N$ac_delim
49698 ECHO_T!$ECHO_T$ac_delim
49699 LIBS!$LIBS$ac_delim
49700 build_alias!$build_alias$ac_delim
49701 host_alias!$host_alias$ac_delim
49702 target_alias!$target_alias$ac_delim
49703 build!$build$ac_delim
49704 build_cpu!$build_cpu$ac_delim
49705 build_vendor!$build_vendor$ac_delim
49706 build_os!$build_os$ac_delim
49707 host!$host$ac_delim
49708 host_cpu!$host_cpu$ac_delim
49709 host_vendor!$host_vendor$ac_delim
49710 host_os!$host_os$ac_delim
49711 target!$target$ac_delim
49712 target_cpu!$target_cpu$ac_delim
49713 target_vendor!$target_vendor$ac_delim
49714 target_os!$target_os$ac_delim
49715 wx_top_builddir!$wx_top_builddir$ac_delim
49717 CFLAGS!$CFLAGS$ac_delim
49718 LDFLAGS!$LDFLAGS$ac_delim
49719 CPPFLAGS!$CPPFLAGS$ac_delim
49720 ac_ct_CC!$ac_ct_CC$ac_delim
49721 EXEEXT!$EXEEXT$ac_delim
49722 OBJEXT!$OBJEXT$ac_delim
49724 GREP!$GREP$ac_delim
49725 EGREP!$EGREP$ac_delim
49727 CXXFLAGS!$CXXFLAGS$ac_delim
49728 ac_ct_CXX!$ac_ct_CXX$ac_delim
49729 RANLIB!$RANLIB$ac_delim
49731 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49732 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49733 INSTALL_DATA!$INSTALL_DATA$ac_delim
49734 STRIP!$STRIP$ac_delim
49735 WINDRES!$WINDRES$ac_delim
49736 DLLTOOL!$DLLTOOL$ac_delim
49737 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49738 LN_S!$LN_S$ac_delim
49739 subdirs!$subdirs$ac_delim
49740 PKG_CONFIG!$PKG_CONFIG$ac_delim
49741 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49742 GTK_LIBS!$GTK_LIBS$ac_delim
49743 GTK_CONFIG!$GTK_CONFIG$ac_delim
49744 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49745 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49746 XMKMF!$XMKMF$ac_delim
49747 X_CFLAGS!$X_CFLAGS$ac_delim
49748 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49749 X_LIBS!$X_LIBS$ac_delim
49750 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49751 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49752 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49753 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49754 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49755 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49756 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49758 DEREZ!$DEREZ$ac_delim
49759 SETFILE!$SETFILE$ac_delim
49760 LIBICONV!$LIBICONV$ac_delim
49761 SDL_CONFIG!$SDL_CONFIG$ac_delim
49762 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49765 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49767 elif $ac_last_try; then
49768 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49769 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49770 { (exit 1); exit 1; }; }
49772 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49776 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49777 if test -n "$ac_eof"; then
49778 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49779 ac_eof
=`expr $ac_eof + 1`
49782 cat >>$CONFIG_STATUS <<_ACEOF
49783 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49787 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49788 s/^/s,@/; s/!/@,|#_!!_#|/
49791 s/'"$ac_delim"'$/,g/; t
49793 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49794 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49795 rm -f conf$
$subs.
sed
49796 cat >>$CONFIG_STATUS <<_ACEOF
49802 for ac_last_try
in false false false false false
:; do
49803 cat >conf$
$subs.
sed <<_ACEOF
49804 SDL_LIBS!$SDL_LIBS$ac_delim
49805 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49806 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49807 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49808 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49809 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49810 HILDON_LIBS!$HILDON_LIBS$ac_delim
49811 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49812 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49813 GST_CFLAGS!$GST_CFLAGS$ac_delim
49814 GST_LIBS!$GST_LIBS$ac_delim
49815 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49816 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49817 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49818 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49819 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49820 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49821 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49822 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49823 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49824 VENDOR!$VENDOR$ac_delim
49825 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49826 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49827 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49828 WXUNIV!$WXUNIV$ac_delim
49829 MONOLITHIC!$MONOLITHIC$ac_delim
49830 USE_PLUGINS!$USE_PLUGINS$ac_delim
49831 EXTRALIBS!$EXTRALIBS$ac_delim
49832 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49833 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49834 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49835 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49836 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49837 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49838 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49839 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49840 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49841 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49842 UNICODE!$UNICODE$ac_delim
49843 BUILD!$BUILD$ac_delim
49844 DEBUG_INFO!$DEBUG_INFO$ac_delim
49845 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49846 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49847 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49848 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49849 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49850 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49851 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49852 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49853 SET_MAKE!$SET_MAKE$ac_delim
49854 MAKE_SET!$MAKE_SET$ac_delim
49855 AROPTIONS!$AROPTIONS$ac_delim
49857 INSTALL_DIR!$INSTALL_DIR$ac_delim
49858 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49859 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49860 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49861 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49862 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49863 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49864 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49865 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49866 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49867 SO_SUFFIX!$SO_SUFFIX$ac_delim
49868 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49869 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49870 LIBPREFIX!$LIBPREFIX$ac_delim
49871 LIBEXT!$LIBEXT$ac_delim
49872 DLLPREFIX!$DLLPREFIX$ac_delim
49873 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49874 dlldir!$dlldir$ac_delim
49875 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49876 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49877 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49878 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49879 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49880 PIC_FLAG!$PIC_FLAG$ac_delim
49881 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49882 USE_SOVERSION!$USE_SOVERSION$ac_delim
49883 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49884 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49885 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49886 USE_MACVERSION!$USE_MACVERSION$ac_delim
49887 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49888 SONAME_FLAG!$SONAME_FLAG$ac_delim
49889 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49890 BK_DEPS!$BK_DEPS$ac_delim
49891 GCC_PCH!$GCC_PCH$ac_delim
49892 ICC_PCH!$ICC_PCH$ac_delim
49893 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49894 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49895 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49897 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49898 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49899 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49900 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49903 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49905 elif $ac_last_try; then
49906 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49907 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49908 { (exit 1); exit 1; }; }
49910 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49914 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49915 if test -n "$ac_eof"; then
49916 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49917 ac_eof
=`expr $ac_eof + 1`
49920 cat >>$CONFIG_STATUS <<_ACEOF
49921 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49925 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49926 s/^/s,@/; s/!/@,|#_!!_#|/
49929 s/'"$ac_delim"'$/,g/; t
49931 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49932 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49933 rm -f conf$
$subs.
sed
49934 cat >>$CONFIG_STATUS <<_ACEOF
49940 for ac_last_try
in false false false false false
:; do
49941 cat >conf$
$subs.
sed <<_ACEOF
49942 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49943 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49944 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49945 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49946 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49947 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49948 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49949 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49950 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49951 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49952 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49953 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49954 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49955 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49956 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49958 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49959 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49960 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49961 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49962 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49963 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49964 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49970 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49971 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49973 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49974 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49975 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49976 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49977 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49978 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49979 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49980 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49981 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49982 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49983 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49984 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49985 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49986 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49987 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49988 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49989 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49990 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49991 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49992 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49993 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49995 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49997 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49998 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50000 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50002 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50003 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50004 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50005 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50006 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50007 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50008 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50009 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50010 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50011 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50012 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50013 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50014 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50015 COND_SHARED_0!$COND_SHARED_0$ac_delim
50016 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50017 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50018 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50019 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50020 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50021 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50022 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50023 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50024 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50025 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50026 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50027 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50028 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50029 COND_SHARED_1!$COND_SHARED_1$ac_delim
50030 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50031 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50032 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50033 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50034 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50035 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50036 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50037 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50038 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50041 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50043 elif $ac_last_try; then
50044 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50045 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50046 { (exit 1); exit 1; }; }
50048 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50052 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50053 if test -n "$ac_eof"; then
50054 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50055 ac_eof
=`expr $ac_eof + 1`
50058 cat >>$CONFIG_STATUS <<_ACEOF
50059 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50063 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50064 s/^/s,@/; s/!/@,|#_!!_#|/
50067 s/'"$ac_delim"'$/,g/; t
50069 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50070 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50071 rm -f conf$
$subs.
sed
50072 cat >>$CONFIG_STATUS <<_ACEOF
50078 for ac_last_try
in false false false false false
:; do
50079 cat >conf$
$subs.
sed <<_ACEOF
50080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50081 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50085 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50086 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50087 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50088 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50089 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50090 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50091 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50092 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50093 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50094 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50095 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50096 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50097 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50098 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50099 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50100 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50101 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50102 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50103 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50104 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50105 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50106 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50107 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50108 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50109 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50110 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50111 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50112 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50113 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50114 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50115 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50116 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50117 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50118 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50119 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50120 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50121 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50122 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50123 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50124 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50125 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50126 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50127 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50128 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50129 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50130 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50131 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50132 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50133 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50134 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50135 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50136 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50137 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50138 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50139 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50140 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50141 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50142 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50143 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50144 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50145 SHARED!$SHARED$ac_delim
50146 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50147 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50148 USE_GUI!$USE_GUI$ac_delim
50149 AFMINSTALL!$AFMINSTALL$ac_delim
50150 WIN32INSTALL!$WIN32INSTALL$ac_delim
50151 TOOLKIT!$TOOLKIT$ac_delim
50152 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50153 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50154 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50155 cross_compiling!$cross_compiling$ac_delim
50156 WIDGET_SET!$WIDGET_SET$ac_delim
50157 WX_RELEASE!$WX_RELEASE$ac_delim
50158 WX_VERSION!$WX_VERSION$ac_delim
50159 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50160 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50161 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50162 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50163 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50164 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50165 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50166 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50167 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50168 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50169 EXE_LINKER!$EXE_LINKER$ac_delim
50170 GUIDIST!$GUIDIST$ac_delim
50171 DISTDIR!$DISTDIR$ac_delim
50172 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50173 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50174 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50175 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50176 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50177 RESCOMP!$RESCOMP$ac_delim
50180 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50182 elif $ac_last_try; then
50183 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50184 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50185 { (exit 1); exit 1; }; }
50187 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50191 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50192 if test -n "$ac_eof"; then
50193 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50194 ac_eof
=`expr $ac_eof + 1`
50197 cat >>$CONFIG_STATUS <<_ACEOF
50198 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50202 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50203 s/^/s,@/; s/!/@,|#_!!_#|/
50206 s/'"$ac_delim"'$/,g/; t
50208 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50209 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50210 rm -f conf$
$subs.
sed
50211 cat >>$CONFIG_STATUS <<_ACEOF
50217 for ac_last_try
in false false false false false
:; do
50218 cat >conf$
$subs.
sed <<_ACEOF
50219 RESFLAGS!$RESFLAGS$ac_delim
50220 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50221 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50222 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50223 LIBWXMACRES!$LIBWXMACRES$ac_delim
50224 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50225 MACSETFILE!$MACSETFILE$ac_delim
50227 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50228 LIBOBJS!$LIBOBJS$ac_delim
50229 LTLIBOBJS!$LTLIBOBJS$ac_delim
50232 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
50234 elif $ac_last_try; then
50235 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50236 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50237 { (exit 1); exit 1; }; }
50239 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50243 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50244 if test -n "$ac_eof"; then
50245 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50246 ac_eof
=`expr $ac_eof + 1`
50249 cat >>$CONFIG_STATUS <<_ACEOF
50250 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50254 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50255 s/^/s,@/; s/!/@,|#_!!_#|/
50258 s/'"$ac_delim"'$/,g/; t
50260 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50261 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50262 rm -f conf$
$subs.
sed
50263 cat >>$CONFIG_STATUS <<_ACEOF
50270 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50271 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50272 # trailing colons and then remove the whole line if VPATH becomes empty
50273 # (actually we leave an empty line to preserve line numbers).
50274 if test "x$srcdir" = x.
; then
50275 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50276 s/:*\$(srcdir):*/:/
50277 s/:*\${srcdir}:*/:/
50279 s/^\([^=]*=[ ]*\):*/\1/
50285 cat >>$CONFIG_STATUS <<\_ACEOF
50286 fi # test -n "$CONFIG_FILES"
50289 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50292 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50294 case $ac_mode$ac_tag in
50296 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50297 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50298 { (exit 1); exit 1; }; };;
50299 :[FH
]-) ac_tag
=-:-;;
50300 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50317 -) ac_f
="$tmp/stdin";;
50318 *) # Look for the file first in the build tree, then in the source tree
50319 # (if the path is not absolute). The absolute path cannot be DOS-style,
50320 # because $ac_f cannot contain `:'.
50324 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50326 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50327 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50328 { (exit 1); exit 1; }; };;
50330 ac_file_inputs
="$ac_file_inputs $ac_f"
50333 # Let's still pretend it is `configure' which instantiates (i.e., don't
50334 # use $as_me), people would be surprised to read:
50335 # /* config.h. Generated by config.status. */
50336 configure_input
="Generated from "`IFS=:
50337 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50338 if test x
"$ac_file" != x
-; then
50339 configure_input
="$ac_file. $configure_input"
50340 { echo "$as_me:$LINENO: creating $ac_file" >&5
50341 echo "$as_me: creating $ac_file" >&6;}
50345 *:-:* | *:-) cat >"$tmp/stdin";;
50350 ac_dir
=`$as_dirname -- "$ac_file" ||
50351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50352 X"$ac_file" : 'X\(//\)[^/]' \| \
50353 X"$ac_file" : 'X\(//\)$' \| \
50354 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50360 /^X\(\/\/\)[^/].*/{
50375 -*) as_dir
=.
/$as_dir;;
50377 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50381 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50382 *) as_qdir
=$as_dir;;
50384 as_dirs
="'$as_qdir' $as_dirs"
50385 as_dir
=`$as_dirname -- "$as_dir" ||
50386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50387 X"$as_dir" : 'X\(//\)[^/]' \| \
50388 X"$as_dir" : 'X\(//\)$' \| \
50389 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50395 /^X\(\/\/\)[^/].*/{
50408 test -d "$as_dir" && break
50410 test -z "$as_dirs" || eval "mkdir $as_dirs"
50411 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50412 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50413 { (exit 1); exit 1; }; }; }
50417 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50419 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50420 # A ".." for each directory in $ac_dir_suffix.
50421 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50422 case $ac_top_builddir_sub in
50423 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50424 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50427 ac_abs_top_builddir
=$ac_pwd
50428 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50429 # for backward compatibility:
50430 ac_top_builddir
=$ac_top_build_prefix
50433 .
) # We are building in place.
50435 ac_top_srcdir
=$ac_top_builddir_sub
50436 ac_abs_top_srcdir
=$ac_pwd ;;
50437 [\\/]* | ?
:[\\/]* ) # Absolute name.
50438 ac_srcdir
=$srcdir$ac_dir_suffix;
50439 ac_top_srcdir
=$srcdir
50440 ac_abs_top_srcdir
=$srcdir ;;
50441 *) # Relative name.
50442 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50443 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50444 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50446 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50456 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50457 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50461 cat >>$CONFIG_STATUS <<\_ACEOF
50462 # If the template does not know about datarootdir, expand it.
50463 # FIXME: This hack should be removed a few years after 2.60.
50464 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50466 case `sed -n '/datarootdir/ {
50475 ' $ac_file_inputs` in
50476 *datarootdir
*) ac_datarootdir_seen
=yes;;
50477 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50478 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50479 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50481 cat >>$CONFIG_STATUS <<_ACEOF
50482 ac_datarootdir_hack='
50483 s&@datadir@&$datadir&g
50484 s&@docdir@&$docdir&g
50485 s&@infodir@&$infodir&g
50486 s&@localedir@&$localedir&g
50487 s&@mandir@&$mandir&g
50488 s&\\\${datarootdir}&$datarootdir&g' ;;
50492 # Neutralize VPATH when `$srcdir' = `.'.
50493 # Shell code in configure.ac might set extrasub.
50494 # FIXME: do we really want to maintain this feature?
50495 cat >>$CONFIG_STATUS <<_ACEOF
50499 cat >>$CONFIG_STATUS <<\_ACEOF
50501 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50502 s
&@configure_input@
&$configure_input&;t t
50503 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50504 s
&@srcdir@
&$ac_srcdir&;t t
50505 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50506 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50507 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50508 s
&@builddir@
&$ac_builddir&;t t
50509 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50510 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50511 s
&@INSTALL@
&$ac_INSTALL&;t t
50512 $ac_datarootdir_hack
50513 " $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
50515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50516 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50518 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50519 which seems to be undefined. Please make sure it is defined." >&5
50520 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50521 which seems to be undefined. Please make sure it is defined." >&2;}
50525 -) cat "$tmp/out"; rm -f "$tmp/out";;
50526 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50535 # Transform confdefs.h into a sed script `conftest.defines', that
50536 # substitutes the proper values into config.h.in to produce config.h.
50537 rm -f conftest.defines conftest.
tail
50538 # First, append a space to every undef/define line, to ease matching.
50539 echo 's/$/ /' >conftest.defines
50540 # Then, protect against being on the right side of a sed subst, or in
50541 # an unquoted here document, in config.status. If some macros were
50542 # called several times there might be several #defines for the same
50543 # symbol, which is useless. But do not sort them, since the last
50544 # AC_DEFINE must be honored.
50545 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50546 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50547 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50548 # PARAMS is the parameter list in the macro definition--in most cases, it's
50549 # just an empty string.
50550 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50551 ac_dB
='\\)[ (].*,\\1define\\2'
50559 s/^[ ]*#[ ]*define[ ][ ]*//
50564 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50565 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50566 ' >>conftest.defines
50568 # Remove the space that was appended to ease matching.
50569 # Then replace #undef with comments. This is necessary, for
50570 # example, in the case of _POSIX_SOURCE, which is predefined and required
50571 # on some systems where configure will not decide to define it.
50572 # (The regexp can be short, since the line contains either #define or #undef.)
50574 s,^[ #]*u.*,/* & */,' >>conftest.defines
50576 # Break up conftest.defines:
50577 ac_max_sed_lines
=50
50579 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50580 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50581 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50583 ac_in
='$ac_file_inputs'
50584 ac_out
='"$tmp/out1"'
50585 ac_nxt
='"$tmp/out2"'
50589 # Write a here document:
50590 cat >>$CONFIG_STATUS <<_ACEOF
50591 # First, check the format of the line:
50592 cat >"\$tmp/defines.sed" <<\\CEOF
50593 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50594 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50598 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50600 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50601 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50602 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50603 grep . conftest.
tail >/dev
/null
|| break
50604 rm -f conftest.defines
50605 mv conftest.
tail conftest.defines
50607 rm -f conftest.defines conftest.
tail
50609 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50610 cat >>$CONFIG_STATUS <<\_ACEOF
50611 if test x
"$ac_file" != x
-; then
50612 echo "/* $configure_input */" >"$tmp/config.h"
50613 cat "$ac_result" >>"$tmp/config.h"
50614 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50615 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50616 echo "$as_me: $ac_file is unchanged" >&6;}
50619 mv "$tmp/config.h" $ac_file
50622 echo "/* $configure_input */"
50628 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50629 echo "$as_me: executing $ac_file commands" >&6;}
50634 case $ac_file$ac_mode in
50636 mkdir -p $outdir &&
50637 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50639 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50640 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50641 "wx-config":C
) rm -f wx
-config
50642 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50649 { (exit 0); exit 0; }
50651 chmod +x
$CONFIG_STATUS
50652 ac_clean_files
=$ac_clean_files_save
50655 # configure is writing to config.log, and then calls config.status.
50656 # config.status does its own redirection, appending to config.log.
50657 # Unfortunately, on DOS this fails, as config.log is still kept open
50658 # by configure, so config.status won't be able to write to it; its
50659 # output is simply discarded. So we exec the FD to /dev/null,
50660 # effectively closing config.log, so it can be properly (re)opened and
50661 # appended to by config.status. When coming back to configure, we
50662 # need to make the FD available again.
50663 if test "$no_create" != yes; then
50665 ac_config_status_args
=
50666 test "$silent" = yes &&
50667 ac_config_status_args
="$ac_config_status_args --quiet"
50669 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50671 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50672 # would make configure fail if this is the last instruction.
50673 $ac_cs_success || { (exit 1); exit 1; }
50677 # CONFIG_SUBDIRS section.
50679 if test "$no_recursion" != yes; then
50681 # Remove --cache-file and --srcdir arguments so they do not pile up.
50682 ac_sub_configure_args
=
50684 eval "set x $ac_configure_args"
50688 if test -n "$ac_prev"; then
50693 -cache-file | --cache-file | --cache-fil | --cache-fi \
50694 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50695 ac_prev
=cache_file
;;
50696 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50697 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50700 --config-cache | -C)
50702 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50704 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50706 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50708 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50712 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50714 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50718 # Always prepend --prefix to ensure using the same prefix
50719 # in subdir configurations.
50720 ac_arg
="--prefix=$prefix"
50722 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50724 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50727 if test "$silent" = yes; then
50728 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50732 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50734 # Do not complain, so a configure script can configure whichever
50735 # parts of a large source tree are present.
50736 test -d "$srcdir/$ac_dir" || continue
50738 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50739 echo "$as_me:$LINENO: $ac_msg" >&5
50743 -*) as_dir
=.
/$as_dir;;
50745 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50749 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50750 *) as_qdir
=$as_dir;;
50752 as_dirs
="'$as_qdir' $as_dirs"
50753 as_dir
=`$as_dirname -- "$as_dir" ||
50754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50755 X"$as_dir" : 'X\(//\)[^/]' \| \
50756 X"$as_dir" : 'X\(//\)$' \| \
50757 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50763 /^X\(\/\/\)[^/].*/{
50776 test -d "$as_dir" && break
50778 test -z "$as_dirs" || eval "mkdir $as_dirs"
50779 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50780 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50781 { (exit 1); exit 1; }; }; }
50785 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50787 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50788 # A ".." for each directory in $ac_dir_suffix.
50789 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50790 case $ac_top_builddir_sub in
50791 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50792 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50795 ac_abs_top_builddir
=$ac_pwd
50796 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50797 # for backward compatibility:
50798 ac_top_builddir
=$ac_top_build_prefix
50801 .
) # We are building in place.
50803 ac_top_srcdir
=$ac_top_builddir_sub
50804 ac_abs_top_srcdir
=$ac_pwd ;;
50805 [\\/]* | ?
:[\\/]* ) # Absolute name.
50806 ac_srcdir
=$srcdir$ac_dir_suffix;
50807 ac_top_srcdir
=$srcdir
50808 ac_abs_top_srcdir
=$srcdir ;;
50809 *) # Relative name.
50810 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50811 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50812 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50814 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50819 # Check for guested configure; otherwise get Cygnus style configure.
50820 if test -f "$ac_srcdir/configure.gnu"; then
50821 ac_sub_configure
=$ac_srcdir/configure.gnu
50822 elif test -f "$ac_srcdir/configure"; then
50823 ac_sub_configure
=$ac_srcdir/configure
50824 elif test -f "$ac_srcdir/configure.in"; then
50825 # This should be Cygnus configure.
50826 ac_sub_configure
=$ac_aux_dir/configure
50828 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50829 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50833 # The recursion is here.
50834 if test -n "$ac_sub_configure"; then
50835 # Make the cache file name correct relative to the subdirectory.
50836 case $cache_file in
50837 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50838 *) # Relative name.
50839 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50842 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50843 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50844 # The eval makes quoting arguments work.
50845 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50846 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50847 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50848 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50849 { (exit 1); exit 1; }; }
50858 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50860 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50861 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50863 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50864 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50865 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50867 echo " What level of wxWidgets compatibility should be enabled?"
50868 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50869 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50871 echo " Which libraries should wxWidgets use?"
50872 echo " jpeg ${wxUSE_LIBJPEG-none}"
50873 echo " png ${wxUSE_LIBPNG-none}"
50874 echo " regex ${wxUSE_REGEX}"
50875 echo " tiff ${wxUSE_LIBTIFF-none}"
50876 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50877 echo " xpm ${wxUSE_LIBXPM-none}"
50879 echo " zlib ${wxUSE_ZLIB}"
50880 echo " odbc ${wxUSE_ODBC}"
50881 echo " expat ${wxUSE_EXPAT}"
50882 echo " libmspack ${wxUSE_LIBMSPACK}"
50883 echo " sdl ${wxUSE_LIBSDL}"